Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 21:01:30 -0800
From:      Andrew Robinson <andrewr@uidaho.edu>
To:        hackers@freebsd.org
Cc:        Kevin Kinsey <kdk@daleco.biz>
Subject:   NIC detected, but won't DHCP or configure
Message-ID:  <c333e9c36a8d.c36a8dc333e9@uidaho.edu>

next in thread | raw e-mail | index | archive | help
Dear FreeBSD hackers,

I posted the following question on freebsd-questions.  Two kind souls kicked it around for a little and suggested that I pass it on to you.  

I have a laptop with a netowrk card that seems to be successfully detected under FreeBSD, Knoppix, and WinXP, but will only work under Knoppix and WinXP.  

I tender the following for your information.  Windows identifies the card as Realtek RTL8169/8110 Family Gigabit Ethernet NIC.  scanpci and pciconf (see below) seem to agree.

Under FreeBSD:

dmesg:

>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.3-RELEASE #0: Mon Mar 21 17:27:06 PST 2005
>    root@brutus.for.uidaho.edu:/usr/obj/usr/src/sys/MYKERNEL
>Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a22000.
>Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a22294.
>Calibrating clock(s) ... i8254 clock: 1193250 Hz
>CLK_USE_I8254_CALIBRATION not specified - using default frequency
>Timecounter "i8254" frequency 1193182 Hz quality 0
>Calibrating TSC clock ... TSC clock: 3391516719 Hz
>CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (3391.52-MHz 686-class CPU)
>  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
> 
>
<snip>
Here is where the boot sequence detects the 10/100/1000 NIC:
=========================================

>pcib2: slot 3 INTA hardwired to IRQ 21
>found-> vendor=0x10ec, dev=0x8169, revid=0x10
> bus=10, slot=3, func=0
> class=02-00-00, hdrtype=0x00, mfdev=0
> cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords)
> lattimer=0x00 (0 ns), mingnt=0x20 (8000 ns), maxlat=0x40 (16000 ns)
> intpin=a, irq=21
> powerspec 2  supports D0 D1 D2 D3  current D0
> map[10]: type 1, range 32, base b3006000, size 13, memory disabled
>pcib2: device (null) requested decoded memory range 0xb3006000-0xb3007fff
>pcib2: matched entry for 10.5.INTA
> 
>
Here is where the 802.11 device is detected:
==============================

>pcib2: slot 5 INTA hardwired to IRQ 17
>found-> vendor=0x1814, dev=0x0201, revid=0x01
> bus=10, slot=5, func=0
> class=02-80-00, hdrtype=0x00, mfdev=0
> cmdreg=0x0000, statreg=0x0410, cachelnsz=0 (dwords)
> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
> intpin=a, irq=17
> powerspec 2  supports D0 D3  current D0
>cbb0: <TI1410 PCI-CardBus Bridge> at device 0.0 on pci10
>pcib2: device cbb0 requested decoded memory range 0xb3000000-0xb30fffff
>cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xb3008000
>cardbus0: <CardBus bus> on cbb0
>pccard0: <16-bit PCCard bus> on cbb0
>pcib2: matched entry for 10.0.INTA
>pcib2: slot 0 INTA hardwired to IRQ 18
>cbb0: [MPSAFE]
>


ifconfig -a output is:
==============

fwe0: flags=108802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
ether 02:90:f5:40:24:d8
ch 1 dma -1
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

pciconf -lv output is:
==============

none4@pci10:3:0: class=0x020000 card=0x09001558 chip=0x816910ec rev=0x10
hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'RTL8169 Gigabit Ethernet Adapter'
class = network
subclass = ethernet
none5@pci10:5:0: class=0x028000 card=0x68331462 chip=0x02011814 rev=0x01
hdr=0x00
vendor = 'Ralink Technology Corp'
class = network

scanpci output is:
=============

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2580
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x2581
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x2668
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2658
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2659
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x265a
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1d function 0x03: vendor 0x8086 device 0x265b
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x265c
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
Intel Corp. 82801BA/CA/DB/EB PCI Bridge

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2640
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x266f
Intel Corp. Device unknown

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x266a
Intel Corp. Device unknown

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x00c8
nVidia Corporation Device unknown

pci bus 0x000a cardnum 0x00 function 0x00: vendor 0x104c device 0xac50
Texas Instruments PCI1410 PC card Cardbus Controller

pci bus 0x000a cardnum 0x01 function 0x00: vendor 0x104c device 0x8023
Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)

pci bus 0x000a cardnum 0x02 function 0x00: vendor 0x105a device 0x3373
Promise Technology, Inc. Device unknown

pci bus 0x000a cardnum 0x03 function 0x00: vendor 0x10ec device 0x8169
Realtek Semiconductor Co., Ltd. RTL-8169

pci bus 0x000a cardnum 0x05 function 0x00: vendor 0x1814 device 0x0201
Device unknown




I hope that this is sufficient information to be useful.  I would appreciate any advice or thoughts.  Please cc me as I am on digest mode for the listserv.  

Best wishes

Andrew



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