From owner-freebsd-current Wed Dec 29 17:36: 1 1999 Delivered-To: freebsd-current@freebsd.org Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by hub.freebsd.org (Postfix) with SMTP id 0224815744 for ; Wed, 29 Dec 1999 17:35:51 -0800 (PST) (envelope-from wpaul@skynet.ctr.columbia.edu) Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.12/8.6.9) id UAA24381; Wed, 29 Dec 1999 20:39:52 -0500 From: Bill Paul Message-Id: <199912300139.UAA24381@skynet.ctr.columbia.edu> Subject: Re: USB broken? To: efutch@nyct.net (Eric D. Futch) Date: Wed, 29 Dec 1999 20:39:51 -0500 (EST) Cc: current@freebsd.org In-Reply-To: from "Eric D. Futch" at Dec 29, 99 08:13:11 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 2523 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Of all the gin joints in all the towns in all the world, Eric D. Futch had to walk into mine and say: > I'm running -current that's about a week old. Erm... are you sure? I'm having trouble believing you. > I configed my kernel for > USB support. After turning on the USB interface in BIOS kernel panics > after it probes uchi0. Below is the panic screen, I don't have much else > to go on. > > --- > uhci0: rev 0x01 int d irq 10 on pci0.7.2> > kernel trap 12 with interrupts disabled See this kernel probe output here? This is not from a 4.0-CURRENT kernel from a week ago. This is what the probe output from a recent -current system should look like: uhci0: irq 11 at device 7.2 on pci0 Notice the difference? It's been like that for a *long* time now. Therefore I can only conclude that either you're not actually running -current, or else you thought it would be okay to substitute in a really stale entry from a system log file from a 3.x system. Either way, you need to re-evaluate the situation and provide more info. Now rather than being vague, go back and show us what uname -a says on this allegedly -current system and show it to us. Show us the *entire* dmesg output too, while you're at it. Furthermore, you should be able to test USB support without recompiling the kernel. All you need to do is kldload usb. That will load the usb.ko kernel module, which should find the UHCI controller. From the panic message you showed here, you're using SMP. Have you tested it with a UP kernel? (Yes, it's supposed to work either way, but it would be nice if you would just test it to rule out some sort of SMP-related condition.) What you should do is this: - Compile a kernel with options DDB, but *WITHOUT* USB support. - Boot this kernel. - Type kldload usb - See if the system crashes. - If it does, it will drop into the debugger. - Type 'trace' - Report what it says. -Bill -- ============================================================================= -Bill Paul (212) 854-6020 | System Manager, Master of Unix-Fu Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ============================================================================= "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness" ============================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message