Re: freebsd 5.1 ohci driver causing a panic

From: Michael Haro <mharo_at_bitsurf.net>
Date: Mon, 12 Jan 2004 07:36:28 -0800
dmesg part

FreeBSD 5.1-RELEASE-p10 #2: Sat Oct  4 21:04:37 PDT 2003

ohci0: <SiS 5571 USB controller> mem 0xed203000-0xed203fff irq 10 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xed204000-0xed204fff irq 11 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2: <SiS 5571 USB controller> mem 0xed200000-0xed200fff irq 6 at device 3.2 on pci0
usb2: OHCI version 1.0, legacy support
usb2: <SiS 5571 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ugen0: APC Back-UPS ES 500 FW:2.e2.D USB FW:e2, rev 1.10/1.06, addr 2

Note that if the ups is plugged in when I boot up it comes in as a ugen0, but
if I plug it in after it is uhid0.  I can reproduce this issue when it is
uhid0.

usbdevs -dv :

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00
  uhub2
 port 1 addr 2: low speed, power 2 mA, config 1, Back-UPS ES 500 FW:2.e2.D USB FW:e2(0x0002), APC(0x051d), rev 1.06
   ugen0
 port 2 powered

Michael

On Mon, Jan 12, 2004 at 02:51:42PM +0100, Bernd Walter wrote:
> On Mon, Jan 12, 2004 at 12:45:15AM -0800, Michael Haro wrote:
> > I can reproduce a kernel panic in 5.1 by unplugging the usb cable from my
> > UPS. Unfortunately I'm not getting crash dumps. I'm not sure if I'm doing
> > something wrong.  I have dumpdev set in /etc/rc.conf, but I also notice
> > that the panic screen says ad0 DRQ timeout so I'm not sure if that is the
> > reason I don't get a dump.
> > 
> > Anyway, I saw in CVS logs that the ohci driver has been updated a lot
> > since 5.1 and I was wondering if anyone knows if any of the changes fix
> > this type of panic.  I couldn't tell from the logs, but I'm currently
> > cvsup'ing to 5.2 so I get the more recent ohci driver.
> > 
> > Let me know if there is anything else I should do.
> 
> If it's still reproduceable then please send the dmesg part with your
> controller and usb devices - including the UPS.
> 
> -- 
> B.Walter                   BWCT                http://www.bwct.de
> ticso_at_bwct.de                                  info_at_bwct.de
Received on Mon Jan 12 2004 - 06:36:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:37 UTC