Problem with IDE hd after installing 2.2.15 kernel (2.0.38 was OK)

From: Wojtek Zabolotny (wzab@ise.pw.edu.pl)
Date: Sat Jun 24 2000 - 17:45:06 EST


attached mail follows:


Last time I've changed the debian/Linux distribution on one of my boxes.
I've upgraded from Debian 2.1 "slink" with 2.0.38 kernel to Debian 2.2
"potato" with 2.2.15 kernel.
The installation was performed "from the scratch".
The previous installation of slink was previously erased (except of /home
partition) and disk was reformated with all checks switched on.
However now, after the upgrade sometimes I receive the series of errors:

************ QUOTING FROM /var/log/syslog
Jun 21 19:42:36 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 21 19:42:36 wzab kernel: hdb: read_intr: error=0x04 { DriveStatusError }
Jun 21 19:42:36 wzab kernel: end_request: I/O error, dev 03:41 (hdb), sector
152202
Jun 21 19:42:36 wzab kernel: Directory sread (sector 0x2528a) failed
Jun 21 19:42:37 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 21 19:42:37 wzab kernel: hdb: read_intr: error=0x04 { DriveStatusError }
Jun 21 19:42:41 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 21 19:42:41 wzab kernel: hdb: read_intr: error=0x04 { DriveStatusError }
Jun 21 19:42:42 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 21 19:42:42 wzab kernel: hdb: read_intr: error=0x04 { DriveStatusError }
Jun 21 19:42:44 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
Jun 21 19:42:44 wzab kernel: hdb: read_intr: error=0x04 { DriveStatusError }
Jun 21 19:42:44 wzab kernel: ide0: reset: success
Jun 21 19:42:45 wzab kernel: hdb: read_intr: status=0x59 { DriveReady
SeekComplete DataRequest Error }
********* END OF QUOTE

and the machine slows down (in fact almost freezes).
After the hard reset, I get the "first hdd controller error" from BIOS.
Only switching the power off solves the problem.

My IDE configuration is as follows: (quoting from "dmesg" output)
*********
PIIX: IDE controller on PCI bus 00 dev 38
PIIX: not 100% native mode: will probe irqs later
PIIX: neither IDE port enabled (BIOS)
PIIX: IDE controller on PCI bus 00 dev 39
PIIX: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8000-0x8007, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x8008-0x800f, BIOS settings: hdc:pio, hdd:pio
hda: ST33240A, ATA DISK drive
hdb: SAMSUNG SV1824D, ATA DISK drive
hdc: CD-540E, ATAPI CDROM drive
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: ST33240A, 3077MB w/0kB Cache, CHS=781/128/63
hdb: SAMSUNG SV1824D, 17386MB w/472kB Cache, CHS=35324/16/63, (U)DMA
hdc: ATAPI 40X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.56
hdd: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm
**********

My PCI configuration is as follows:

**********
PCI devices found:
  Bus 0, device 0, function 0:
    Host bridge: Intel 82437 (rev 1).
      Medium devsel. Master Capable. Latency=32.
  Bus 0, device 7, function 0:
    ISA bridge: Intel 82371FB PIIX ISA (rev 2).
      Medium devsel. Fast back-to-back capable. Master Capable. No
bursts.
  Bus 0, device 7, function 1:
    IDE interface: Intel 82371FB PIIX IDE (rev 2).
      Medium devsel. Fast back-to-back capable. Master Capable.
Latency=32.
      I/O at 0x8000 [0x8001].
  Bus 0, device 18, function 0:
    VGA compatible controller: S3 Inc. Trio32/Trio64 (rev 83).
      Medium devsel. IRQ 9.
      Non-prefetchable 32 bit memory at 0xf8000000 [0xf8000000].
**********

The problem occured two times. It seems to me that it happened, when the
machine stood iddle for some time (but APM was switched off
in the BIOS and kernel didn't support APM), however I can't be sure...
Does anybody faced the similar problem or knows what can be the reason?

OOPS, Last time news:
This is what happened when I pressed ENTER too fast
after changing the CDROM, when using the dselect:

0% [Working]hdc: timeout waiting for DMA
hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
0% [Working]hdc: timeout waiting for DMA
hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
0% [Working]hdc: timeout waiting for DMA
hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest
hdc: timeout waiting for DMA
hdc: DMA disabled
ATAPI device hdc:
Error: Unit attention -- (Sense key=0x06)

However this time machine recovered successfully and didn't slow down
when printing the error messages (ie. I could work as usual on other
consoles).
It seems, that I have a really serious IDE problem :-(.

-- 
			TIA	
			Wojciech Zabolotny
			wzab@ise.pw.edu.pl

When buying any hardware, ask the dealer if it is Open Source friendly!!! http://www.openhardware.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:05 EST