Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 15:01:14 +0100
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        usb@freebsd.org
Subject:   panic while loading usb.ko on 4.11-PRE
Message-ID:  <20041222140113.GA79783@droso.net>

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

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Bad news everyone!

Let me just explain by pasting from cli, logs and gdb.

First error:

bamse# kldload uplcom
kldload: can't load uplcom: Exec format error

Dec 22 14:23:22 bamse /kernel: link_elf: symbol usbd_abort_pipe
undefined

However:
bamse# kldload usb
bamse# kldload uplcom

ucom0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A),
rev 1.10/ 2.02, addr 2

bamse# cu -l ucom0
Connected.


Second, a panic during 'kldload usb':

uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1440-0x145f
irq 2 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1460-0x147f
irq 5 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x1480-0x149f
irq 10 at device 29.2 on pci0


Fatal trap 12: page fault while in kernel mode
mp_lock =3D 00000003; cpuid =3D 0; lapic.id =3D 00000000
fault virtual address   =3D 0x4
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc220e4ba
stack pointer           =3D 0x10:0xd703dc30
frame pointer           =3D 0x10:0xd703dc34
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 3
current process         =3D 634 (kldload)
interrupt mask          =3D bio  <- SMP: XXX
trap number             =3D 12
panic: page fault
mp_lock =3D 00000003; cpuid =3D 0; lapic.id =3D 00000000
boot() called on cpu#0


Backtrace at: http://people.freebsd.org/~erwin/usb-panic.txt

Unfortunately, I'll be leaving for Christmas holidays tomorrow and won't
have physical access to this machine until the 29th, but I'll be able to
log in the meantime.

-erwin



--=20
                    _._     _,-'""`-._
Erwin Lansing      (,-.`._,'(       |\`-/|    erwin@lansing.dk
http://droso.org       `-.-' \ )-`( , o o)    erwin@FreeBSD.org
                    -bf-      `-    \`_`"'-

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFByX4pqy9aWxUlaZARAtsDAJ9LZzQTEAPtcfCG15Qo75TqcRFPLgCeMDh+
iChnz1T/oGN9bvAXQoP/OBU=
=nwIj
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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