HI,

i know that the driver is not fully supported, but maybe the following
helps a little to found out the problem.

1. PL2303 USB-Serial oops/crash with usb-uhci
2. using pl2303 causes crashes.
    - with "uhci.o" closing serial port causes an "Oops" -
      and driver is unusable until reboot (suggested workaround found from
      list archives was to switch usb-uhci)
    - with "usb-uhci.o" it works better, but system crashes
      when closing serial port while there is continous
      incoming dataflow in port
    - also several random crashes occur.
3. keywords: usb-uhci pl2303
4. kernel version: 2.4.21-pre3
5. decoded Oops:
ksymoops 2.4.8 on i686 2.4.21-pre3.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.21-pre3/ (default)
     -m /boot/System.map-2.4.21-pre3 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Unable to handle kernel NULL pointer dereference at virtual address 00000014
c023bf44
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c023bf44>]  Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010087
eax:    cf70ec00   ebx:      cd3fddc0     ecx:        00000004       edx:  00000000
esi:    cf71b260   edi:      cd3fddc0     ebp:        00000292       esp:  c95dbe80
ds:     0018        es:    0018       ss:   0018
Process cu (pid: 522, stackpage=c95db0000)
Stack: cd3fddc0 cf71b260 cf67a210 00000286 c023cca8 cd3fddc0 cd3fddc0 00000000
       cd3fddc4 ca020000 ca02001c ca02001c 00000000 c022b1bd cd3fddc0 d0d4d461
       cd3fddc0 d0d47221 00000000 ca02001c ca02001c d0d3f5c7 ca02001c c9e5c7c0
Call Trace:    [<c023cca8>] [<c022b1bd>] [<d0d46461>] [<d0d47221>] [<d0d3f5c7>]
  [<d0d3f680>] [<c01aa2d1>] [<c01ae9c2>] [<c0122b36>] [<c011c375>] [<c01aa6ef>]
  [<c01398d2>] [<c0137efd>] [<c0137f7e>] [<c010740f>]
Code: 8b 52 14 83 ea 1c 8b 42 04 8b 5a 08 25 00 00 00 2f 0d 00 00


>>EIP; c023bf44 <fifo_dump+94/b0>   <=====

>>eax; cf70ec00 <_end+f3c7f48/104cb3a8>
>>ebx; cd3fddc0 <_end+d0b7108/104cb3a8>
>>esi; cf71b260 <_end+f3d45a8/104cb3a8>
>>edi; cd3fddc0 <_end+d0b7108/104cb3a8>
>>esp; c95dbe80 <_end+92951c8/104cb3a8>

Trace; c023cca8 <tcf_node_dump+18/50>
Trace; c022b1bd <__constant_copy_from_user+4d/9b>
Trace; d0d46461 <END_OF_CODE+32f7fa/????>
Trace; d0d47221 <END_OF_CODE+3305ba/????>
Trace; d0d3f5c7 <END_OF_CODE+328960/????>
Trace; d0d3f680 <END_OF_CODE+328a19/????>
Trace; c01aa2d1 <tiocswinsz+e1/f0>
Trace; c01ae9c2 <__constant_copy_to_user+22/80>
Trace; c0122b36 <sys_sigpending+16/20>
Trace; c011c375 <do_setitimer+55/100>
Trace; c01aa6ef <send_break+5f/70>
Trace; c01398d2 <write_some_buffers+62/e0>
Trace; c0137efd <do_sys_truncate+6d/1a0>
Trace; c0137f7e <do_sys_truncate+ee/1a0>
Trace; c010740f <system_call+33/38>

Code;  c023bf44 <fifo_dump+94/b0>
00000000 <_EIP>:
Code;  c023bf44 <fifo_dump+94/b0>   <=====
   0:   8b 52 14                  mov    0x14(%edx),%edx   <=====
Code;  c023bf47 <fifo_dump+97/b0>
   3:   83 ea 1c                  sub    $0x1c,%edx
Code;  c023bf4a <fifo_dump+9a/b0>
   6:   8b 42 04                  mov    0x4(%edx),%eax
Code;  c023bf4d <fifo_dump+9d/b0>
   9:   8b 5a 08                  mov    0x8(%edx),%ebx
Code;  c023bf50 <fifo_dump+a0/b0>
   c:   25 00 00 00 2f            and    $0x2f000000,%eax
Code;  c023bf55 <fifo_dump+a5/b0>
  11:   0d 00 00 00 00            or     $0x0,%eax

kernel BUG at sched.c: 564!
invalid operand: 0000
CPU:    0
EIP:    0010:[<c0115d31>]  Not tainted
EFLAGS: 00010282
eax:    00000018   ebx:      ca020074     ecx:        00000001       edx:  c02ddd9c
esi:    c95da000   edi:      ca02007c     ebp:        c95dbb78       esp:  c95dbb50
ds:     0018        es:    0018       ss:   0018
Process cu (pid: 522, stackpage=c95db000)
Stack: c02a20e2 00000000 33323130 37363534 c95da000 00000000 4a494847 ca020074
       c95da000 ca02007c c95dbb80 c0105f6a 00000001 c95da000 ca02007c ca02007c
       ca02001c ca020074 ca020000 ffffffea c01060c4 ca020074 ca020000 ffffffed
Call Trace:    [<c0105f6a>] [<c01060c4>] [<d0d41a5f>] [<d0d41be7>] [<c01ab91d>]
  [<c01ac517>] [<c01ade6d>] [<c01acc67>] [<c0125b3b>] [<c01b5cff>] [<c01c1edf>]
  [<c01c3001>] [<c01c302f>] [<c0108945>] [<c01ab680>] [<c011d72a>] [<c01206bd>]
  [<c011d662>] [<c011d576>] [<c011d3b5>] [<c0108afe>] [<c010b168>] [<c0107a9d>]
  [<c0114e14>] [<c02901e7>] [<c0118be5>] [<d0d47c2b>] [<c02901e7>] [<c0114b50>]
  [<c0107500>] [<c0230018>] [<c023bf44>] [<c023cca8>] [<c022b1bd>] [<d0d46461>]
  [<d0d47221>] [<d0d3f5c7>] [<d0d3f680>] [<c01aa2d1>] [<c01ae9c2>] [<c0122b36>]
  [<c011c375>] [<c01aa6ef>] [<c01398d2>] [<c0137efd>] [<c0137f7e>] [<c010740f>]
Code: 0f 0b 34 02 e9 ba 2c c0 e9 09 fd ff ff 0f 0b 2d 02 e9 ba 2c


>>EIP; c0115d31 <__wake_up_sync+71/80>   <=====

>>ebx; ca020074 <_end+9cd93bc/104cb3a8>
>>edx; c02ddd9c <__vendorstr_13ac+1/1c>
>>esi; c95da000 <_end+9293348/104cb3a8>
>>edi; ca02007c <_end+9cd93c4/104cb3a8>
>>ebp; c95dbb78 <_end+9294ec0/104cb3a8>
>>esp; c95dbb50 <_end+9294e98/104cb3a8>

Trace; c0105f6a <__down+6a/b0>
Trace; c01060c4 <__down_failed+8/c>
Trace; d0d41a5f <END_OF_CODE+32adf8/????>
Trace; d0d41be7 <END_OF_CODE+32af80/????>
Trace; c01ab91d <n_tty_flush_buffer+d/60>
Trace; c01ac517 <n_tty_receive_buf+2d7/4b0>
Trace; c01ade6d <unset_locked_termios+5d/b0>
Trace; c01acc67 <read_chan+247/660>
Trace; c0125b3b <context_thread+18b/1d0>
Trace; c01b5cff <invert_screen+17f/1b0>
Trace; c01c1edf <do_pad+11f/1a0>
Trace; c01c3001 <__constant_memcpy+21/110>
Trace; c01c302f <__constant_memcpy+4f/110>
Trace; c0108945 <handle_IRQ_event+45/70>
Trace; c01ab680 <__constant_copy_from_user+30/a0>
Trace; c011d72a <do_resource_list+6a/b0>
Trace; c01206bd <second_overflow+17d/260>
Trace; c011d662 <ksoftirqd+b2/d0>
Trace; c011d576 <__run_task_queue+36/70>
Trace; c011d3b5 <tasklet_hi_action+15/70>
Trace; c0108afe <do_IRQ+9e/a0>
Trace; c010b168 <call_do_IRQ+5/d>
Trace; c0107a9d <die+6d/80>
Trace; c0114e14 <do_page_fault+3d4/4fd>
Trace; c02901e7 <timer_bug_msg+107a7/30660>
Trace; c0118be5 <printk+65/150>
Trace; d0d47c2b <END_OF_CODE+330fc4/????>
Trace; c02901e7 <timer_bug_msg+107a7/30660>
Trace; c0114b50 <do_page_fault+110/4fd>
Trace; c0107500 <error_code+34/3c>
Trace; c0230018 <sk_run_filter+158/3d0>
Trace; c023bf44 <fifo_dump+94/b0>
Trace; c023cca8 <tcf_node_dump+18/50>
Trace; c022b1bd <__constant_copy_from_user+4d/9b>
Trace; d0d46461 <END_OF_CODE+32f7fa/????>
Trace; d0d47221 <END_OF_CODE+3305ba/????>
Trace; d0d3f5c7 <END_OF_CODE+328960/????>
Trace; d0d3f680 <END_OF_CODE+328a19/????>
Trace; c01aa2d1 <tiocswinsz+e1/f0>
Trace; c01ae9c2 <__constant_copy_to_user+22/80>
Trace; c0122b36 <sys_sigpending+16/20>
Trace; c011c375 <do_setitimer+55/100>
Trace; c01aa6ef <send_break+5f/70>
Trace; c01398d2 <write_some_buffers+62/e0>
Trace; c0137efd <do_sys_truncate+6d/1a0>
Trace; c0137f7e <do_sys_truncate+ee/1a0>
Trace; c010740f <system_call+33/38>

Code;  c0115d31 <__wake_up_sync+71/80>
00000000 <_EIP>:
Code;  c0115d31 <__wake_up_sync+71/80>   <=====
   0:   0f 0b                     ud2a      <=====
Code;  c0115d33 <__wake_up_sync+73/80>
   2:   34 02                     xor    $0x2,%al
Code;  c0115d35 <__wake_up_sync+75/80>
   4:   e9 ba 2c c0 e9            jmp    e9c02cc3 <_EIP+0xe9c02cc3>
Code;  c0115d3a <__wake_up_sync+7a/80>
   9:   09 fd                     or     %edi,%ebp
Code;  c0115d3c <__wake_up_sync+7c/80>
   b:   ff                        (bad)
Code;  c0115d3d <__wake_up_sync+7d/80>
   c:   ff 0f                     decl   (%edi)
Code;  c0115d3f <__wake_up_sync+7f/80>
   e:   0b 2d 02 e9 ba 2c         or     0x2cbae902,%ebp

 <0>Kernel panic: Aiee, killing interrupt handler!

1 warning issued.  Results may not be reliable.


6. How to reproduce -
 - Connect via pl2303 USB-serial converter + nullmodem to remote system
 - start cu, log in, disconnect, everything normal.
 - start cu again,  start some program/script producing continous output (while true; 
do ; dmesg ; done)
 - close cu , oops + crash follows.

7. enviroment.

system: dell, latitude x200,

loaded modules:

pl2303                 12568   0 (unused)
input                   3328   0 (autoclean)
orinoco_cs              4776   1
orinoco                34776   0 [orinoco_cs]
hermes                  6436   0 [orinoco_cs orinoco]
irda-usb               10800   0 (unused)
irda                   93616   0 [irda-usb]
usbserial              19516   0 [pl2303]
usb-uhci               23500   0 (unused)
usbcore                62560   1 [pl2303 irda-usb usbserial usb-uhci]
tun                     4416   0 (unused)
i810_audio             25256   0
ac97_codec             11080   0 [i810_audio]
soundcore               3588   2 [i810_audio]
i830                   63104   0 (unused)
i810                   64100   1
agpgart                23400   6
i8k                     6440   0
raw1394                16600   0 (unused)
sg                     28364   0 (unused)
sr_mod                 15928   0 (unused)
sbp2                   17440   0 (unused)
dv1394                 17728   0 (unused)
cmp                     2224   0 (unused)
ohci1394               17544   0 [dv1394]
ieee1394               34220   0 [raw1394 sbp2 dv1394 cmp ohci1394]
rtc                     6908   0 (autoclean)

/proc/bus/ubs:
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=8cc0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=8ca0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=8c80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=067b ProdID=2303 Rev= 2.02
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=serial
E:  Ad=81(I) Atr=03(Int.) MxPS=  10 Ivl=1ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms




-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to