Intel Corporation 82578DC Gigabit NIC support

Siju George sgeorge.ml at gmail.com
Tue Jun 14 23:41:18 PDT 2011


>
> Again, the e1000/em copy is not built, but instead an older copy is built under
> the path /src/sys/dev/netif/em.
>
> I'd again suggest first doing a manual build of /src/sys/dev/netif/e1000/em -
> on a already built source tree:
>
>  # cd /src/sys/dev/netif/e1000/em
>  # wmake
>

wmake did not work so I just did a make and got the file below

>  # ls if_em.ko
>
> You can then test this 'if_em.ko' instead of the 'default' one -
> but will need to build a kernel *without* the 'built' em (netif/em)
>

So I commented out 'device  em' in the X86_64_GENERIC config file and
compiled using

#make nativekernel KERNCONF=X86_64_GENERIC

>and
> in order to be able to load this one (or will need to change the files
> so it has a different driver name).
>

and loaded the sys/dev/netif/e1000/em/if_em.ko using kldload
and got

em0: <Intel(R) PRO/1000 Network Connection 6.9.25> port 0xdc00-0xdc1f
mem 0xfbbf6000-0xfbbf6fff,0xfbbc0000-0xfbbdffff irq 15 at device 25.0
on pci0
em0: MAC address: .......


ifconfig -a shown em0 but when I try to give it an IP Address

#ifconfig em0 inet 172.17.5.5 netmask 255.250.0.0

The system freezes and I cannot evn get the ddb prompt :-(

Thanks

--Siju






More information about the Kernel mailing list