Subject: double trap on inserting Cardbus card
To: None <current-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 05/30/2006 08:59:05
When I insert my EVDO card, which appears to the system as a USB hub with
a umodem attached, the system panics.  This is with -current from Sunday;
a May 13 kernel had no problems with the card.

Here is dmesg output from a card insertion with the previous kernel:

May 26 21:00:59 berkshire /netbsd: ohci0 at cardbus0 function 0: NEC USB Host Co
ntroller (rev. 0x43)
May 26 21:00:59 berkshire /netbsd: ohci0: interrupting at 11
May 26 21:00:59 berkshire /netbsd: ohci0: OHCI version 1.0
May 26 21:01:00 berkshire /netbsd: usb4 at ohci0: USB revision 1.0
May 26 21:01:00 berkshire /netbsd: uhub4 at usb4
May 26 21:01:00 berkshire /netbsd: uhub4: NEC OHCI root hub, class 9/0, rev 1.00
/1.00, addr 1
May 26 21:01:00 berkshire /netbsd: uhub4: 1 port with 1 removable, self powered
May 26 21:01:00 berkshire /netbsd: ohci1 at cardbus0 function 1: NEC USB Host Co
ntroller (rev. 0x43)
May 26 21:01:00 berkshire /netbsd: ohci1: interrupting at 11
May 26 21:01:00 berkshire /netbsd: ohci1: OHCI version 1.0
May 26 21:01:00 berkshire /netbsd: usb5 at ohci1: USB revision 1.0
May 26 21:01:00 berkshire /netbsd: uhub5 at usb5
May 26 21:01:00 berkshire /netbsd: uhub5: NEC OHCI root hub, class 9/0, rev 1.00
/1.00, addr 1
May 26 21:01:00 berkshire /netbsd: uhub5: 1 port with 1 removable, self powered
May 26 21:01:02 berkshire /netbsd: umodem0 at uhub4 port 1 configuration 1 inter
face 0
May 26 21:01:02 berkshire /netbsd: 
May 26 21:01:02 berkshire /netbsd: umodem0: Curitel Communications, Inc. Curitel
 Communications, Inc., rev 1.10/0.00, addr 2, iclass 2/2
May 26 21:01:02 berkshire /netbsd: umodem0: data interface 1, has CM over data, 
has break
May 26 21:01:02 berkshire /netbsd: umodem0: status change notification available
May 26 21:01:02 berkshire /netbsd: ucom0 at umodem0

Unfortunately, I don't have a good traceback of the problem, but it's very
reproducible; the message was about a double fault.  When I get to my office
and have writing materials handy, I'll generate a better report.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb