From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Antonio Martins <digiplan.pt@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: UDMA with CS5530 using IBM Netvista N2200 (8363)
Date: Wed, 10 Sep 2008 18:55:40 +0400 [thread overview]
Message-ID: <48C7DFEC.1090109@ru.mvista.com> (raw)
In-Reply-To: <43e9b8530809100614t616154caldb32c4207b5b44ad@mail.gmail.com>
Hello.
Antonio Martins wrote:
>>>Booting with CONFIG_BLK_DEV_CS5530=n and CONFIG_PATA_CS5530=y and
>>>libdata_dma_mask=0
>>>kernel 2.6.24.7:
>>>...
>>>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>>>Driver 'sd' needs updating - please use bus_type methods
>>>scsi0: pata_cs5530
>>>scsi1: pata_cs5530
>>>ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14
>>>ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xfc08 irq 15
>>>ata1.00: ATA-5: SILICON POWER, 2.0, mas UDMA/66
>>>ata1.00: 2000880 sectors, multi 1: LBA
>>>ata1.00: configured for PIO4
>>>scsi 0:0:0:0: Direct-Access ATA SILICON POWER 2.0 PQ: 0 ANSI: 5
>>>sd 0:0:0:0: [sda] 2000880 512-byte hardware sectors (1024 MB)
>>>sd 0:0:0:0: [sda] Write Protect is off
>>>sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
>>>sd 0:0:0:0: [sda] 2000880 512-byte hardware sectors (1024 MB)
>>>sd 0:0:0:0: [sda] Write Protect is off
>>>sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
>>> sda: sda1
>>And now it all works nicely
>>>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
>>>So PIO4 is now working. Great. But i am stuck with the root device.
>>I would suggest posting to linux-kernel on that and talking to H Peter
>>Anvin about possible ways to get a real boot loader on the box.
> So regarding DMA, Netvista 8363 has this limitation, and there is no
> DMA or UDMA mode that we can successfully enable. The only way to
> force PIO4, is changing directly in the source code.
> If kernel parameters were supported, we would be able to use some "idebus"
> parameter. Are these statements correct?
There's "libata.dma=" option (if you can pass it), set it to 0
and DMA won't ever be used.
Note that the "old" IDE code also has the parameter controlling
DMA usage (even per drive) -- look for "nodma" in Documentation/ide/ide.txt.
MBR, Sergei
next prev parent reply other threads:[~2008-09-10 14:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-07 22:55 UDMA with CS5530 using IBM Netvista N2200 (8363) Antonio Cardoso Martins
2008-09-08 8:43 ` Alan Cox
2008-09-09 0:03 ` Antonio Cardoso Martins
2008-09-09 2:23 ` Mark Lord
2008-09-09 10:58 ` Alan Cox
2008-09-09 10:52 ` Alan Cox
2008-09-09 23:13 ` Antonio Cardoso Martins
2008-09-10 8:38 ` Alan Cox
2008-09-10 13:14 ` Antonio Martins
2008-09-10 13:55 ` Alan Cox
2008-09-10 14:55 ` Sergei Shtylyov [this message]
2008-09-15 8:49 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C7DFEC.1090109@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=digiplan.pt@gmail.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).