Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 14:22:40 +0900
From:      Jun Kuriyama <kuriyama@sky.rim.or.jp>
To:        current@FreeBSD.org
Subject:   panic in dev/usb/usbdi.c
Message-ID:  <14478.33952.854844.81738Z@localhost.sky.rim.or.jp>

next in thread | raw e-mail | index | archive | help

I found I got panic at boot time if I defined "options DIAGNOSTIC".

----- console
panic: ohci_abort_req in interrput context
Debugger("panic")
Stopped at	Debugger+0x35:	movb	$0,in_Debugger.354
-----

This messages is printed by usbd_do_request_flags() in line 928 of
dev/usb/usbdi.c.

----- usbdi.c
usbd_status
usbd_do_request_flags(dev, req, data, flags, actlen)
	usbd_device_handle dev;
	usb_device_request_t *req;
	void *data;
	u_int16_t flags;
	int *actlen;
{
	usbd_xfer_handle xfer;
	usbd_status err;

#ifdef DIAGNOSTIC
#if defined(__i386__) && defined(__FreeBSD__)
	KASSERT(intr_nesting_level == 0,
	       	("ohci_abort_req in interrupt context"));
#endif
	if (dev->bus->intr_context) {
		printf("usbd_do_request: not in process context\n");
		return (USBD_INVAL);
	}
#endif
-----

I cannot get coredump for this session.  Non-DIAGNOSTIC'ed kernel
dmesg is here:

----- dmesg
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfcc0-0xfcdf irq 9 at dev
ice 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
aue0: LUA-TX MELCO LUA-TX, rev 1.10/1.01, addr 2
aue0: Ethernet address: 00:40:26:61:10:c7
miibus0: <MII bus> on aue0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue0: supplying EUI64: 00:40:26:ff:fe:61:10:c7
-----


Jun Kuriyama // kuriyama@sky.rim.or.jp
            // kuriyama@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14478.33952.854844.81738Z>