Uh, fxp driver broken in current -STABLE build?!

Karl Denninger karl at denninger.net
Thu Dec 2 00:27:37 UTC 2010


Works in this kernel, checked out on that day:

FreeBSD 8.1-STABLE #10: Mon Aug 30 06:44:40 CDT 2010    
karl at FS.denninger.net:/usr/obj/usr/src/sys/KSD-SMP

fxp0: <Intel 82558 Pro/100 Ethernet> port 0x1000-0x101f mem
0x94000000-0x94000fff,0x94100000-0x941fffff irq 21 at device 0.0 on pci6
fxp0: Enabling Rx lock-up workaround
miibus0: <MII bus> on fxp0
fxp0: Ethernet address: 00:a0:c9:a4:78:c3
fxp0: [ITHREAD]

(and has been running for months, and for a very long time before that)

Tried to update to today's check-out and got hosed.

The driver now keeps resetting and sending out "down" and "up" messages
repeatedly, and no traffic flows....

This is the ident I have on the current build:

fxp0: <Intel 82558 Pro/100 Ethernet> port 0x1000-0x101f mem
0x94000000-0x94000fff,0x94100000-0x941fffff irq 21 at device 0.0 on pci6
fxp0: Enabling Rx lock-up workaround
miibus0: <MII bus> on fxp0
fxp0: Ethernet address: 00:a0:c9:a4:78:c3
fxp0: [ITHREAD]

Looks the same.....

Something was touched though on Nov 30 in the CVS tree.

It looks like there was a fairly serious commit posted on 10-15, and
some other smaller ones related to VLANs and flow control (which don't
apply to this configuration.)

I can't find anything else related...... anyone know what's up here? 

Probably need to find this as we're going into the 8.2 RELEASE cycle.....

DMESG from the failed kernel boot is attached.


-- Karl Denninger
-------------- next part --------------
Copyright (c) 1992-2010 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.2-PRERELEASE #12: Wed Dec  1 13:03:01 CST 2010
    karl at FS.denninger.net:/usr/obj/usr/src/sys/KSD-SMP i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPU           @ 2.40GHz (2409.70-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f7  Family = 6  Model = f  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=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant
real memory  = 2147483648 (2048 MB)
avail memory = 2084683776 (1988 MB)
ACPI APIC Table: <INTEL  D975XBX2>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <INTEL D975XBX2> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0x93000000-0x93ffffff,0x80000000-0x8fffffff,0x92000000-0x92ffffff irq 16 at device 0.0 on pci1
pcib2: <PCI-PCI bridge> at device 3.0 on pci0
pci2: <PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 0.0 on pci2
pci3: <PCI bus> on pcib3
puc0: <Oxford Semiconductor OX16PCI954 UARTs> port 0x4060-0x407f,0x4040-0x405f mem 0x94503000-0x94503fff,0x94502000-0x94502fff irq 16 at device 0.0 on pci3
puc0: [FILTER]
uart2: <16550 or compatible> on puc0
uart2: [FILTER]
uart3: <16550 or compatible> on puc0
uart3: [FILTER]
uart4: <16550 or compatible> on puc0
uart4: [FILTER]
uart5: <16550 or compatible> on puc0
uart5: [FILTER]
pci3: <bridge> at device 0.1 (no driver attached)
hdac0: <Intel 82801G High Definition Audio Controller> mem 0x94600000-0x94603fff irq 22 at device 27.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pcib4: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci4: <ACPI PCI bus> on pcib4
3ware device driver for 9000 series storage controllers, version: 3.80.06.003
twa0: <3ware 9000 series Storage Controller> port 0x3000-0x30ff mem 0x90000000-0x91ffffff,0x94400000-0x94400fff irq 16 at device 0.0 on pci4
twa0: [ITHREAD]
twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-8LPML, 8 ports, Firmware FE9X 4.08.00.006, BIOS BE9X 4.08.00.001
pcib5: <ACPI PCI-PCI bridge> at device 28.5 on pci0
pci5: <ACPI PCI bus> on pcib5
em0: <Intel(R) PRO/1000 Network Connection 7.1.8> port 0x2000-0x201f mem 0x94300000-0x9431ffff irq 17 at device 0.0 on pci5
em0: Using an MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:19:d1:e3:b4:b8
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x5080-0x509f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0x5060-0x507f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0x5040-0x505f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0x5020-0x503f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0x94604400-0x946047ff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci6: <ACPI PCI bus> on pcib6
fxp0: <Intel 82558 Pro/100 Ethernet> port 0x1000-0x101f mem 0x94000000-0x94000fff,0x94100000-0x941fffff irq 21 at device 0.0 on pci6
fxp0: Enabling Rx lock-up workaround
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp0: Ethernet address: 00:a0:c9:a4:78:c3
fxp0: [ITHREAD]
fwohci0: <Texas Instruments TSB43AB23> mem 0x94204000-0x942047ff,0x94200000-0x94203fff irq 18 at device 4.0 on pci6
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:90:27:00:01:c8:f1:cc
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x7c9c4000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:90:27:c8:f1:cc
fwe0: Ethernet address: 02:90:27:c8:f1:cc
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:90:27:00:01:c8:f1:cc @ 0xfffe00000000, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
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,0x50b0-0x50bf irq 18 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
atapci1: <Intel ICH7 SATA300 controller> port 0x50c8-0x50cf,0x50e4-0x50e7,0x50c0-0x50c7,0x50e0-0x50e3,0x50a0-0x50af mem 0x94604000-0x946043ff 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)
atrtc0: <AT realtime clock> port 0x70-0x71,0x74-0x77 irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77f irq 7 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
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xce800-0xd07ff pnpid ORM0000 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
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]
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based forwarding disabled, default to deny, logging disabledfirewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 

load_dn_sched dn_sched FIFO loaded
load_dn_sched dn_sched PRIO loaded
load_dn_sched dn_sched QFQ loaded
load_dn_sched dn_sched RR loaded
load_dn_sched dn_sched WF2Q+ loaded
hdac0: HDA Codec #2: Sigmatel STAC9274D
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
pcm0: <HDA Sigmatel STAC9274D PCM #0 Analog> at cad 2 nid 1 on hdac0
pcm1: <HDA Sigmatel STAC9274D PCM #1 Analog> at cad 2 nid 1 on hdac0
pcm2: <HDA Sigmatel STAC9274D PCM #2 Digital> at cad 2 nid 1 on hdac0
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 UHCI root HUB, class 9/0, rev 1.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 EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 8 ports with 8 removable, self powered
da0 at twa0 bus 0 scbus0 target 0 lun 0
da0: <AMCC 9650SE-8LP DISK 4.08> Fixed Direct Access SCSI-5 device 
da0: 100.000MB/s transfers
da0: 238408MB (488259584 512 byte sectors: 255H 63S/T 30392C)
da1 at twa0 bus 0 scbus0 target 1 lun 0
da1: <AMCC 9650SE-8LP DISK 4.08> Fixed Direct Access SCSI-5 device 
da1: 100.000MB/s transfers
da1: 953664MB (1953103872 512 byte sectors: 255H 63S/T 121575C)
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
Root mount waiting for: usbus4
uhub_reattach_port: port 2 reset failed, error=USB_ERR_TIMEOUT
uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 2
Trying to mount root from ufs:/dev/da0s1a
ugen0.2: <ALCOR> at usbus0
uhub5: <ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 2> on usbus0
uhub5: 4 ports with 4 removable, self powered
ugen4.2: <vendor 0x0409> at usbus4
uhub6: <vendor 0x0409 product 0x0050, class 9/0, rev 2.00/1.00, addr 2> on usbus4
ugen0.3: <CHESEN> at usbus0
ukbd0: <CHESEN USB Keyboard, class 0/0, rev 1.10/1.10, addr 3> on usbus0
kbd2 at ukbd0
uhid0: <CHESEN USB Keyboard, class 0/0, rev 1.10/1.10, addr 3> on usbus0
uhub6: 7 ports with 7 removable, self powered
ugen0.4: <No brand> at usbus0
ukbd1: <Keyboard> on usbus0
kbd3 at ukbd1
uhid1: <Mouse> on usbus0
device_attach: uhid1 attach returned 12
ugen4.3: <FTDI> at usbus4
uftdi0: <FT232R USB UART> on usbus4
ugen4.4: <FTDI> at usbus4
uftdi1: <FT232R USB UART> on usbus4
ugen4.5: <FTDI> at usbus4
uftdi2: <FT232R USB UART> on usbus4
ugen4.6: <FTDI> at usbus4
uftdi3: <FT232R USB UART> on usbus4
ugen4.7: <FTDI> at usbus4
uftdi4: <FT232R USB UART> on usbus4
ugen4.8: <FTDI> at usbus4
uftdi5: <FT232R USB UART> on usbus4
ugen4.9: <vendor 0x0409> at usbus4
uhub7: <vendor 0x0409 product 0x005a, class 9/0, rev 2.00/1.00, addr 9> on usbus4
uhub7: 4 ports with 4 removable, self powered
ugen4.10: <FTDI> at usbus4
uftdi6: <FT232R USB UART> on usbus4
ugen4.11: <FTDI> at usbus4
uftdi7: <FT232R USB UART> on usbus4


More information about the freebsd-stable mailing list