Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

From: David Mosberger (davidm_at_napali.hpl.hp.com)
Date: 10/30/03

  • Next message: Theodore Ts'o: "Re: Things that Longhorn seems to be doing right"
    Date:	Thu, 30 Oct 2003 12:15:19 -0800
    To: David Brownell <david-b@pacbell.net>
    
    

    >>>>> On Thu, 30 Oct 2003 07:11:42 -0800, David Brownell <david-b@pacbell.net> said:

      David> David Mosberger wrote:

    >> On x86, there is no OOps, it just freezes. On ia64, I get a nice MCA
    >> and from that we can infer that a USB host controller read from
    >> address 0xf0000000 caused the problem but since this is asynchronous
    >> to the kernel's code path, the instruction pointer etc. in the MCA
    >> state dump isn't terribly helpful.

      David> Does that 0xf0000000 (on ia64) match any obvious address mapping
      David> of the null pointer -- like a dma mapping?

    Not really. AFAIK, 0xf0000000 is part of the PCI MMIO address space,
    but on the machines that I have access to, this particular address
    isn't assigned to any device:

            $ lspci -v|fgrep 'Memory at'
            Memory at 0000000080000000 (32-bit, prefetchable) [size=128M]
            Memory at 0000000088000000 (32-bit, non-prefetchable) [size=512K]
            Memory at 00000000d0023000 (32-bit, non-prefetchable) [size=4K]
            Memory at 00000000d0022000 (32-bit, non-prefetchable) [size=4K]
            Memory at 00000000d0021000 (32-bit, non-prefetchable) [size=256]
            Memory at 00000000d0020000 (32-bit, non-prefetchable) [size=4K]
            Memory at 00000000d0000000 (32-bit, non-prefetchable) [size=128K]
            Memory at 00000000e0200000 (32-bit, non-prefetchable) [size=4K]
            Memory at 00000000e0100000 (32-bit, non-prefetchable) [size=1M]

      David> I'm not sure that if the HID driver were to pass a null
      David> buffer pointer, it would be caught anywhere.

    OK, I'll try to find some time to trace the I/O MMU calls to see if
    something isn't kosher at that level. Is there a good way of getting
    a relatively high-level of tracing in the USB subsystem that would
    some me what's going on between the HID and the core USB level?

            --david
    -
    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: Theodore Ts'o: "Re: Things that Longhorn seems to be doing right"

    Relevant Pages

    • Re: [1/7] Xen VMM #3: add ptep_establish_new to make va available
      ... >> I'd appreciate a pointer to the patch. ... I was hoping that David would reply with one:) It wasn't ported ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Malloc code
      ... David Wil. ... in my code is to show that I am aware that I should check if the pointer is ... BAD_POINTER is set if an allocation fails but left unassigned if it ... TCP_LOAD_MCB_X and I am assigning the values to the items of the strucutre ...
      (microsoft.public.vc.language)
    • Re: Malloc code
      ... David Wil. ... your right I can just free it in main since the pointer to that allocation is passed back to main. ... You have most probably noticed that I was using an array called "xxx" in TCP_LOAD_MCB_X and I am assigning the values to the items of the strucutre like this: ... If your problem was that you were assigning too much memory, why did did mallocnot return NULL? ...
      (microsoft.public.vc.language)
    • Re: USB 2.0 and WinXP unable to work together
      ... > Windows XP USB2.0 does not support Legacy USB 2.0 BIOS support. ... > Thanks, David & R. McArty. ... that Knowledge Base article is very ...
      (microsoft.public.windowsxp.general)
    • Re: Is USB 2.0 really stable in CE 5.0?
      ... David, thanks for the reply. ... as it's not in my source tree. ... > Unset the m_flsHalted when it is CONTROL endpoint. ... >> My device uses USB 2.0 to talk to two subsystems. ...
      (microsoft.public.windowsce.platbuilder)