amd64/116325: twed the controller with DEVICE_POLLING, is not loaded a server.

Slava slava_ram at inbox.ru
Wed Sep 12 22:40:01 PDT 2007


>Number:         116325
>Category:       amd64
>Synopsis:       twed the controller with DEVICE_POLLING, is not loaded a server.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 13 05:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Slava
>Release:        FreeBSD Current
>Organization:
>Environment:
FreeBSD file1.local 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Sep 12 11:30:31 KRAST 2007     slava at file1.local:/usr/obj/usr/src/sys/FILE1-AMD64-7  amd64
>Description:
There is a file server with the controller 3ware 7506-12.
Loading with kernel GENERIC without problems. 
It is necessary to add only options 
options DEVICE_POLLING 
options HZ=1000 
and loading stops on: 
Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default 
ad0: 238475MB <WDC WD2500JB-00EVA0 15.05R15> at ata0-master UDMA100 
ad4: 715404MB <Seagate ST3750640AS 3. AAD> at ata2-master SATA150 
ad6: 715404MB <Seagate ST3750640AS 3. AAD> at ata3-master SATA150 
twed0: <Unit 0, RAID5, Normal> on twe0 twed0: 1907793MB (3907160064 sectors) 


MB - INTEL S3000AHX. 4 Gb the RAM.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

boot witch GENERIC kernel

file1# dmesg
Copyright (c) 1992-2007 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 7.0-CURRENT #5: Wed Sep 12 11:30:31 KRAST 2007
    slava at file1.local:/usr/obj/usr/src/sys/FILE1-AMD64-7
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2802.72-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf47  Stepping = 7
  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=0x641d<SSE3,RSVD2,MON,DS_CPL,CNXT-ID,CX16,xTPR>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
usable memory = 4282937344 (4084 MB)
avail memory  = 4129521664 (3938 MB)
ACPI APIC Table: <INTEL  S3000AHX>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 5
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 30-53 on motherboard
kbd1 at kbdmux0
acpi0: <INTEL S3000AHX> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0x3000-0x300f mem 0xe8800000-0xe880000f,0xe8000000-0xe87fffff irq 35 at device 2.0 on pci2
twe0: [GIANT-LOCKED]
twe0: [ITHREAD]
twe0: 12 ports, Firmware FE7X 1.05.00.063, BIOS BE7X 1.08.00.048
pcib3: <ACPI PCI-PCI bridge> at device 28.4 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 28.5 on pci0
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> port 0x2000-0x201f mem 0xe8a80000-0xe8a9ffff,0xe8a00000-0xe8a7ffff irq 17 at device 0.0 on pci4
em0: Ethernet address: 00:15:17:23:b2:c2
em0: [FILTER]
pci4: <simple comms, UART> at device 0.3 (no driver attached)
pci4: <serial bus> at device 0.4 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0x4080-0x409f irq 23 at device 29.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 0x4060-0x407f irq 19 at device 29.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 0x4040-0x405f irq 18 at device 29.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
uhci3: <UHCI (generic) USB controller> port 0x4020-0x403f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xe8b00400-0xe8b007ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: waiting for BIOS to give up control
usb4: timed out waiting for BIOS
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci5: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> port 0x1000-0x10ff mem 0xe0000000-0xe7ffffff,0xe8940000-0xe894ffff irq 18 at device 4.0 on pci5
em1: <Intel(R) PRO/1000 Network Connection Version - 6.5.3> port 0x1100-0x113f mem 0xe8920000-0xe893ffff,0xe8900000-0xe891ffff irq 17 at device 5.0 on pci5
em1: Ethernet address: 00:15:17:23:b2:c3
em1: [FILTER]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x40b0-0x40bf irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel ICH7 SATA300 controller> port 0x40c8-0x40cf,0x40e4-0x40e7,0x40c0-0x40c7,0x40e0-0x40e3,0x40a0-0x40af mem 0xe8b00000-0xe8b003ff irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f0 irq 6 drq 2 on acpi0
fdc0: [FILTER]
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]
orm0: <ISA Option ROM> at iomem 0xc0000-0xc8fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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 isa0
ukbd0: <CHICONY USB Keyboard, class 0/0, rev 1.10/3.00, addr 2> on uhub2
kbd2 at ukbd0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
ad0: 238475MB <WDC WD2500JB-00EVA0 15.05R15> at ata0-master UDMA100
ad4: 715404MB <Seagate ST3750640AS 3.AAD> at ata2-master SATA150
ad6: 715404MB <Seagate ST3750640AS 3.AAD> at ata3-master SATA150
twed0: <Unit 0, RAID5, Normal> on twe0
twed0: 1907793MB (3907160064 sectors)   <-- witch polling stops here
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
em0: link state changed to UP



#pciconf -vl|less
hostb0 at pci0:0:0:        class=0x060000 card=0x348d8086 chip=0x27788086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'E7230/3000/3010 Processor to I/O Controller'
    class      = bridge
    subclass   = HOST-PCI
pcib1 at pci0:28:0:        class=0x060400 card=0x27d08086 chip=0x27d08086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3 at pci0:28:4:        class=0x060400 card=0x27e08086 chip=0x27e08086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib4 at pci0:28:5:        class=0x060400 card=0x27e28086 chip=0x27e28086 rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801GR/GH/GHM (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
uhci0 at pci0:29:0:        class=0x0c0300 card=0x348d8086 chip=0x27c88086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci1 at pci0:29:1:        class=0x0c0300 card=0x348d8086 chip=0x27c98086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci2 at pci0:29:2:        class=0x0c0300 card=0x348d8086 chip=0x27ca8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
uhci3 at pci0:29:3:        class=0x0c0300 card=0x348d8086 chip=0x27cb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
ehci0 at pci0:29:7:        class=0x0c0320 card=0x348d8086 chip=0x27cc8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
pcib5 at pci0:30:0:        class=0x060401 card=0x348d8086 chip=0x244e8086 rev=0xe1 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BA/CA/DB/DBL/EB/ER/FB/GB/HB (ICH2/3/4/4/5/5/6/7/8), 63xxESB Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x348d8086 chip=0x27b88086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GB/GR (ICH7 Family) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0 at pci0:31:1:      class=0x01018a card=0x348d8086 chip=0x27df8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) Ultra ATA Storage Controller'
    class      = mass storage
    subclass   = ATA
atapci1 at pci0:31:2:      class=0x01018f card=0x348d8086 chip=0x27c08086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller'
    class      = mass storage
    subclass   = ATA
none0 at pci0:31:3:        class=0x0c0500 card=0x348d8086 chip=0x27da8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
pcib2 at pci1:0:0: class=0x060400 card=0x00000000 chip=0x032c8086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '6702PXH PCI Express-to-PCI Express Bridge'
    class      = bridge
    subclass   = PCI-PCI
twe0 at pci2:2:0:  class=0x010400 card=0x100113c1 chip=0x100113c1 rev=0x01 hdr=0x00
    vendor     = '3ware Inc.'
    device     = '7000/8000 series ATA-133 Storage Controller'
    class      = mass storage
    subclass   = RAID
em0 at pci4:0:0:   class=0x020000 card=0x348d8086 chip=0x108c8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/1000 PM'
    class      = network
    subclass   = ethernet
none1 at pci4:0:3: class=0x070002 card=0x00008086 chip=0x108f8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Active Management Technology - SOL'
    class      = simple comms
    subclass   = UART
none2 at pci4:0:4: class=0x0c0701 card=0x00008086 chip=0x108e8086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Active Management Technology - KCS'
    class      = serial bus
vgapci0 at pci5:4:0:       class=0x030000 card=0x348d8086 chip=0x515e1002 rev=0x02 hdr=0x00
    vendor     = 'ATI Technologies Inc.'
    device     = 'Radeon ES1000 Radeon ES1000'
    class      = display
    subclass   = VGA
em1 at pci5:5:0:   class=0x020000 card=0x348d8086 chip=0x10768086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82541EI Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet


file1# vmstat -i
interrupt                          total       rate
irq14: ata0                        33303          6
irq17: em1                       1090040        205
irq18: uhci2                         713          0
irq19: uhci1+                     444774         83
irq23: uhci0 ehci0                     1          0
irq35: twe0                       319034         60
cpu0: timer                     10622737       1998
irq256: em0                     16057387       3020
cpu1: timer                     10620606       1997
Total                           39188595       7371



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list