Re: Promise IDE controller crashes 2.4.22
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2003-11-29 14:22:13
Also in:
lkml
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2003-11-29 14:22:13
Also in:
lkml
It means two things:
(a) There is a bug in drivers/ide/pci/pdc202xx_new.c:init_hwif_pdc202new(),
hwif->autodma shouldn't be set to 0 or "idex=dma" parameter won't work.
(b) If you don't use autodma you have to tune desired mode _explicitly_ first,
because most of ->ide_dma_check() implementations (for pdc202xx_new.c
it is pdcnew_config_drive_xfer_rate()) check for hwif->autodma.
--bart
On Saturday 29 of November 2003 02:52, John Goerzen wrote:On Fri, Nov 28, 2003 at 02:00:55PM +0100, Bartlomiej Zolnierkiewicz wrote:quoted
My mistake, it should have been -Xudma5 :-).I tried the ide2=dma in the kernel and then: hdparm -d 1 -u 1 -X 69 /dev/hde That did seem to solve the problem. Output of hdparm after that command: pi:~# hdparm /dev/hde /dev/hde: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 19929/255/63, sectors = 320173056, start = 0 What does that mean?