You are not logged in.

#1 2009-01-27 21:04:38

xtreme
Member
Registered: 2009-01-01
Posts: 4

Disk module causes system hang

Hi,
I have had problems with my Arch 64 bit for a few months now.
The machine suddenly freezes if certian tasks are executed, like starting hal.
I have previously posted a request for help on the hal issue (http://bbs.archlinux.org/viewtopic.php?id=62161), but no reply yet..
Now I think I have encountered a related problem (the system reacts the same way by hanging at least).

I have installed k3b, and I try to run it.
The splash-screen shows up, and then the system hangs, and sometimes the splash-screen disappears again.
After starting k3b, the only remedy is to hit the reset button on the box.

From dmesg, the following shows up right after starting k3b:

ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd c8/00:00:4c:fe:dc/00:00:00:00:00/e5 tag 0 dma 131072 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata2.00: status: { DRDY }
ata2: link is slow to respond, please be patient (ready=0)
ata2: device not ready (errno=-16), forcing hardreset
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: link is slow to respond, please be patient (ready=0)
ata2: SRST failed (errno=-16)
ata2: soft resetting link
ata2: SRST failed (errno=-16)
ata2: reset failed, giving up
ata2.00: disabled
ata2: EH complete
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 98369100
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 98369228
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 113407332
Buffer I/O error on device dm-0, logical block 13926404
---
SNIP
---
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 356580916
JBD: Detected IO errors while flushing file data on dm-0
__journal_remove_journal_head: freeing b_committed_data
ext3_abort called.
EXT3-fs error (device dm-0): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 98326556
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 98326556
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 98326556
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 276153756
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 276153756
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 254178908
EXT3-fs error (device dm-0): ext3_get_inode_loc: unable to read inode block - inode=7881767, block=31522851
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 254178908
EXT3-fs error (device dm-0): ext3_get_inode_loc: unable to read inode block - inode=7881767, block=31522851
sd 1:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00
end_request: I/O error, dev sdb, sector 254178908
....

I have tried two things:
1) append "earlymodules=piix" as boot parameter
2) Generate new initramfs, changing the HOOKS array from

HOOKS="base udev autodetect pata scsi sata usbinput keymap encrypt filesystems"

to

HOOKS="base udev autodetect ide scsi sata usbinput keymap encrypt filesystems"

When I try one of these things, the system does not hang when starting k3b, but k3b does not start either - so it's not much of a solution.:)
Starting hal hangs the system in all cases.

Which module is the ata2 from dmesg?
"dmesg | grep ata" lists no ata2:

ata_piix               27652  0
ata_generic             8196  0
pata_marvell            6656  3
pata_acpi               7296  0
libata                176480  5 ata_piix,ahci,ata_generic,pata_marvell,pata_acpi
scsi_mod              119256  5 sg,usb_storage,sd_mod,sr_mod,libata

Hardware:
mainboard: Asus P5Q Pro
sda: Western Digital Caviar SE (WDC WD1200JB-00CRA1)
sdb: Seagate Barracuda 7200.7 (ST3200822AS)
dvd: NEC DVD_RW ND-1300A

Thank you for any input on this issue!

Last edited by xtreme (2009-01-28 16:43:47)

Offline

Board footer

Powered by FluxBB