Oops trying to use an USB Drive (was: Re: Problems with USB Drive)

From: Rogério Brito (rbrito_at_ime.usp.br)
Date: 11/07/03

  • Next message: Clemens Schwaighofer: "Re: kernel.bkbits.net off the air"
    Date:	Fri, 7 Nov 2003 17:58:26 -0200
    To: linux-usb-users@lists.sourceforge.net, linux-kernel@vger.kernel.org
    
    

    On Nov 06 2003, Rogério Brito wrote:
    > On Nov 06 2003, Rogério Brito wrote:
    > > Just as some extra information, when I try to shutdown the hotplug
    > > service (via /etc/init.d/hotplug stop), the program hangs and I get
    > > processes in the D state in the output of ps.
    > (...)
    >
    > Please feel free to ask me whatever you feel is important and I will do
    > my best to answer to get this working correctly.

    Unfortunately, when using a kernel from the 2.4 series, I am still not
    able to use my USB Drive.

    Just as a reminder, I was having problems with various 2.4 kernels and
    decided to try a 2.6 kernel (2.6.0-test9). Since I also had problems
    there (with data available at http://www.ime.usp.br/~rbrito/usb/), I
    decided to go back to a 2.4 kernel, 2.4.23-pre9 + the current packet
    writing patch.

    I got many errors when I booted my system. Then, I tried playing with
    the hotplug scripts (disabling hotplug). And I got an Oops.

    The decoded oops is here:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ksymoops 2.4.9 on i686 2.4.23-pre9-pkt-1. Options used
         -V (default)
         -k /proc/ksyms (default)
         -l /proc/modules (default)
         -o /lib/modules/2.4.23-pre9-pkt-1/ (default)
         -m /boot/System.map-2.4.23-pre9-pkt-1 (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.

    kernel BUG at slab.c:815!
    invalid operand: 0000
    CPU: 0
    EIP: 0010:[<c012a6f3>] Not tainted
    Using defaults from ksymoops -t elf32-i386 -a i386
    EFLAGS: 00010246
    eax: 00000000 ebx: c7feaae0 ecx: c7feaa6c edx: c7feaa6c
    esi: c7feaa66 edi: c8899a2a ebp: c027b1d8 esp: c368deec
    ds: 0018 es: 0018 ss: 0018
    Process modprobe.moduti (pid: 1259, stackpage=c368d000)
    Stack: fffffffc 0000001c fffffff4 00000001 00000001 ffffffea c88994b5 c8899a1c
           0000003c 00000010 00000000 00000000 00000000 c8895000 c0116935 c889ab60
           0808c6e0 00005a90 00000060 00000060 00000004 c61a3d00 c393a000 c38f4000
    Call Trace: [<c88994b5>] [<c8899a1c>] [<c0116935>] [<c889ab60>] [<c8895060>]
      [<c0106e93>]
    Code: 0f 0b 2f 03 62 fb 1f c0 8b 12 81 fa a4 78 22 c0 75 d3 8d 43

    >>EIP; c012a6f3 <kmem_cache_create+28b/338> <=====

    >>ebx; c7feaae0 <_end+7d4f0c8/859a648>
    >>ecx; c7feaa6c <_end+7d4f054/859a648>
    >>edx; c7feaa6c <_end+7d4f054/859a648>
    >>esi; c7feaa66 <_end+7d4f04e/859a648>
    >>edi; c8899a2a <[uhci].text.end+425/13db>
    >>ebp; c027b1d8 <cache_chain_sem+0/10>
    >>esp; c368deec <_end+33f24d4/859a648>

    Trace; c88994b5 <[uhci]uhci_hcd_init+69/f4>
    Trace; c8899a1c <[uhci].text.end+417/13db>
    Trace; c0116935 <sys_init_module+4d1/62c>
    Trace; c889ab60 <[uhci]__module_license+45/85>
    Trace; c8895060 <[uhci]uhci_show_td+0/198>
    Trace; c0106e93 <system_call+33/38>

    Code; c012a6f3 <kmem_cache_create+28b/338>
    00000000 <_EIP>:
    Code; c012a6f3 <kmem_cache_create+28b/338> <=====
       0: 0f 0b ud2a <=====
    Code; c012a6f5 <kmem_cache_create+28d/338>
       2: 2f das
    Code; c012a6f6 <kmem_cache_create+28e/338>
       3: 03 62 fb add 0xfffffffb(%edx),%esp
    Code; c012a6f9 <kmem_cache_create+291/338>
       6: 1f pop %ds
    Code; c012a6fa <kmem_cache_create+292/338>
       7: c0 8b 12 81 fa a4 78 rorb $0x78,0xa4fa8112(%ebx)
    Code; c012a701 <kmem_cache_create+299/338>
       e: 22 c0 and %al,%al
    Code; c012a703 <kmem_cache_create+29b/338>
      10: 75 d3 jne ffffffe5 <_EIP+0xffffffe5>
    Code; c012a705 <kmem_cache_create+29d/338>
      12: 8d 43 00 lea 0x0(%ebx),%eax

    1 warning issued. Results may not be reliable.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Please, can anybody help? :-(

    Thanks in advance for any feedback, Rogério Brito.

    -- 
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Clemens Schwaighofer: "Re: kernel.bkbits.net off the air"

    Relevant Pages

    • [ANNOUNCE] yaird, a mkinitrd based on hotplug concepts
      ... based on hotplug algorithms. ... but don't always understand when a new kernel ... algorithms the kernel uses for matching hardware with modules. ... needed to support some hardware. ...
      (Linux-Kernel)
    • Re: Documentation for sysfs, hotplug, and firmware loading.
      ... Sorenson who wrote a netlink implementation of mdev back in 2005 that I dug ... hotplug and firmware loading with sysfs. ... it's about kernel device creation and not hardware "insertion". ...
      (Linux-Kernel)
    • Re: Status on CPU hotplug issues
      ... stress test for more than one second, ... Running a non-preemptible kernel would ... the testsuite is one the OSDL Hotplug SIG put together last ... he had used for testing his cpu code. ...
      (Linux-Kernel)
    • Re: /etc/udev/rules.d and permissions in /dev/usb
      ... /dev/fd via mknod, and then run the `udevstart' program, which iterated ... parsing udev rules and creating ... The kernel was not involved, ... but `run' is conventional) to this file triggers a hotplug ...
      (uk.comp.os.linux)
    • Hauppage Nova-T PCI DVB receiver card fine in 2.6.8, broken in 2.6.16
      ... I had some teething problems getting the DVB drivers compiled, back in the 2.4.22 days before they were in the kernel, but after that it was totally reliable. ... The installation process tells me to purge hotplug, ... It's something to do with removing hotplug and putting in udev, because when I apt-get install hotplug, it all works again. ...
      (Debian-User)