Hi,

Device is connected in CDC_ACM interface class.
Trying to run the below commands.

 echo helloworld > /dev/ttyACM0 & on host
   cat /dev/ttyGS0 & on device
    vice versa.

Cable removal from device side causing the Kernel Crash.

# [ 1113.585205] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 1113.591186] hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
[ 1113.597503] usb 1-1: USB disconnect, address 2
[ 1113.602050] usb 1-1: unregistering device
[ 1113.606353] usb 1-1: usb_disable_device nuking all URBs
[ 1113.611663] musb_hdrc musb_hdrc.0: shutdown urb d84fff20 ep2in-bulk
[ 1113.617919] musb_hdrc musb_hdrc.0: shutdown urb de8e06e0 ep2in-bulk
[ 1113.624206] musb_hdrc musb_hdrc.0: shutdown urb de8e05e0 ep2in-bulk
[ 1113.630462] musb_hdrc musb_hdrc.0: shutdown urb de8e0660 ep2in-bulk
[ 1113.636718] musb_hdrc musb_hdrc.0: shutdown urb de8e0d60 ep2in-bulk
[ 1113.642974] musb_hdrc musb_hdrc.0: shutdown urb de8e0de0 ep2in-bulk
[ 1113.649230] musb_hdrc musb_hdrc.0: shutdown urb de8e0e60 ep2in-bulk
[ 1113.655517] musb_hdrc musb_hdrc.0: shutdown urb de8e0ee0 ep2in-bulk
[ 1113.661773] musb_hdrc musb_hdrc.0: shutdown urb de8e00e0 ep2in-bulk
[ 1113.668029] musb_hdrc musb_hdrc.0: shutdown urb de8e0b60 ep2in-bulk
[ 1113.674285] musb_hdrc musb_hdrc.0: shutdown urb de8e0be0 ep2in-bulk
[ 1113.680541] musb_hdrc musb_hdrc.0: shutdown urb de8e0c60 ep2in-bulk
[ 1113.686828] musb_hdrc musb_hdrc.0: shutdown urb de8e0160 ep2in-bulk
[ 1113.693084] musb_hdrc musb_hdrc.0: shutdown urb de8e03e0 ep2in-bulk
[ 1113.699340] musb_hdrc musb_hdrc.0: shutdown urb de8e0360 ep2in-bulk
[ 1113.705596] musb_hdrc musb_hdrc.0: shutdown urb de8e0260 ep2in-bulk
[ 1113.711944] Unable to handle kernel NULL pointer dereference at virtual
address 00000010
[ 1113.720031] pgd = c0004000
[ 1113.722717] [00000010] *pgd=00000000
[ 1113.726318] Internal error: Oops: 17 [#1] PREEMPT SMP
[ 1113.731353] last sysfs file:
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
[ 1113.739166] Modules linked in:
[ 1113.742218] CPU: 1    Not tainted  (2.6.35.7+ #2)
[ 1113.746948] PC is at musb_h_disable+0x68/0x134
[ 1113.751403] LR is at musb_h_disable+0x44/0x134
[ 1113.755828] pc : [<c0300b50>]    lr : [<c0300b2c>]    psr: 60000093
[ 1113.755828] sp : df8dde98  ip : 00000000  fp : dfb7f800
[ 1113.767303] r10: 00000080  r9 : a0000013  r8 : 00000000
[ 1113.772521] r7 : df90f110  r6 : d8370220  r5 : d8310720  r4 : d8370220
[ 1113.779052] r3 : d8310730  r2 : 00000000  r1 : d8370220  r0 : 00000000
[ 1113.785552] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment
kernel
[ 1113.792968] Control: 10c57c7d  Table: 1eae804a  DAC: 00000017


Any inputs ?

Regards,
Thirupathi.ch

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to