On Tue, Feb 13, 2007 at 12:51:57AM +0100, Andi Kleen wrote:
> On Mon, Feb 12, 2007 at 03:29:00PM -0800, Greg KH wrote:
> > On Tue, Feb 13, 2007 at 12:23:41AM +0100, Andi Kleen wrote:
> > > On Mon, Feb 12, 2007 at 03:20:23PM -0800, Greg KH wrote:
> > > > On Tue, Feb 13, 2007 at 12:09:53AM +0100, Andi Kleen wrote:
> > > > > 
> > > > > Got this while playing around with a toy.
> > > > > 
> > > > > I have multiple usb serial devices of different types.
> > > > 
> > > > Did you yank one of them out?  Was a program accessing it at the same
> > > > time?
> > > 
> > > Yes, pilot-xfer was (unsuccessfully) accessing one.
> > 
> > Ah, the fun visor driver race where it disconnects while userspace is
> > just about to close the port :(
> > 
> > Can you enable debugging in the visor driver:
> >     echo 1 > /sys/module/visor/parameters/debug
> > and try to sync again and send me the kernel log output right before it
> > crashes?
> 
> Hmm, i did that, but it didn't actually log anything new. Just 
> the oops again

Oliver, this looks like it's in the area that you "fixed up" to prevent
stuff like this from happening. :)

Care to take a look at it?

thanks,

greg k-h

> visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from 
> ttyUSB
> 0
> visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from 
> ttyUSB
> 1
> usb 5-2: USB disconnect, address 5
> /home/lsrc/quilt/linux/drivers/usb/serial/visor.c: visor_shutdown
> Unable to handle kernel NULL pointer dereference at 0000000000000020 RIP: 
>  [<ffffffff804e3a61>] klist_del+0xa/0x46
> PGD 77ad4067 PUD 77bd9067 PMD 0 
> Oops: 0000 [1] SMP 
> CPU 0 
> Modules linked in: pppoe pppox ppp_generic slhc ipt_MASQUERADE i2c_isa 
> snd_pcm_o
> ss iptable_nat nf_nat_sip snd_mixer_oss nf_conntrack_sip nf_nat_ftp 
> nf_nat_irc n
> f_nat snd_seq snd_seq_device ip6t_LOG ip6t_REJECT ip6table_filter ip6_tables 
> xt_
> tcpudp nf_conntrack_ipv4 xt_state nf_conntrack_ftp nf_conntrack_irc 
> nf_conntrack
>  ipt_LOG ipt_REJECT iptable_filter ip_tables x_tables snd_hda_intel 
> snd_hda_code
> c snd_pcm snd_timer snd snd_page_alloc visor usbserial i2c_i801 i2c_core
> Pid: 160, comm: khubd Not tainted 2.6.20-git8-BASIL #120
> RIP: 0010:[<ffffffff804e3a61>]  [<ffffffff804e3a61>] klist_del+0xa/0x46
> RSP: 0018:ffff81007fe6bc40  EFLAGS: 00010282
> RAX: ffff81007e481400 RBX: 0000000000000000 RCX: 0000000000000002
> RDX: ffff81007abde1d8 RSI: 0000000000000046 RDI: ffff81007e481518
> RBP: ffff81007e4814f0 R08: ffffffff806e56a0 R09: ffff81007d3ea630
> R10: ffff81007eb9dc20 R11: ffffffff8029f6ff R12: ffff81007e481518
> R13: ffff81007eb9dc20 R14: ffff81007eb9dc20 R15: ffff810002f98800
> FS:  0000000000000000(0000) GS:ffffffff80676000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 0000000000000020 CR3: 0000000078d43000 CR4: 00000000000006e0
> Process khubd (pid: 160, threadinfo ffff81007fe6a000, task ffff81007ee1d600)
> Stack:  ffff81007e4814f0 ffff81007e4814f0 ffff81007abde1c0 ffffffff80385df2
>  ffff81007abde1c8 ffff81007e4814f0 ffff81007abde1c0 ffff81007abde1c0
>  0000000000000000 ffffffff80385fdb 0000000000000002 ffffffff8800bacb
> Call Trace:
>  [<ffffffff80385df2>] device_del+0x22/0x202
>  [<ffffffff80385fdb>] device_unregister+0x9/0x12
>  [<ffffffff8800bacb>] :usbserial:destroy_serial+0x98/0xef
>  [<ffffffff8800ba33>] :usbserial:destroy_serial+0x0/0xef
>  [<ffffffff803314c0>] kref_put+0x5d/0x68
>  [<ffffffff8800b938>] :usbserial:usb_serial_disconnect+0x8c/0xb4
>  [<ffffffff804111e7>] usb_unbind_interface+0x59/0xa6
>  [<ffffffff80388112>] __device_release_driver+0x8e/0xb0
>  [<ffffffff80388596>] device_release_driver+0x31/0x49
>  [<ffffffff80387a84>] bus_remove_device+0x89/0x9c
>  [<ffffffff80385f61>] device_del+0x191/0x202
>  [<ffffffff8040ebe5>] usb_disable_device+0x6c/0xdf
>  [<ffffffff8040b687>] usb_disconnect+0xa3/0x145
>  [<ffffffff8040c4a5>] hub_thread+0x3f7/0xbb7
>  [<ffffffff8023aac7>] autoremove_wake_function+0x0/0x2e
>  [<ffffffff8040c0ae>] hub_thread+0x0/0xbb7
>  [<ffffffff8023a74a>] keventd_create_kthread+0x0/0x65
>  [<ffffffff8023a9a0>] kthread+0xd1/0x101
>  [<ffffffff8020a038>] child_rip+0xa/0x12
>  [<ffffffff8023a74a>] keventd_create_kthread+0x0/0x65
>  [<ffffffff8023a8cf>] kthread+0x0/0x101
>  [<ffffffff8020a02e>] child_rip+0x0/0x12

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to