Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 00:02:17 -0700
From:      Norbert Papke <npapke@acm.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: 7.2-STABLE: Inserting USB device causes Fatal Trap 12
Message-ID:  <200905120002.18130.npapke@acm.org>
In-Reply-To: <200905101426.08256.npapke@acm.org>
References:  <200905101217.39920.fbsd-ml@scrapper.ca> <200905101426.08256.npapke@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I have been trying to understand the failure better:

(kgdb) frame 10
#10 0xffffffff80473265 in usb_transfer_complete (xfer=3D0xffffff00045cbc00)
    at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:949
949                     STAILQ_REMOVE_HEAD(&pipe->queue, next);

(kgdb) list
944     #ifdef DIAGNOSTIC
945                     xfer->busy_free =3D XFER_BUSY;
946     #endif
947                     KASSERT(STAILQ_FIRST(&pipe->queue) =3D=3D xfer,
948                         ("usb_transfer_complete: bad dequeue"));
949                     STAILQ_REMOVE_HEAD(&pipe->queue, next);
950             }
951             DPRINTFN(5,("usb_transfer_complete: repeat=3D%d new head=3D=
%p\n",
952                         repeat, STAILQ_FIRST(&pipe->queue)));


=46or reference:

#define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
#define STAILQ_FIRST(head)      ((head)->stqh_first)
#define STAILQ_REMOVE_HEAD(head, field) do {                            \
        if ((STAILQ_FIRST((head)) =3D                                     \
             STAILQ_NEXT(STAILQ_FIRST((head)), field)) =3D=3D NULL)        =
 \
                (head)->stqh_last =3D &STAILQ_FIRST((head));              \
} while (0)


Looking at the data:

(kgdb) p *pipe
$15 =3D {iface =3D 0x0, device =3D 0xffffff009c1e4a00, endpoint =3D=20
0xffffff009c1e4a38, refcnt =3D 1, running =3D 0 '\0', aborting =3D 0 '\0',
  queue =3D {stqh_first =3D 0x0, stqh_last =3D 0xffffff000c8576a0}, next =
=3D {le_next=20
=3D 0x806b560b4, le_prev =3D 0x0}, intrxfer =3D 0x0,
  repeat =3D 0 '\0', interval =3D -1, methods =3D 0xffffffff80a6e340}
(kgdb) p pipe->queue
$16 =3D {stqh_first =3D 0x0, stqh_last =3D 0xffffff000c8576a0}
(kgdb) p pipe->queue->stqh_first
$17 =3D (struct usbd_xfer *) 0x0

And, of course,

(kgdb) p pipe->queue->stqh_first.next
Cannot access memory at address 0x290


If the kernel had been built with INVARIANTS, presumably the prior assertio=
n=20
would have been triggered.  It is not clear to me how the transfer ended up=
=20
in this bad state.  Could the "USBD_NOMEM" status be a clue?

(kgdb) p *xfer
$6 =3D {pipe =3D 0xffffff000c857680, priv =3D 0x0, buffer =3D 0xfffffffef5b=
69ff0,=20
length =3D 18, actlen =3D 0, flags =3D 6, timeout =3D 5000,
  status =3D USBD_NOMEM, callback =3D 0, done =3D 1 '\001', request =3D {bm=
RequestType=20
=3D 128 '\200', bRequest =3D 6 '\006',
    wValue =3D "\001\003", wIndex =3D "\t\004", wLength =3D "\022"}, frleng=
ths =3D=20
0x0, nframes =3D 0, device =3D 0xffffff009c1e4a00, dmamap =3D {
    segs =3D {{ds_addr =3D 23408640, ds_len =3D 16}, {ds_addr =3D 23355392,=
 ds_len =3D=20
2}, {ds_addr =3D 0, ds_len =3D 0} <repeats 31 times>},
    nsegs =3D 2, map =3D 0xffffff000cbf5e00}, allocbuf =3D 0x0, rqflags =3D=
 1, next =3D=20
{stqe_next =3D 0x0}, hcpriv =3D 0x0, timeout_handle =3D {
    c_links =3D {sle =3D {sle_next =3D 0x0}, tqe =3D {tqe_next =3D 0x0, tqe=
_prev =3D=20
0x0}}, c_time =3D 0, c_arg =3D 0x0, c_func =3D 0,
    c_mtx =3D 0xffffffff80b12600, c_flags =3D 0}}


I am getting out of my depth.  I will spend some more time trying to learn=
=20
this code but would appreciate pointers.

Cheers,

=2D- Norbert Papke.




On May 10, 2009, Norbert Papke wrote:
> On May 10, 2009, Norbert Papke wrote:
> > Inserting a USB thumb drive into a running sytem result in a "Fatal trap
> > 12: page fault while in kernel mode".
> >
> > Unfortunately, I was not able to save a core (not entirely sure why, I'=
ll
> > investigate separately).  I have manually copied the backtrace:
>
> I now have a kernel dump and backtrace with symbols:
>
> #0  doadump () at pcpu.h:195
> #1  0xffffffff801d239c in db_fncall (dummy1=3DVariable "dummy1" is not
> available.
> ) at /red/public/freebsd/sources/stable/sys/ddb/db_command.c:516
> #2  0xffffffff801d28a9 in db_command (last_cmdp=3D0xffffffff80adc648,
> cmd_table=3D0x0, dopager=3D1)
>     at /red/public/freebsd/sources/stable/sys/ddb/db_command.c:413
> #3  0xffffffff801d2aab in db_command_loop ()
> at /red/public/freebsd/sources/stable/sys/ddb/db_command.c:466
> #4  0xffffffff801d42f7 in db_trap (type=3DVariable "type" is not availabl=
e.
> ) at /red/public/freebsd/sources/stable/sys/ddb/db_main.c:228
> #5  0xffffffff805159e5 in kdb_trap (type=3D12, code=3D0, tf=3D0xfffffffef=
5b69d10)
>     at /red/public/freebsd/sources/stable/sys/kern/subr_kdb.c:524
> #6  0xffffffff80798143 in trap_fatal (frame=3D0xfffffffef5b69d10,
> eva=3DVariable "eva" is not available.
> )
>     at /red/public/freebsd/sources/stable/sys/amd64/amd64/trap.c:752
> #7  0xffffffff80798498 in trap_pfault (frame=3D0xfffffffef5b69d10,
> usermode=3D0) at
> /red/public/freebsd/sources/stable/sys/amd64/amd64/trap.c:673 #8=20
> 0xffffffff80798bcf in trap (frame=3D0xfffffffef5b69d10)
>     at /red/public/freebsd/sources/stable/sys/amd64/amd64/trap.c:444
> #9  0xffffffff8077edae in calltrap ()
> at /red/public/freebsd/sources/stable/sys/amd64/amd64/exception.S:209
> #10 0xffffffff80473265 in usb_transfer_complete (xfer=3D0xffffff00045cbc0=
0)
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:949
> #11 0xffffffff8077af55 in bus_dmamap_load (dmat=3D0xffffff0004598580,
> map=3D0xffffff000cbf5e00,
>     buf=3D0xfffffffef5b69ff0, buflen=3DVariable "buflen" is not available.
> ) at
> /red/public/freebsd/sources/stable/sys/amd64/amd64/busdma_machdep.c:739 #=
12
> 0xffffffff80473955 in usbd_transfer (xfer=3D0xffffff00045cbc00)
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:312
> #13 0xffffffff80473b36 in usbd_do_request_flags_pipe
> (dev=3D0xffffff009c1e4a00, pipe=3D0xffffff000c857680,
>     req=3D0xfffffffef5b69f90, data=3D0xfffffffef5b69ff0, flags=3DVariable=
 "flags"
> is not available.
> )
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:1100
> #14 0xffffffff80473c60 in usbd_do_request_flags (dev=3DVariable "dev" is =
not
> available.
> )
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:1070
> #15 0xffffffff80471d1a in usbd_get_string_desc (dev=3D0xffffff009c1e4a00,
> sindex=3DVariable "sindex" is not available.
> )
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usb_subr.c:171
> #16 0xffffffff80472f1d in usbd_get_string (dev=3D0xffffff009c1e4a00, si=
=3D1,
> buf=3D0xfffffffef5b6a200 "", len=3D128)
> ---Type <return> to continue, or q <return> to quit---
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usbdi.c:1353
> #17 0xffffffff80470fca in usbd_devinfo_vp (dev=3D0xffffff009c1e4a00,
> v=3D0xfffffffef5b6a200 "",
>     p=3D0xfffffffef5b6a180 "=EF=BF=BDz=EF=BF=BD\200=EF=BF=BD=EF=BF=BD=EF=
=BF=BD=EF=BF=BD`=EF=BF=BD=EF=BF=BD\200=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD"=
, usedev=3DVariable "usedev"
> is not available.
> )
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usb_subr.c:216
> #18 0xffffffff80471b76 in usbd_devinfo (dev=3D0xffffff009c1e4a00,
> showclass=3D1, cp=3D0xffffff0122986000 "\001")
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usb_subr.c:281
> #19 0xffffffff8047243e in usbd_new_device (parent=3D0xffffff0004591900,
> bus=3D0xffffff000440a000, depth=3DVariable "depth" is not available.
> )
>     at /red/public/freebsd/sources/stable/sys/dev/usb/usb_subr.c:861
> #20 0xffffffff80467b5b in uhub_explore (dev=3D0xffffff0004591400)
>     at /red/public/freebsd/sources/stable/sys/dev/usb/uhub.c:523
> #21 0xffffffff8046f391 in usb_discover (v=3DVariable "v" is not available.
> ) at /red/public/freebsd/sources/stable/sys/dev/usb/usb.c:724
> #22 0xffffffff8046fc61 in usb_event_thread (arg=3DVariable "arg" is not
> available.
> ) at /red/public/freebsd/sources/stable/sys/dev/usb/usb.c:440
> #23 0xffffffff804d05bd in fork_exit (callout=3D0xffffffff8046fbe5
> <usb_event_thread>, arg=3D0xffffff0004598d00,
>     frame=3D0xfffffffef5b6ac80)
> at /red/public/freebsd/sources/stable/sys/kern/kern_fork.c:810
> #24 0xffffffff8077f16e in fork_trampoline ()
>     at /red/public/freebsd/sources/stable/sys/amd64/amd64/exception.S:455
>
> > The problem is repeatable.  It only happens when I insert the thumb dri=
ve
> > into a running system.  If I boot with the thumb drive present,
> > everything is fine.
> >
> > Any help is greatly appreciated.
> >
> > Cheers,
> >
> > -- Norbert Papke.
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> >
> > # uname -a
> > FreeBSD proven.lan 7.2-STABLE FreeBSD 7.2-STABLE #0 r191841: Tue May  5
> > 21:13:21 PDT 2009
> > npapke@proven.lan:/usr/obj/red/public/freebsd/sources/stable/sys/PROVEN
> > amd64
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> >
> > Kernel config:
> >
> > include GENERIC
> > ident PROVEN
> >
> > options KDB             # kernel debugger (just in case)
> > options KDB_TRACE
> > options DDB             # kernel debugger (just in case)
> > options WITNESS
> > options WITNESS_SKIPSPIN
> >
> > options IPSEC
> > device  crypto
> > device  stf             # for IPv6 tunneling
> >
> > # keep kernel messages from different cpus separate
> > options PRINTF_BUFR_SIZE=3D64
> >
> > option  SC_HISTORY_SIZE=3D2000
> > options SC_NORM_ATTR=3D(FG_GREEN|BG_BLACK)
> > options SC_NORM_REV_ATTR=3D(FG_YELLOW|BG_GREEN)
> > options SC_KERNEL_CONS_ATTR=3D(FG_LIGHTRED|BG_BLACK)
> > options SC_KERNEL_CONS_REV_ATTR=3D(FG_BLACK|BG_RED)
> >
> > # Alternate Queuing of network packets
> > options ALTQ
> > options ALTQ_CBQ                # Class Bases Queuing (CBQ)
> > options ALTQ_RED                # Random Early Detection (RED)
> > options ALTQ_RIO                # RED In/Out
> > options ALTQ_HFSC               # Hierarchical Packet Scheduler (HFSC)
> > options ALTQ_PRIQ               # Priority Queuing (PRIQ)
> > options ALTQ_NOPCC              # Required for SMP build
> >
> > # load as module for debugging
> > nodevice        re              # RealTek 8139C+/8169/8169S/8110S
> >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> >
> > Copyright (c) 1992-2009 The FreeBSD Project.
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >         The Regents of the University of California. All rights reserve=
d.
> > FreeBSD is a registered trademark of The FreeBSD Foundation.
> > FreeBSD 7.2-STABLE #0 r191841: Tue May  5 21:13:21 PDT 2009
> >   =20
> > npapke@proven.lan:/usr/obj/red/public/freebsd/sources/stable/sys/PROVEN
> > WARNING: WITNESS option enabled, expect reduced performance.
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Core(TM)2 Duo CPU     E8500  @ 3.16GHz (3155.59-MHz
> > K8-class CPU)
> >   Origin =3D "GenuineIntel"  Id =3D 0x1067a  Stepping =3D 10
> >
> > Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,
> >MC A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >
> > Features2=3D0x408e3fd<SSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,=
xTPR
> >,P DCM,<b19>,XSAVE> AMD Features=3D0x20100800<SYSCALL,NX,LM>
> >   AMD Features2=3D0x1<LAHF>
> >   Cores per package: 2
> > usable memory =3D 4279189504 (4080 MB)
> > avail memory  =3D 4097724416 (3907 MB)
> > ACPI APIC Table: <100808 APIC1053>
> > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> >  cpu0 (BSP): APIC ID:  0
> >  cpu1 (AP): APIC ID:  1
> > ioapic0 <Version 2.0> irqs 0-23 on motherboard
> > kbd1 at kbdmux0
> > cryptosoft0: <software crypto> on motherboard
> > acpi0: <100808 XSDT1053> on motherboard
> > acpi0: [ITHREAD]
> > acpi0: Power Button (fixed)
> > acpi0: reservation of ffc00000, 300000 (3) failed
> > acpi0: reservation of fee00000, 1000 (3) failed
> > acpi0: reservation of 0, a0000 (3) failed
> > acpi0: reservation of 100000, bff00000 (3) failed
> > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> > acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
> > acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900
> > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> > pci0: <ACPI PCI bus> on pcib0
> > pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
> > pci1: <ACPI PCI bus> on pcib1
> > vgapci0: <VGA-compatible display> port 0xc000-0xc0ff mem
> > 0xd0000000-0xdfffffff,0xfe9f0000-0xfe9fffff irq 16 at device 0.0 on pci1
> > drm0: <ATI ATI Radeon HD 3600 XT> on vgapci0
> > info: [drm] MSI enabled 1 message(s)
> > vgapci0: child drm0 requested pci_enable_busmaster
> > info: [drm] Initialized radeon 1.29.0 20080528
> > hdac0: <ATI RV635 High Definition Audio Controller> mem
> > 0xfe9ec000-0xfe9effff irq 17 at device 0.1 on pci1
> > hdac0: HDA Driver Revision: 20090329_0131
> > hdac0: [ITHREAD]
> > uhci0: <UHCI (generic) USB controller> port 0xbc00-0xbc1f irq 16 at
> > device 26.0 on pci0
> > uhci0: [GIANT-LOCKED]
> > uhci0: [ITHREAD]
> > usb0: <UHCI (generic) USB controller> on uhci0
> > usb0: USB revision 1.0
> > uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> > uhub0: 2 ports with 2 removable, self powered
> > uhci1: <UHCI (generic) USB controller> port 0xb880-0xb89f irq 21 at
> > device 26.1 on pci0
> > uhci1: [GIANT-LOCKED]
> > uhci1: [ITHREAD]
> > usb1: <UHCI (generic) USB controller> on uhci1
> > usb1: USB revision 1.0
> > uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> > uhub1: 2 ports with 2 removable, self powered
> > uhci2: <UHCI (generic) USB controller> port 0xb800-0xb81f irq 19 at
> > device 26.2 on pci0
> > uhci2: [GIANT-LOCKED]
> > uhci2: [ITHREAD]
> > usb2: <UHCI (generic) USB controller> on uhci2
> > usb2: USB revision 1.0
> > uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
> > uhub2: 2 ports with 2 removable, self powered
> > ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe8fe000-0xfe8fe3ff irq
> > 18 at device 26.7 on pci0
> > ehci0: [GIANT-LOCKED]
> > ehci0: [ITHREAD]
> > usb3: EHCI version 1.0
> > usb3: companion controllers, 2 ports each: usb0 usb1 usb2
> > usb3: <EHCI (generic) USB 2.0 controller> on ehci0
> > usb3: USB revision 2.0
> > uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
> > uhub3: 6 ports with 6 removable, self powered
> > hdac1: <Intel 82801J High Definition Audio Controller> mem
> > 0xfe8f8000-0xfe8fbfff irq 22 at device 27.0 on pci0
> > hdac1: HDA Driver Revision: 20090329_0131
> > hdac1: [ITHREAD]
> > pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
> > pci2: <ACPI PCI bus> on pcib2
> > pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
> > pci3: <ACPI PCI bus> on pcib3
> > re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe
> > Gigabit Ethernet> port 0xd800-0xd8ff mem
> > 0xfeaff000-0xfeafffff,0xfdff0000-0xfdffffff irq 17 at device 0.0 on pci3
> > re0: Chip rev. 0x3c000000
> > re0: MAC rev. 0x00400000
> > miibus0: <MII bus> on re0
> > rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
> > rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> > 1000baseT-FDX, auto
> > re0: Ethernet address: 00:30:48:b0:6a:1f
> > re0: [FILTER]
> > uhci3: <UHCI (generic) USB controller> port 0xb480-0xb49f irq 23 at
> > device 29.0 on pci0
> > uhci3: [GIANT-LOCKED]
> > uhci3: [ITHREAD]
> > usb4: <UHCI (generic) USB controller> on uhci3
> > usb4: USB revision 1.0
> > uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
> > uhub4: 2 ports with 2 removable, self powered
> > uhci4: <UHCI (generic) USB controller> port 0xb400-0xb41f irq 19 at
> > device 29.1 on pci0
> > uhci4: [GIANT-LOCKED]
> > uhci4: [ITHREAD]
> > usb5: <UHCI (generic) USB controller> on uhci4
> > usb5: USB revision 1.0
> > uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
> > uhub5: 2 ports with 2 removable, self powered
> > uhci5: <UHCI (generic) USB controller> port 0xb080-0xb09f irq 18 at
> > device 29.2 on pci0
> > uhci5: [GIANT-LOCKED]
> > uhci5: [ITHREAD]
> > usb6: <UHCI (generic) USB controller> on uhci5
> > usb6: USB revision 1.0
> > uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
> > uhub6: 2 ports with 2 removable, self powered
> > ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfe8fc000-0xfe8fc3ff irq
> > 23 at device 29.7 on pci0
> > ehci1: [GIANT-LOCKED]
> > ehci1: [ITHREAD]
> > usb7: EHCI version 1.0
> > usb7: companion controllers, 2 ports each: usb4 usb5 usb6
> > usb7: <EHCI (generic) USB 2.0 controller> on ehci1
> > usb7: USB revision 2.0
> > uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
> > uhub7: 6 ports with 6 removable, self powered
> > umass0: <JetFlash Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2>
> > on uhub7
> > pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> > pci4: <ACPI PCI bus> on pcib4
> > dc0: <ADMtek AN985 10/100BaseTX> port 0xe800-0xe8ff mem
> > 0xfebffc00-0xfebfffff irq 21 at device 1.0 on pci4
> > miibus1: <MII bus> on dc0
> > acphy0: <ACXXX 10/100 media interface> PHY 1 on miibus1
> > acphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > dc0: Ethernet address: 00:20:78:10:3e:98
> > dc0: [ITHREAD]
> > isab0: <PCI-ISA bridge> at device 31.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <Intel ICH10 SATA300 controller> port
> > 0xb000-0xb007,0xac00-0xac03,0xa880-0xa887,0xa800-0xa803,0xa480-0xa48f,0=
xa
> >40 0-0xa40f irq 19 at device 31.2 on pci0
> > atapci0: [ITHREAD]
> > ata2: <ATA channel 0> on atapci0
> > ata2: [ITHREAD]
> > ata3: <ATA channel 1> on atapci0
> > ata3: [ITHREAD]
> > ichsmb0: <SMBus controller> port 0x400-0x41f mem 0xfe8f7c00-0xfe8f7cff
> > irq 18 at device 31.3 on pci0
> > ichsmb0: [GIANT-LOCKED]
> > ichsmb0: [ITHREAD]
> > smbus0: <System Management Bus> on ichsmb0
> > smb0: <SMBus generic I/O> on smbus0
> > atapci1: <Intel ICH10 SATA300 controller> port
> > 0xa000-0xa007,0x9c00-0x9c03,0x9880-0x9887,0x9800-0x9803,0x9480-0x948f,0=
x9
> >40 0-0x940f irq 19 at device 31.5 on pci0
> > atapci1: [ITHREAD]
> > ata4: <ATA channel 0> on atapci1
> > ata4: [ITHREAD]
> > ata5: <ATA channel 1> on atapci1
> > ata5: [ITHREAD]
> > acpi_button0: <Power Button> on acpi0
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: configured irq 4 not in bitmap of probed irqs 0
> > sio0: port may not be enabled
> > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> > acpi0 sio0: type 16550A
> > sio0: [FILTER]
> > ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
> > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> > ppbus0: <Parallel port bus> on ppc0
> > ppbus0: [ITHREAD]
> > lpt0: <Printer> on ppbus0
> > lpt0: Interrupt-driven port
> > ppi0: <Parallel I/O> on ppbus0
> > plip0: <PLIP network interface> on ppbus0
> > plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag
> > ppc0: [GIANT-LOCKED]
> > ppc0: [ITHREAD]
> > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> > atkbd0: <AT Keyboard> irq 1 on atkbdc0
> > kbd0 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > atkbd0: [ITHREAD]
> > psm0: <PS/2 Mouse> irq 12 on atkbdc0
> > psm0: [GIANT-LOCKED]
> > psm0: [ITHREAD]
> > psm0: model IntelliMouse, device ID 3
> > cpu0: <ACPI CPU> on acpi0
> > ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] -  45,
> > should be 40 [20070320]
> > coretemp0: <CPU On-Die Thermal Sensors> on cpu0
> > est0: <Enhanced SpeedStep Frequency Control> on cpu0
> > p4tcc0: <CPU Frequency Thermal Control> on cpu0
> > cpu1: <ACPI CPU> on acpi0
> > coretemp1: <CPU On-Die Thermal Sensors> on cpu1
> > est1: <Enhanced SpeedStep Frequency Control> on cpu1
> > est: CPU supports Enhanced Speedstep, but is not recognized.
> > est: cpu_vendor GenuineIntel, msr 616492206004922
> > device_attach: est1 attach returned 6
> > p4tcc1: <CPU Frequency Thermal Control> on cpu1
> > orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=3D0x300>
> > sio1: configured irq 3 not in bitmap of probed irqs 0
> > sio1: port may not be enabled
> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on is=
a0
> > Timecounters tick every 1.000 msec
> > IPsec: Initialized Security Association Processing.
> > ad4: 239372MB <Maxtor 7Y250M0 YAR51HW0> at ata2-master SATA150
> > ad7: 305245MB <Seagate ST3320620AS 3.AAK> at ata3-slave SATA300
> > ad8: 610480MB <WDC WD6401AALS-00L3B2 01.03B01> at ata4-master SATA300
> > GEOM_LABEL: Label for provider ad4s1a is ufsid/497cecd46b0e22e5.
> > acd0: DVDR <HL-DT-STDVD-RAM GH22NS30/1.01> at ata5-master SATA150
> > hdac0: HDA Codec #0: ATI R6xx HDMI
> > pcm0: <HDA ATI R6xx HDMI PCM #0 Digital> at cad 0 nid 1 on hdac0
> > hdac1: HDA Codec #2: Realtek ALC888
> > hdac1: hdac_command_send_internal: TIMEOUT numcmd=3D1, sent=3D1, receiv=
ed=3D0
> > hdac1: hdac_command_send_internal: TIMEOUT numcmd=3D1, sent=3D1, receiv=
ed=3D0
> > hdac1: Codec #3 is not responding! Probing aborted.
> > pcm1: <HDA Realtek ALC888 PCM #0 Analog> at cad 2 nid 1 on hdac1
> > pcm2: <HDA Realtek ALC888 PCM #1 Analog> at cad 2 nid 1 on hdac1
> > pcm3: <HDA Realtek ALC888 PCM #2 Digital> at cad 2 nid 1 on hdac1
> > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00
> > (probe1:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> > (probe1:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> > (probe1:umass-sim0:0:0:0): SCSI Status: Check Condition
> > (probe1:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
> > (probe1:umass-sim0:0:0:0): Not ready to ready change, medium may have
> > changed (probe1:umass-sim0:0:0:0): Retrying Command (per Sense Data)
> > acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00
> > SMP: AP CPU #1 Launched!
> > WARNING: WITNESS option enabled, expect reduced performance.
> > da0 at umass-sim0 bus 0 target 0 lun 0
> > da0: <JetFlash Transcend 4GB 8.07> Removable Direct Access SCSI-2 device
> > da0: 40.000MB/s transfers
> > da0: 3830MB (7843840 512 byte sectors: 255H 63S/T 488C)
> > cd0 at ata3 bus 0 target 0 lun 0
> > cd0: <HL-DT-ST DVD-RAM GH22NS30 1.01> Removable CD-ROM SCSI-0 device
> > cd0: 3.300MB/s transfers
> > cd0: cd present [4098336 x 2048 byte records]
> > GEOM_LABEL: Label for provider acd0 is
> > iso9660/THE_MATRIX_16X9LB_N_AMERICA. Trying to mount root from
> > ufs:/dev/ad4s1a
> > WARNING: / was not properly dismounted
> > WARNING: reducing size to maximum of 67108864 blocks per swap unit
> > GEOM_LABEL: Label ufsid/497cecd46b0e22e5 removed.
> > GEOM_LABEL: Label for provider ad4s1a is ufsid/497cecd46b0e22e5.
> > GEOM_LABEL: Label ufsid/497cecd46b0e22e5 removed.
> > This module (opensolaris) contains code covered by the
> > Common Development and Distribution License (CDDL)
> > see http://opensolaris.org/os/licensing/opensolaris_license/
> > WARNING: ZFS is considered to be an experimental feature in FreeBSD.
> > ZFS filesystem version 6
> > ZFS storage pool version 6
> > lock order reversal:
> >  1st 0xffffffff80e49de0 pf task mtx (pf task mtx)
> > @
> > /red/public/freebsd/sources/stable/sys/modules/pf/../../contrib/pf/net/=
pf
> >_i octl.c:1394 2nd 0xffffffff80ba94c0 ifnet (ifnet)
> > @ /red/public/freebsd/sources/stable/sys/net/if.c:1623
> > KDB: stack backtrace:
> > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> > witness_checkorder() at witness_checkorder+0x543
> > _mtx_lock_flags() at _mtx_lock_flags+0x1f
> > ifunit() at ifunit+0x24
> > pfioctl() at pfioctl+0x2531
> > devfs_ioctl_f() at devfs_ioctl_f+0x71
> > kern_ioctl() at kern_ioctl+0x91
> > ioctl() at ioctl+0xeb
> > syscall() at syscall+0x1a5
> > Xfast_syscall() at Xfast_syscall+0xab
> > --- syscall (54, FreeBSD ELF64, ioctl), rip =3D 0x80096296c, rsp =3D
> > 0x7fffffffdc18, rbp =3D 0x7fffffffdca0 ---
> > kqemu version 0x00010400
> > kqemu: KQEMU installed, max_locked_mem=3D2089448kB.
> > acd0: FAILURE - READ_BIG timed out
> > acd0: FAILURE - READ_BIG timed out
> > acd0: FAILURE - READ_BIG timed out
> > info: [drm] Setting GART location based on new memory map
> > info: [drm] Loading RV635 CP Microcode
> > info: [drm] Loading RV635 PFP Microcode
> > info: [drm] Resetting GPU
> > info: [drm] writeback test succeeded in 1 usecs
> > drm0: [ITHREAD]
> > acd0: FAILURE - READ_BIG timed out
> > acd0: FAILURE - READ_BIG timed out
> > (cd0:ata3:0:0:0): cddone: got error 0x5 back
> > tap0: Ethernet address: 00:bd:d8:9b:04:00
> > bridge0: Ethernet address: fa:cc:68:2e:a4:8e
> > tap0: promiscuous mode enabled
> > dc0: promiscuous mode enabled
> >
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or=
g"



=2D-=20
=2D- Norbert Papke.
   npapke@acm.org



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