Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 22:45:05 -0500
From:      Sven Willenberger <sven@dmv.com>
To:        freebsd-amd64@freebsd.org
Subject:   fxp can't map mbuf (error 12)
Message-ID:  <42268841.8040703@dmv.com>

next in thread | raw e-mail | index | archive | help
Dual opteron Tyan s2882 with onboard intel (fxp) and broadcom (bge). 
System essentially freezes during network traffic through fxp. Not only 
that, but any process that was started that used fxp (cvsup, for 
example) will lock. Rebooting will result in an unclean unmount as it 
"gives up on 64 buffers".

Anyway the exact error message is:
kernel: fxp0: can't map mbuf (error 12)

Portions of dmesg that may be relevant:
FreeBSD 5.3-STABLE #0: Wed Mar  2 15:07:54 EST 2005
     root@:/usr/obj/usr/src/sys/NORACCT
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2190.89-MHz K8-class CPU)
   Origin = "AuthenticAMD"  Id = 0xf5a  Stepping = 10
 
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
   AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
real memory  = 8589934592 (8192 MB)
avail memory = 8250486784 (7868 MB)
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0

<snip>

fxp0: <Intel 82551 Pro/100 Ethernet> port 0xa400-0xa43f mem 
0xfeaa0000-0xfeabffff,0xfeafb000-0xfeafbfff irq 18 at device 8.0 on pci4
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:29:b0:0d

<snip>

ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x9c00-0x9cff,0x9000-0x90ff mem 0xfc8fc000-0xfc8fdfff irq 24 at device 
6.0 on pci3
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x9400-0x94ff,0x9800-0x98ff mem 0xfc8fe000-0xfc8fffff irq 25 at device 
6.1 on pci3
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfc8a0000-0xfc8affff,0xfc8b0000-0xfc8bffff irq 24 at device 9.0 on pci3
miibus1: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:29:b0:4a
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003> mem 
0xfc8d0000-0xfc8dffff,0xfc8e0000-0xfc8effff irq 25 at device 9.1 on pci3
miibus2: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:29:b0:4b
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver 
attached)
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib3
pcib4: <PCI-PCI bridge> at device 3.0 on pci1
pci2: <PCI bus> on pcib4
amr0: <LSILogic MegaRAID> mem 
0xfc580000-0xfc5fffff,0xff4f0000-0xff4fffff irq 28 at device 0.0 on pci2
amr0: <LSILogic MegaRAID SCSI 320-2X> Firmware 413B, BIOS H409, 128MB RAM
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver 
attached)
acpi_button0: <Power Button> on acpi0


Using the broadcom gigE connector resolves the issue ...

Sven



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42268841.8040703>