Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 13:47:06 -0400
From:      Christopher Sean Hilton <chris@vindaloo.com>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   Intel Dual PRO/1000 Nic - Setup of shared code failed
Message-ID:  <1C4CC81A-1524-43D6-87D2-72EE4306ADF5@vindaloo.com>

next in thread | raw e-mail | index | archive | help
I just got an Intel Dual gigabit nic that I planned to use with  
FreeBSD 7-STABLE. On startup neither of the Nics attach to the kernel.  
They give up with an error message of:

      "Setup of shared code failed"

I hunted around on Google for this last night and found something  
about the cards working okay so long as I turned off BSM but I  
couldn't find any reference to what BSM was or how to turn it off.

I'd like to get this card working in my FreeBSD box. Any help would be  
appreciated.

-- Chris

Below is the uname -a and startup log from the server.

$ uname -a
FreeBSD hoth.vindaloo.com 7.0-STABLE FreeBSD 7.0-STABLE #2: Wed May 28  
16:20:00 EDT 2008     root@hoth:/usr/obj/usr/src/sys/GENERIC  i386

Here's the logs from the server.
Jun 11 22:41:22 hoth syslogd: kernel boot file is /boot/kernel/kernel
Jun 11 22:41:22 hoth kernel: Copyright (c) 1992-2008 The FreeBSD  
Project.
Jun 11 22:41:22 hoth kernel: Copyright (c) 1979, 1980, 1983, 1986,  
1988, 1989, 1991, 1992, 1993, 1994
Jun 11 22:41:22 hoth kernel: The Regents of the University of  
California. All rights reserved.
Jun 11 22:41:22 hoth kernel: FreeBSD is a registered trademark of The  
FreeBSD Foundation.
Jun 11 22:41:22 hoth kernel: FreeBSD 7.0-STABLE #2: Wed May 28  
16:20:00 EDT 2008
Jun 11 22:41:22 hoth kernel: root@hoth:/usr/obj/usr/src/sys/GENERIC
Jun 11 22:41:22 hoth kernel: Timecounter "i8254" frequency 1193182 Hz  
quality 0
Jun 11 22:41:22 hoth kernel: CPU: AMD Duron(tm) Processor (908.09-MHz  
686-class CPU)
Jun 11 22:41:22 hoth kernel: Origin = "AuthenticAMD"  Id = 0x631   
Stepping = 1
Jun 11 22:41:22 hoth kernel:  
Features 
= 
0x183f9ff 
< 
FPU 
,VME 
,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
Jun 11 22:41:22 hoth kernel: AMD Features=0xc0440800<SYSCALL,<b18>,MMX 
+,3DNow!+,3DNow!>
Jun 11 22:41:22 hoth kernel: real memory  = 1073659904 (1023 MB)
Jun 11 22:41:22 hoth kernel: avail memory = 1037058048 (989 MB)
Jun 11 22:41:22 hoth kernel: kbd1 at kbdmux0
Jun 11 22:41:22 hoth kernel: ath_hal: 0.9.20.3 (AR5210, AR5211,  
AR5212, RF5111, RF5112, RF2413, RF5413)
Jun 11 22:41:22 hoth kernel: acpi0: <ASUS A7V-E> on motherboard
Jun 11 22:41:22 hoth kernel: acpi0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: acpi0: Power Button (fixed)
Jun 11 22:41:22 hoth kernel: acpi0: reservation of 0, a0000 (3) failed
Jun 11 22:41:22 hoth kernel: acpi0: reservation of 100000, 3ff00000  
(3) failed
Jun 11 22:41:22 hoth kernel: Timecounter "ACPI-fast" frequency 3579545  
Hz quality 1000
Jun 11 22:41:22 hoth kernel: acpi_timer0: <24-bit timer at  
3.579545MHz> port 0xe408-0xe40b on acpi0
Jun 11 22:41:22 hoth kernel: cpu0: <ACPI CPU> on acpi0
Jun 11 22:41:22 hoth kernel: acpi_throttle0: <ACPI CPU Throttling> on  
cpu0
Jun 11 22:41:22 hoth kernel: acpi_button0: <Power Button> on acpi0
Jun 11 22:41:22 hoth kernel: pcib0: <ACPI Host-PCI bridge> port  
0xcf8-0xcff on acpi0
Jun 11 22:41:22 hoth kernel: pci0: <ACPI PCI bus> on pcib0
Jun 11 22:41:22 hoth kernel: agp0: <VIA 82C8363 (Apollo KT133x/KM133)  
host to PCI bridge> on hostb0
Jun 11 22:41:22 hoth kernel: agp0: aperture size is 256M
Jun 11 22:41:22 hoth kernel: pcib1: <ACPI PCI-PCI bridge> at device  
1.0 on pci0
Jun 11 22:41:22 hoth kernel: pci1: <ACPI PCI bus> on pcib1
Jun 11 22:41:22 hoth kernel: vgapci0: <VGA-compatible display> port  
0xd800-0xd8ff mem 0xfa000000-0xfaffffff,0xf9800000-0xf9800fff irq 11  
at device 0.0 on pci1
Jun 11 22:41:22 hoth kernel: isab0: <PCI-ISA bridge> at device 7.0 on  
pci0
Jun 11 22:41:22 hoth kernel: isa0: <ISA bus> on isab0
Jun 11 22:41:22 hoth kernel: atapci0: <VIA 82C686B UDMA100 controller>  
port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1  
on pci0
Jun 11 22:41:22 hoth kernel: ata0: <ATA channel 0> on atapci0
Jun 11 22:41:22 hoth kernel: ata0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: ata1: <ATA channel 1> on atapci0
Jun 11 22:41:22 hoth kernel: ata1: [ITHREAD]
Jun 11 22:41:22 hoth kernel: uhci0: <VIA 83C572 USB controller> port  
0xb400-0xb41f irq 5 at device 7.2 on pci0
Jun 11 22:41:22 hoth kernel: uhci0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: uhci0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: usb0: <VIA 83C572 USB controller> on uhci0
Jun 11 22:41:22 hoth kernel: usb0: USB revision 1.0
Jun 11 22:41:22 hoth kernel: uhub0: <VIA UHCI root hub, class 9/0, rev  
1.00/1.00, addr 1> on usb0
Jun 11 22:41:22 hoth kernel: uhub0: 2 ports with 2 removable, self  
powered
Jun 11 22:41:22 hoth kernel: uhci1: <VIA 83C572 USB controller> port  
0xb000-0xb01f irq 5 at device 7.3 on pci0
Jun 11 22:41:22 hoth kernel: uhci1: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: uhci1: [ITHREAD]
Jun 11 22:41:22 hoth kernel: usb1: <VIA 83C572 USB controller> on uhci1
Jun 11 22:41:22 hoth kernel: usb1: USB revision 1.0
Jun 11 22:41:22 hoth kernel: uhub1: <VIA UHCI root hub, class 9/0, rev  
1.00/1.00, addr 1> on usb1
Jun 11 22:41:22 hoth kernel: uhub1: 2 ports with 2 removable, self  
powered
Jun 11 22:41:22 hoth kernel: ohci0: <NEC uPD 9210 USB controller> mem  
0xf9000000-0xf9000fff irq 5 at device 12.0 on pci0
Jun 11 22:41:22 hoth kernel: ohci0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: ohci0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: usb2: OHCI version 1.0
Jun 11 22:41:22 hoth kernel: usb2: <NEC uPD 9210 USB controller> on  
ohci0
Jun 11 22:41:22 hoth kernel: usb2: USB revision 1.0
Jun 11 22:41:22 hoth kernel: uhub2: <NEC OHCI root hub, class 9/0, rev  
1.00/1.00, addr 1> on usb2
Jun 11 22:41:22 hoth kernel: uhub2: 3 ports with 3 removable, self  
powered
Jun 11 22:41:22 hoth kernel: ohci1: <NEC uPD 9210 USB controller> mem  
0xf8800000-0xf8800fff irq 11 at device 12.1 on pci0
Jun 11 22:41:22 hoth kernel: ohci1: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: ohci1: [ITHREAD]
Jun 11 22:41:22 hoth kernel: usb3: OHCI version 1.0
Jun 11 22:41:22 hoth kernel: usb3: <NEC uPD 9210 USB controller> on  
ohci1
Jun 11 22:41:22 hoth kernel: usb3: USB revision 1.0
Jun 11 22:41:22 hoth kernel: uhub3: <NEC OHCI root hub, class 9/0, rev  
1.00/1.00, addr 1> on usb3
Jun 11 22:41:22 hoth kernel: uhub3: 2 ports with 2 removable, self  
powered
Jun 11 22:41:22 hoth kernel: ehci0: <NEC uPD 720100 USB 2.0  
controller> mem 0xf8000000-0xf80000ff irq 10 at device 12.2 on pci0
Jun 11 22:41:22 hoth kernel: ehci0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: ehci0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: usb4: EHCI version 1.0
Jun 11 22:41:22 hoth kernel: usb4: companion controllers, 3 ports  
each: usb2 usb3
Jun 11 22:41:22 hoth kernel: usb4: <NEC uPD 720100 USB 2.0 controller>  
on ehci0
Jun 11 22:41:22 hoth kernel: usb4: USB revision 2.0
Jun 11 22:41:22 hoth kernel: uhub4: <NEC EHCI root hub, class 9/0, rev  
2.00/1.00, addr 1> on usb4
Jun 11 22:41:22 hoth kernel: uhub4: 5 ports with 5 removable, self  
powered
Jun 11 22:41:22 hoth kernel: mlx0: <Mylex version 2 RAID interface>  
port 0x9400-0x947f mem 0xf7800000-0xf780007f irq 11 at device 13.0 on  
pci0
Jun 11 22:41:22 hoth kernel: mlx0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: mlx0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: mlx0: DAC960PL, 2 channels, firmware  
2.73-0-00, 4MB RAM
Jun 11 22:41:22 hoth kernel: mlxd0: <Mylex System Drive> on mlx0
Jun 11 22:41:22 hoth kernel: mlxd0: 26049MB (53348352 sectors) RAID 5  
(online)
Jun 11 22:41:22 hoth kernel: ahc0: <Adaptec 2940 SCSI adapter> port  
0x9000-0x90ff mem 0xf7000000-0xf7000fff irq 10 at device 14.0 on pci0
Jun 11 22:41:22 hoth kernel: ahc0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: aic7870: Single Channel A, SCSI Id=7,  
16/253 SCBs
Jun 11 22:41:22 hoth kernel: em0: <Intel(R) PRO/1000 Network  
Connection 6.9.5> port 0x8800-0x883f irq 7 at device 15.0 on pci0
Jun 11 22:41:22 hoth kernel: em0: Setup of Shared code failed
Jun 11 22:41:22 hoth kernel: device_attach: em0 attach returned 6
Jun 11 22:41:22 hoth kernel: em1: <Intel(R) PRO/1000 Network  
Connection 6.9.5> port 0x8400-0x843f irq 5 at device 15.1 on pci0
Jun 11 22:41:22 hoth kernel: em1: Setup of Shared code failed
Jun 11 22:41:22 hoth kernel: device_attach: em1 attach returned 6
Jun 11 22:41:22 hoth kernel: fdc0: <floppy drive controller> port  
0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
Jun 11 22:41:22 hoth kernel: fdc0: [FILTER]
Jun 11 22:41:22 hoth kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun 11 22:41:22 hoth kernel: sio0: <16550A-compatible COM port> port  
0x3f8-0x3ff irq 4 flags 0x10 on acpi0
Jun 11 22:41:22 hoth kernel: sio0: type 16550A
Jun 11 22:41:22 hoth kernel: sio0: [FILTER]
Jun 11 22:41:22 hoth kernel: sio1: <16550A-compatible COM port> port  
0x2f8-0x2ff irq 3 on acpi0
Jun 11 22:41:22 hoth kernel: sio1: type 16550A
Jun 11 22:41:22 hoth kernel: sio1: [FILTER]
Jun 11 22:41:22 hoth kernel: atkbdc0: <Keyboard controller (i8042)>  
port 0x60,0x64 irq 1 on acpi0
Jun 11 22:41:22 hoth kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jun 11 22:41:22 hoth kernel: kbd0 at atkbd0
Jun 11 22:41:22 hoth kernel: atkbd0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: atkbd0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jun 11 22:41:22 hoth kernel: psm0: [GIANT-LOCKED]
Jun 11 22:41:22 hoth kernel: psm0: [ITHREAD]
Jun 11 22:41:22 hoth kernel: psm0: model IntelliMouse, device ID 3
Jun 11 22:41:22 hoth kernel: pmtimer0 on isa0
Jun 11 22:41:22 hoth kernel: orm0: <ISA Option ROMs> at iomem  
0xc0000-0xc7fff,0xc8000-0xc87ff,0xcc000-0xcc7ff pnpid ORM0000 on isa0
Jun 11 22:41:22 hoth kernel: ppc0: parallel port not found.
Jun 11 22:41:22 hoth kernel: sc0: <System console> at flags 0x100 on  
isa0
Jun 11 22:41:22 hoth kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jun 11 22:41:22 hoth kernel: vga0: <Generic ISA VGA> at port  
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jun 11 22:41:22 hoth kernel: Timecounter "TSC" frequency 908091823 Hz  
quality 800
Jun 11 22:41:22 hoth kernel: Timecounters tick every 1.000 msec
Jun 11 22:41:22 hoth kernel: Waiting 5 seconds for SCSI devices to  
settle
Jun 11 22:41:22 hoth kernel: ad0: 38166MB <WDC WD400BB-00GFA0  
09.01B09> at ata0-master UDMA100
Jun 11 22:41:22 hoth kernel: Trying to mount root from ufs:/dev/ad0s2a



Chris Hilton                       tildeChris -- http://myblog.vindaloo.com
                                         email -- chris/at/vindaloo/ 
dot/com
.~ 
~ 
.--.~ 
~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.
                          "I'm on the outside looking inside, What do  
I see?
                                Much confusion, disillution, all  
around me."
                                          -- Ian McDonald / Peter  
Sinfield




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C4CC81A-1524-43D6-87D2-72EE4306ADF5>