bug with some em nics on RELENG_7

Andre Albsmeier Andre.Albsmeier at siemens.com
Fri Dec 11 09:26:45 UTC 2009


On Thu, 19-Nov-2009 at 09:27:36 -0800, Jack Vogel wrote:
> Cool, so stable/7 will just need to be updated :) I need to catch up all the

Hi Jack,

has this been done already? I am asking since I have problem which
might be related to this:

A FreeBSD-7.2 machine (Sat Nov 28 12:28:42 CET 2009) with an
'Intel PRO/1000 PL Network Adaptor (82573L)' NIC that is connected
directly (through a crossover cable) to a satellite dish receiver.
When the receiver has booted, I can't ping it from the FreeBSD box:

gate:~>ping db
PING dreambox.home.albsmeier.net (192.168.128.66): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available
^C

I have to do an "ifconfig em0 down up" on the FreeBSD box and all
is well (pinging and transferring files) until the receiver has
been shut down and rebooted again.

This setup worked without problems under 6.4-STABLE so I am pretty
sure it has something to do with 7-STABLE's em drivers.

Thanks,

	-Andre

> 
> drivers in that stream actually.
> 
> Thanks for testing!!
> 
> Jack
> 
> 
> On Thu, Nov 19, 2009 at 8:58 AM, Mike Tancsa <mike at sentex.net> wrote:
> 
> > At 07:29 PM 11/18/2009, Jack Vogel wrote:
> >
> >> Hey Mike,
> >>
> >> Can you check if you see the same behavior on RELENG 8?
> >>
> >
> > For RELENG_8. I installed an fxp card and netbooted off it.
> >
> > I assigned an IP address to the onboard nic (em5). Pinged itself, got a MAC
> > and response. Plugged in the cable, pinged the other side, all ok
> >
> > Did the same, but pinged the other side, and plugged the cable in, all
> > worked as expected.
> > # ping 10.177.194.18
> > PING 10.177.194.18 (10.177.194.18): 56 data bytes
> > ping: sendto: Host is down
> > ping: sendto: Host is down
> > ping: sendto: Host is down
> > 64 bytes from 10.177.194.18: icmp_seq=30 ttl=64 time=1329.918 ms
> > 64 bytes from 10.177.194.18: icmp_seq=31 ttl=64 time=324.925 ms
> > 64 bytes from 10.177.194.18: icmp_seq=32 ttl=64 time=0.054 ms
> > 64 bytes from 10.177.194.18: icmp_seq=33 ttl=64 time=0.055 ms
> > 64 bytes from 10.177.194.18: icmp_seq=34 ttl=64 time=0.047 ms
> > 64 bytes from 10.177.194.18: icmp_seq=35 ttl=64 time=0.050 ms
> > 64 bytes from 10.177.194.18: icmp_seq=36 ttl=64 time=0.047 ms
> > 64 bytes from 10.177.194.18: icmp_seq=37 ttl=64 time=0.049 ms
> > 64 bytes from 10.177.194.18: icmp_seq=38 ttl=64 time=0.043 ms
> >
> >
> > em4: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xcc00-0xcc1f mem
> > 0xfaee0000-0xfaefffff,0xfaedc000-0xfaedffff irq 16 at device 0.0 on pci6
> >
> > em4: Using MSIX interrupts
> > em4: [ITHREAD]
> > em4: [ITHREAD]
> > em4: [ITHREAD]
> > em4: Ethernet address: 00:30:48:d6:ef:12
> > pcib7: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
> > pci7: <ACPI PCI bus> on pcib7
> > em5: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xdc00-0xdc1f mem
> > 0xfafe0000-0xfaffffff,0xfafdc000-0xfafdffff irq 17 at device 0.0 on pci7
> >
> > em5: Using MSIX interrupts
> > em5: [ITHREAD]
> > em5: [ITHREAD]
> > em5: [ITHREAD]
> > em5: Ethernet address: 00:30:48:d6:ef:13
> >
> > So the problem is _not_ there under RELENG_8.  I also tested the 2 PCIe
> > nics to make sure they are still working, and they are.
> >
> > Full dmesg below
> >
> > opyright (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-RC2 #0: Wed Nov 11 09:54:52 EST 2009
> >    mdtancsa at ich10.sentex.ca:/usr/obj/usr/src/sys/alix i386
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz (2660.00-MHz 686-class
> > CPU)
> >  Origin = "GenuineIntel"  Id = 0x106a5  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=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  = 6446645248 (6148 MB)
> > avail memory = 3137355776 (2992 MB)
> > ACPI APIC Table: <011209 APIC2037>
> > 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: Changing APIC ID to 1
> > ioapic0 <Version 2.0> irqs 0-23 on motherboard
> > kbd1 at kbdmux0
> > cryptosoft0: <software crypto> on motherboard
> > acpi0: <011209 XSDT2037> on motherboard
> > acpi0: [ITHREAD]
> > acpi0: Power Button (fixed)
> > acpi0: reservation of 0, a0000 (3) failed
> > acpi0: reservation of 100000, bff00000 (3) failed
> > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b 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 1.0 on pci0
> > pci1: <ACPI PCI bus> on pcib1
> > em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xac00-0xac1f mem
> > 0xface0000-0xfacfffff,0xfacc0000-0xfacdffff irq 16 at device 0.0 on pci1
> >
> > em0: Using MSI interrupt
> > em0: [FILTER]
> > em0: Ethernet address: 00:15:17:78:e6:e0
> > em1: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xa880-0xa89f mem
> > 0xfac80000-0xfac9ffff,0xfac60000-0xfac7ffff irq 17 at device 0.1 on pci1
> >
> > em1: Using MSI interrupt
> > em1: [FILTER]
> > em1: Ethernet address: 00:15:17:78:e6:e1
> > pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
> > pci2: <ACPI PCI bus> on pcib2
> > pcib3: <ACPI PCI-PCI bridge> at device 5.0 on pci0
> > pci3: <ACPI PCI bus> on pcib3
> > em2: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xbc00-0xbc1f mem
> > 0xfade0000-0xfadfffff,0xfadc0000-0xfaddffff irq 16 at device 0.0 on pci3
> >
> > em2: Using MSI interrupt
> > em2: [FILTER]
> > em2: Ethernet address: 00:15:17:cf:26:de
> > em3: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xb880-0xb89f mem
> > 0xfad80000-0xfad9ffff,0xfad60000-0xfad7ffff irq 17 at device 0.1 on pci3
> >
> > em3: Using MSI interrupt
> > em3: [FILTER]
> > em3: Ethernet address: 00:15:17:cf:26:df
> > pcib4: <ACPI PCI-PCI bridge> at device 7.0 on pci0
> > pci4: <ACPI PCI bus> on pcib4
> > pcib5: <ACPI PCI-PCI bridge> at device 9.0 on pci0
> > pci5: <ACPI PCI bus> on pcib5
> > pci0: <base peripheral, interrupt controller> at device 16.0 (no driver
> > attached)
> > pci0: <base peripheral, interrupt controller> at device 16.1 (no driver
> > attached)
> > pci0: <base peripheral, interrupt controller> at device 20.0 (no driver
> > attached)
> > pci0: <base peripheral, interrupt controller> at device 20.1 (no driver
> > attached)
> > pci0: <base peripheral, interrupt controller> at device 20.2 (no driver
> > attached)
> > pci0: <base peripheral, interrupt controller> at device 20.3 (no driver
> > attached)
> > pci0: <base peripheral> at device 22.0 (no driver attached)
> > pci0: <base peripheral> at device 22.1 (no driver attached)
> > pci0: <base peripheral> at device 22.2 (no driver attached)
> > pci0: <base peripheral> at device 22.3 (no driver attached)
> > pci0: <base peripheral> at device 22.4 (no driver attached)
> > pci0: <base peripheral> at device 22.5 (no driver attached)
> > pci0: <base peripheral> at device 22.6 (no driver attached)
> > pci0: <base peripheral> at device 22.7 (no driver attached)
> > uhci0: <UHCI (generic) USB controller> port 0x9c00-0x9c1f irq 16 at device
> > 26.0 on pci0
> > uhci0: [ITHREAD]
> > uhci0: LegSup = 0x2f00
> > usbus0: <UHCI (generic) USB controller> on uhci0
> > uhci1: <UHCI (generic) USB controller> port 0x9880-0x989f irq 21 at device
> > 26.1 on pci0
> > uhci1: [ITHREAD]
> > uhci1: LegSup = 0x2f00
> > usbus1: <UHCI (generic) USB controller> on uhci1
> > uhci2: <UHCI (generic) USB controller> port 0x9800-0x981f irq 19 at device
> > 26.2 on pci0
> > uhci2: [ITHREAD]
> > uhci2: LegSup = 0x2f00
> > usbus2: <UHCI (generic) USB controller> on uhci2
> > ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfabde000-0xfabde3ff irq 18
> > at device 26.7 on pci0
> > ehci0: [ITHREAD]
> > usbus3: EHCI version 1.0
> > usbus3: <EHCI (generic) USB 2.0 controller> on ehci0
> > pcib6: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
> > pci6: <ACPI PCI bus> on pcib6
> > em4: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xcc00-0xcc1f mem
> > 0xfaee0000-0xfaefffff,0xfaedc000-0xfaedffff irq 16 at device 0.0 on pci6
> >
> > em4: Using MSIX interrupts
> > em4: [ITHREAD]
> > em4: [ITHREAD]
> > em4: [ITHREAD]
> > em4: Ethernet address: 00:30:48:d6:ef:12
> > pcib7: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
> > pci7: <ACPI PCI bus> on pcib7
> > em5: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xdc00-0xdc1f mem
> > 0xfafe0000-0xfaffffff,0xfafdc000-0xfafdffff irq 17 at device 0.0 on pci7
> >
> > em5: Using MSIX interrupts
> > em5: [ITHREAD]
> > em5: [ITHREAD]
> > em5: [ITHREAD]
> > em5: Ethernet address: 00:30:48:d6:ef:13
> > uhci3: <UHCI (generic) USB controller> port 0x9480-0x949f irq 23 at device
> > 29.0 on pci0
> > uhci3: [ITHREAD]
> > uhci3: LegSup = 0x2f00
> > usbus4: <UHCI (generic) USB controller> on uhci3
> > uhci4: <UHCI (generic) USB controller> port 0x9400-0x941f irq 19 at device
> > 29.1 on pci0
> > uhci4: [ITHREAD]
> > uhci4: LegSup = 0x2f00
> > usbus5: <UHCI (generic) USB controller> on uhci4
> > uhci5: <UHCI (generic) USB controller> port 0x9080-0x909f irq 18 at device
> > 29.2 on pci0
> > uhci5: [ITHREAD]
> > uhci5: LegSup = 0x2f00
> > usbus6: <UHCI (generic) USB controller> on uhci5
> > ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfabdc000-0xfabdc3ff irq 23
> > at device 29.7 on pci0
> > ehci1: [ITHREAD]
> > usbus7: EHCI version 1.0
> > usbus7: <EHCI (generic) USB 2.0 controller> on ehci1
> > pcib8: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> > pci8: <ACPI PCI bus> on pcib8
> > fxp0: <Intel 82550 Pro/100 Ethernet> port 0xec00-0xec3f mem
> > 0xfbefe000-0xfbefefff,0xfbec0000-0xfbedffff irq 17 at device 1.0 on pci8
> > miibus0: <MII bus> on fxp0
> > inphy0: <i82555 10/100 media interface> PHY 1 on miibus0
> > inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > fxp0: Ethernet address: 00:02:b3:5d:ca:ce
> > fxp0: [ITHREAD]
> > vgapci0: <VGA-compatible display> mem
> > 0xf9800000-0xf9ffffff,0xfbef8000-0xfbefbfff,0xfb000000-0xfb7fffff irq 17 at
> > device 4.0 on pci8
> > isab0: <PCI-ISA bridge> at device 31.0 on pci0
> > isa0: <ISA bus> on isab0
> > atapci0: <Intel ICH10 SATA300 controller> port
> > 0x9000-0x9007,0x8c00-0x8c03,0x8880-0x8887,0x8800-0x8803,0x8480-0x848f,0x8400-0x840f
> > irq 19 at device 31.2 on pci0
> > atapci0: [ITHREAD]
> > ata2: <ATA channel 0> on atapci0
> > ata2: [ITHREAD]
> > ata3: <ATA channel 1> on atapci0
> > ata3: [ITHREAD]
> > pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> > atapci1: <Intel ICH10 SATA300 controller> port
> > 0x8000-0x8007,0x7c00-0x7c03,0x7880-0x7887,0x7800-0x7803,0x7480-0x748f,0x7400-0x740f
> > irq 19 at device 31.5 on pci0
> > atapci1: [ITHREAD]
> > ata4: <ATA channel 0> on atapci1
> > ata4: [ITHREAD]
> > ata5: <ATA channel 1> on atapci1
> > ata5: [ITHREAD]
> > acpi_button0: <Power Button> on acpi0
> > atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
> > uart0: [FILTER]
> > uart0: console (38400,n,8,1)
> > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> > uart1: [FILTER]
> > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 5 on acpi0
> > uart2: [FILTER]
> > 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
> > ACPI Warning: Incorrect checksum in table [OEMB] - 8A, should be 87
> > 20090521 tbutils-275
> > est0: <Enhanced SpeedStep Frequency Control> on cpu0
> > est: CPU supports Enhanced Speedstep, but is not recognized.
> > est: cpu_vendor GenuineIntel, msr 14
> > device_attach: est0 attach returned 6
> > p4tcc0: <CPU Frequency Thermal Control> on cpu0
> > cpu1: <ACPI CPU> on acpi0
> > est1: <Enhanced SpeedStep Frequency Control> on cpu1
> > est: CPU supports Enhanced Speedstep, but is not recognized.
> > est: cpu_vendor GenuineIntel, msr 14
> > device_attach: est1 attach returned 6
> > p4tcc1: <CPU Frequency Thermal Control> on cpu1
> > cpu2: <ACPI CPU> on acpi0
> > est2: <Enhanced SpeedStep Frequency Control> on cpu2
> > est: CPU supports Enhanced Speedstep, but is not recognized.
> > est: cpu_vendor GenuineIntel, msr 14
> > device_attach: est2 attach returned 6
> > p4tcc2: <CPU Frequency Thermal Control> on cpu2
> > cpu3: <ACPI CPU> on acpi0
> > est3: <Enhanced SpeedStep Frequency Control> on cpu3
> > est: CPU supports Enhanced Speedstep, but is not recognized.
> > est: cpu_vendor GenuineIntel, msr 14
> > device_attach: est3 attach returned 6
> > p4tcc3: <CPU Frequency Thermal Control> on cpu3
> > pmtimer0 on isa0
> > orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff pnpid
> > ORM0000 on isa0
> > sc0: <System console> at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x100>
> > 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: 12Mbps Full Speed USB v1.0
> > usbus1: 12Mbps Full Speed USB v1.0
> > usbus2: 12Mbps Full Speed USB v1.0
> > usbus3: 480Mbps High Speed USB v2.0
> > usbus4: 12Mbps Full Speed USB v1.0
> > usbus5: 12Mbps Full Speed USB v1.0
> > usbus6: 12Mbps Full Speed USB v1.0
> > usbus7: 480Mbps High Speed USB v2.0
> > SMP: AP CPU #1 Launched!
> > SMP: AP CPU #2 Launched!
> > SMP: AP CPU #3 Launched!
> > ugen1.1: <Intel> at usbus1ugen0.1: <Intel> at usbus0Root mount waiting
> > for:ugen2.1: <Intel> at usbus2
> >
> >
> >  usbus7 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0
> > uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
> > ugen3.1: <Intel> at usbus3uhub1:
> > <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
> > uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
> > uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
> > ugen4.1: <Intel> at usbus4ugen5.1: <Intel> at usbus5ugen7.1: <Intel> at
> > usbus7ugen6.1: <Intel> at usbus6
> > uhub4:
> > <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
> >
> > uhub5:
> > <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
> > uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
> > uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
> > uhub0: 2 ports with 2 removable, self powered
> > uhub1: 2 ports with 2 removable, self powered
> > uhub2: 2 ports with 2 removable, self powered
> > uhub4: 2 ports with 2 removable, self powered
> > uhub5: 2 ports with 2 removable, self powered
> > uhub6: 2 ports with 2 removable, self powered
> > Root mount waiting for: usbus7 usbus3
> > Root mount waiting for: usbus7 usbus3
> > uhub3: 6 ports with 6 removable, self powered
> > uhub7: 6 ports with 6 removable, self powered
> > Trying to mount root from nfs:10.255.255.1:/home/pxe
> > NFS ROOT: 10.255.255.1:/usr/home/pxe/
> >
> >
> >        ---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
> >
> >
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

-- 
Windows NT Multitasking: Messing up several things at once.


More information about the freebsd-stable mailing list