Problems with USB (2.3.36)

From: German Jose Gomez Garcia (german@pinon.ccu.uniovi.es)
Date: Wed Jan 05 2000 - 12:17:02 EST


        Hello,

        I have just bought a HP 4100C USB scanner, and I want to try it
under Linux. The problem is that although the docs under drivers/usb say
that it is supported I'm unable to use it.

        If I connect the scanner to the computer before inserting the
modules I get the following OOPS when inserting usb-uhci.o

-----------------------------------------------------------------------------
Unable to handle kernel NULL pointer dereference at virtual address 00000008
e2840fd6
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<e2840fd6>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000 ebx: 00000001 ecx: ddf90660 edx: 00000000
esi: 00000002 edi: 00000000 ebp: dda53fa0 esp: dda53f50
ds: 0018 es: 0018 ss: 0018
Process khubd (pid: 121, stackpage=dda53000)
Stack: 00000000 dda53fa0 dda53f5c 00000000 00000001 dda53fa0 e28417f7 dfceaec0
       dfceaec0 00000000 e2844f2c dfceaec0 dfceaec0 00000001 00000001 00000000
       dda52000 00000001 00000001 00000103 dfcea380 e284509b dfcea380 00000000
Call Trace: [<c010a164>]
Code: 3b 57 08 7d 77 90 8d 74 26 00 8d 04 92 31 c9 8d 1c 82 03 1f

>>EIP; e2840fd6 <[usbcore]usb_set_maxpacket+2a/c8> <=====
Trace; c010a164 <kernel_thread+28/38>
Code; e2840fd6 <[usbcore]usb_set_maxpacket+2a/c8>
00000000 <_EIP>:
Code; e2840fd6 <[usbcore]usb_set_maxpacket+2a/c8> <=====
   0: 3b 57 08 cmp 0x8(%edi),%edx <=====
Code; e2840fd9 <[usbcore]usb_set_maxpacket+2d/c8>
   3: 7d 77 jge 7c <_EIP+0x7c> e2841052 <[usbcore]usb_set_maxpacket+a6/c8>
Code; e2840fdb <[usbcore]usb_set_maxpacket+2f/c8>
   5: 90 nop
Code; e2840fdc <[usbcore]usb_set_maxpacket+30/c8>
   6: 8d 74 26 00 lea 0x0(%esi,1),%esi
Code; e2840fe0 <[usbcore]usb_set_maxpacket+34/c8>
   a: 8d 04 92 lea (%edx,%edx,4),%eax
Code; e2840fe3 <[usbcore]usb_set_maxpacket+37/c8>
   d: 31 c9 xor %ecx,%ecx
Code; e2840fe5 <[usbcore]usb_set_maxpacket+39/c8>
   f: 8d 1c 82 lea (%edx,%eax,4),%ebx
Code; e2840fe8 <[usbcore]usb_set_maxpacket+3c/c8>
  12: 03 1f add (%edi),%ebx
-----------------------------------------------------------------------------

        If I insert the modules before connecting the scanner I get the
following oops when connecting it:

-----------------------------------------------------------------------------
Unable to handle kernel NULL pointer dereference at virtual address 00000005
e28449c7
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<e28449c7>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 00000000 ebx: e28485a0 ecx: dfceaec0 edx: ddb58720
esi: e2848860 edi: 00000000 ebp: dfceaec0 esp: ddb6bf1c
ds: 0018 es: 0018 ss: 0018
Process khubd (pid: 96, stackpage=ddb6b000)
Stack: 00000000 dfceaec0 00000000 ddb6bfa0 e283f660 dfceaec0 00000000 00000000
       00000000 dfceaec0 ddb6bfa0 ddb58720 e283f6ad dfceaec0 00000000 dfceaec0
       00000002 00000000 e284186b dfceaec0 dfceaec0 dfceaec0 00000000 e2844f2c
Call Trace: [<c010a164>]
Code: 80 78 05 09 75 26 80 78 06 01 77 20 80 78 04 01 75 1a 8b 40

>>EIP; e28449c7 <[usbcore]hub_probe+1b/2d0> <=====
Trace; c010a164 <kernel_thread+28/38>
Code; e28449c7 <[usbcore]hub_probe+1b/2d0>
00000000 <_EIP>:
Code; e28449c7 <[usbcore]hub_probe+1b/2d0> <=====
   0: 80 78 05 09 cmpb $0x9,0x5(%eax) <=====
Code; e28449cb <[usbcore]hub_probe+1f/2d0>
   4: 75 26 jne 2c <_EIP+0x2c> e28449f3 <[usbcore]hub_probe+47/2d0>
Code; e28449cd <[usbcore]hub_probe+21/2d0>
   6: 80 78 06 01 cmpb $0x1,0x6(%eax)
Code; e28449d1 <[usbcore]hub_probe+25/2d0>
   a: 77 20 ja 2c <_EIP+0x2c> e28449f3 <[usbcore]hub_probe+47/2d0>
Code; e28449d3 <[usbcore]hub_probe+27/2d0>
   c: 80 78 04 01 cmpb $0x1,0x4(%eax)
Code; e28449d7 <[usbcore]hub_probe+2b/2d0>
  10: 75 1a jne 2c <_EIP+0x2c> e28449f3 <[usbcore]hub_probe+47/2d0>
Code; e28449d9 <[usbcore]hub_probe+2d/2d0>
  12: 8b 40 00 mov 0x0(%eax),%eax
-----------------------------------------------------------------------------

        I hadn't any USB devices before, so I don't know about previous
kernels. This problem is present at least in 2.3.36pre6 and in the final
2.3.36 (the two kerneles I tested with it).

        Both oops are not blocking oops, the kernel keeps running ok, no
hang up or need of resetting.

        If you need more fo, please ask for it.

        - german

<>-------------------------------------+-----------------------------------<>
   One O.S. to rule them all, | German Gomez Garcia
      One O.S. to find them. | german@pinon.ccu.uniovi.es
   One O.S. to bring them all |
      and in the darkness bind them. | "Wur Qanar Wur Stilor Wur Kas"
<>-------------------------------------+-----------------------------------<>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:04 EST