Re: FreeBSD 6.1 rl interface
On 8/07/2006 5:10 PM, Rob Hurle wrote: But the killer is that I want to run 2 ethernet interfaces. The on-board one is fxp0 (Intel) and comes up fine. The other is a PCI card with the RealTek 8139D chipset, so I'm expecting a rl0 interface. I've put if_rl_load=YES into the /boot/loader.conf filem but the system does not seem to like it, giving me the message failed to register: 17 at module load time, and then no driver attached at bring-up-interface time. /var/log/messages extract is as follows: ... Jul 9 09:14:08 grandpa kernel: module_register: module pci/rl already exists! Jul 9 09:14:08 grandpa kernel: Module pci/rl failed to register: 17 This means the driver is already in the kernel, so you do not need to load it manually by placing the if_rl_load=YES line in your loader.conf. Jul 9 09:14:08 grandpa kernel: pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0 Jul 9 09:14:08 grandpa kernel: pci5: ACPI PCI bus on pcib5 Jul 9 09:14:08 grandpa kernel: pci5: network, ethernet at device 2.0 (no driver attached) So the network card is found, but the rl driver doesn't detect that it's a Realtek NIC and bind to it. It may simply be a case of having to add the appropriate PCI device IDs to the driver. Could you provide the output of pciconf -lv? (what is plip0 - did not occur on FreeBSD 4.6?) This is the IP-over-parallel port interface; unless you're using a network connection over the parallel port you can usually disable this. Regards Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1 rl interface
Hi Antony, Thanks for that valuable information: Jul 9 09:14:08 grandpa kernel: module_register: module pci/rl already exists! Jul 9 09:14:08 grandpa kernel: Module pci/rl failed to register: 17 This means the driver is already in the kernel, so you do not need to load it manually by placing the if_rl_load=YES line in your loader.conf. OK, I've removed all references to if_rl and if_re from the loader.conf file, so this error is not occuring any more. Jul 9 09:14:08 grandpa kernel: pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0 Jul 9 09:14:08 grandpa kernel: pci5: ACPI PCI bus on pcib5 Jul 9 09:14:08 grandpa kernel: pci5: network, ethernet at device 2.0 (no driver attached) So the network card is found, but the rl driver doesn't detect that it's a Realtek NIC and bind to it. It may simply be a case of having to add the appropriate PCI device IDs to the driver. Could you provide the output of pciconf -lv? I'm not sure how to add the PCI device ID to the driver. The output from the `pciconf -lv` command is rather long, but here it is. The last 8 or so lines seem to be the ones of importance for this problem. I'm a bit puzzled by the line that says: [EMAIL PROTECTED]:2:0: class=0x02 card=0x chip=0x81391904 rev=0x01 hdr=0x00 The card=0x is a worry. Thanks heaps for your help. - [EMAIL PROTECTED]:0:0: class=0x06 card=0x544e8086 chip=0x27708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82945 Series Memory Controller Hub (MCH)' class= bridge subclass = HOST-PCI [EMAIL PROTECTED]:1:0: class=0x060400 card=0x0088 chip=0x27718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = 'PCI Express Graphics Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:27:0: class=0x040300 card=0x02028086 chip=0x27d88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) High Definition Audio' class= multimedia [EMAIL PROTECTED]:28:0: class=0x060400 card=0x0040 chip=0x27d08086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:28:2: class=0x060400 card=0x0040 chip=0x27d48086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:28:3: class=0x060400 card=0x0040 chip=0x27d68086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) PCI Express Root Port' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:29:0: class=0x0c0300 card=0x544e8086 chip=0x27c88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:1: class=0x0c0300 card=0x544e8086 chip=0x27c98086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:2: class=0x0c0300 card=0x544e8086 chip=0x27ca8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:3: class=0x0c0300 card=0x544e8086 chip=0x27cb8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB Universal Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:29:7: class=0x0c0320 card=0x544e8086 chip=0x27cc8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' class= serial bus subclass = USB [EMAIL PROTECTED]:30:0: class=0x060401 card=0x0050 chip=0x244e8086 rev=0xe1 hdr=0x01 vendor = 'Intel Corporation' device = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge' class= bridge subclass = PCI-PCI [EMAIL PROTECTED]:31:0: class=0x060100 card=0x544e8086 chip=0x27b88086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR (ICH7 Family) LPC Interface Controller' class= bridge subclass = PCI-ISA [EMAIL PROTECTED]:31:1: class=0x01018a card=0x544e8086 chip=0x27df8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801G (ICH7 Family) Ultra ATA Storage Controller' class= mass storage subclass = ATA [EMAIL PROTECTED]:31:2: class=0x01018f card=0x544e8086 chip=0x27c08086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller' class= mass storage subclass = ATA [EMAIL PROTECTED]:31:3: class=0x0c0500
FreeBSD 6.1 rl interface
Dear People, I'm hoping to upgrade from FreeBSD 4.6.1 on a Pentium II to FreeBSD 6.1 on a P5 3.2GHz. Of course, I'm doing a fresh install on the new system. There's been some annoyances - Openoffice.org is still at 1.1.5 rather than 2.0 on the release, and KDE desn't seem to want to run screen savers, sound does not work, etc, etc. I am working through these. But the killer is that I want to run 2 ethernet interfaces. The on-board one is fxp0 (Intel) and comes up fine. The other is a PCI card with the RealTek 8139D chipset, so I'm expecting a rl0 interface. I've put if_rl_load=YES into the /boot/loader.conf filem but the system does not seem to like it, giving me the message failed to register: 17 at module load time, and then no driver attached at bring-up-interface time. /var/log/messages extract is as follows: - Jul 9 09:14:08 grandpa kernel: FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 Jul 9 09:14:08 grandpa kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Jul 9 09:14:08 grandpa kernel: module_register: module pci/rl already exists! Jul 9 09:14:08 grandpa kernel: Module pci/rl failed to register: 17 Jul 9 09:14:08 grandpa kernel: module_register: module cardbus/rl already exists! Jul 9 09:14:08 grandpa kernel: Module cardbus/rl failed to register: 17 Jul 9 09:14:08 grandpa kernel: module_register: module rl/miibus already exists! Jul 9 09:14:08 grandpa kernel: Module rl/miibus failed to register: 17 . Jul 9 09:14:08 grandpa kernel: pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0 Jul 9 09:14:08 grandpa kernel: pci5: ACPI PCI bus on pcib5 Jul 9 09:14:08 grandpa kernel: pci5: network, ethernet at device 2.0 (no driver attached) Jul 9 09:14:08 grandpa kernel: fxp0: Intel 82801GB (ICH7) 10/100 Ethernet port 0x1100-0x113f mem 0x5200-0x52000fff i rq 20 at device 8.0 on pci5 Jul 9 09:14:08 grandpa kernel: miibus0: MII bus on fxp0 Jul 9 09:14:08 grandpa kernel: inphy0: i82562ET 10/100 media interface on miibus0 Jul 9 09:14:08 grandpa kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Jul 9 09:14:08 grandpa kernel: fxp0: Ethernet address: 00:16:76:75:db:28 Jul 9 09:14:08 grandpa kernel: isab0: PCI-ISA bridge at device 31.0 on pci0 Jul 9 09:14:08 grandpa kernel: isa0: ISA bus on isab0 - `ifconfig` gives the result: fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::216:76ff:fe75:db28%fxp0 prefixlen 64 scopeid 0x1 inet 192.168.87.7 netmask 0xfff0 broadcast 192.168.87.15 ether 00:16:76:75:db:28 media: Ethernet autoselect (10baseT/UTP) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 (what is plip0 - did not occur on FreeBSD 4.6?) The system is very much a straight out of the box, FreeBSD 6.1 release, as can be seen from the above extract, and the chip has RTL8139D printed on it (maybe rl is wrong, but re is the only other 8139 option, and it doesn't work either). Any clues would be most welcome. Thank you all very much. Cheers, Rob Hurle - Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013Fax: +61 2 6247 2397 AinslieCell phone: 0417 293 603 Australia e-mail: [EMAIL PROTECTED] - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]