Date: Mon, 23 Feb 2009 23:53:46 -0800 From: Garrett Cooper <yanefbsd@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Potential race condition / performance issue Message-ID: <7d6fde3d0902232353m54148a39n25988251fd3366af@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi guys,
I've come across some issues with recent kernels on my system
where after I disabled WITNESS and INVARIANTS options, and if I have
all hardware features enabled (sio card, snd_hda, etc), something's
been happening where the kernel is getting stuck with xpt_config at
boot. After I disabled onboard sound and serial, things work like a
charm again. Furthermore, it seems to be running differently, and in
fact much better than it was before, such that X11 is much more
responsive than it was before [*]. Booting off an OpenSolaris
(Indiana?) disk doesn't have this issue, but it does print out a fat
warning about irq16 being shared between drivers (as does FreeBSD
IIRC) when the devices are enabled. Are there any known issues with
ICH9 motherboards and FreeBSD that I should be aware of?
My motherboard is a P5K-E Wifi with a Q9400 and 4GB RAM.
I've attached my stats just for reference.
Thanks,
-Garrett
[*] Just to make it not sound completely like a driver issue, I just
installed another 2GB of RAM, which brings me up to 4GB RAM in my i686
setup.
[-- Attachment #2 --]
hostb0@pci0:0:0:0: class=0x060000 card=0x82951043 chip=0x29c08086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '(Bearlake) Processor to I/O Controller'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 card=0x82951043 chip=0x29c18086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '(Bearlake) PCIe Root Port'
class = bridge
subclass = PCI-PCI
uhci0@pci0:0:26:0: class=0x0c0300 card=0x82771043 chip=0x29378086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
uhci1@pci0:0:26:1: class=0x0c0300 card=0x82771043 chip=0x29388086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
uhci2@pci0:0:26:2: class=0x0c0300 card=0x82771043 chip=0x29398086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:26:7: class=0x0c0320 card=0x82771043 chip=0x293c8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
pcib2@pci0:0:28:0: class=0x060400 card=0x82771043 chip=0x29408086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1'
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:28:5: class=0x060400 card=0x82771043 chip=0x294a8086 rev=0x02 hdr=0x01
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) PCIe Root Port 6'
class = bridge
subclass = PCI-PCI
uhci3@pci0:0:29:0: class=0x0c0300 card=0x82771043 chip=0x29348086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
uhci4@pci0:0:29:1: class=0x0c0300 card=0x82771043 chip=0x29358086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
uhci5@pci0:0:29:2: class=0x0c0300 card=0x82771043 chip=0x29368086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:29:7: class=0x0c0320 card=0x82771043 chip=0x293a8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
pcib4@pci0:0:30:0: class=0x060401 card=0x82771043 chip=0x244e8086 rev=0x92 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 card=0x82771043 chip=0x29168086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IR (ICH9R) LPC Interface Controller'
class = bridge
subclass = PCI-ISA
atapci0@pci0:0:31:2: class=0x010601 card=0x82771043 chip=0x29228086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) 6 port SATA AHCI Controller'
class = mass storage
subclass = SATA
none0@pci0:0:31:3: class=0x0c0500 card=0x82771043 chip=0x29308086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801IB/IR/IH (ICH9 Family) SMBus Controller'
class = serial bus
subclass = SMBus
vgapci0@pci0:1:0:0: class=0x030000 card=0x042110de chip=0x019310de rev=0xa2 hdr=0x00
vendor = 'Nvidia Corp'
device = 'GeForce 8800 GTS'
class = display
subclass = VGA
mskc0@pci0:2:0:0: class=0x020000 card=0x81f81043 chip=0x436411ab rev=0x12 hdr=0x00
vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device = '88E8056 Yukon PCI-E Gigabit Ethernet Controller'
class = network
subclass = ethernet
emu10kx0@pci0:4:2:0: class=0x040100 card=0x10211102 chip=0x00081102 rev=0x00 hdr=0x00
vendor = 'Creative Technology LTD.'
device = 'Audigy Audio Processor'
class = multimedia
subclass = audio
[-- Attachment #3 --]
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 reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #1: Sun Feb 22 07:26:00 PST 2009
root@orangebox.gateway.2wire.net:/usr/obj/usr/src/sys/ORANGEBOX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz (2671.62-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x1067a 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=0x408e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE>
AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
Cores per package: 4
real memory = 3489136640 (3327 MB)
avail memory = 3416866816 (3258 MB)
ACPI APIC Table: <A_M_I_ OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <A_M_I_ OEMXSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, cff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
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 0xcc00-0xcc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1
uhci0: <Intel 82801I (ICH9) USB controller> port 0xb800-0xb81f irq 16 at device 26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB controller> port 0xb880-0xb89f irq 21 at device 26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB controller> port 0xbc00-0xbc1f irq 18 at device 26.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf9fffc00-0xf9ffffff 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: <Intel 82801I (ICH9) 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
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci2: <ACPI PCI bus> on pcib3
mskc0: <Marvell Yukon 88E8056 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfebfc000-0xfebfffff irq 17 at device 0.0 on pci2
msk0: <Marvell Technology Group Ltd. Yukon EC Ultra Id 0xb4 Rev 0x02> on mskc0
can't re-use a leaf (jabbers)!
msk0: Ethernet address: 00:1d:60:b6:eb:97
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1149 Gigabit PHY> PHY 0 on miibus0
e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
mskc0: [FILTER]
uhci3: <Intel 82801I (ICH9) USB controller> port 0xb080-0xb09f irq 23 at device 29.0 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb4: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB controller> port 0xb400-0xb41f irq 19 at device 29.1 on pci0
uhci4: [GIANT-LOCKED]
uhci4: [ITHREAD]
usb5: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB controller> port 0xb480-0xb49f irq 18 at device 29.2 on pci0
uhci5: [GIANT-LOCKED]
uhci5: [ITHREAD]
usb6: <Intel 82801I (ICH9) 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: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xf9fff800-0xf9fffbff 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: <Intel 82801I (ICH9) 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
uhub8: <vendor 0x0424 product 0x2502, class 9/0, rev 2.00/0.01, addr 2> on uhub7
uhub8: single transaction translator
uhub8: 2 ports with 1 removable, self powered
uhub9: <vendor 0x0424 product 0x2602, class 9/0, rev 2.00/0.00, addr 3> on uhub8
uhub9: multiple transaction translators
uhub9: 4 ports with 3 removable, self powered
umass0: <Generic Flash Card Reader, class 0/0, rev 2.00/4.44, addr 4> on uhub9
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pci4: <multimedia, audio> at device 2.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel AHCI controller> port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa41f mem 0xf9ffe800-0xf9ffefff irq 22 at device 31.2 on pci0
atapci0: [ITHREAD]
atapci0: AHCI Version 01.20 controller with 6 ports PM supported
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
ata6: <ATA channel 4> on atapci0
ata6: [ITHREAD]
ata7: <ATA channel 5> on atapci0
ata7: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 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]
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
cpu2: <ACPI CPU> on acpi0
est2: <Enhanced SpeedStep Frequency Control> on cpu2
cpu3: <ACPI CPU> on acpi0
est3: <Enhanced SpeedStep Frequency Control> on cpu3
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
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: [ITHREAD]
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1: [ITHREAD]
ums0: <Logitech Trackball, class 0/0, rev 1.10/2.20, addr 2> on uhub4
ums0: 3 buttons and Z dir.
ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/2.00, addr 2> on uhub5
kbd2 at ukbd0
Timecounters tick every 1.000 msec
ad6: 476940MB <Seagate ST3500320AS SD15> at ata3-master SATA150
ad8: 305245MB <WDC WD3200AAJS-00RYA0 12.01B01> at ata4-master SATA300
acd0: DVDR <HL-DT-ST BDDVDRW GGC-H20L/1.03> at ata5-master SATA150
GEOM: ad6s1: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s1: geometry does not match label (255h,63s != 16h,63s).
WARNING: ad6s1 expected rawoffset 0, found 63
GEOM: ad6s2: geometry does not match label (255h,63s != 16h,63s).
WARNING: ad6s2 expected rawoffset 0, found 104856255
GEOM_LABEL: Label for provider acd0 is iso9660/OpenSolaris.
GEOM: ad6s1b: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s1c: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2c: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2d: geometry does not match label (255h,63s != 16h,63s).
WARNING: ad6s1b expected rawoffset 0, found 63
GEOM: ad6s1b: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s1c: geometry does not match label (255h,63s != 16h,63s).
WARNING: ad6s2d expected rawoffset 0, found 104856255
GEOM: ad6s2c: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2d: geometry does not match label (255h,63s != 16h,63s).
WARNING: ad8s1 expected rawoffset 0, found 63
WARNING: ad8s1d expected rawoffset 0, found 63
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
(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): NOT READY asc:3a,0
(probe1:umass-sim0:0:0:0): Medium not present
(probe1:umass-sim0:0:0:0): Unretryable error
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
(probe1:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
(probe1:umass-sim0:0:0:1): CAM Status: SCSI Status Error
(probe1:umass-sim0:0:0:1): SCSI Status: Check Condition
(probe1:umass-sim0:0:0:1): NOT READY asc:3a,0
(probe1:umass-sim0:0:0:1): Medium not present
(probe1:umass-sim0:0:0:1): Unretryable error
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
cd0 at ata5 bus 0 target 0 lun 0
cd0: <HL-DT-ST BDDVDRW GGC-H20L 1.03> Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: cd present [351903 x 2048 byte records]
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic Flash HS-CF 4.44> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Generic Flash HS-COMBO 4.44> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad6s1a
WARNING: ad8s1 expected rawoffset 0, found 63
WARNING: ad8s1d expected rawoffset 0, found 63
WARNING: ad8s1 expected rawoffset 0, found 63
WARNING: ad8s1d expected rawoffset 0, found 63
GEOM: ad6s2c: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2d: geometry does not match label (255h,63s != 16h,63s).
msk0: link state changed to UP
WARNING: ad8s1 expected rawoffset 0, found 63
WARNING: ad8s1d expected rawoffset 0, found 63
GEOM: ad6s2c: geometry does not match label (255h,63s != 16h,63s).
GEOM: ad6s2d: geometry does not match label (255h,63s != 16h,63s).
emu10kx0: <Creative Audigy 4 [SB0610]> port 0xec00-0xec3f irq 18 at device 2.0 on pci4
emu10kx0: [ITHREAD]
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
pcm2: <EMU10Kx DSP center PCM interface> on emu10kx0
pcm3: <EMU10Kx DSP subwoofer PCM interface> on emu10kx0
pcm4: <EMU10Kx DSP side PCM interface> on emu10kx0
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0902232353m54148a39n25988251fd3366af>
