Hotswapping doesn't work on 2.6.24-19-server kernel with SAS1064
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Expired
|
High
|
|||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi.
I'm experiencing some strange problem with hotswap on my linux box with SAS1064 SAS controller and 2.6.24-19 kernel. When I'm trying to remove disk from system, like this:
# systool -b scsi
Bus = "scsi"
Device = "0:0:0:0"
Device = "0:0:1:0"
Device = "0:0:2:0"
Device = "0:0:3:0"
Device = "1:0:0:0"
# echo 1 > /sys/class/
# systool -b scsi
Bus = "scsi"
Device = "0:0:1:0"
Device = "0:0:2:0"
Device = "0:0:3:0"
Device = "1:0:0:0"
It's OK. Disk successfully removed. When I'm trying to rescan bus without physical removal of this disk like this:
# echo "- - -" > /sys/class/
It's OK again. Disk successfully attached:
# systool -b scsi
Bus = "scsi"
Device = "0:0:0:0"
Device = "0:0:1:0"
Device = "0:0:2:0"
Device = "0:0:3:0"
Device = "1:0:0:0"
But when I detach disk from system, physically remove it from box, swap it with another one and try to attach it like:
# echo "- - -" > /sys/class/
Nothing happens. Linux doesn't see any new hard drives attached to this host.
Interesting, that if I will swap disk drives again (inserting an old one), and rescan bus - It'll be OK again, and disk will be successfully attached.
I tried 2.6.24-19 and 2.6.26-5 kernels from Hardy and Intrepid distribution and got the same on both of them. But when I tried Vanilla 2.6.24 or 2.6.26 kernels - It worked as expected. Even handled out hotplug events. Kernel 2.6.22-14-server from Gutsy distribution worked fine too.
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
importance: | Unknown → High |
Changed in linux: | |
status: | Confirmed → Expired |
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:
1) If you are comfortable installing packages on your own, the linux-image- 2.6.27- * package is currently available for you to install and test.
--or--
2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http:// www.ubuntu. com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.
Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.