On Tue, Mar 14, 2006 at 08:28:57PM -0600, Paul Fulghum wrote:
> OK, here is another printk patch.
> Leave the previous one in place.

Here you go.  This one also adds USB debugging but not, apparently, whatever 
cdc-acm uses (CONFIG_DEBUG_DRIVER?)...

usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB 
modems and ISDN adapters
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:1d.0: port 2 portsc 008a,00
hub 1-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
usb 1-2: USB disconnect, address 2
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
usb 1-2:1.0: uevent
usb 1-2: unregistering interface 1-2:1.1
acm_tty_unregister if=cefaf13c dev=cefaf150 ref=4
class_device_del call sysfs_remove_link class_dev=c9a6adf8 ref=3 dentry=c939b5e4
class_device_del call sysfs_remove_link class_dev->dev=cefaf150 ref=3 
dentry=c8f62eec class_name=tty:ttyACM0
usb 1-2:1.1: uevent
usb 1-2: unregistering interface 1-2:1.2
usb 1-2:1.2: uevent
usb 1-2: unregistering interface 1-2:1.3
usb 1-2:1.3: uevent
usb 1-2: unregistering interface 1-2:1.4
usb 1-2:1.4: uevent
usb 1-2: unregistering interface 1-2:1.5
usb 1-2:1.5: uevent
usb 1-2: unregistering interface 1-2:1.6
usb 1-2:1.6: uevent
usb 1-2: unregistering interface 1-2:1.7
usb 1-2:1.7: uevent
usb 1-2: unregistering interface 1-2:1.8
usb 1-2:1.8: uevent
usb 1-2: unregistering interface 1-2:1.9
usb 1-2:1.9: uevent
usb 1-2: unregistering interface 1-2:1.10
usb 1-2:1.10: uevent
usb release_interface if=cefaf348 dev=cefaf35c ref=0
usb release_interface if=cefaf13c dev=cefaf150 ref=0
usb release_interface if=cf1512c8 dev=cf1512dc ref=0
usb release_interface if=cf1516e0 dev=cf1516f4 ref=0
usb release_interface if=cf1514d4 dev=cf1514e8 ref=0
usb release_interface if=cea220fc dev=cea22110 ref=0
usb release_interface if=cea22308 dev=cea2231c ref=0
usb release_interface if=cea1d454 dev=cea1d468 ref=0
usb release_interface if=cee88554 dev=cee88568 ref=0
usb release_interface if=cee8896c dev=cee88980 ref=0
usb release_interface if=cea1d660 dev=cea1d674 ref=0
class_device_del call sysfs_remove_link class_dev=c9a6aec4 ref=3 dentry=c8f5b11c
class_device_del call sysfs_remove_link class_dev->dev=ce2c7204 ref=8 
dentry=c8f62ddc class_name=usb_device:usbdev1.2
usb 1-2: unregistering device
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
uhci_hcd 0000:00:1d.0: suspend_rh (auto-stop)
usbcore: deregistering driver cdc_acm
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB 
modems and ISDN adapters
hub 4-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001002 POWER sig=se0 CSC
hub 4-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
hub 4-0:1.0: debounce: port 2: total 150ms stable 100ms status 0x501
ehci_hcd 0000:00:1d.7: port 2 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 2 status 003801 POWER OWNER sig=j CONNECT
uhci_hcd 0000:00:1d.0: wakeup_rh (auto-start)
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:1d.0: port 2 portsc 0093,00
hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
usb 1-2: new full speed USB device using uhci_hcd and address 3
usb 1-2: skipped 3 descriptors after interface
usb 1-2: skipped 5 descriptors after interface
usb 1-2: skipped 1 descriptor after interface
usb 1-2: skipped 3 descriptors after interface
usb 1-2: skipped 1 descriptor after interface
usb 1-2: skipped 3 descriptors after interface
usb 1-2: skipped 1 descriptor after interface
usb 1-2: skipped 3 descriptors after interface
usb 1-2: skipped 1 descriptor after interface
usb 1-2: skipped 3 descriptors after interface
usb 1-2: skipped 1 descriptor after interface
usb 1-2: default language 0x0409
usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2: Product: Nokia 6230
usb 1-2: Manufacturer: Nokia
usb 1-2: uevent
usb 1-2: device is self-powered
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usb 1-2:1.0: uevent
usb 1-2: adding 1-2:1.1 (config #1, interface 1)
usb 1-2:1.1: uevent
cdc_acm 1-2:1.1: usb_probe_interface
cdc_acm 1-2:1.1: usb_probe_interface - got id
drivers/usb/class/cdc-acm.c: Ignoring extra header, type -3, length 4
cdc_acm 1-2:1.1: ttyACM0: USB ACM device
acm_probe call tty_register_device if=cee8896c dev=cee88980 ref=4
usb 1-2: adding 1-2:1.2 (config #1, interface 2)
usb 1-2:1.2: uevent
usb 1-2: adding 1-2:1.3 (config #1, interface 3)
usb 1-2:1.3: uevent
usb 1-2: adding 1-2:1.4 (config #1, interface 4)
usb 1-2:1.4: uevent
usb 1-2: adding 1-2:1.5 (config #1, interface 5)
usb 1-2:1.5: uevent
usb 1-2: adding 1-2:1.6 (config #1, interface 6)
usb 1-2:1.6: uevent
usb 1-2: adding 1-2:1.7 (config #1, interface 7)
usb 1-2:1.7: uevent
usb 1-2: adding 1-2:1.8 (config #1, interface 8)
usb 1-2:1.8: uevent
usb 1-2: adding 1-2:1.9 (config #1, interface 9)
usb 1-2:1.9: uevent
usb 1-2: adding 1-2:1.10 (config #1, interface 10)
usb 1-2:1.10: uevent
drivers/usb/core/inode.c: creating file '003'
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:1d.0: port 2 portsc 008a,00
hub 1-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
usb 1-2: USB disconnect, address 3
usb 1-2: usb_disable_device nuking all URBs
uhci_hcd 0000:00:1d.0: shutdown urb cc797af4 pipe 40408380 ep1in-intr
uhci_hcd 0000:00:1d.0: shutdown urb ca760ec8 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760e3c pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760db0 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760d24 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760c98 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760c0c pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca7608c4 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb cc797a68 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca76034c pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca7603d8 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760464 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760b80 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760af4 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca760a68 pipe c0410380 ep2in-bulk
uhci_hcd 0000:00:1d.0: shutdown urb ca7609dc pipe c0410380 ep2in-bulk
usb 1-2: unregistering interface 1-2:1.0
usb 1-2:1.0: uevent
usb 1-2: unregistering interface 1-2:1.1
usb 1-2:1.1: uevent
usb 1-2: unregistering interface 1-2:1.2
usb 1-2:1.2: uevent
usb 1-2: unregistering interface 1-2:1.3
usb 1-2:1.3: uevent
usb 1-2: unregistering interface 1-2:1.4
usb 1-2:1.4: uevent
usb 1-2: unregistering interface 1-2:1.5
usb 1-2:1.5: uevent
usb 1-2: unregistering interface 1-2:1.6
usb 1-2:1.6: uevent
usb 1-2: unregistering interface 1-2:1.7
usb 1-2:1.7: uevent
usb 1-2: unregistering interface 1-2:1.8
usb 1-2:1.8: uevent
usb 1-2: unregistering interface 1-2:1.9
usb 1-2:1.9: uevent
usb 1-2: unregistering interface 1-2:1.10
usb 1-2:1.10: uevent
usb release_interface if=cea8296c dev=cea82980 ref=0
usb release_interface if=cea1d660 dev=cea1d674 ref=0
usb release_interface if=cea8213c dev=cea82150 ref=0
usb release_interface if=cea82554 dev=cea82568 ref=0
usb release_interface if=cefaf554 dev=cefaf568 ref=0
usb release_interface if=cefaf760 dev=cefaf774 ref=0
usb release_interface if=cefe196c dev=cefe1980 ref=0
usb release_interface if=cefe1348 dev=cefe135c ref=0
usb release_interface if=cea82760 dev=cea82774 ref=0
usb release_interface if=cefe1760 dev=cefe1774 ref=0
class_device_del call sysfs_remove_link class_dev=c9a6adf8 ref=3 dentry=c8f7a5e4
class_device_del call sysfs_remove_link class_dev->dev=ce2c7204 ref=9 
dentry=c8f7699c class_name=usb_device:usbdev1.3
usb 1-2: unregistering device
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
acm_tty_unregister if=cee8896c dev=cee88980 ref=2
class_device_del call sysfs_remove_link class_dev=c9a6aec4 ref=2 dentry=c8f7a2b4
class_device_del call sysfs_remove_link class_dev->dev=cee88980 ref=1 
dentry=ceaaa1a4 class_name=tty:ttyACM0
sysfs_hash_and_remove dir=ceaaa1a4 d_inode=6b6b6b6b
Unable to handle kernel paging request at virtual address 6b6b6bfb
 printing eip:
c02798de
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt 
ppp_generic slhc cdc_acm binfmt_misc parport_pc lp parport video thermal 
processor fan button battery ac af_packet nls_iso8859_1 nls_cp437 vfat fat 
dm_mod evdev usb_storage ide_cd sr_mod scsi_mod cdrom i810 drm eth1394 pcmcia 
crc32 tg3 8250_pci 8250 serial_core yenta_socket snd_intel8x0 ieee80211 
ieee80211_crypt ohci1394 ieee1394 rsrc_nonstatic pcmcia_core snd_intel8x0m 
ehci_hcd snd_ac97_codec uhci_hcd snd_ac97_bus usbcore intel_agp agpgart unix
CPU:    0
EIP:    0060:[<c02798de>]    Not tainted VLI
EFLAGS: 00010046   (2.6.16-rc6 #26) 
EIP is at __mutex_lock_slowpath+0x70/0x286
eax: c38e7e18   ebx: c38e6000   ecx: 00000000   edx: 00000054
esi: 6b6b6bdb   edi: cf486a70   ebp: c017595f   esp: c38e7e18
ds: 007b   es: 007b   ss: 0068
Process pppd (pid: 3981, threadinfo=c38e6000 task=cf486a70)
Stack: <0>c38e7e18 c38e7e18 11111111 11111111 c38e7e18 c9a6aec4 cf609cc4 
cf609ccc 
       cf609c60 c017595f c3a18748 ceaaa1a4 6b6b6b6b c9a6aec4 cf609cc4 cf609ccc 
       cf609c60 c01e7626 ceaaa1a4 c3a18748 00000000 c3a18748 c9a6aec4 c8a052ec 
Call Trace:
 [<c017595f>] sysfs_hash_and_remove+0x55/0x12a
 [<c01e7626>] class_device_del+0xd4/0x14f
 [<c01e76ac>] class_device_unregister+0xb/0x16
 [<d030e20c>] acm_tty_unregister+0x36/0x7d [cdc_acm]
 [<d030ebc4>] acm_tty_close+0x9d/0xac [cdc_acm]
 [<c01d6ca0>] release_dev+0x1a9/0x5b7
 [<c0138066>] do_wp_page+0x46/0x279
 [<c0138e8a>] __handle_mm_fault+0x633/0x6b8
 [<c0146d8d>] __fput+0x74/0x132
 [<c01d736c>] tty_release+0x9/0xc
 [<c0146db8>] __fput+0x9f/0x132
 [<c0144bf6>] filp_close+0x4e/0x57
 [<c0145574>] sys_close+0x56/0x63
 [<c01029c9>] syscall_call+0x7/0xb
Code: fc cd 27 c0 85 d2 0f 44 c2 68 2f 4a 28 c0 c7 05 98 38 2c c0 00 00 00 00 
a3 8c 23 2c c0 e8 f2 cd e9 ff e8 0c a2 e8 ff 83 c4 10 fa <39> 76 20 74 49 83 3d 
98 38 2c c0 00 74 40 8b 15 8c 23 2c c0 b8 
 <3>Debug: sleeping function called from invalid context at 
include/linux/rwsem.h:43
in_atomic():0, irqs_disabled():1
 [<c0116c85>] exit_mm+0x28/0xe8
 [<c0117756>] do_exit+0x17f/0x619
 [<c0103d85>] do_simd_coprocessor_error+0x0/0x14f
 [<c0111cf7>] do_page_fault+0x389/0x4c0
 [<c011196e>] do_page_fault+0x0/0x4c0
 [<c017595f>] sysfs_hash_and_remove+0x55/0x12a
 [<c010345f>] error_code+0x4f/0x54
 [<c017595f>] sysfs_hash_and_remove+0x55/0x12a
 [<c02798de>] __mutex_lock_slowpath+0x70/0x286
 [<c017595f>] sysfs_hash_and_remove+0x55/0x12a
 [<c01e7626>] class_device_del+0xd4/0x14f
 [<c01e76ac>] class_device_unregister+0xb/0x16
 [<d030e20c>] acm_tty_unregister+0x36/0x7d [cdc_acm]
 [<d030ebc4>] acm_tty_close+0x9d/0xac [cdc_acm]
 [<c01d6ca0>] release_dev+0x1a9/0x5b7
 [<c0138066>] do_wp_page+0x46/0x279
 [<c0138e8a>] __handle_mm_fault+0x633/0x6b8
 [<c0146d8d>] __fput+0x74/0x132
 [<c01d736c>] tty_release+0x9/0xc
 [<c0146db8>] __fput+0x9f/0x132
 [<c0144bf6>] filp_close+0x4e/0x57
 [<c0145574>] sys_close+0x56/0x63
 [<c01029c9>] syscall_call+0x7/0xb
uhci_hcd 0000:00:1d.0: suspend_rh (auto-stop)

-- 
Bob Copeland %% www.bobcopeland.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to