Subject: Re: APIC enabled no more USB
To: Pierrick Brossin <pierrick@bs-network.net>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 10/09/2006 16:11:28
On Oct 3, 2006, at 9:44 AM, Pierrick Brossin wrote:

> On Tue, Oct 03, 2006 at 09:41:01AM -0400, Chris Tribo wrote:
>> Remove all USB controllers (EHCI,UHCI,OHCI) and USB devices from your
>> kernel. Then it might keep using the BIOS's PS/2 legacy emulation. If
>> it works, you won't be able to hot plug anything, and if the BIOS
>> doesn't set it up correctly at boot you're out of luck.
>>
>
> Yeah but this sucks :)
>
> Will anyone be working on this or it'll be like so forever ?
>

Maybe this will shed some light on the situation. Also, with my  
hacked up bge driver, when I try to up the interface, uhci1 host  
controller halted shows up if it didn't break on boot already.

...
uhci0: host controller halted
...
uhci_freex_ xfer=0xc2e55200 not busy, 0x0000009e
ehci0: handing over low speed device on port 4 to uhci1
ehci1: handing over low speed device on port 4 to uhci3
uhub2: port 4, device disappeared after reset
uhub6: port 4, device disappeared after reset
uhci1: host controller halted
...
uhci_freex: !isdone
uhub1: device problem, disabling port 2
uhci_freex: xfer=0xc2f2b800 not busy, 0x0000009e
...
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33)  
(using DMA) <-- this is a SATA DVD-ROM/CDRW, I can't imagine it's  
getting away with UDMA2.
kernel: supervisor trap page fault, code=0
Stopped at      netbsd:wsdisplay_scroll+0x2e:   movl    0(%eax),%eax
db>
db> bt
wsdisplay_scroll(c2e55500,4,c09e69d4,c05af152,c2946b80) at  
netbsd:wsdisplay_scro
ll+0x2e
wskbd_input(c2f2ba00,2,28,28,c02a34b3) at netbsd:wskbd_input+0xad
ukbd_decode(c2fb1a00,c29ba5f0,8,c02d0bfe,5) at netbsd:ukbd_decode+0x284
uhidev_intr(c2f01900,c2f27600,0,c2f18000,c08cdc40) at  
netbsd:uhidev_intr+0xb6
usb_transfer_complete(c2f01900,1,0,246,c09e6b08) at  
netbsd:usb_transfer_complete
+0x10d
uhci_idone(c2f01954,c09e6b40,206,206,0) at netbsd:uhci_idone+0x104
uhci_softintr(c2f18000,7ff,c2ef6bc0,246,0) at netbsd:uhci_softintr+0xda
softintr_dispatch(1,c0460010,30,10,80010010) at  
netbsd:softintr_dispatch+0x2b
Xsoftnet() at netbsd:Xsoftnet+0x6f
--- interrupt ---
cpu_switch(c09118e0,0,c09e6c28,282,c0911640) at netbsd:cpu_switch+0x9f
ltsleep(c091285c,20,c08009bb,0,0) at netbsd:ltsleep+0x33b
main(fbff,c01002e6,0,0,0) at netbsd:main+0x1b6
db> c
kernel: supervisor trap page fault, code=0
Stopped at      netbsd:wsdisplay_scroll+0x2e:   movl    0(%eax),%eax
db> bt
wsdisplay_scroll(c2e55500,4,c09e69d4,c05af152,c2946b80) at  
netbsd:wsdisplay_scro
ll+0x2e
wskbd_input(c2f2ba00,2,28,28,c02a34b3) at netbsd:wskbd_input+0xad
ukbd_decode(c2fb1a00,c29ba5f0,8,c02d0bfe,5) at netbsd:ukbd_decode+0x284
uhidev_intr(c2f01900,c2f27600,0,c2f18000,c08cdc40) at  
netbsd:uhidev_intr+0xb6
usb_transfer_complete(c2f01900,1,0,246,c09e6b08) at  
netbsd:usb_transfer_complete
+0x10d
uhci_idone(c2f01954,c09e6b40,206,206,0) at netbsd:uhci_idone+0x104
uhci_softintr(c2f18000,7ff,c2ef6bc0,246,0) at netbsd:uhci_softintr+0xda
softintr_dispatch(1,c0460010,30,10,80010010) at  
netbsd:softintr_dispatch+0x2b
Xsoftnet() at netbsd:Xsoftnet+0x6f
--- interrupt ---
cpu_switch(c09118e0,0,c09e6c28,282,c0911640) at netbsd:cpu_switch+0x9f
ltsleep(c091285c,20,c08009bb,0,0) at netbsd:ltsleep+0x33b
main(fbff,c01002e6,0,0,0) at netbsd:main+0x1b6
db>