On Sun, 18 Feb 2001, Charles A Edwards wrote:

> I have an A7V which during installation hangs at Partition check: hde
> 
> Using lspci -vv | less I entered the correct params at boot
>  linux ide2=0x8400 0x802, ide3=0x7800 0x7402
> Both ide2 and 3 are seen as sharing IRQ 10 and the the hds are properly
> identified.
> As noted above the installation then hangs at Partition check: hde:

I hope you mean 0x8402 and not 0x802. Passing the wrong numbers will cause
it to hang, you can make up numbers on purpose and try it and see if this 
is the same thing you get with your real numbers.

Interestingly, /proc/ide/pdc202xx reads:

DMA Mode:       UDMA 4           NOTSET          UDMA 2            NOTSET
PIO Mode:       PIO 4            NOTSET           PIO 4            NOTSET

I checked the code and I see it prints UDMA 4 for 4 or 5. I wonder if they
are the same thing.

hdparm gives:

/dev/hde:
 Timing buffer-cache reads:   128 MB in  0.69 seconds =185.51 MB/sec
 Timing buffered disk reads:  64 MB in  1.77 seconds = 36.16 MB/sec

/dev/hdg:
 Timing buffer-cache reads:   128 MB in  0.70 seconds =182.86 MB/sec
 Timing buffered disk reads:  64 MB in  3.24 seconds = 19.75 MB/sec

You can see that the UDMA 100 drive (hde) is less than twice as fast as
the UDMA 33 drive (hdg) for buffered disk reads.

But, I had to pass some other options to the kernel to get this to work:

hda=none hdb=none ide2=0x9400,0x9002 ide3=0x8800,0x8402 ide1=dma ide2=dma

I have no drives on the first and second ide channels, incidently the
kernel probes the ide0 interface and hangs, as it apparently expects at
least hda to be there. Passing ide0=noprobe didn't seem to work.

Also, I had to explicitly pass `dma' to the kernel or else I would have
*very slow* transfers:

/dev/hde:
 Timing buffer-cache reads:   128 MB in  0.70 seconds =182.86 MB/sec
 Timing buffered disk reads:  64 MB in 14.56 seconds =  4.40 MB/sec

/dev/hdg:
 Timing buffer-cache reads:   128 MB in  0.72 seconds =177.78 MB/sec
 Timing buffered disk reads:  64 MB in 16.31 seconds =  3.92 MB/sec

For the UDMA 100 drive, DMA is about 9 times faster. With the 2.2.17-21mdk
kernel, I am unable to turn DMA on, so I compiled 2.4.1 myself. Thus, your
drive without DMA may be hardly usable, but it does seem to work, at least
it works on my A7V. The only thing I can thing of is you are passing the 
wrong values for ide2 and ide3.

-- 
Sincerely,

David Walluck
<[EMAIL PROTECTED]>


Reply via email to