Skip to contentSkip to conversation

EHCI errors in 2.6.8 could be a patch mistake

DISCUSSION Gaetano Sferra 1 participant 1 message Sep 1, 2004

lore
Share & tools
lore
#0 lore raw

Hello to all,
please, read carefully:

I've patched my fully working 2.6.7 kernel to the 2.6.8 and I got these errors at boot time (no errors during patch and compilation using the same config of the 2.6.7 kernel):

ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95

In this condition the hotplugging of USB devices doesn't work at all! The host controller is an Intel Corp. 82801DB (ICH4) USB2 EHCI and it fully work with the 2.6.7. Looking into the patched and original code of the ehci-hcd driver I've noticed that some changes has been maded but the only one that can influence the BIOS handoff is the following:

kernel 2.6.7 - line 296: cap &= 1 << 24;
kernel 2.6.8 - line 296: cap |= 1 << 24;

This may be a mistake, I don't know, but I've restored that line with the &= operator and all works again! If this was a typo mistake in the 2.6.8 patch check the 2.8.9-rc1 also, in the prepatch there is a work-around that force the module to exit with code 0!

Signature · 2 lines
Gaetano Sferra
On Jabber: G[a][email protected]