Ultrabay Hotswapping is not working

Bug #126077 reported by Sebastian Reichel
8
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: linux-source-2.6.22

After loading the kernel modules "thinkpad-acpi" and "bay" Thinkpads
should be able to hotswap the Ultrabay devices since kernel 2.6.21.
I tried this in Gutsy and got the following error (from dmesg)

[ 22.268000] thinkpad_acpi: ThinkPad ACPI Extras v0.14
[ 22.268000] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 22.268000] thinkpad_acpi: ThinkPad EC firmware 1IHT20WW-1.07
[ 22.492000] ACPI: ACPI Dock Station Driver
[ 22.496000] ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: found ejectable bay
[ 22.496000] ACPI: \_SB_.PCI0.IDE0.SCND.MSTR: Adding notify handler
[ 22.496000] ACPI: Error installing bay notify handler
[ 22.496000] ACPI: Bay [\_SB_.PCI0.IDE0.SCND.MSTR] Added

[ 34.884000] IBM machine detected. Enabling interrupts during APM calls.

[ 34.884000] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[ 34.884000] apm: overridden by ACPI.
[ 35.360000] Non-volatile memory driver v1.2

[ 146.528000] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 146.528000] ata2.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
[ 146.528000] res 50/50:50:50:50:50/00:00:00:00:00/50 Emask 0x2 (HSM violation)
[ 146.528000] ata2: soft resetting port
[ 146.840000] ata2.00: revalidation failed (errno=-2)
[ 146.840000] ata2: failed to recover some devices, retrying in 5 secs
[ 151.844000] ata2: soft resetting port
[ 152.156000] ata2.00: revalidation failed (errno=-2)
[ 152.156000] ata2: failed to recover some devices, retrying in 5 secs
[ 157.160000] ata2: soft resetting port
[ 157.472000] ata2.00: revalidation failed (errno=-2)
[ 157.472000] ata2.00: disabled
[ 157.976000] ata2: EH complete
[ 186.968000] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

Revision history for this message
Sebastian Reichel (sre) wrote :

If I put back the device within the 10 secs it's working... The problem seems to be, that the event, that the device was put back is not interpreted?!

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Thanks for filing and providing dmesg output. Could you also attach the output from 'sudo lspci -vvnn'? See: https://wiki.ubuntu.com/KernelTeamBugPolicies

Changed in linux-source-2.6.22:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastian Reichel (sre) wrote :

Here is the requested 'lspci -vvnn' file.

Revision history for this message
Lothar (lothar-tradescape) wrote :

I miss the bay special file too here with Gutsy x86_64 (latest update) on my T61

Revision history for this message
Adrovane Marques Kade (adrovane) wrote :

I have this same error on a Thinkpad T43 (2668) in Gutsy LiveCD. There is no bay special file in /proc/acpi/ibm too. However, it was there in Feisty. The files requested in KernelTeamBugPolicies are in attachment.

Revision history for this message
Matthew Garrett (mjg59) wrote :

This is now supported natively by the kernel. Just remove the device.

Changed in linux-source-2.6.22:
status: Incomplete → Fix Released
Revision history for this message
lophiomys (lophiomys) wrote :

Where can one find this fix?

Reproduced this bug with Kubuntu 7.10 Gutsy Gibbon, all updates, on
a) a Thinkpad T42p 2373-KYG updated online from Feisty (no errors) and
b) a Thinkpad T42p 2373-7XU fresh install from CD on a zeroed HDD

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.