em0 on S3420 chipset (was Re: em0 on H55 chipset problems)

Jack Vogel jfvogel at gmail.com
Mon Feb 22 22:48:45 UTC 2010


Yes, I need to get the code MFC'd anyway, sorry, I just am constantly
fighting fires lately it seems :(
I'll try to get on it.

Jack


On Mon, Feb 22, 2010 at 11:46 AM, Mike Tancsa <mike at sentex.net> wrote:

>
> Hi Jack,
>        Any chance on MFC'ing this version of the em driver ? I have another
> MB that does not work with RELENG_8, only HEAD. Its an Intel branded server
> motherboard with two onboard NICs. S3420GPC.  One of the em nics shows up on
> RELENG_8, but not both.
>
> em1 shows up on RELENG_8, but em0 does not attach on RELENG_8. dmesg below
> from a snapshot of HEAD from this morning. I guess the onboard NICs are two
> different types of em nics?  BTW, Is one "better" than the other ?
>
> em0 at pci0:0:25:0:        class=0x020000 card=0x34ec8086 chip=0x10ef8086
> rev=0x05 hdr=0x00
>    vendor     = 'Intel Corporation'
>    class      = network
>    subclass   = ethernet
>    cap 01[c8] = powerspec 2  supports D0 D3  current D0
>    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
>    cap 13[e0] = PCI Advanced Features: FLR TP
>
> em1 at pci0:3:0:0: class=0x020000 card=0x34ec8086 chip=0x10d38086 rev=0x00
> hdr=0x00
>    vendor     = 'Intel Corporation'
>    class      = network
>    subclass   = ethernet
>    cap 01[c8] = powerspec 2  supports D0 D3  current D0
>    cap 05[d0] = MSI supports 1 message, 64 bit
>    cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1)
>    cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled
>
>
> FreeBSD 9.0-CURRENT #3: Fri Feb  5 11:43:38 EST 2010
>    mdtancsa at ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/alix i386
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz (2666.65-MHz 686-class
> CPU)
>  Origin = "GenuineIntel"  Id = 0x106e5  Stepping = 5
>
>  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=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
>  AMD Features=0x28100000<NX,RDTSCP,LM>
>  AMD Features2=0x1<LAHF>
>  TSC: P-state invariant
> real memory  = 4294967296 (4096 MB)
> avail memory = 2582040576 (2462 MB)
> ACPI APIC Table: <INTEL  S3420GPC>
> 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:  2
>  cpu2 (AP): APIC ID:  4
>  cpu3 (AP): APIC ID:  6
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> lapic0: Forcing LINT1 to edge trigger
> kbd1 at kbdmux0
> cryptosoft0: <software crypto> on motherboard
> acpi0: <INTEL S3420GPC> 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
> 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 5.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
> 0xb0000000-0xbfffffff,0xc1a00000-0xc1a0ffff irq 16 at device 0.0 on pci1
> pci1: <multimedia, HDA> at device 0.1 (no driver attached)
> pci0: <base peripheral> at device 8.0 (no driver attached)
> pci0: <base peripheral> at device 8.1 (no driver attached)
> pci0: <base peripheral> at device 8.2 (no driver attached)
> pci0: <base peripheral> at device 8.3 (no driver attached)
> pci0: <base peripheral> at device 16.0 (no driver attached)
> pci0: <base peripheral> at device 16.1 (no driver attached)
> em0: <Intel(R) PRO/1000 Network Connection 6.9.25> port 0x3040-0x305f mem
> 0xc1b00000-0xc1b1ffff,0xc1b25000-0xc1b25fff irq 20 at device 25.0 on pci0
> em0: Using MSI interrupt
> em0: [FILTER]
> em0: Ethernet address: 00:15:17:c8:4b:99
> ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xc1b22000-0xc1b223ff irq
> 21 at device 26.0 on pci0
> ehci0: [ITHREAD]
> usbus0: EHCI version 1.0
> usbus0: <Intel PCH USB 2.0 controller USB-B> on ehci0
> pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
> pci3: <ACPI PCI bus> on pcib3
> em1: <Intel(R) PRO/1000 Network Connection 6.9.25> port 0x1000-0x101f mem
> 0xc1900000-0xc191ffff,0xc1920000-0xc1923fff irq 16 at device 0.0 on pci3
> em1: Using MSIX interrupts
> em1: [ITHREAD]
> em1: [ITHREAD]
> em1: [ITHREAD]
> em1: Ethernet address: 00:15:17:c8:4b:98
> pcib4: <ACPI PCI-PCI bridge> irq 18 at device 28.6 on pci0
> pci4: <ACPI PCI bus> on pcib4
> pcib5: <ACPI PCI-PCI bridge> irq 19 at device 28.7 on pci0
> pci5: <ACPI PCI bus> on pcib5
> ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xc1b21000-0xc1b213ff irq
> 23 at device 29.0 on pci0
> ehci1: [ITHREAD]
> usbus1: EHCI version 1.0
> usbus1: <Intel PCH USB 2.0 controller USB-A> on ehci1
> pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci6: <ACPI PCI bus> on pcib6
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel AHCI controller> port
> 0x3068-0x306f,0x3074-0x3077,0x3060-0x3067,0x3070-0x3073,0x3020-0x303f mem
> 0xc1b20000-0xc1b207ff irq 18 at device 31.2 on pci0
> atapci0: [ITHREAD]
> atapci0: AHCI v1.30 controller with 6 3Gbps ports, PM not 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: <Sleep Button> on acpi0
> atrtc0: <AT realtime clock> port 0x70-0x71,0x74-0x77 irq 8 on acpi0
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> uart0: [FILTER]
> uart0: console (9600,n,8,1)
> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> uart1: [FILTER]
> 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
> cpu2: <ACPI CPU> on acpi0
> est2: <Enhanced SpeedStep Frequency Control> on cpu2
> p4tcc2: <CPU Frequency Thermal Control> on cpu2
> cpu3: <ACPI CPU> on acpi0
> est3: <Enhanced SpeedStep Frequency Control> on cpu3
> p4tcc3: <CPU Frequency Thermal Control> on cpu3
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff 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
> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
> ata0: [ITHREAD]
> ata1 at port 0x170-0x177,0x376 irq 15 on isa0
> ata1: [ITHREAD]
> Timecounters tick every 1.000 msec
> IPsec: Initialized Security Association Processing.
> usbus0: 480Mbps High Speed USB v2.0
> usbus1: 480Mbps High Speed USB v2.0
> lapic6: Forcing LINT1 to edge trigger
> SMP: AP CPU #3 Launched!
> lapic4: Forcing LINT1 to edge trigger
> SMP: AP CPU #2 Launched!
> lapic2: Forcing LINT1 to edge trigger
> SMP: AP CPU #1 Launched!
> ugen1.1: <Intel> at usbus1Root mount waiting for:ugen0.1: <Intel> at usbus0
>  usbus1
>  usbus0
> uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
> uhub0: 2 ports with 2 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> Root mount waiting for: usbus1 usbus0
> ugen0.2: <vendor 0x8087> at usbus0
> uhub2: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
> usbus0
> ugen1.2: <vendor 0x8087> at usbus1
> uhub3: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
> usbus1
> uhub2: 6 ports with 6 removable, self powered
> uhub3: 6 ports with 6 removable, self powered
> ugen1.3: <American Megatrends Inc.> at usbus1ugen0.3: <GASIA> at usbus0
>
> ukbd1: <GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 3> on usbus0
> Root mount waiting for: usbus1 usbus0
> ukbd0: <Keyboard Interface> on usbus1
> kbd0 at ukbd1
> kbd2 at ukbd0
> uhid1: <GASIA PS2toUSB Adapter, class 0/0, rev 1.10/1.00, addr 3> on usbus0
> uhid0: <Mouse Interface> on usbus1
> Trying to mount root from nfs:
> NFS ROOT: 10.255.255.1:/usr/home/pxe9/
>
>
>
>
>
> At 02:49 PM 1/22/2010, Jack Vogel wrote:
>
>> Mike, can you tell me more details about the system, is this a laptop?
>>
>> Jack
>>
>>
>> On Fri, Jan 22, 2010 at 5:40 AM, Mike Tancsa <<mailto:mike at sentex.net>
>> mike at sentex.net> wrote:
>> Not sure how easy it is to repeat, but running HEAD from yesterday causes
>> the em0 do post a
>> em0: Watchdog timeout -- resetting
>> to the serial console on a new i3 system that we just got to test with. At
>> that point, the box's network is no longer responding. It netboots off em0
>> so not sure if the hang after that is nfs not recovering or not, but it does
>> not respond to network traffic at all.
>>
>> em0 at pci0:0:25:0:        class=0x020000 card=0x00368086 chip=0x10f08086
>> rev=0x06 hdr=0x00
>>   vendor     = 'Intel Corporation'
>>   class      = network
>>   subclass   = ethernet
>>   cap 01[c8] = powerspec 2  supports D0 D3  current D0
>>   cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
>>   cap 13[e0] = PCI Advanced Features: FLR TP
>> ehci0 at pci0:0:26:0:      class=0x0c0320 card=0x00368086 chip=0x3b3c8086
>> rev=0x06 hdr=0x00
>>
>> 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 9.0-CURRENT #0: Thu Jan 21 15:14:14 EST 2010
>>   mdtancsa at ich10.sentex.ca:/usr/HEAD/obj/usr/HEAD/src/sys/alix i386
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Intel(R) Core(TM) i3 CPU         530  @ 2.93GHz (2926.02-MHz
>> 686-class CPU)
>>  Origin = "GenuineIntel"  Id = 0x20652  Stepping = 2
>>
>>
>> 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=0x98e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
>>  AMD Features=0x28100000<NX,RDTSCP,LM>
>>  AMD Features2=0x1<LAHF>
>>  TSC: P-state invariant
>> real memory  = 1073741824 (1024 MB)
>> avail memory = 894119936 (852 MB)
>> ACPI APIC Table: <INTEL  DH55TC  >
>> 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:  4
>> ACPI Warning: 32/64X FACS address mismatch in FADT - 3762AE40/
>> 03762AD40, using 32 (20091214/tbfadt-586)
>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>> kbd1 at kbdmux0
>> cryptosoft0: <software crypto> on motherboard
>> acpi0: <INTEL DH55TC> 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
>> 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 0xf100-0xf107 mem
>> 0xfe000000-0xfe3fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0
>> pci0: <simple comms> at device 22.0 (no driver attached)
>> atapci0: <Intel ATA controller> port
>> 0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf0d0-0xf0d7,0xf0c0-0xf0c3,0xf0b0-0xf0bf  irq
>> 18 at device 22.2 on pci0
>> atapci0: [ITHREAD]
>> ata2: <ATA channel 0> on atapci0
>> ata2: [ITHREAD]
>> ata3: <ATA channel 1> on atapci0
>> ata3: [ITHREAD]
>> pci0: <simple comms, UART> at device 22.3 (no driver attached)
>> em0: <Intel(R) PRO/1000 Network Connection 6.9.24> port 0xf040-0xf05f mem
>> 0xfe400000-0xfe41ffff,0xfe428000-0xfe428fff irq 20 at device 25.0 on pci0
>> em0: Using MSI interrupt
>> em0: [FILTER]
>> em0: Ethernet address: 00:27:0e:09:5e:00
>> ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xfe427000-0xfe4273ff irq
>> 16 at device 26.0 on pci0
>> ehci0: [ITHREAD]
>> usbus0: EHCI version 1.0
>> usbus0: <Intel PCH USB 2.0 controller USB-B> on ehci0
>> pci0: <multimedia, HDA> at device 27.0 (no driver attached)
>> pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.4 on pci0
>> pci2: <ACPI PCI bus> on pcib2
>> ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xfe426000-0xfe4263ff irq
>> 23 at device 29.0 on pci0
>> ehci1: [ITHREAD]
>> usbus1: EHCI version 1.0
>> usbus1: <Intel PCH USB 2.0 controller USB-A> on ehci1
>> pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
>> pci3: <ACPI PCI bus> on pcib3
>> isab0: <PCI-ISA bridge> at device 31.0 on pci0
>> isa0: <ISA bus> on isab0
>> atapci1: <Intel AHCI controller> port
>> 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf020-0xf03f  mem
>> 0xfe425000-0xfe4257ff irq 19 at device 31.2 on pci0
>> atapci1: [ITHREAD]
>> atapci1: AHCI v1.30 controller with 6 3Gbps ports, PM not supported
>> ata4: <ATA channel 0> on atapci1
>> ata4: [ITHREAD]
>> ata5: <ATA channel 1> on atapci1
>> ata5: [ITHREAD]
>> ata6: <ATA channel 2> on atapci1
>> ata6: [ITHREAD]
>> ata7: <ATA channel 3> on atapci1
>> ata7: [ITHREAD]
>> ata8: <ATA channel 4> on atapci1
>> ata8: [ITHREAD]
>> ata9: <ATA channel 5> on atapci1
>> ata9: [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]
>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>> uart0: [FILTER]
>> uart0: console (9600,n,8,1)
>> 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
>> orm0: <ISA Option ROM> at iomem 0xcd000-0xcdfff 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
>> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
>> ata0: [ITHREAD]
>> ata1 at port 0x170-0x177,0x376 irq 15 on isa0
>> ata1: [ITHREAD]
>> Timecounters tick every 1.000 msec
>> IPsec: Initialized Security Association Processing.
>> usbus0: 480Mbps High Speed USB v2.0
>> usbus1: 480Mbps High Speed USB v2.0
>> ad0: 76319MB <Seagate ST380811AS 3.AAE> at ata4-master UDMA100 SATA
>> 1.5Gb/s
>> SMP: AP CPU #1 Launched!
>> ugen0.1: <Intel> at usbus0ugen1.1: <Intel> at usbus1
>> uhub0:
>> <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
>> uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
>> Root mount waiting for: usbus1 usbus0
>> Root mount waiting for: usbus1 usbus0
>> uhub0: 3 ports with 3 removable, self powered
>> uhub1: 3 ports with 3 removable, self powered
>> Root mount waiting for: usbus1 usbus0
>> ugen0.2: <vendor 0x8087> at usbus0
>> uhub2: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
>> usbus0
>> ugen1.2: <vendor 0x8087> at usbus1
>> uhub3: <vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, addr 2> on
>> usbus1
>> uhub2: 6 ports with 6 removable, self powered
>> Root mount waiting for: usbus1
>> uhub3: 6 ports with 6 removable, self powered
>> Trying to mount root from nfs:
>> NFS ROOT: 10.255.255.1:/usr/home/pxe9/
>>
>> --------------------------------------------------------------------
>> Mike Tancsa,                                      tel +1 519 651 3400
>> Sentex Communications, <mailto:mike at sentex.net>mike at sentex.net
>> Providing Internet since 1994                    <http://www.sentex.net>
>> www.sentex.net
>> Cambridge, Ontario Canada                         <
>> http://www.sentex.net/mike>www.sentex.net/mike
>>
>>
> --------------------------------------------------------------------
> Mike Tancsa,                                      tel +1 519 651 3400
> Sentex Communications,                            mike at sentex.net
> Providing Internet since 1994                    www.sentex.net
> Cambridge, Ontario Canada                         www.sentex.net/mike
>
>


More information about the freebsd-current mailing list