<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PeterJordan</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PeterJordan"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/PeterJordan"/>
	<updated>2026-05-06T03:34:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_hotswap_Ultrabay_devices&amp;diff=32152</id>
		<title>Talk:How to hotswap Ultrabay devices</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_hotswap_Ultrabay_devices&amp;diff=32152"/>
		<updated>2007-08-17T15:02:33Z</updated>

		<summary type="html">&lt;p&gt;PeterJordan: problem with umount_rdev&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I recently tried using the libata-tj patch tarball for 2.6.16.16, applying this against the newly released 2.6.16.18 kernel (released today.)  Patch applied cleanly.  Upon boot, I immediately get a multitude of &amp;quot;weird&amp;quot; errors -- strange lockups, programs segmentation fault (running &amp;quot;top&amp;quot; resulted in a seg fault), and ultimately a hard lockup.&lt;br /&gt;
&lt;br /&gt;
I booted back to my vanilla 2.6.16.16, ran fsck (appeared to just replay a few transactions, no major damage), and am back to normal.  However, it successfully scared me off - unfortunately can't risk too much downtime (or worse, subtle fs corruption) right now on my main system.  Anybody have experiences with this on a T43p using piix driver?&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 00:00, 23 May 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The 2.6.16.16 patch works fine on my T43. There's a git tree (mentioned on the patch's webpage) which is closer to 2.6.18, but AFAIK no simple unified patch was prepred.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 08:37, 23 May 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool.  If I get brave I'll try it again on the 43p against 2.6.16.16 proper and report back.&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 15:29, 23 May 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Works fine here on 2.6.16.&lt;br /&gt;
I got only one crash with Suspend to Ram, which I'm unable to reproduce yet.&lt;br /&gt;
I renamed the acpi event files because at least my acpid doesn't read files that ends with .conf&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 21:09, 28 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Update - patched against 2.6.16.19, works fine.  It appears my previous problems were due to a disk error unrelated to the patch.  Excellent!&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 00:57, 31 May 2006 (EST)&lt;br /&gt;
&lt;br /&gt;
Anybody have time to make a patch of the libata(-tj) .git tree against the recently released 2.6.17?  I hope to make one in the future if not...&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 22:08, 19 Jun 2006 (EST)&lt;br /&gt;
&lt;br /&gt;
== one nit about ultrabay_close script / patch against 2.6.17 available ==&lt;br /&gt;
&lt;br /&gt;
Howdy,&lt;br /&gt;
&lt;br /&gt;
In ultrabay_close, there is 'sleep 3' for disk spinup, which isn't necessary.  libata itself waits for disk spinup and if something breaks (e.g. first reset fails w/ timeout or something), it's libata's fault.  Please remove that line and see if anything breaks.&lt;br /&gt;
&lt;br /&gt;
Also, I've uploaded patch against 2.6.17/2.6.17.1 today.&lt;br /&gt;
&lt;br /&gt;
http://home-tj.org/files/libata-tj-stable/libata-tj-2.6.17-20060625-1.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Hmmm... My post looks different from others.  This wasn't intentional.  Just don't know how to add normal discussion entry.  Sorry.&lt;br /&gt;
&lt;br /&gt;
--tj&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Right, it works fine without &amp;quot;sleep 3&amp;quot; using the new patches. Sleep removed.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:35, 1 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Is it correct, that the ata_piix driver in kernel 2.6.18 RC4 now supports hot swapping like described in the howto and announced here http://lwn.net/Articles/183734/?&lt;br /&gt;
&lt;br /&gt;
--[[User:cob|cob]] 15:53, 23 August 2006&lt;br /&gt;
&lt;br /&gt;
== T42 freezing up when trying to hot swap ultrabay. ==&lt;br /&gt;
&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;br /&gt;
Please bear with me.  I am totally new at this and I am making my best effort to understand and learn. &lt;br /&gt;
&lt;br /&gt;
My problem is that when typing &amp;quot;# echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot; to eject my ultrabay and put another in, I see the power going off in the ultrabay LED, but then my PC freezes completely. &lt;br /&gt;
&lt;br /&gt;
I am running Fedora 6 Test 3, kernel 2.6.17-1.2647 and my notebook is a ThinkPad T42.&lt;br /&gt;
&lt;br /&gt;
Please help!  I have to constantly be changing my bay to use information in other hard drives, and I have to shutdown the system completely to not have any problems. &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
--Barny  09/21/2006@7:46PM EST&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Have the same problem on a T40p running SuSE 10.1. Also lt_hotplug module is of no help. Keep me informed in case you have a solution!&lt;br /&gt;
Thanks,&lt;br /&gt;
--[[User:Ays|Ays]] 19:49, 5 October 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I have no problems with kernel 2.6.17-1.2187_1.fc5.cu from suspend2 on my T42p running Fedora Core 5. I have compiled the lt_hotswap module and every thing works fine. Since kernel 2.6.18-1.2200.fc5 my system freeez on loading the modul or on calling &amp;quot;echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot;.&lt;br /&gt;
Any ideas what has changed in the kernel?&lt;br /&gt;
&lt;br /&gt;
--CoolMischa 2006-11-06@13:24 CET&lt;br /&gt;
&lt;br /&gt;
== Second disk not seen correctly on reinsert (T43p) [solved] ==&lt;br /&gt;
&lt;br /&gt;
(update: see below for solution)&lt;br /&gt;
&lt;br /&gt;
I have followed the instructions on my T43p running Gentoo using 2.6.18. I have a second hard disk in the UltraBay, using ata_piix, so it is seen as /dev/sdb (as described in [[Problems with SATA and Linux#No_DMA_on_system_hard_disk|Problems with SATA and Linux]]). The eject works fine. When I reinsert it and issue the rescan command, Only the main /dev/sdb device reappears, but not the ones corresponding to the partitions (/dev/sdb1, etc.), so I cannot mount them, and fdisk /dev/sdb says that it cannot open the device.&lt;br /&gt;
&lt;br /&gt;
In dmesg, I see a bunch of errors like these, repeated multiple times:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sd 1:0:0:0: SCSI error: return code = 0x08000002&lt;br /&gt;
sdb: Current: sense key=0xb&lt;br /&gt;
    ASC=0x0 ASCQ=0x0&lt;br /&gt;
end_request: I/O error, dev sdb, sector 0&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sdb: Current: sense key=0xb&lt;br /&gt;
    ASC=0x0 ASCQ=0x0&lt;br /&gt;
end_request: I/O error, dev sdb, sector 0&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)&lt;br /&gt;
sdb: Write Protect is off&lt;br /&gt;
sdb: Mode Sense: 00 3a 00 00&lt;br /&gt;
SCSI device sdb: drive cache: write back&lt;br /&gt;
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)&lt;br /&gt;
sdb: Write Protect is off&lt;br /&gt;
sdb: Mode Sense: 00 3a 00 00&lt;br /&gt;
SCSI device sdb: drive cache: write back&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The situation is not cured by a reboot (I still see only /dev/sdb), I have to power cycle to get the devices back.&lt;br /&gt;
&lt;br /&gt;
Thanks for any ideas.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
(2006-10-10) As a followup to my note above, I have noticed that the DVD-RW drive works perfectly after hot-swapping it - it's just the second hard disk that doesg not get recognized properly. I can &amp;quot;scsiping&amp;quot; the /dev/sdb device and it seems to respond OK, I have tried restarting udevd without success, and I'm at a loss as to what to try next.&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
It turned out to be an obvious problem - I had a disk password set on my second disk, so on reinsert it could not be accessed. I turned off the disk password, and now it works perfectly.&lt;br /&gt;
&lt;br /&gt;
== ultrabay_open: Problem when using /proc/mounts ==&lt;br /&gt;
&lt;br /&gt;
I am just working on a perl-free version of the ultrabay_open script. When the script reads the currently mounted devices from /proc/mounts, it may not find all the relevant device files. A file system mounted with a relative device path given to the mount command doesn't show up with the absolute device path in /proc/mounts. Example:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|cd /dev/; mount sdb5 /mnt}} results in the following line in {{path|/proc/mounts}}:&lt;br /&gt;
&lt;br /&gt;
{{cmdresult|sdb5 /mnt ext3 rw 0 0}}&lt;br /&gt;
&lt;br /&gt;
{{path|/etc/mtab}} contains the needed information:&lt;br /&gt;
&lt;br /&gt;
{{cmdresult|/dev/sdb5 /mnt ext3 rw 0 0}}&lt;br /&gt;
&lt;br /&gt;
However, /proc/mounts is the more reliable source of information IMHO. The absolute device path is needed to find out its major and minor numbers.&lt;br /&gt;
&lt;br /&gt;
Any suggestions?&lt;br /&gt;
&lt;br /&gt;
--[[User:Acolomb|MinioN]] 01:03, 28 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Can/t  mount CD after reinsert on X41 ==&lt;br /&gt;
&lt;br /&gt;
I did all the steps described on this page, and the drive ejects fine, and then when I&lt;br /&gt;
reinsert it the /dev/scd0 entry reappears, but when I insert a CD Gnome won't mount it&lt;br /&gt;
automatically, and when I try manually I ger this message:&lt;br /&gt;
&lt;br /&gt;
    mount: wrong fs type, bad option, bad superblock on /dev/scd0,&lt;br /&gt;
    missing codepage or other error&lt;br /&gt;
&lt;br /&gt;
and dmesg says:&lt;br /&gt;
&lt;br /&gt;
    isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16&lt;br /&gt;
&lt;br /&gt;
I have to reboot to use the drive again.&lt;br /&gt;
&lt;br /&gt;
P.S.  I discovered the following in dmesg when I boot:&lt;br /&gt;
&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.00: configured for UDMA/33&lt;br /&gt;
&lt;br /&gt;
Is that relevant?&lt;br /&gt;
&lt;br /&gt;
== hdparm -Y /dev/&amp;lt;devnode&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
is the hdparm part in the ultrabay_eject script really necessary?&lt;br /&gt;
&lt;br /&gt;
It does not work with my dvdram drive (R60):&lt;br /&gt;
&lt;br /&gt;
 hdparm -Y /dev/sdb&lt;br /&gt;
 &lt;br /&gt;
 /dev/sdb:&lt;br /&gt;
 issuing sleep command&lt;br /&gt;
 HDIO_DRIVE_CMD(sleep) failed: Input/output error&lt;br /&gt;
&lt;br /&gt;
thanks,&lt;br /&gt;
&lt;br /&gt;
== problem with umount_rdev ==&lt;br /&gt;
&lt;br /&gt;
I tried out the ultrabay_eject script and get this error (debian lenny with kernel 2.6.22.3)&lt;br /&gt;
&lt;br /&gt;
 cat: /sys/class/scsi_device/1:0:0:0/device/block:*/*/dev: No such file or directory&lt;br /&gt;
&lt;br /&gt;
What is wrong? Why I need the output of $ULTRABAY_SYSDIR/block\:*/*/dev in &lt;br /&gt;
&lt;br /&gt;
 unmount_rdev `cat $ULTRABAY_SYSDIR/block\:*/dev    /&lt;br /&gt;
 $ULTRABAY_SYSDIR/block\:*/*/dev`  \&lt;br /&gt;
&lt;br /&gt;
?&lt;/div&gt;</summary>
		<author><name>PeterJordan</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_hotswap_Ultrabay_devices&amp;diff=32150</id>
		<title>Talk:How to hotswap Ultrabay devices</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_hotswap_Ultrabay_devices&amp;diff=32150"/>
		<updated>2007-08-17T08:13:33Z</updated>

		<summary type="html">&lt;p&gt;PeterJordan: hdparm -Y /dev/&amp;lt;devnode&amp;gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I recently tried using the libata-tj patch tarball for 2.6.16.16, applying this against the newly released 2.6.16.18 kernel (released today.)  Patch applied cleanly.  Upon boot, I immediately get a multitude of &amp;quot;weird&amp;quot; errors -- strange lockups, programs segmentation fault (running &amp;quot;top&amp;quot; resulted in a seg fault), and ultimately a hard lockup.&lt;br /&gt;
&lt;br /&gt;
I booted back to my vanilla 2.6.16.16, ran fsck (appeared to just replay a few transactions, no major damage), and am back to normal.  However, it successfully scared me off - unfortunately can't risk too much downtime (or worse, subtle fs corruption) right now on my main system.  Anybody have experiences with this on a T43p using piix driver?&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 00:00, 23 May 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
The 2.6.16.16 patch works fine on my T43. There's a git tree (mentioned on the patch's webpage) which is closer to 2.6.18, but AFAIK no simple unified patch was prepred.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 08:37, 23 May 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Cool.  If I get brave I'll try it again on the 43p against 2.6.16.16 proper and report back.&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 15:29, 23 May 2006 (EST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Works fine here on 2.6.16.&lt;br /&gt;
I got only one crash with Suspend to Ram, which I'm unable to reproduce yet.&lt;br /&gt;
I renamed the acpi event files because at least my acpid doesn't read files that ends with .conf&lt;br /&gt;
&lt;br /&gt;
--[[User:Defiant|Defiant]] 21:09, 28 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Update - patched against 2.6.16.19, works fine.  It appears my previous problems were due to a disk error unrelated to the patch.  Excellent!&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 00:57, 31 May 2006 (EST)&lt;br /&gt;
&lt;br /&gt;
Anybody have time to make a patch of the libata(-tj) .git tree against the recently released 2.6.17?  I hope to make one in the future if not...&lt;br /&gt;
&lt;br /&gt;
--[[User:gsmenden|gsmenden]] 22:08, 19 Jun 2006 (EST)&lt;br /&gt;
&lt;br /&gt;
== one nit about ultrabay_close script / patch against 2.6.17 available ==&lt;br /&gt;
&lt;br /&gt;
Howdy,&lt;br /&gt;
&lt;br /&gt;
In ultrabay_close, there is 'sleep 3' for disk spinup, which isn't necessary.  libata itself waits for disk spinup and if something breaks (e.g. first reset fails w/ timeout or something), it's libata's fault.  Please remove that line and see if anything breaks.&lt;br /&gt;
&lt;br /&gt;
Also, I've uploaded patch against 2.6.17/2.6.17.1 today.&lt;br /&gt;
&lt;br /&gt;
http://home-tj.org/files/libata-tj-stable/libata-tj-2.6.17-20060625-1.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Hmmm... My post looks different from others.  This wasn't intentional.  Just don't know how to add normal discussion entry.  Sorry.&lt;br /&gt;
&lt;br /&gt;
--tj&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Right, it works fine without &amp;quot;sleep 3&amp;quot; using the new patches. Sleep removed.&lt;br /&gt;
&lt;br /&gt;
--[[User:Thinker|Thinker]] 12:35, 1 July 2006 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Is it correct, that the ata_piix driver in kernel 2.6.18 RC4 now supports hot swapping like described in the howto and announced here http://lwn.net/Articles/183734/?&lt;br /&gt;
&lt;br /&gt;
--[[User:cob|cob]] 15:53, 23 August 2006&lt;br /&gt;
&lt;br /&gt;
== T42 freezing up when trying to hot swap ultrabay. ==&lt;br /&gt;
&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;br /&gt;
Please bear with me.  I am totally new at this and I am making my best effort to understand and learn. &lt;br /&gt;
&lt;br /&gt;
My problem is that when typing &amp;quot;# echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot; to eject my ultrabay and put another in, I see the power going off in the ultrabay LED, but then my PC freezes completely. &lt;br /&gt;
&lt;br /&gt;
I am running Fedora 6 Test 3, kernel 2.6.17-1.2647 and my notebook is a ThinkPad T42.&lt;br /&gt;
&lt;br /&gt;
Please help!  I have to constantly be changing my bay to use information in other hard drives, and I have to shutdown the system completely to not have any problems. &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
--Barny  09/21/2006@7:46PM EST&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Have the same problem on a T40p running SuSE 10.1. Also lt_hotplug module is of no help. Keep me informed in case you have a solution!&lt;br /&gt;
Thanks,&lt;br /&gt;
--[[User:Ays|Ays]] 19:49, 5 October 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I have no problems with kernel 2.6.17-1.2187_1.fc5.cu from suspend2 on my T42p running Fedora Core 5. I have compiled the lt_hotswap module and every thing works fine. Since kernel 2.6.18-1.2200.fc5 my system freeez on loading the modul or on calling &amp;quot;echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot;.&lt;br /&gt;
Any ideas what has changed in the kernel?&lt;br /&gt;
&lt;br /&gt;
--CoolMischa 2006-11-06@13:24 CET&lt;br /&gt;
&lt;br /&gt;
== Second disk not seen correctly on reinsert (T43p) [solved] ==&lt;br /&gt;
&lt;br /&gt;
(update: see below for solution)&lt;br /&gt;
&lt;br /&gt;
I have followed the instructions on my T43p running Gentoo using 2.6.18. I have a second hard disk in the UltraBay, using ata_piix, so it is seen as /dev/sdb (as described in [[Problems with SATA and Linux#No_DMA_on_system_hard_disk|Problems with SATA and Linux]]). The eject works fine. When I reinsert it and issue the rescan command, Only the main /dev/sdb device reappears, but not the ones corresponding to the partitions (/dev/sdb1, etc.), so I cannot mount them, and fdisk /dev/sdb says that it cannot open the device.&lt;br /&gt;
&lt;br /&gt;
In dmesg, I see a bunch of errors like these, repeated multiple times:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sd 1:0:0:0: SCSI error: return code = 0x08000002&lt;br /&gt;
sdb: Current: sense key=0xb&lt;br /&gt;
    ASC=0x0 ASCQ=0x0&lt;br /&gt;
end_request: I/O error, dev sdb, sector 0&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
ata2.00: speed down requested but no transfer mode left&lt;br /&gt;
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0&lt;br /&gt;
ata2.00: tag 0 cmd 0x20 Emask 0x1 stat 0x51 err 0x4 (device error)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And at the end:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sdb: Current: sense key=0xb&lt;br /&gt;
    ASC=0x0 ASCQ=0x0&lt;br /&gt;
end_request: I/O error, dev sdb, sector 0&lt;br /&gt;
ata2: EH complete&lt;br /&gt;
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)&lt;br /&gt;
sdb: Write Protect is off&lt;br /&gt;
sdb: Mode Sense: 00 3a 00 00&lt;br /&gt;
SCSI device sdb: drive cache: write back&lt;br /&gt;
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)&lt;br /&gt;
sdb: Write Protect is off&lt;br /&gt;
sdb: Mode Sense: 00 3a 00 00&lt;br /&gt;
SCSI device sdb: drive cache: write back&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The situation is not cured by a reboot (I still see only /dev/sdb), I have to power cycle to get the devices back.&lt;br /&gt;
&lt;br /&gt;
Thanks for any ideas.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
(2006-10-10) As a followup to my note above, I have noticed that the DVD-RW drive works perfectly after hot-swapping it - it's just the second hard disk that doesg not get recognized properly. I can &amp;quot;scsiping&amp;quot; the /dev/sdb device and it seems to respond OK, I have tried restarting udevd without success, and I'm at a loss as to what to try next.&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
It turned out to be an obvious problem - I had a disk password set on my second disk, so on reinsert it could not be accessed. I turned off the disk password, and now it works perfectly.&lt;br /&gt;
&lt;br /&gt;
== ultrabay_open: Problem when using /proc/mounts ==&lt;br /&gt;
&lt;br /&gt;
I am just working on a perl-free version of the ultrabay_open script. When the script reads the currently mounted devices from /proc/mounts, it may not find all the relevant device files. A file system mounted with a relative device path given to the mount command doesn't show up with the absolute device path in /proc/mounts. Example:&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|cd /dev/; mount sdb5 /mnt}} results in the following line in {{path|/proc/mounts}}:&lt;br /&gt;
&lt;br /&gt;
{{cmdresult|sdb5 /mnt ext3 rw 0 0}}&lt;br /&gt;
&lt;br /&gt;
{{path|/etc/mtab}} contains the needed information:&lt;br /&gt;
&lt;br /&gt;
{{cmdresult|/dev/sdb5 /mnt ext3 rw 0 0}}&lt;br /&gt;
&lt;br /&gt;
However, /proc/mounts is the more reliable source of information IMHO. The absolute device path is needed to find out its major and minor numbers.&lt;br /&gt;
&lt;br /&gt;
Any suggestions?&lt;br /&gt;
&lt;br /&gt;
--[[User:Acolomb|MinioN]] 01:03, 28 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
== Can/t  mount CD after reinsert on X41 ==&lt;br /&gt;
&lt;br /&gt;
I did all the steps described on this page, and the drive ejects fine, and then when I&lt;br /&gt;
reinsert it the /dev/scd0 entry reappears, but when I insert a CD Gnome won't mount it&lt;br /&gt;
automatically, and when I try manually I ger this message:&lt;br /&gt;
&lt;br /&gt;
    mount: wrong fs type, bad option, bad superblock on /dev/scd0,&lt;br /&gt;
    missing codepage or other error&lt;br /&gt;
&lt;br /&gt;
and dmesg says:&lt;br /&gt;
&lt;br /&gt;
    isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16&lt;br /&gt;
&lt;br /&gt;
I have to reboot to use the drive again.&lt;br /&gt;
&lt;br /&gt;
P.S.  I discovered the following in dmesg when I boot:&lt;br /&gt;
&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.01: qc timeout (cmd 0xa1)&lt;br /&gt;
    ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)&lt;br /&gt;
    ata2: failed to recover some devices, retrying in 5 secs&lt;br /&gt;
    ata2.00: configured for UDMA/33&lt;br /&gt;
&lt;br /&gt;
Is that relevant?&lt;br /&gt;
&lt;br /&gt;
== hdparm -Y /dev/&amp;lt;devnode&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
is the hdparm part in the ultrabay_eject script really necessary?&lt;br /&gt;
&lt;br /&gt;
It does not work with my dvdram drive (R60):&lt;br /&gt;
&lt;br /&gt;
 hdparm -Y /dev/sdb&lt;br /&gt;
 &lt;br /&gt;
 /dev/sdb:&lt;br /&gt;
 issuing sleep command&lt;br /&gt;
 HDIO_DRIVE_CMD(sleep) failed: Input/output error&lt;br /&gt;
&lt;br /&gt;
thanks,&lt;/div&gt;</summary>
		<author><name>PeterJordan</name></author>
		
	</entry>
</feed>