issues with em, ndis & 1 gig RAM in -current

Jonathan Pater pater at
Wed Jun 30 09:27:27 PDT 2004

For the past week or so I've been having issues with the em module for
my network card. The link yo-yos every 5-10 seconds making the
connection barely usable at best, and fills up dmesg output with the

em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
[repeated ad nauseum]

I first noticed this with a system I'd built on the 22nd, and after
cvsupping again last night, the problem still persists. I've already
tried different network cables, ports on the switch, etc, and am
convinced enough at this point that the problem is not hardware related
to write to this list and beg for help. Ironically, this is the
interface which I used to install the system, but I've since used
another wireless card for networking, which leads me to my second
problem with -current.

I'm using ndis in order to use a Linksys WMP11v2.7 (Broadcom chipset)
wireless card with -current, and it works great, even supporting the
802.11 encryption, until I increase the machine's RAM from 1G to 2G.
After doing so, the card still initializes and appears as ndis0, however
its status continually reports that no carrier is detected, and
ifconfig calls to the device either hang or fail. Removing the extra gig
of RAM returns the card to a working state. I've alraedy shuffled the
RAM around in various configurations, and used memtest86 to test the
RAM. Everything tests out OK. I've heard that the current state of ndis
can be dodgy, so I bring up this issue merely to try and be helpful. I'd
be plenty happy with using the em module for networking and having the
full 2G of RAM installed.

The machine in question is a 3.0GHz Northwood Pentium 4 with
hyperthreading enabled, with an 865G motherboard. I'm using DDR 400 RAM
in dual-channel mode. I've attached dmesg output from booting with 1G
RAM, please let me know if there's anything else I can provide to help
debug this.


   Jonathan "CowboyNeal" Pater         |                 pater at              |     
               "Constantly choosing the lesser of two evils is
                    still choosing evil." -- Jerry Garcia

-------------- next part --------------
Copyright (c) 1992-2004 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 5.2-CURRENT #0: Wed Jun 30 01:00:38 EDT 2004
    root at
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0921000.
Preloaded elf module "/boot/kernel/if_ndis.ko" at 0xc092126c.
Preloaded elf module "/boot/kernel/ndis.ko" at 0xc0921318.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09213c4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Hyperthreading: 2 logical CPUs
real memory  = 1072885760 (1023 MB)
avail memory = 1040445440 (992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
VESA: v3.0, 131072k memory, flags:0x1, mode table:0xc07e24a2 (1000022)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL D865GLC> on motherboard
pcibios: BIOS version 2.10
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> port 0x530-0x537 on acpi0
cpu1: <ACPI CPU> port 0x530-0x537 on acpi0
cpu1: Failed to attach throttling P_CNT
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
Trying ATA native PCI addressing mode
agp0: <Intel 82865 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci2: <ACPI PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xac00-0xac1f mem 0xfe9e0000-0xfe9fffff irq 18 at device 1.0 on pci2
em0: Ethernet address: 00:0c:f1:f5:64:8e
em0:  Speed:N/A  Duplex:N/A
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 16 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 19 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ums0: vendor 0x04fc USB Wheel Mouse, rev 1.10/1.01, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
ukbd0: CHESEN USB Keyboard, rev 1.10/1.10, addr 3, iclass 3/1
kbd1 at ukbd0
uhid0: CHESEN USB Keyboard, rev 1.10/1.10, addr 3, iclass 3/0
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xd400-0xd41f irq 18 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd800-0xd81f irq 16 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
ndis0: <Instant Wireless PCI Card V2.7> mem 0xfeafe000-0xfeafffff irq 22 at device 1.0 on pci3
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:06:25:09:b6:e7
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 5.5Mbps 11Mbps
fwohci0: <VIA VT6306> port 0xbc00-0xbc7f mem 0xfeafd800-0xfeafdfff irq 17 at device 2.0 on pci3
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:7d:8a
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:11:06:00:7d:8a
fwe0: Ethernet address: 02:11:06:00:7d:8a
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 18 at device 31.2 on pci0
ata2: at 0xec00 on atapci1
ata3: at 0xe400 on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> mem 0xfebff400-0xfebff4ff,0xfebff800-0xfebff9ff irq 17 at device 31.5 on pci0
pcm0: <Analog Devices AD1985 AC97 Codec>
acpi_button0: <Sleep Button> on acpi0
speaker0 port 0x61 on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
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
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging disabled
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: DVDR <_NEC DVD_RW ND-2500A> at ata0-master PIO4
ad4: 152627MB <ST3160023AS> [310101/16/63] at ata2-master SATA150
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <_NEC DVD_RW ND-2500A 1.06> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad4s2a
ndis0: link up
em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
em0: Link is up 100 Mbps Full Duplex
em0: Link is Down
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list