[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IDE-problems



Michael Schmitz <schmitz@zirkon.biophys.uni-duesseldorf.de> writes:

> You could try the following to narrow down the problem further:
> 
> - omit the -p in the wakeup hdparm command, to make sure we're not running
> into a problem with PIO mode autotune here (the kernel option is kind of
> defeated by that option for all I can see).
> 
> - add a -x34 after the -d1 in the wakeup command (see hdparm man page).
> 
> - try the sleep and wakeup hdparm commands without actually putting the
> machine to sleep, both with and without forcing the disk to stand by or
> power down  immediately. The problem might just be too short a timeout for
> the wakeup, so the whole set of commands should succeed without standby,
> and fail with standby. 

Well there seems to be a multiword DMA 2 problem. All -d1... commands
on /dev/hda result in the orig. error; -d0 solves the problem. Note the
problem with /dev/hdc, which was not set to -d0 in /etc/power/pwrctl.

[root@mir ~]# dmesg
[snip]
Registered ide 1 for media bay 0
hda: IBM-DMCA-21440, ATA DISK drive
hdc: CD-ROMFFREDDIE+, ATAPI CDROM drive
ide0 at 0x1020000-0x1020007,0x1020160 on irq 13
ide1 at 0x1021000-0x1021007,0x1021160 on irq 14
hda: Enabling MultiWord DMA 2
hda: IBM-DMCA-21440, 1378MB w/96kB Cache, CHS=2800/16/63, DMA
hdc: Enabling MultiWord DMA 2
hdc: ATAPI 8X CD-ROM drive, 256kB Cache
Uniform CD-ROM driver Revision: 3.11
fd0: SWIM3 floppy controller in media bay
[snip]
Adding Swap: 89492k swap-space (priority -1)
VFS: Disk change detected on device ide1(22,0)
hdc: Enabling MultiWord DMA 2
media bay 0 contains a CD-ROM drive
media-bay 0 is ide 1
hdc: Enabling MultiWord DMA 2
ide1: unexpected interrupt, status=0x00, count=1


Andre



Reply to: