From owner-freebsd-net@FreeBSD.ORG Tue Oct 3 14:59:52 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8BB816A415 for ; Tue, 3 Oct 2006 14:59:52 +0000 (UTC) (envelope-from freebsd-net@goldenpath.org) Received: from mail.sbsnet.com (mail.sbsnet.com [63.147.233.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E46343D53 for ; Tue, 3 Oct 2006 14:59:52 +0000 (GMT) (envelope-from freebsd-net@goldenpath.org) Received: from [10.0.0.59] [68.236.191.215] by mail.sbsnet.com with ESMTP (SMTPD-8.22) id AA60031C; Tue, 03 Oct 2006 10:57:36 -0400 Message-ID: <45227AD4.8060506@goldenpath.org> Date: Tue, 03 Oct 2006 10:59:32 -0400 From: Tim Allender User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4520695C.9060302@goldenpath.org> <20061002125254.GC25883@codelabs.ru> <4522655B.90507@goldenpath.org> <20061003134415.GP1491@codelabs.ru> In-Reply-To: <20061003134415.GP1491@codelabs.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: D-Link DGE-530T X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 14:59:53 -0000 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: at device 8.0 (no driver attached) pci0: 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 real memory = 536805376 (511 MB) avail memory = 515932160 (492 MB) kbd1 at kbdmux0 acpi0: 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: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci0: at device 8.0 (no driver attached) pci0: at device 9.0 (no driver attached) rl0: port 0xd800-0xd8ff mem 0xdefebf00-0xdefebfff irq 12 at device 11.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:08:a1:1a:a3:f6 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 uhci0: port 0xc800-0xc81f irq 12 at device 17.2 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xcc00-0xcc1f irq 12 at device 17.3 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xd000-0xd01f irq 12 at device 17.4 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: at device 17.5 (no driver attached) vr0: port 0xc400-0xc4ff mem 0xdefebe00-0xdefebeff irq 5 at device 18.0 on pci0 miibus1: on vr0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:07:95:1d:2b:73 acpi_button1: on acpi0 fdc0: 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: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xcd000-0xd0fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: 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 at ata0-master UDMA100 acd0: DVDROM 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