system panics on USB-mouse detachment

From: Andrey <andrey.kosachenko_at_gmail.com>
Date: Tue, 12 May 2009 00:01:10 +0300
Hello,

After recent sources upgrade ( __FreeBSD_version 800086, sources were 
updated on 11.05.2009) and world/kernel rebuild system freezes/panics on 
USB-mouse detachment.

Issue is constantly reproducible. The only difference whether system 
just freezes (only power off helps) or (more seldom) it panics (page fault).
However, mouse attachment never leads to panic/freeze (well, I didn't 
manage to catch such a case).

So, I put debug stuff into kernel and managed to get some back-trace.
There is various info taken from the system below. Please, let me know 
if more info is required.

--- <> ---

[silent_at_beastie][/home/silent]uname -a
FreeBSD beastie.lan 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon May 11 
19:18:35 EEST 2009 
root_at_beastie.lan:/usr/obj/usr/src/sys/BEASTIE-SMP-ULE-20090511-debug-v1 
  i386


--- <> ---

FreeBSD 8.0-CURRENT #0: Mon May 11 19:18:35 EEST 2009
     root_at_beastie.lan:/usr/obj/usr/src/sys/BEASTIE-SMP-ULE-20090511-debug-v1
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU     T7300  _at_ 2.00GHz (1995.01-MHz 
686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fa  Stepping = 10 

 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> 

   AMD Features=0x20000000<LM> 

   AMD Features2=0x1<LAHF> 

   TSC: P-state invariant 

real memory  = 4294967296 (4096 MB) 

avail memory = 3140399104 (2994 MB) 

ACPI APIC Table: <HP     30C0    > 

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs 

FreeBSD/SMP: 1 package(s) x 2 core(s) 

  cpu0 (BSP): APIC ID:  0 

  cpu1 (AP): APIC ID:  1 

ioapic0: Changing APIC ID to 1 

ioapic0 <Version 2.0> irqs 0-23 on motherboard 

kbd1 at kbdmux0 

netsmb_dev: loaded 

acpi0: <HPQOEM SLIC-MPC> on motherboard 

acpi0: [ITHREAD] 

acpi0: Power Button (fixed) 

acpi0: reservation of 0, a0000 (3) failed 

acpi0: reservation of 100000, bf700000 (3) failed 

Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 

acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 

acpi_ec0: <Embedded Controller: GPE 0x16> port 0x62,0x66 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 

vgapci0: <VGA-compatible display> port 0x4000-0x4007 mem 
0xe4300000-0xe43fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 

agp0: <Intel GM965 SVGA controller> on vgapci0 

agp0: detected 7676k stolen memory 

agp0: aperture size is 256M 

vgapci1: <VGA-compatible display> mem 0xe4400000-0xe44fffff at device 
2.1 on pci0
uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x4020-0x403f irq 
16 at device 26.0 on pci0
uhci0: [ITHREAD] 

uhci0: LegSup = 0x2f00 

usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0 

uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x4040-0x405f irq 
17 at device 26.1 on pci0
uhci1: [ITHREAD] 

uhci1: LegSup = 0x2f00 

usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1 

ehci0: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> mem 
0xe4500000-0xe45003ff irq 18 at device 26.7 on pci0 

ehci0: [ITHREAD] 

usbus2: EHCI version 1.0 

usbus2: <Intel 82801H (ICH8) USB 2.0 controller USB2-B> on ehci0 

hdac0: <Intel 82801H High Definition Audio Controller> mem 
0xe4504000-0xe4507fff irq 16 at device 27.0 on pci0 

hdac0: HDA Driver Revision: 20090401_0132 

hdac0: [ITHREAD] 

pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 

pci8: <ACPI PCI bus> on pcib1 

pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0 

pci16: <ACPI PCI bus> on pcib2 

wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xe4100000-0xe4100fff irq 17 
at device 0.0 on pci16
wpi0: Driver Revision 20071127 

wpi0: Hardware Revision (0x1) 

adding chan 1 (2412MHz) flags=0x2b maxpwr=15 passive=0, offset 2 

adding chan 2 (2417MHz) flags=0x2b maxpwr=15 passive=0, offset 4 

adding chan 3 (2422MHz) flags=0x2b maxpwr=15 passive=0, offset 6 

adding chan 4 (2427MHz) flags=0x2b maxpwr=15 passive=0, offset 8 

adding chan 5 (2432MHz) flags=0x2b maxpwr=15 passive=0, offset 10 

adding chan 6 (2437MHz) flags=0x2b maxpwr=15 passive=0, offset 12 

adding chan 7 (2442MHz) flags=0x2b maxpwr=15 passive=0, offset 14 

adding chan 8 (2447MHz) flags=0x2b maxpwr=15 passive=0, offset 16 

adding chan 9 (2452MHz) flags=0x2b maxpwr=15 passive=0, offset 18 

adding chan 10 (2457MHz) flags=0x2b maxpwr=15 passive=0, offset 20 

adding chan 11 (2462MHz) flags=0x2b maxpwr=15 passive=0, offset 22 

adding chan 12 (2467MHz) flags=0x21 maxpwr=15 passive=1, offset 24 

adding chan 13 (2472MHz) flags=0x21 maxpwr=15 passive=1, offset 26 

adding chan 34 (5170MHz) flags=0x21 maxpwr=15 passive=1, offset 27 

adding chan 36 (5180MHz) flags=0xab maxpwr=15 passive=0, offset 28 

adding chan 38 (5190MHz) flags=0x21 maxpwr=15 passive=1, offset 29 

adding chan 40 (5200MHz) flags=0xab maxpwr=15 passive=0, offset 30 

adding chan 42 (5210MHz) flags=0x21 maxpwr=15 passive=1, offset 31 

adding chan 44 (5220MHz) flags=0xab maxpwr=15 passive=0, offset 32 

adding chan 46 (5230MHz) flags=0x21 maxpwr=15 passive=1, offset 33 

adding chan 48 (5240MHz) flags=0xab maxpwr=15 passive=0, offset 34 

adding chan 52 (5260MHz) flags=0xb1 maxpwr=15 passive=1, offset 35 

adding chan 56 (5280MHz) flags=0xb1 maxpwr=15 passive=1, offset 36 

adding chan 60 (5300MHz) flags=0xb1 maxpwr=15 passive=1, offset 37 

adding chan 64 (5320MHz) flags=0xb1 maxpwr=15 passive=1, offset 38 

adding chan 100 (5500MHz) flags=0xb1 maxpwr=16 passive=1, offset 39 

adding chan 104 (5520MHz) flags=0xb1 maxpwr=16 passive=1, offset 40 

adding chan 108 (5540MHz) flags=0xb1 maxpwr=16 passive=1, offset 41 

adding chan 112 (5560MHz) flags=0xb1 maxpwr=16 passive=1, offset 42 

adding chan 116 (5580MHz) flags=0xb1 maxpwr=16 passive=1, offset 43 

adding chan 120 (5600MHz) flags=0xb1 maxpwr=16 passive=1, offset 44 

adding chan 124 (5620MHz) flags=0xb1 maxpwr=16 passive=1, offset 45 

adding chan 128 (5640MHz) flags=0xb1 maxpwr=16 passive=1, offset 46 

adding chan 132 (5660MHz) flags=0xb1 maxpwr=16 passive=1, offset 47 

adding chan 136 (5680MHz) flags=0xb1 maxpwr=16 passive=1, offset 48 

adding chan 140 (5700MHz) flags=0xb1 maxpwr=16 passive=1, offset 49 

power group 0: chan=1 maxpwr=48 temp=-191 

         sample 0: index=13 power=43 

         sample 1: index=29 power=32 

         sample 2: index=47 power=12 

         sample 3: index=58 power=1 

         sample 4: index=77 power=-17 

power group 1: chan=44 maxpwr=51 temp=-195 

         sample 0: index=12 power=43 

         sample 1: index=19 power=36 

         sample 2: index=32 power=23 

         sample 3: index=43 power=13 

         sample 4: index=77 power=-20 

power group 2: chan=64 maxpwr=50 temp=-194 

         sample 0: index=12 power=43 

         sample 1: index=20 power=36 

         sample 2: index=33 power=24 

         sample 3: index=44 power=14 

         sample 4: index=77 power=-17 

power group 3: chan=116 maxpwr=46 temp=-192 

         sample 0: index=12 power=33 

         sample 1: index=20 power=24 

         sample 2: index=36 power=8 

         sample 3: index=48 power=-2 

         sample 4: index=77 power=-29 

power group 4: chan=153 maxpwr=44 temp=-191 

         sample 0: index=10 power=32 

         sample 1: index=20 power=20 

         sample 2: index=32 power=8 

         sample 3: index=42 power=0 

         sample 4: index=77 power=-31 

wpi0: Regulatory Domain: MoW2 

wpi0: Hardware Type: B 

wpi0: Hardware Revision: ? 

wpi0: SKU does support 802.11a 

wpi0: [ITHREAD] 

pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0 

pci24: <ACPI PCI bus> on pcib3 

pci0:24:0:0: failed to read VPD data. 

bge0: <Broadcom BCM5754/5787 A2, ASIC rev. 0xb002> mem 
0xe4000000-0xe400ffff irq 18 at device 0.0 on pci24 

miibus0: <MII bus> on bge0 

brgphy0: <BCM5787 10/100/1000baseTX PHY> PHY 1 on miibus0 

brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge0: Ethernet address: 00:1a:4b:66:1b:0e 

bge0: [ITHREAD] 

pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 

pci40: <ACPI PCI bus> on pcib4 

uhci2: <Intel 82801H (ICH8) USB controller USB-A> port 0x4060-0x407f irq 
20 at device 29.0 on pci0
uhci2: [ITHREAD] 

uhci2: LegSup = 0x2f00 

usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2 

uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x4080-0x409f irq 
21 at device 29.1 on pci0
uhci3: [ITHREAD] 

uhci3: LegSup = 0x2f00 

usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3 

uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x40a0-0x40bf irq 
18 at device 29.2 on pci0
uhci4: [ITHREAD] 

uhci4: LegSup = 0x2f00 

usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4 

ehci1: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> mem 
0xe4508000-0xe45083ff irq 20 at device 29.7 on pci0 

ehci1: [ITHREAD] 

usbus6: EHCI version 1.0 

usbus6: <Intel 82801H (ICH8) USB 2.0 controller USB2-A> on ehci1 

pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 

pci2: <ACPI PCI bus> on pcib5 

cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xe4200000-0xe4200fff irq 16 at 
device 4.0 on pci2
cardbus0: <CardBus bus> on cbb0 

pccard0: <16-bit PCCard bus> on cbb0 

cbb0: [FILTER] 

isab0: <PCI-ISA bridge> at device 31.0 on pci0 

isa0: <ISA bus> on isab0 

atapci0: <Intel ICH8M UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40c0-0x40cf irq 16 at device 31.1 
on pci0
ata0: <ATA channel 0> on atapci0 

ata0: [ITHREAD] 

atapci1: <Intel ICH8M SATA300 controller> port 
0x13f0-0x13f7,0x15f4-0x15f7,0x1370-0x1377,0x1574-0x1577,0x4100-0x411f 
mem 0xe4509000-0xe45097ff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD] 
 

atapci1: AHCI called from vendor specific driver 
 

atapci1: AHCI Version 01.10 controller with 3 ports PM not supported 
 

ata2: <ATA channel 0> on atapci1 
 

ata2: [ITHREAD] 
 

battery0: <ACPI Control Method Battery> on acpi0 
 

battery1: <ACPI Control Method Battery> on acpi0 
 

acpi_acad0: <AC Adapter> on acpi0 
 

acpi_button0: <Sleep Button> on acpi0 
 

acpi_lid0: <Control Method Lid Switch> on acpi0 
 

acpi_tz0: <Thermal Zone> on acpi0 
 

acpi_tz1: <Thermal Zone> on acpi0 
 

acpi_tz2: <Thermal Zone> on acpi0 
 

acpi_tz3: <Thermal Zone> on acpi0 
 

acpi_tz3: _CRT value is absurd, ignored (256.0C) 
 

acpi_tz4: <Thermal Zone> on acpi0 
 

atrtc0: <AT realtime clock> port 0x70-0x71,0x72-0x73 irq 8 on acpi0 
 

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 Synaptics Touchpad, device ID 3 
 

ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77a irq 7 drq 1 on acpi0 
 

ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode 
 

ppc0: FIFO with 16/16/8 bytes threshold 
 

ppc0: [ITHREAD] 
 

ppbus0: <Parallel port bus> on ppc0 
 

plip0: <PLIP network interface> on ppbus0 
 

plip0: [ITHREAD] 
 

lpt0: <Printer> on ppbus0 
 

lpt0: [ITHREAD] 
 

lpt0: Interrupt-driven port 
 

ppi0: <Parallel I/O> on ppbus0 
 

cpu0: <ACPI CPU> on acpi0 
 

est0: <Enhanced SpeedStep Frequency Control> on cpu0 
 

p4tcc0: <CPU Frequency Thermal Control> on cpu0 
 

cpu1: <ACPI CPU> on acpi0 
 

est1: <Enhanced SpeedStep Frequency Control> on cpu1 
 

p4tcc1: <CPU Frequency Thermal Control> on cpu1 
 

pmtimer0 on isa0 
 

sc0: <System console> at flags 0x100 on isa0 
 

sc0: VGA <16 virtual consoles, flags=0x300> 
 

vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0 

Timecounters tick every 10.000 msec 
 

ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based 
forwarding enabled, default to deny, logging limited to 20 packets/entry 
by default
usbus0: 12Mbps Full Speed USB v1.0 
 

usbus1: 12Mbps Full Speed USB v1.0 
 

usbus2: 480Mbps High Speed USB v2.0 
 

usbus3: 12Mbps Full Speed USB v1.0 
 

usbus4: 12Mbps Full Speed USB v1.0 
 

usbus5: 12Mbps Full Speed USB v1.0 
 

usbus6: 480Mbps High Speed USB v2.0 
 

ugen0.1: <Intel> at usbus0 
 

uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 
 

ugen1.1: <Intel> at usbus1 
 

uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 
 

ugen2.1: <Intel> at usbus2 
 

uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 
 

ugen3.1: <Intel> at usbus3 
 

uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 
 

ugen4.1: <Intel> at usbus4 
 

uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 
 

ugen5.1: <Intel> at usbus5 
 

uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5 
 

ugen6.1: <Intel> at usbus6 
 

uhub6: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6 
 

acd0: DVDR <HL-DT-ST DVDRAM GSA-T20N/WC05> at ata0-master PIO4 
 

ad4: 152627MB <Hitachi HTS541616J9SA00 SB4OC7BP> at ata2-master SATA150 
 

hdac0: HDA Codec #0: Analog Devices AD1981HD 
 

hdac0: HDA Codec #1: Lucent/Agere Systems (Unknown) 
 

pcm0: <HDA Analog Devices AD1981HD PCM #0 Analog> at cad 0 nid 1 on 
hdac0 

SMP: AP CPU #1 Launched! 
 

WARNING: WITNESS option enabled, expect reduced performance. 
 

uhub1: 2 ports with 2 removable, self powered 
 

uhub0: 2 ports with 2 removable, self powered 
 

uhub3: 2 ports with 2 removable, self powered 
 

uhub4: 2 ports with 2 removable, self powered 
 

uhub5: 2 ports with 2 removable, self powered 
 

GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). 
 

GEOM_LABEL: Label for provider ad4s1a is ufsid/49e9bbedb8fda52e. 
 

GEOM_JOURNAL: Journal 1268608653: ad4s1d contains journal. 
 

GEOM_JOURNAL: Journal 267406393: ad4s1e contains journal. 
 

GEOM_LABEL: Label for provider ad4s1f is ufsid/49e9bbedc9aaa62a. 
 

GEOM_JOURNAL: Journal 1268608653: ad4s1g contains data. 
 

GEOM_LABEL: Label for provider ad4s1g is ufsid/49e9bbee67fce2f3. 
 

GEOM_JOURNAL: Journal ad4s1g consistent. 
 

GEOM_JOURNAL: Journal 267406393: ad4s1h contains data. 
 

GEOM_LABEL: Label for provider ad4s1h is ufsid/49e9bbed0b0f22ca. 
 

GEOM_JOURNAL: Journal ad4s1h consistent. 
 

GEOM_JOURNAL: Journal 3676591063: ad4s3d contains journal. 
 

GEOM_JOURNAL: Journal 3676591063: ad4s3e contains data. 
 

GEOM_LABEL: Label for provider ad4s3e is ufsid/49ea306910707f00. 
 

GEOM_JOURNAL: Journal ad4s3e consistent. 
 

Root mount waiting for: usbus6 usbus2 
 

uhub2: 4 ports with 4 removable, self powered 
 

uhub6: 6 ports with 6 removable, self powered 
 

Root mount waiting for: usbus6 
 

Trying to mount root from ufs:/dev/ad4s1a 
 

WARNING: / was not properly dismounted 
 

acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 
0x01 

(probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
 

(probe0:ata0:0:0:0): CAM Status: SCSI Status Error 
 

(probe0:ata0:0:0:0): SCSI Status: Check Condition 
 

(probe0:ata0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 
 

(probe0:ata0:0:0:0): Medium not present 
 

(probe0:ata0:0:0:0): Unretryable error 
 

cd0 at ata0 bus 0 target 0 lun 0 
 

cd0: <HL-DT-ST DVDRAM GSA-T20N WC05> Removable CD-ROM SCSI-0 device 
 

cd0: 16.000MB/s transfers 
 

cd0: Attempt to query device size failed: NOT READY, Medium not present 
 

ugen3.2: <AuthenTec> at usbus3 
 

GEOM_LABEL: Label ufsid/49e9bbedb8fda52e removed. 
 

GEOM_LABEL: Label for provider ad4s1a is ufsid/49e9bbedb8fda52e. 
 

GEOM_LABEL: Label ufsid/49e9bbedb8fda52e removed. 
 

WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
tap0: Ethernet address: 00:bd:45:04:00:00
tap1: Ethernet address: 00:bd:45:04:00:01
tap2: Ethernet address: 00:bd:46:04:00:02
tap3: Ethernet address: 00:bd:47:04:00:03
tap4: Ethernet address: 00:bd:47:04:00:04
tap5: Ethernet address: 00:bd:48:04:00:05
wlan0: Ethernet address: 00:1b:77:c0:a1:16
lock order reversal:
  1st 0xda0f5340 bufwait (bufwait) _at_ /usr/src/sys/kern/vfs_bio.c:2555
  2nd 0xc66d7000 dirhash (dirhash) _at_ /usr/src/sys/ufs/ufs/ufs_dirhash.c:275
KDB: stack backtrace:
db_trace_self_wrapper(c091d5a4,e901c778,c0634285,c062618b,c09203b9,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c062618b,c09203b9,c6122bb8,c6126500,e901c7d4,...) at 
kdb_backtrace+0x29
_witness_debugger(c09203b9,c66d7000,c0942631,c6126500,c09422ca,...) at 
_witness_debugger+0x25
witness_checkorder(c66d7000,9,c09422ca,113,0,...) at 
witness_checkorder+0x839
_sx_xlock(c66d7000,0,c09422ca,113,c66e3d24,...) at _sx_xlock+0x85
ufsdirhash_acquire(da0f52e0,e901c8ec,10c,da62f910,e901c8a4,...) at 
ufsdirhash_acquire+0x35
ufsdirhash_add(c66e3d24,e901c8ec,910,e901c890,e901c894,...) at 
ufsdirhash_add+0x13
ufs_direnter(c644c96c,c697d96c,e901c8ec,e901cbd4,0,...) at 
ufs_direnter+0x729
ufs_makeinode(e901cbd4,0,e901cacc,e901ca34,c08bcab5,...) at 
ufs_makeinode+0x4af
ufs_create(e901cacc,e901cae4,0,0,e901cba8,...) at ufs_create+0x30
VOP_CREATE_APV(c0993e40,e901cacc,2,c0912cef,3,...) at VOP_CREATE_APV+0xa5
vn_open_cred(e901cba8,e901cc5c,1a4,c613b900,c66f2b98,...) at 
vn_open_cred+0x19e
vn_open(e901cba8,e901cc5c,1a4,c66f2b98,281a1000,...) at vn_open+0x33
kern_openat(c6973480,ffffff9c,80516e0,0,602,...) at kern_openat+0x108
kern_open(c6973480,80516e0,0,601,1b6,...) at kern_open+0x35
open(c6973480,e901ccf8,c,c,c09734b8,...) at open+0x30
syscall(e901cd38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (5, FreeBSD ELF32, open), eip = 0x28165fb3, esp = 
0xbfbfeb1c, ebp = 0xbfbfeb58 ---
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
drm0: <Intel i965GM> on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080730
drm0: [ITHREAD]
ugen3.3: <Genius> at usbus3
ukbd0: <EP1 Interrupt> on usbus3
kbd2 at ukbd0
ukbd_set_leds_callback:554: error=USB_ERR_STALLED
ums0: <EP2 Interrupt> on usbus3
ums0: 3 buttons and [XYZ] coordinates ID=1

--- <> ---

[root_at_beastie][/var/crash]kgdb /boot/kernel.debug/kernel.symbols 
/var/crash/vmcore.8
GNU gdb 6.1.1 [FreeBSD] 

Copyright 2004 Free Software Foundation, Inc. 

GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions. 

There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-marcel-freebsd"... 


Unread portion of the kernel message buffer:
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex uhci3 (uhci3) r = 0 (0xc63bae4c) locked _at_ 
/usr/src/sys/dev/usb/usb_request.c:104
exclusive sleep mutex USB device mutex (USB device mutex) r = 0 
(0xc615c050) locked _at_ /usr/src/sys/dev/usb/usb_transfer.c:1826
KDB: stack backtrace: 

db_trace_self_wrapper(c091d5a4,e6cfcb10,c0634285,c090e306,722,...) at 
db_trace_self_wrapper+0x26
kdb_backtrace(c090e306,722,ffffffff,c0b02d7c,e6cfcb48,...) at 
kdb_backtrace+0x29
_witness_debugger(c091f965,e6cfcb5c,4,1,0,...) at _witness_debugger+0x25 

witness_warn(5,0,c0950f99,110,c642c6c0,...) at witness_warn+0x1fd 

trap(e6cfcbe8) at trap+0x153 

calltrap() at calltrap+0x6 

--- trap 0xc, eip = 0xc05675f7, esp = 0xe6cfcc28, ebp = 0xe6cfcc54 --- 

usb2_do_clear_stall_callback(c6d99568,ffffffff,c090e306,9b2,c0b02d78,...) 
at usb2_do_clear_stall_callback+0xd7
usb2_callback_wrapper(c6d99030,723,0,c6d99000,c6d99000,...) at 
usb2_callback_wrapper+0x607
usb2_command_wrapper(c6d99030,0,c090e306,723,c6d99044,...) at 
usb2_command_wrapper+0x116
usb2_callback_proc(c6d99044,c63bae4c,c090de6c,51,c09c6680,...) at 
usb2_callback_proc+0x98
usb2_process(c63bada4,e6cfcd38,c0915da6,336,c661c2a4,...) at 
usb2_process+0xde
fork_exit(c05654e0,c63bada4,e6cfcd38) at fork_exit+0xb8 

fork_trampoline() at fork_trampoline+0x8 

--- trap 0, eip = 0, esp = 0xe6cfcd70, ebp = 0 --- 



Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0xdeadc0e0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc05675f7
stack pointer           = 0x28:0xe6cfcc28
frame pointer           = 0x28:0xe6cfcc54
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 35 (usbus4)
panic: from debugger
cpuid = 1
KDB: stack backtrace:
panic: vm_fault: fault on nofault entry, addr: deadc000
cpuid = 1
KDB: enter: panic
Uptime: 24m39s
Physical memory: 3051 MB
Dumping 200 MB: 185 169 153 137 121 105 89 73 57 41 25 9

Reading symbols from /boot/kernel.debug/geom_journal.ko...Reading 
symbols from /boot/kernel.debug/geom_journal.ko.symbols...done.
done. 

Loaded symbols for /boot/kernel.debug/geom_journal.ko 

Reading symbols from /boot/kernel.debug/if_wpi.ko...Reading symbols from 
/boot/kernel.debug/if_wpi.ko.symbols...done.
done. 

Loaded symbols for /boot/kernel.debug/if_wpi.ko 

Reading symbols from /boot/kernel.debug/snd_hda.ko...Reading symbols 
from /boot/kernel.debug/snd_hda.ko.symbols...done.
done. 

Loaded symbols for /boot/kernel.debug/snd_hda.ko 

Reading symbols from /boot/kernel.debug/sound.ko...Reading symbols from 
/boot/kernel.debug/sound.ko.symbols...done.
done. 

Loaded symbols for /boot/kernel.debug/sound.ko
Reading symbols from /boot/kernel.debug/tmpfs.ko...Reading symbols from 
/boot/kernel.debug/tmpfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/tmpfs.ko
Reading symbols from /boot/kernel.debug/linprocfs.ko...Reading symbols 
from /boot/kernel.debug/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/linprocfs.ko
Reading symbols from /boot/kernel.debug/linux.ko...Reading symbols from 
/boot/kernel.debug/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/linux.ko
Reading symbols from /boot/kernel.debug/if_tap.ko...Reading symbols from 
/boot/kernel.debug/if_tap.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/if_tap.ko
Reading symbols from /boot/kernel.debug/ng_btsocket.ko...Reading symbols 
from /boot/kernel.debug/ng_btsocket.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/ng_btsocket.ko
Reading symbols from /boot/kernel.debug/netgraph.ko...Reading symbols 
from /boot/kernel.debug/netgraph.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/netgraph.ko
Reading symbols from /boot/kernel.debug/ng_bluetooth.ko...Reading 
symbols from /boot/kernel.debug/ng_bluetooth.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/ng_bluetooth.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
Reading symbols from /usr/local/modules/rtc.ko...done.
Loaded symbols for /usr/local/modules/rtc.ko
Reading symbols from /boot/kernel.debug/i915.ko...Reading symbols from 
/boot/kernel.debug/i915.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/i915.ko
Reading symbols from /boot/kernel.debug/drm.ko...Reading symbols from 
/boot/kernel.debug/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel.debug/drm.ko
#0  doadump () at pcpu.h:246
246     pcpu.h: No such file or directory.
         in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:246
#1  0xc05f34ce in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420
#2  0xc05f37a2 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:576
#3  0xc084bf47 in vm_fault (map=0xc1490000, vaddr=3735928832, 
fault_type=Variable "fault_type" is not available.
) at /usr/src/sys/vm/vm_fault.c:283
#4  0xc08aefb7 in trap_pfault (frame=0xe6cfcbe8, usermode=0, 
eva=3735929056) at /usr/src/sys/i386/i386/trap.c:828
#5  0xc08af9e3 in trap (frame=0xe6cfcbe8) at 
/usr/src/sys/i386/i386/trap.c:521
#6  0xc0893d6b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0xc05675f7 in usb2_do_clear_stall_callback (xfer=0xc6d99568) at 
/usr/src/sys/dev/usb/usb_request.c:140
#8  0xc056a427 in usb2_callback_wrapper (pq=0xc6d99030) at 
/usr/src/sys/dev/usb/usb_transfer.c:1958
#9  0xc0567e16 in usb2_command_wrapper (pq=0xc6d99030, xfer=0x0) at 
/usr/src/sys/dev/usb/usb_transfer.c:2534
#10 0xc0567ef8 in usb2_callback_proc (_pm=0xc6d99044) at 
/usr/src/sys/dev/usb/usb_transfer.c:1830
#11 0xc05655be in usb2_process (arg=0xc63bada4) at 
/usr/src/sys/dev/usb/usb_process.c:139
#12 0xc05cd588 in fork_exit (callout=0xc05654e0 <usb2_process>, 
arg=0xc63bada4, frame=0xe6cfcd38) at /usr/src/sys/kern/kern_fork.c:830
#13 0xc0893de0 in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:270


--- <> ---

[silent_at_beastie][/home/silent]pciconf -lv
hostb0_at_pci0:0:0:0:      class=0x060000 card=0x30c0103c chip=0x2a008086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = 'Mobile PM965/GM965/GL960 Express Processor to DRAM 
Controller'
     class      = bridge 

     subclass   = HOST-PCI 

vgapci0_at_pci0:0:2:0:     class=0x030000 card=0x30c0103c chip=0x2a028086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = 'Mobile 965 Express Integrated Graphics Controller' 

     class      = display 

     subclass   = VGA 

vgapci1_at_pci0:0:2:1:     class=0x038000 card=0x30c0103c chip=0x2a038086 
rev=0x0c hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = 'Mobile 965 Express Integrated Graphics Controller' 

     class      = display 

uhci0_at_pci0:0:26:0:      class=0x0c0300 card=0x30c0103c chip=0x28348086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) USB UHCI' 

     class      = serial bus 

     subclass   = USB 

uhci1_at_pci0:0:26:1:      class=0x0c0300 card=0x30c0103c chip=0x28358086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) USB UHCI' 

     class      = serial bus 

     subclass   = USB 

ehci0_at_pci0:0:26:7:      class=0x0c0320 card=0x30c0103c chip=0x283a8086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = '81EC1043 (?) ICH8 Enhanced USB2 Enhanced Host 
Controller'
     class      = serial bus 

     subclass   = USB 

hdac0_at_pci0:0:27:0:      class=0x040300 card=0x30c0103c chip=0x284b8086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8' 

     class      = multimedia 

     subclass   = HDA 

pcib1_at_pci0:0:28:0:      class=0x060400 card=0x30c0103c chip=0x283f8086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) PCIe Port 1' 

     class      = bridge 

     subclass   = PCI-PCI 

pcib2_at_pci0:0:28:1:      class=0x060400 card=0x30c0103c chip=0x28418086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) PCIe Port 2' 

     class      = bridge 

     subclass   = PCI-PCI 

pcib3_at_pci0:0:28:2:      class=0x060400 card=0x30c0103c chip=0x28438086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) PCIe Port 3' 

     class      = bridge 

     subclass   = PCI-PCI 

pcib4_at_pci0:0:28:4:      class=0x060400 card=0x30c0103c chip=0x28478086 
rev=0x03 hdr=0x01
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) PCIe Port 5' 

     class      = bridge 

     subclass   = PCI-PCI 

uhci2_at_pci0:0:29:0:      class=0x0c0300 card=0x30c0103c chip=0x28308086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation' 

     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
uhci3_at_pci0:0:29:1:      class=0x0c0300 card=0x30c0103c chip=0x28318086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
uhci4_at_pci0:0:29:2:      class=0x0c0300 card=0x30c0103c chip=0x28328086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB UHCI'
     class      = serial bus
     subclass   = USB
ehci1_at_pci0:0:29:7:      class=0x0c0320 card=0x30c0103c chip=0x28368086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) USB2 EHCI'
     class      = serial bus
     subclass   = USB
pcib5_at_pci0:0:30:0:      class=0x060401 card=0x30c0103c chip=0x24488086 
rev=0xf3 hdr=0x01
     vendor     = 'Intel Corporation'
     device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to 
PCI Bridge'
     class      = bridge
     subclass   = PCI-PCI
isab0_at_pci0:0:31:0:      class=0x060100 card=0x30c0103c chip=0x28158086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'ICH8M-E (ICH8 Family) LPC Interface Controller'
     class      = bridge
     subclass   = PCI-ISA
atapci0_at_pci0:0:31:1:    class=0x01018a card=0x30c0103c chip=0x28508086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801H (ICH8 Family) Ultra ATA Storage Controllers'
     class      = mass storage
     subclass   = ATA
atapci1_at_pci0:0:31:2:    class=0x010601 card=0x30c0103c chip=0x28298086 
rev=0x03 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '82801 Intel(R) 82801HEM/HBM SATA AHCI Controller'
     class      = mass storage
     subclass   = SATA
wpi0_at_pci0:16:0:0:       class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00
     vendor     = 'Intel Corporation'
     device     = '10418086 Intel 3945ABG Wireless LAN controller'
     class      = network
bge0_at_pci0:24:0:0:       class=0x020000 card=0x30c0103c chip=0x169314e4 
rev=0x02 hdr=0x00
     vendor     = 'Broadcom Corporation'
     device     = 'BCM 5787A Ethernet Controller Broadcom Netlink Gigabit'
     class      = network
     subclass   = ethernet
cbb0_at_pci0:2:4:0:        class=0x060700 card=0x30c0103c chip=0x04761180 
rev=0xb6 hdr=0x02
     vendor     = 'Ricoh Company, Ltd.'
     device     = 'unknown Ricoh R/RL/5C476(II)'
     class      = bridge
     subclass   = PCI-CardBus

--
WBR,
Andrey
Received on Mon May 11 2009 - 19:32:33 UTC

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