Re: PROBLEM: OHCI HCD - computer freezes during boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Apr 2012, Calin Demian wrote:

> Hi!
> Yes, in fact I did allready follow the execution, and it looks like this:
> function                                file
> pci_apply_final_quirks           /drivers/pci/quirks.c
> pci_fixup_device                    ~
> pci_do_fixups                        ~
> here, for the ohci busses 2 functions are called:
>   nv_msi_ht_cap_quirk_all       /drivers/usb/host/pci-quirks.c

What is that?  It's not present in my copy of the kernel source.

>   quirk_usb_early_handoff        ~
> quirk_usb_early_handoff calls the following 3 functions:
>   pci_enable_device(pdev)         /drivers/pci/pci.c
>   quirk_usb_handoff_ohci(pdev)    /drivers/usb/host/pci-quirks.c
>   pci_disable_device(pdev)
> 
> The execution stops inside pci_disable_device, but because
> quirk_usb_handoff_ohci is the only function that has changed between
> versions 3.0.13 and 3.0.20 from the list of files mentioned above, it
> seems that this function changed behaviour in a way that my computer
> doesn't like.

That cannot be right.  The call to pci_disable_device was added after 
the change to quirk_usb_handoff_ohci.

>   Further trace:
>   pci_disable_device
>     do_pci_disable_device
>       pci_read_config_word

I have no idea why your computer would crash inside or after
pci_read_config_word.

Anyway, this is a PCI problem, not a USB problem.  Maybe the PCI 
experts can help.  I have CC'ed the linux-pci mailing list.

Alan Stern

> with respect,
> Calin Demian
> 
> 
> 2012/4/11 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
> > On Wed, 11 Apr 2012, Calin Demian wrote:
> >
> >> 1.Boot problem: computer stops responding during boot.
> >>
> >> 2.The symptom doesn't occur allways, but when it does, it is at the
> >> same point during the boot process. The last messages displayed differ
> >> between different kernel versions, but are the same each time.
> >> � I would appreciate if you could take a look at function
> >> "quirk_usb_handoff_ohci" in file /drivers/usb/host/pci-quirks.c -
> >> which was modified in version 3.0.17 of the mainline kernel. The
> >> problem appeared when upgrading Ubuntu from mainline kernel version
> >> 3.0.13 to version 3.0.20. Searching the changelogs I found that this
> >> function was modified between the two releases. The �computer freezes
> >> durin applying the quirks (pci_apply_final_quirks) for bus
> >> 0000:00:13.1 (the 2nd OHCI bus). Controller is ALI �(EHCI 8 ports +
> >> OHCI 3x3 ports), dev_id 5237(OHCI).
> >
> > Can you figure out exactly where the computer stops, by adding printk
> > lines to the quirk_usb_handoff_ohci function?
> >
> > Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux