Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] hdd hotswap problem
Date: Sun, 05 Oct 2008 19:07:59
Message-Id: 48E91087.4060507@xvalheru.org
1 Hello,
2
3 Currently I'm using hotswap of the UltraBay devices (hdd and cd/dvd) on my IBM
4 T43, kernel 2.6.23-gentoo-r3, the hdd is Ultra ATA 160GB. Hotswap of these works
5 well.
6
7 And now my problem: I've bought new UltraBay box with new hdd - SATA II 320GB.
8 After hotswaping the new hdd (320), it is not detected, hdd led looks like the
9 disk is under full load and the dmesg gives me:
10 *****
11 fuse init (API version 7.8)
12 usb 1-4: USB disconnect, address 4
13 ata2: port is slow to respond, please be patient (Status 0x80)
14 ata2: device not ready (errno=-16), forcing hardreset
15 ata2: soft resetting port
16 ata2.00: qc timeout (cmd 0xec)
17 ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
18 ata2: port is slow to respond, please be patient (Status 0x80)
19 ata2: device not ready (errno=-16), forcing hardreset
20 ata2: soft resetting port
21 ata2.00: qc timeout (cmd 0xec)
22 ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
23 ata2.00: limiting speed to UDMA7:PIO5
24 ata2: port is slow to respond, please be patient (Status 0x80)
25 ata2: device not ready (errno=-16), forcing hardreset
26 ata2: soft resetting port
27 ata2.00: qc timeout (cmd 0xec)
28 ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
29 ata2: port is slow to respond, please be patient (Status 0x80)
30 ata2: device not ready (errno=-16), forcing hardreset
31 ata2: soft resetting port
32 ata2: EH pending after completion, repeating EH (cnt=4)
33 ata2: EH complete
34 *****
35
36 Yes, I'm patient but it's not recognized even after 30 minutes ... only the
37 hotswap doesn't work, the rest of the system works well.
38
39 When I start the system with plugged new disk (320), it works fine ... the disk
40 is detected correctly, device in the /dev is created during the boot and the
41 disk can be mounted and behaves well. Unplugging the disk works too, but
42 plugging it back not :-(
43
44 I've tried to compile newer kernels (2.6.25-gentoo-r7 and 2.6.25-gentoo-r8), but
45 in these kernels the hotswap freezes the system like this:
46 - plug/unpluf the cd/dvd works
47 - plug old hdd (160) works
48 - unplug old hdd (160) freezes the system (the system has to be started with hdd
49 plugged in)
50 - plug the new hdd (320) doesn't work
51 - unplug new hdd (320) freezes the system (the system has to be started with hdd
52 plugged in)
53
54 If the system freeze there are not error messages in the /var/log/messages file,
55 so I have no idea what's wrong :-(
56
57 Can someone help? For me is not important if I use 2.6.23-gentoo-r3 kernel or
58 newer one, but I want to be able hotswap the devices.
59
60 Thanks a lot for help.
61
62 Pat