6.0-BETA2: taskqueue_drain for if_xl.c:2796

Joerg Pulz Joerg.Pulz at frm2.tum.de
Thu Aug 11 20:09:43 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

with a fresh installed 6.0-BETA2 i get this when xl(4) gets configured at 
the system startup.
System is P3-800MHz SMP. dmesg is attached.

taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1c170a4) locked @ /usr/src/sys/pci/if_xl.c:2796
KDB: stack backtrace:
kdb_backtrace(1,c1c170c8,c1c15000,c1ad7380,d897ab04) at kdb_backtrace+0x29
witness_warn(5,0,c08593f6,c1c15000,c1c15000) at witness_warn+0x18e
taskqueue_drain(c1ad7380,c1c170c8,c1c170a4,1,c086c796,cc7) at taskqueue_drain+0x1a
xl_stop(c1c15000,c1c170a4,1,c086c796,af9) at xl_stop+0x44
xl_init_locked(c1c15000,c1c170a4,0,c086c796,aec) at xl_init_locked+0x33
xl_init(c1c15000,8020690c,c1d73800,c1c15000,d897abc0) at xl_init+0x26
ether_ioctl(c1b2d400,8020690c,c1d73800,0,c1d73800) at ether_ioctl+0x50
xl_ioctl(c1b2d400,8020690c,c1d73800,1,ac190117) at xl_ioctl+0x2be
in_ifinit(c1b2d400,c1d73800,c1d08c10,0,d897ac38) at in_ifinit+0x206
in_control(c1decde8,8040691a,c1d08c00,c1b2d400,c1d76000) at in_control+0x882
ifioctl(c1decde8,8040691a,c1d08c00,c1d76000,0) at ifioctl+0x198
soo_ioctl(c1d6c168,8040691a,c1d08c00,c19d6a80,c1d76000) at soo_ioctl+0x2db
ioctl(c1d76000,d897ad04,3,3,286) at ioctl+0x370
syscall(3b,3b,3b,8056a20,8058d00) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
- --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5fc, ebp = 0xbfbfee48 ---

And later while the system is running i got another one, but i'm not sure 
what the system was actually doing as this happend.

taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1c170a4) locked @ /usr/src/sys/pci/if_xl.c:2796
KDB: stack backtrace:
kdb_backtrace(1,c1c170c8,c1c15000,c1ad7380,d897a984) at kdb_backtrace+0x29
witness_warn(5,0,c08593f6,c1c15000,c1c15000) at witness_warn+0x18e
taskqueue_drain(c1ad7380,c1c170c8,c1c170a4,1,c086c796,cc7) at taskqueue_drain+0x1a
xl_stop(c1c15000,c1c170a4,1,c086c796,af9) at xl_stop+0x44
xl_init_locked(c1c15000,c1c170a4,0,c086c796,aec) at xl_init_locked+0x33
xl_init(c1c15000) at xl_init+0x26
ether_ioctl(c1b2d400,8020690c,c1dcac00,0,1) at ether_ioctl+0x64
xl_ioctl(c1b2d400,8020690c,c1dcac00,0,c1dcac00) at xl_ioctl+0x2be
in6_ifinit(c1b2d400,c1dcac00,d897ab9c,1,40) at in6_ifinit+0x90
in6_update_ifa(c1b2d400,d897ab8c,0) at in6_update_ifa+0x456
in6_ifattach_linklocal(c1b2d400,0) at in6_ifattach_linklocal+0xe5
in6_ifattach(c1b2d400,0,8040691a,8040691a,0) at in6_ifattach+0xb9
in6_if_up(c1b2d400) at in6_if_up+0x13
ifioctl(c1decde8,8040691a,c1d08c00,c1d76000,0) at ifioctl+0x1f8
soo_ioctl(c1d6c168,8040691a,c1d08c00,c19d6a80,c1d76000) at soo_ioctl+0x2db
ioctl(c1d76000,d897ad04,3,3,286) at ioctl+0x370
syscall(3b,3b,3b,8056a20,8058d00) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
- --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5fc, ebp = 0xbfbfee48 ---

regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC+7B8SPOsGF+KA+MRAgSRAJ91MZ1S38ExMEX22rvxqDoI7BeffQCgvD7v
6WfKhK3gr0wb9PklKlcl2WU=
=repZ
-----END PGP SIGNATURE-----
-------------- next part --------------
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA2 #0: Wed Aug  3 08:22:24 UTC 2005
    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (800.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 515796992 (491 MB)
ACPI APIC Table: <VIA694 >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 5 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 10 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 9 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0
pci0: <ACPI PCI bus> on pcib0
pci_link3: Unable to choose an IRQ
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd1ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x9000-0x900f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0x9400-0x941f irq 11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x9800-0x981f irq 11 at device 7.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 7.5 (no driver attached)
atapci1: <Promise PDC20265 UDMA100 controller> port 0xac00-0xac07,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbc3f mem 0xd8000000-0xd801ffff irq 18 at device 12.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
fwohci0: <Texas Instruments TSB12LV26> mem 0xd8024000-0xd80247ff,0xd8020000-0xd8023fff irq 19 at device 13.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:10:dc:56:00:04:e5:5e
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:10:dc:04:e5:5e
fwe0: Ethernet address: 02:10:dc:04:e5:5e
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xc000-0xc0ff mem 0xd8025000-0xd8025fff irq 16 at device 14.0 on pci0
ahc0: [GIANT-LOCKED]
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci0: <multimedia, audio> at device 15.0 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xc800-0xc87f mem 0xd8026000-0xd802607f irq 18 at device 16.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:01:02:08:04:4d
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc8fff,0xd3000-0xd37ff 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 1.000 msec
Waiting 5 seconds for SCSI devices to settle
ad0: 76319MB <Seagate ST380021A 3.75> at ata0-master UDMA100
afd0: REMOVABLE <IOMEGA ZIP 250 ATAPI/42.S> at ata1-master PIO3
da0 at ahc0 bus 0 target 0 lun 0
da0: <FUJITSU MAH3182MP 0114> Fixed Direct Access SCSI-4 device 
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 17432MB (35701260 512 byte sectors: 255H 63S/T 2222C)
ATA PseudoRAID loaded
SMP: AP CPU #1 Launched!
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <TOSHIBA DVD-ROM SD-M1401 1008> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc0 bus 0 target 4 lun 0
cd1: <PLEXTOR CD-R   PX-W1210S 1.06> Removable CD-ROM SCSI-2 device 
cd1: 20.000MB/s transfers (20.000MHz, offset 16)
cd1: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Trying to mount root from ufs:/dev/da0s1a
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1c170a4) locked @ /usr/src/sys/pci/if_xl.c:2796
KDB: stack backtrace:
kdb_backtrace(1,c1c170c8,c1c15000,c1ad7380,d897ab04) at kdb_backtrace+0x29
witness_warn(5,0,c08593f6,c1c15000,c1c15000) at witness_warn+0x18e
taskqueue_drain(c1ad7380,c1c170c8,c1c170a4,1,c086c796,cc7) at taskqueue_drain+0x1a
xl_stop(c1c15000,c1c170a4,1,c086c796,af9) at xl_stop+0x44
xl_init_locked(c1c15000,c1c170a4,0,c086c796,aec) at xl_init_locked+0x33
xl_init(c1c15000,8020690c,c1d73800,c1c15000,d897abc0) at xl_init+0x26
ether_ioctl(c1b2d400,8020690c,c1d73800,0,c1d73800) at ether_ioctl+0x50
xl_ioctl(c1b2d400,8020690c,c1d73800,1,ac190117) at xl_ioctl+0x2be
in_ifinit(c1b2d400,c1d73800,c1d08c10,0,d897ac38) at in_ifinit+0x206
in_control(c1decde8,8040691a,c1d08c00,c1b2d400,c1d76000) at in_control+0x882
ifioctl(c1decde8,8040691a,c1d08c00,c1d76000,0) at ifioctl+0x198
soo_ioctl(c1d6c168,8040691a,c1d08c00,c19d6a80,c1d76000) at soo_ioctl+0x2db
ioctl(c1d76000,d897ad04,3,3,286) at ioctl+0x370
syscall(3b,3b,3b,8056a20,8058d00) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5fc, ebp = 0xbfbfee48 ---
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1c170a4) locked @ /usr/src/sys/pci/if_xl.c:2796
KDB: stack backtrace:
kdb_backtrace(1,c1c170c8,c1c15000,c1ad7380,d897a984) at kdb_backtrace+0x29
witness_warn(5,0,c08593f6,c1c15000,c1c15000) at witness_warn+0x18e
taskqueue_drain(c1ad7380,c1c170c8,c1c170a4,1,c086c796,cc7) at taskqueue_drain+0x1a
xl_stop(c1c15000,c1c170a4,1,c086c796,af9) at xl_stop+0x44
xl_init_locked(c1c15000,c1c170a4,0,c086c796,aec) at xl_init_locked+0x33
xl_init(c1c15000) at xl_init+0x26
ether_ioctl(c1b2d400,8020690c,c1dcac00,0,1) at ether_ioctl+0x64
xl_ioctl(c1b2d400,8020690c,c1dcac00,0,c1dcac00) at xl_ioctl+0x2be
in6_ifinit(c1b2d400,c1dcac00,d897ab9c,1,40) at in6_ifinit+0x90
in6_update_ifa(c1b2d400,d897ab8c,0) at in6_update_ifa+0x456
in6_ifattach_linklocal(c1b2d400,0) at in6_ifattach_linklocal+0xe5
in6_ifattach(c1b2d400,0,8040691a,8040691a,0) at in6_ifattach+0xb9
in6_if_up(c1b2d400) at in6_if_up+0x13
ifioctl(c1decde8,8040691a,c1d08c00,c1d76000,0) at ifioctl+0x1f8
soo_ioctl(c1d6c168,8040691a,c1d08c00,c19d6a80,c1d76000) at soo_ioctl+0x2db
ioctl(c1d76000,d897ad04,3,3,286) at ioctl+0x370
syscall(3b,3b,3b,8056a20,8058d00) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5fc, ebp = 0xbfbfee48 ---


More information about the freebsd-current mailing list