[ltp] Re: Hotswap driver (supports DMA, etc etc)
Jim Duchek
linux-thinkpad@linux-thinkpad.org
Tue, 21 Feb 2006 17:52:20 -0600
------=_Part_1665_32168683.1140565940562
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Try the latest -- http://churchofjim.org/sources/lt_hotswap-0.1.6.tar.gz --
it ought to work better. You definitely want auto_eject unless you're usin=
g
the acpi scripts in config/
Jim
On 21/02/06, Obi <graziano@cs.ucsb.edu> wrote:
>
> Thanks for trying to give us a working bay!!
>
> I just tried it on my T41: ejected the DVD-RW and reinserted. If I used
> the auto-eject=3D1 options, the drive is not recognized upon reinsertion.
> Without it the drive seems to be recognized, but I got kernel ops ...
>
> Feb 21 15:24:09 localhost kernel: Unable to handle kernel NULL pointer
> dereference at virtual address 000004bd
> Feb 21 15:24:09 localhost kernel: printing eip:
> Feb 21 15:24:09 localhost kernel: 000004bd
> Feb 21 15:24:09 localhost kernel: *pde =3D 00000000
> Feb 21 15:24:09 localhost kernel: Oops: 0000 [#4]
> Feb 21 15:24:09 localhost kernel: Modules linked in: lt_hotswap jfs xfs
> exportfs reiserfs ext2 hfs hfsplus ntfs ipw2200 ieee80211 nls_iso8859_1
> nls_cp437 vfat fat isofs udf sd_mod usb_storage scsi_mod nvram
> michael_mic arc4 ieee80211_crypt_tkip aes ieee80211_crypt_ccmp usbhid
> radeon drm cpufreq_ondemand ibm_acpi lp thermal fan button processor ac
> battery ipv6 dummy pcmcia irtty_sir sir_dev irda crc_ccitt
> ieee80211_crypt firmware_class psmouse e1000 serio_raw parport_pc parport
> evdev yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_pcm_oss
> snd_mixer_oss snd_intel8x0m snd_ac97_codec snd_ac97_bus ehci_hcd uhci_hcd
> ide_cd snd_pcm snd_timer snd hw_random rtc intel_agp agpgart usbcore
> cdrom shpchp pci_hotplug soundcore snd_page_alloc unix
> Feb 21 15:24:09 localhost kernel: CPU: 0
> Feb 21 15:24:09 localhost kernel: EIP: 0060:[<000004bd>] Not tainte=
d
> VLI
> Feb 21 15:24:09 localhost kernel: EFLAGS: 00010206 (2.6.15)
> Feb 21 15:24:09 localhost kernel: EIP is at 0x4bd
> Feb 21 15:24:09 localhost kernel: eax: efceaec0 ebx: efceaec0 ecx:
> 00000000
> edx: 000004bd
> Feb 21 15:24:09 localhost kernel: esi: efcfbbf4 edi: ffffffe7 ebp:
> 08055828
> esp: d4055e10
> Feb 21 15:24:09 localhost kernel: ds: 007b es: 007b ss: 0068
> Feb 21 15:24:09 localhost kernel: Process hdparm (pid: 24316,
> threadinfo=3Dd4054000 task=3Dd6ca3a70)
> Feb 21 15:24:09 localhost kernel: Stack: c018c8cf efcfbbe4 c018e659
> 08055828 efcfbbe4 c0191d9a efcd9480 cb7a4740
> Feb 21 15:24:09 localhost kernel: c01de5a2 c01de5aa 00000001
> d4055efc c01de5aa 00000009 e4e69800 d6a13000
> Feb 21 15:24:09 localhost kernel: d6a13110 ffffffff 00200246
> 00000000 00000004 c14af4a0 c16e4900 f18c44e0
> Feb 21 15:24:09 localhost kernel: Call Trace:
> Feb 21 15:24:09 localhost kernel: [elevator_exit+16/39]
> elevator_exit+0x10/0x27Feb 21 15:24:09 localhost
> kernel: [blk_cleanup_queue+32/93] blk_cleanup_queue+0x20/0x5d
> Feb 21 15:24:09 localhost kernel: [scsi_cmd_ioctl+774/796]
> scsi_cmd_ioctl+0x306/0x31c
> Feb 21 15:24:09 localhost kernel: [n_tty_receive_buf+2528/2583]
> n_tty_receive_buf+0x9e0/0xa17
> Feb 21 15:24:09 localhost kernel: [n_tty_receive_buf+2536/2583]
> n_tty_receive_buf+0x9e8/0xa17
> Feb 21 15:24:09 localhost kernel: [n_tty_receive_buf+2536/2583]
> n_tty_receive_buf+0x9e8/0xa17
> Feb 21 15:24:09 localhost kernel: [pg0+827876395/1070355456]
> idecd_revalidate_disk+0x10/0x16 [ide_cd]
> Feb 21 15:24:09 localhost kernel: [printk+18/22] printk+0x12/0x16
> Feb 21 15:24:09 localhost kernel: [pg0+810681314/1070355456]
> cdrom_ioctl+0x25/0x9e5 [cdrom]
> Feb 21 15:24:09 localhost kernel: [pty_write+49/61] pty_write+0x31/0x3d
> Feb 21 15:24:09 localhost kernel: [filemap_nopage+358/683]
> filemap_nopage+0x166/0x2ab
> Feb 21 15:24:09 localhost kernel: [pg0+827876359/1070355456]
> idecd_ioctl+0x3e/0x45 [ide_cd]
> Feb 21 15:24:09 localhost kernel: [pg0+827876297/1070355456]
> idecd_ioctl+0x0/0x45 [ide_cd]
> Feb 21 15:24:09 localhost kernel: [blkdev_driver_ioctl+57/63]
> blkdev_driver_ioctl+0x39/0x3f
> Feb 21 15:24:09 localhost kernel: [blkdev_ioctl+259/279]
> blkdev_ioctl+0x103/0x117
> Feb 21 15:24:09 localhost kernel: [block_ioctl+0/22] block_ioctl+0x0/0x1=
6
> Feb 21 15:24:09 localhost kernel: [block_ioctl+19/22]
> block_ioctl+0x13/0x16
> Feb 21 15:24:09 localhost kernel: [do_ioctl+22/72] do_ioctl+0x16/0x48
> Feb 21 15:24:09 localhost kernel: [vfs_ioctl+336/350]
> vfs_ioctl+0x150/0x15e
> Feb 21 15:24:09 localhost kernel: [sys_ioctl+42/64] sys_ioctl+0x2a/0x40
> Feb 21 15:24:09 localhost kernel: [syscall_call+7/11]
> syscall_call+0x7/0xb
> Feb 21 15:24:09 localhost kernel: Code: Bad EIP value.
>
>
> graziano
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>
------=_Part_1665_32168683.1140565940562
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Try the latest -- <a href=3D"http://churchofjim.org/sources/lt_hotswap-0.1.=
6.tar.gz">http://churchofjim.org/sources/lt_hotswap-0.1.6.tar.gz</a> -- it =
ought to work better. You definitely want auto_eject unless you're us=
ing the acpi scripts in config/
<br><br>Jim<br><br><br><div><span class=3D"gmail_quote">On 21/02/06, <b cla=
ss=3D"gmail_sendername">Obi</b> <<a href=3D"mailto:graziano@cs.ucsb.edu"=
>graziano@cs.ucsb.edu</a>> wrote:</span><blockquote class=3D"gmail_quote=
" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0=
.8ex; padding-left: 1ex;">
Thanks for trying to give us a working bay!!<br><br>I just tried it on my T=
41: ejected the DVD-RW and reinserted. If I used<br>the auto-eject=3D1 opti=
ons, the drive is not recognized upon reinsertion.<br>Without it the drive =
seems to be recognized, but I got kernel ops ...
<br><br>Feb 21 15:24:09 localhost kernel: Unable to handle kernel NULL poin=
ter<br>dereference at virtual address 000004bd<br>Feb 21 15:24:09 localhost=
kernel: printing eip:<br>Feb 21 15:24:09 localhost kernel: 0000=
04bd<br>
Feb 21 15:24:09 localhost kernel: *pde =3D 00000000<br>Feb 21 15:24:09 loca=
lhost kernel: Oops: 0000 [#4]<br>Feb 21 15:24:09 localhost kernel: Modules =
linked in: lt_hotswap jfs xfs<br>exportfs reiserfs ext2 hfs hfsplus ntfs ip=
w2200 ieee80211 nls_iso8859_1
<br>nls_cp437 vfat fat isofs udf sd_mod usb_storage scsi_mod nvram<br>micha=
el_mic arc4 ieee80211_crypt_tkip aes ieee80211_crypt_ccmp usbhid<br>radeon =
drm cpufreq_ondemand ibm_acpi lp thermal fan button processor ac<br>battery=
ipv6 dummy pcmcia irtty_sir sir_dev irda crc_ccitt
<br>ieee80211_crypt firmware_class psmouse e1000 serio_raw parport_pc parpo=
rt<br>evdev yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 snd_pcm_os=
s<br>snd_mixer_oss snd_intel8x0m snd_ac97_codec snd_ac97_bus ehci_hcd uhci_=
hcd
<br>ide_cd snd_pcm snd_timer snd hw_random rtc intel_agp agpgart usbcore<br=
>cdrom shpchp pci_hotplug soundcore snd_page_alloc unix<br>Feb 21 15:24:09 =
localhost kernel: CPU: 0<br>Feb 21 15:24:09 localhos=
t kernel: EIP: 0060:[<000004bd>] &n=
bsp; Not tainted VLI
<br>Feb 21 15:24:09 localhost kernel: EFLAGS: 00010206 (2.6.15)=
<br>Feb 21 15:24:09 localhost kernel: EIP is at 0x4bd<br>Feb 21 15:24:09 lo=
calhost kernel: eax: efceaec0 ebx: efceaec0 ecx: 00=
000000<br> edx: 000004bd<br>
Feb 21 15:24:09 localhost kernel: esi: efcfbbf4 edi: ffffffe7&n=
bsp; ebp: 08055828<br> esp: d4055e10<br>Feb 21 15:24:09 lo=
calhost kernel: ds: 007b es: 007b ss: 0068<br>Feb 2=
1 15:24:09 localhost kernel: Process hdparm (pid: 24316, threadinfo=3Dd4054=
000 task=3Dd6ca3a70)
<br>Feb 21 15:24:09 localhost kernel: Stack: c018c8cf efcfbbe4 c018e659 080=
55828 efcfbbe4 c0191d9a efcd9480 cb7a4740<br>Feb 21 15:24:09 localhost kern=
el: c01de5a2 c01de5aa 000000=
01 d4055efc c01de5aa 00000009 e4e69800 d6a13000
<br>Feb 21 15:24:09 localhost kernel: &n=
bsp; d6a13110 ffffffff 00200246 00000000 00000004 c14af4a0 c16e4900 f1=
8c44e0<br>Feb 21 15:24:09 localhost kernel: Call Trace:<br>Feb 21 15:24:09 =
localhost kernel: [elevator_exit+16/39] elevator_exit+0x10/0x27F=
eb 21 15:24:09 localhost kernel: [blk_cleanup_queue+32/93] blk_c=
leanup_queue+0x20/0x5d
<br>Feb 21 15:24:09 localhost kernel: [scsi_cmd_ioctl+774/796] s=
csi_cmd_ioctl+0x306/0x31c<br>Feb 21 15:24:09 localhost kernel: [=
n_tty_receive_buf+2528/2583] n_tty_receive_buf+0x9e0/0xa17<br>Feb 21 15:24:=
09 localhost kernel: [n_tty_receive_buf+2536/2583] n_tty_receive=
_buf+0x9e8/0xa17
<br>Feb 21 15:24:09 localhost kernel: [n_tty_receive_buf+2536/25=
83] n_tty_receive_buf+0x9e8/0xa17<br>Feb 21 15:24:09 localhost kernel: =
; [pg0+827876395/1070355456] idecd_revalidate_disk+0x10/0x16 [ide_cd]<=
br>Feb 21 15:24:09 localhost kernel: [printk+18/22] printk+0x12/=
0x16
<br>Feb 21 15:24:09 localhost kernel: [pg0+810681314/1070355456]=
cdrom_ioctl+0x25/0x9e5 [cdrom]<br>Feb 21 15:24:09 localhost kernel: &=
nbsp;[pty_write+49/61] pty_write+0x31/0x3d<br>Feb 21 15:24:09 localhost ker=
nel: [filemap_nopage+358/683] filemap_nopage+0x166/0x2ab
<br>Feb 21 15:24:09 localhost kernel: [pg0+827876359/1070355456]=
idecd_ioctl+0x3e/0x45 [ide_cd]<br>Feb 21 15:24:09 localhost kernel: &=
nbsp;[pg0+827876297/1070355456] idecd_ioctl+0x0/0x45 [ide_cd]<br>Feb 21 15:=
24:09 localhost kernel: [blkdev_driver_ioctl+57/63] blkdev_drive=
r_ioctl+0x39/0x3f
<br>Feb 21 15:24:09 localhost kernel: [blkdev_ioctl+259/279] blk=
dev_ioctl+0x103/0x117<br>Feb 21 15:24:09 localhost kernel: [bloc=
k_ioctl+0/22] block_ioctl+0x0/0x16<br>Feb 21 15:24:09 localhost kernel:&nbs=
p; [block_ioctl+19/22] block_ioctl+0x13/0x16
<br>Feb 21 15:24:09 localhost kernel: [do_ioctl+22/72] do_ioctl+=
0x16/0x48<br>Feb 21 15:24:09 localhost kernel: [vfs_ioctl+336/35=
0] vfs_ioctl+0x150/0x15e<br>Feb 21 15:24:09 localhost kernel: [s=
ys_ioctl+42/64] sys_ioctl+0x2a/0x40
<br>Feb 21 15:24:09 localhost kernel: [syscall_call+7/11] syscal=
l_call+0x7/0xb<br>Feb 21 15:24:09 localhost kernel: Code: Bad EI=
P value.<br><br><br>graziano<br>--<br>The linux-thinkpad mailing list home =
page is at:<br><a href=3D"http://mailman.linux-thinkpad.org/mailman/listinf=
o/linux-thinkpad">
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br></=
blockquote></div><br>
------=_Part_1665_32168683.1140565940562--