Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2006 10:59:32 -0400
From:      Tim Allender <freebsd-net@goldenpath.org>
To:        freebsd-net@freebsd.org
Subject:   Re: D-Link DGE-530T
Message-ID:  <45227AD4.8060506@goldenpath.org>
In-Reply-To: <20061003134415.GP1491@codelabs.ru>
References:  <4520695C.9060302@goldenpath.org> <20061002125254.GC25883@codelabs.ru> <4522655B.90507@goldenpath.org> <20061003134415.GP1491@codelabs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Eygene Ryabinkin wrote:
> Tim, good day!
>   
>>> Use sk(4) driver. It supports DGE-530T:
>>>  
>>>       
>> Is that driver not built into the kernel? If not and all I need to do is 
>> rebuild the kernel, ok, I can do that.
>>     
> It depends on what kernel you're using. If you are at GENERIC kernel
> (the default kernel at the freshly installed system) then it should be
> there. Check the contents of file /sys/i386/conf/`uname -i` for the string
> -----
> device	sk
> -----
>
>   
Yes, It's there.
>> But if it's already in the kernel and the OS isn't using that driver for that 
>> model NIC already, how would I make it do so?
>>     
> If the above fails (device sk is in the kernel but it does not see the NIC)
> please, give the output of the following commands:
> -----
> uname -i
> uname -r
> pciconf -lv
> dmesg
> -----
>   
I'm eyeing these lines from dmesg suspiciously:
pci0: <display, VGA> at device 8.0 (no driver attached)
pci0: <network, ethernet> at device 9.0 (no driver attached)

Also, to clarify. This is a fresh test box.
I bought a few of these NICs for various purposes, all of which involve 
refurbing some old boxes
for which I've had problems with ALTQ on their old NICs. Some NICs are 
just faulty and need to be replaced.
The first place I tried to use it was a pfSense box I'd like to do 
traffic shaping on.
NIC didn't pick up. So, I tosse up fbsd on the (same) box. Didn't pick 
up there either.
Maybe I missed some hardware clash? I'll try it on another box today as 
well.

I'm posting the entire results you requested below.

# uname -i
GENERIC

# uname -r
6.1-RELEASE

# pciconf -lv
agp0@pci0:0:0:  class=0x060000 card=0x00000000 chip=0x31281106 rev=0x01 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8753 Apollo P4X266 System Controller'
    class    = bridge
    subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0xb0911106 rev=0x00 
hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8633 Apollo Pro 266 CPU to AGP Controller'
    class    = bridge
    subclass = PCI-PCI
none0@pci0:8:0: class=0x030000 card=0x00000000 chip=0x011010de rev=0xb2 
hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'NV11 GeForce2 MX / MX 400'
    class    = display
    subclass = VGA
none1@pci0:9:0: class=0x020000 card=0x4b011186 chip=0x4b011186 rev=0x11 
hdr=0x00
    vendor   = 'D-Link System Inc'
    class    = network
    subclass = ethernet
rl0@pci0:11:0:  class=0x020000 card=0x434e4554 chip=0x813910ec rev=0x10 
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
isab0@pci0:17:0:        class=0x060100 card=0x30741106 chip=0x30741106 
rev=0x00 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233 PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:17:1:      class=0x01018a card=0x05711106 chip=0x05711106 
rev=0x06 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
uhci0@pci0:17:2:        class=0x0c0300 card=0x12340925 chip=0x30381106 
rev=0x1b hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci1@pci0:17:3:        class=0x0c0300 card=0x12340925 chip=0x30381106 
rev=0x1b hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci2@pci0:17:4:        class=0x0c0300 card=0x12340925 chip=0x30381106 
rev=0x1b hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
none2@pci0:17:5:        class=0x040100 card=0x45111106 chip=0x30591106 
rev=0x30 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
    class    = multimedia
    subclass = audio
vr0@pci0:18:0:  class=0x020000 card=0x01021106 chip=0x30651106 rev=0x70 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
    class    = network
    subclass = ethernet

# dmesg
Copyright (c) 1992-2006 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 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006
    root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (1700.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf0a  Stepping = 10
  
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 536805376 (511 MB)
avail memory = 515932160 (492 MB)
kbd1 at kbdmux0
acpi0: <AMIINT VIA_P6> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8753 (P4X266) host to PCI bridge> mem 0xe0000000-0xe3ffffff 
at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci0: <display, VGA> at device 8.0 (no driver attached)
pci0: <network, ethernet> at device 9.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 
0xdefebf00-0xdefebfff irq 12 at device 11.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:08:a1:1a:a3:f6
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 12 at device 
17.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 12 at device 
17.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 12 at device 
17.4 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xc400-0xc4ff mem 
0xdefebe00-0xdefebeff irq 5 at device 18.0 on pci0
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:07:95:1d:2b:73
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 
drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xcd000-0xd0fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 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>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 1700069540 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 19092MB <WDC WD200BB-00CLB0 05.04E05> at ata0-master UDMA100
acd0: DVDROM <DVDROM 10X/42> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
ukbd0: Dell Dell USB Keyboard, rev 1.10/3.01, addr 3, iclass 3/1
kbd2 at ukbd0




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