Bug 24059

Summary: USB support broken in SMP kernel
Product: Base System Reporter: aledema <aledema>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description aledema 2001-01-03 23:40:01 UTC
I installed FreeBSD 4.1-release on this machine (from WC CDs) correctly, and
immediately after recompiling kernel it viewed fine my Logitech Pilot Wheel
USB Mouse. It was real plug'n'play too (using /etc/usbd.conf). All fine.
(I used it also on a precedent K6-400 machine with 4.1-S)

After cvsupping to 4.2-stable and recompiling all enabling SMP support in
kernel I noted that USB mouse stopped working.
I tried recompiling just a kernel without SMP options and the mouse resumed
normal operation.
I booted many times using SMP kernel and non-SMP kernel, every time the
behavior of USB was reproduced.

So I think there are some problems with USB code when running in SMP
kernels.

Plugging the mouse in the USB port under SMP kernel caused also interval
console messages from usbd about resetting the usb ports itself (I guess
it's something about retrying handshaking or similar).

Fix: 

use a non-SMP kernel
How-To-Repeat: 
Use a SMP kernel and some USB device (to be honest I tried with
mouse only, till now)
Comment 1 Nick Hibma freebsd_committer freebsd_triage 2001-04-09 19:12:14 UTC
Responsible Changed
From-To: freebsd-bugs->n_hibma

Something I should look at.
Comment 2 Nick Sayer 2001-07-25 21:34:53 UTC
I am seeing this same behavior on two other machines -- these are UP, 
not SMP. I believe the problem is related to the VIA 83C572 USB 
controller, not the SMPishness (or not) of the machine.
Comment 3 Sebastian Koehler 2002-12-12 09:26:09 UTC
I want to use the Gigabyte GA-6BXD with SMP support on FreeBSD 4.7-STABLE.
I've the same bug. All my USB devices have stopped working since I compiled
my SMP kernel. Thats crazy, because I use USB mouse and keyboard.

Greeting from Germany, Sebastian Köhler
Comment 4 Ernst de Haan freebsd_committer freebsd_triage 2004-01-05 10:52:59 UTC
Is this still an issue? I have problems with my USB card (NEC uPD 9210) with 
an SMP kernel (4.9-STABLE), but I haven't tried a UP kernel yet. I will, 
that may fix my problem.

Ernst
Comment 5 nick 2004-01-05 10:57:41 UTC
Dunno, the site is really out of date. I'll try to fix _that_ problem
soonish.

Nick

> Is this still an issue? I have problems with my USB card (NEC uPD 9210) with
> an SMP kernel (4.9-STABLE), but I haven't tried a UP kernel yet. I will,
> that may fix my problem.
>
> Ernst
>
>
Comment 6 Ernst de Haan freebsd_committer freebsd_triage 2004-01-05 11:10:41 UTC
Nick,

> Dunno, the site is really out of date. I'll try to fix _that_ problem
> soonish.

By 'site' you mean 'PR database' ?

I think I know what you mean by 'soonish' :-) Do you need any help?

Ernst
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2004-08-27 23:25:37 UTC
State Changed
From-To: open->feedback

Is this still a problem with modern versions of FreeBSD? 


Comment 8 Mark Linimon freebsd_committer freebsd_triage 2004-08-27 23:25:37 UTC
Responsible Changed
From-To: n_hibma->freebsd-bugs

With permission of assignee, reset assignment.
Comment 9 Mark Linimon freebsd_committer freebsd_triage 2004-11-04 04:57:03 UTC
State Changed
From-To: feedback->closed

Feedback timeout (2 months).