Am Freitag, 10. Juni 2005 16:10 schrieb Alan Stern:
> On Fri, 10 Jun 2005, Oliver Neukum wrote:
> 
> > Hi,
> > 
> > would the person who posted a patch to the kobject code fixing
> > the bug which acm triggers in disconnect please get in touch with
> > me?
> 
> Are you talking about the problem whereby the driver core would crash when
> a driver tried to call usb_driver_release_interface from within its
> disconnect routine?  There have been a couple of different patches sent in
> for that.  One changed the old driver core and one changed
> release_interface.  The first patch is already in 2.6.12-rc5 and the
> second is in Greg's Driver tree:
> 
> <http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/driver/klist-usbcore-dont_call_device_release_driver_recursivly.patch>
> 
> At some point, when these trees are merged, the first patch will go away 
> because that section of the driver core has been changed extensively.

I am afraid it fails to work.

From 2.6.12 vanilla:

EIP:    0060:[<c02acc4a>]    Not tainted VLI
EFLAGS: 00010246   (2.6.12-holth)
:
EIP is at get_kobj_path_length+0x1a/0x40
eax: 00000000   ebx: 00000000   ecx: ffffffff   edx: d8e82818
esi: 00000001   edi: 00000000   ebp: ffffffff   esp: d6b55da0
ds: 007b   es: 007b   ss: 0068
Process pppd (pid: 11955, threadinfo=d6b54000 task=da869540)
Stack: dd1dd053 d8e827f4 db5988f8 d8e82818 c02accdf d8e82818 00000286 
c04fe8e8
       c04fe900 dd1dd053 d8e827f4 db5988f8 000003ad c031fb23 d8e82818 
000000d0
       c02ad180 00000286 da901ee0 00000013 ffffffff fffffffd c04feb40 
00000000
Call Trace:
 [<c02accdf>] kobject_get_path+0x1f/0x80
 [<c031fb23>] class_hotplug+0x133/0x200
 [<c02ad180>] kobject_release+0x0/0x10
 [<c02ada34>] kobject_hotplug+0x2a4/0x2f0
 [<c031ff7e>] class_device_del+0x7e/0xd0
 [<c031ffe3>] class_device_unregister+0x13/0x30
 [<df3e952b>] acm_tty_close+0xcb/0x110 [cdc_acm]
 [<c02fee81>] release_dev+0x731/0x740
 [<c017ffcb>] fcntl_setlk+0x11b/0x2d0
 [<df3ef4a2>] ppp_ccp_closed+0x72/0x110 [ppp_generic]
 [<c03be4d0>] skb_queue_purge+0x10/0x40
 [<c017c1b6>] do_ioctl+0x76/0xa0
 [<c02ff364>] tty_release+0x14/0x20
 [<c016a1b0>] __fput+0x110/0x130
 [<c0168869>] filp_close+0x59/0x90
 [<c0168901>] sys_close+0x61/0xa0
 [<c01031e1>] syscall_call+0x7/0xb
Code: 74 e4 89 34 24 e8 97 5d ef ff eb da 90 8d 74 26 00 55 bd ff ff ff 
ff 57 56 be 01 00 00 00 53 31 db 8b 54 24 14 8b 3a 89 e9 89 d8 <f2> ae 
f7 d1 49 8b 52 24 8d 74 31 01 85 d2 75 ea 5b 89 f0 5e 5f

        Regards
                Oliver


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to