No network connection with Gigabit RTL 8168B
Hi there,
I´m new to Haiku, using it for about one week and am impressed of its speed and the consistent environment. After HD-installation everything was fine, but no network connection. The network adapter does not appear in the device list of network configuration.
Here are the details of
listdev
device Network controller (Ethernet controller) [2|0|0] vendor 10ec: Realtek Semiconductor Co., Ltd. device 8168: RTL8111/8168B PCI Express Gigabit Ethernet controller
and related lines from syslog file:
KERN: rtl81xx: init_driver(0xcd730ed8) KERN: [rtl81xx] (re) bus_alloc_resource(3, [24], 0x0, 0xffffffff, 0x1,0x2) KERN: add_memory_type_range(3071, 0xfdfff000, 0x20000, 0) KERN: set MTRRs to: KERN: mtrr: 0: base: 0xef000, size: 0x1000, type: 0 KERN: mtrr: 1: base: 0xcfe80000, size: 0x80000, type: 0 KERN: mtrr: 2: base: 0xe0000000, size: 0x20000000, type: 0 KERN: mtrr: 3: base: 0xd0000000, size: 0x10000000, type: 1 KERN: [rtl81xx] (re) MSI count : 1 KERN: [rtl81xx] (re) MSI-X count : 0 KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 24 KERN: msi_allocate_vectors: allocated 1 vectors starting from 24 KERN: [rtl81xx] (re) Using 1 MSI message KERN: [rtl81xx] (re) bus_alloc_resource(1, [1], 0x0, 0xffffffff, 0x1,0x2) KERN: [rtl81xx] (re) Chip rev. 0x48000000 KERN: [rtl81xx] (re) MAC rev. 0x00000000 KERN: [rtl81xx] (re) Unknown H/W revision: 0x48000000 ... KERN: loaded driver /boot/home/config/add-ons/kernel/drivers/dev/net/rtl8139 KERN: loaded driver /boot/home/config/add-ons/kernel/drivers/dev/net/rtl8169 KERN: runtime_loader: Cannot open file libcrypto.so.0.9.8: No such file or directory ... KERN: devfs: reload driver "rtl8169" (3, 3193029) KERN: devfs: reload driver "rtl8139" (3, 3148230) KERN: rtl8139: init_driver KERN: init_driver: rtl8139 not found ... KERN: PCI: class_base 02, class_function 00, class_api 00 KERN: PCI: vendor 10ec: Realtek Semiconductor Co., Ltd. KERN: PCI: device 8168: RTL8111/8168B PCI Express Gigabit Ethernet controller KERN: PCI: info: Network controller (Ethernet controller) KERN: PCI: line_size 10, latency 00, header_type 00, BIST 00 KERN: PCI: ROM base host 00000000, pci 00000000, size 00000000 KERN: PCI: cardbus_CIS 00000000, subsystem_id 8505, subsystem_vendor_id 1043 KERN: PCI: interrupt_line 0a, interrupt_pin 01, min_grant 00, max_latency 00 KERN: PCI: base reg 0: host 0000e800, pci 0000e800, size 00000100, flags 01 KERN: PCI: base reg 1: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 2: host fdfff000, pci fdfff000, size 00001000, flags 0c KERN: PCI: base reg 3: host 00000000, pci 00000000, size 00000010, flags 0f KERN: PCI: base reg 4: host fdff8000, pci fdff8000, size 00004000, flags 0c KERN: PCI: base reg 5: host 00000000, pci 00000000, size 00000010, flags 0f KERN: PCI: Capabilities: PM, MSI, PCIe, MSI-X, VPD ... KERN: etherpci: init_driver init_driver: etherpci not found KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/pegasus KERN: rtl81xx: init_driver(0xcd730ed8) KERN: [rtl81xx] (re) bus_alloc_resource(3, [24], 0x0, 0xffffffff, 0x1,0x2) KERN: add_memory_type_range(3115, 0xfdfff000, 0x20000, 0) KERN: set MTRRs to: KERN: mtrr: 0: base: 0xef000, size: 0x1000, type: 0 KERN: mtrr: 1: base: 0xcfe80000, size: 0x80000, type: 0 KERN: mtrr: 2: base: 0xe0000000, size: 0x20000000, type: 0 KERN: mtrr: 3: base: 0xd0000000, size: 0x10000000, type: 1 KERN: [rtl81xx] (re) MSI count : 1 KERN: [rtl81xx] (re) MSI-X count : 0 KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting from 24 KERN: msi_allocate_vectors: allocated 1 vectors starting from 24 KERN: [rtl81xx] (re) Using 1 MSI message KERN: [rtl81xx] (re) bus_alloc_resource(1, [1], 0x0, 0xffffffff, 0x1,0x2) KERN: [rtl81xx] (re) Chip rev. 0x48000000 KERN: [rtl81xx] (re) MAC rev. 0x00000000 KERN: [rtl81xx] (re) Unknown H/W revision: 0x48000000
I searched in the Haiku source tree if my device is supported and found that it should be.
Maybe the problem is the hardware revision number. Haiku found 0x480000000, in the source for RTL81XX I found three spins with three different revision numbers
SPIN1 0x30000000
SPIN2 0x38000000
SPIN3 0x38400000
All of these numbers are different to mine. I don´t know what spin I have.
How can I find it out? And how can I change it in the driver?
BTW: I couldn´t read that the RTL81XX driver was loader, is it?
Hoping for your help!!

Comments
Re: No network connection with Gigabit RTL 8168B
It seems that your H/W revision 0x48000000 is supported in current version:
http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/network/r...
Try a nightly image http://haiku-files.org/haiku/development/
http://dev.haiku-os.org/ticket/9131 seems related too.
Re: No network connection with Gigabit RTL 8168B
Thanks for your instant reply Diver!
Does it matter that the H/W revision 0x480000000 is assigned to the RTL8168F (and not B)?
And if I can use it, how to go on. Do I have to compile the driver new? Sorry for that maybe stupid question, but I'm really a newbie...
A short instruction or link to it was very helpful to me.
Best regards...
rama65
Re: No network connection with Gigabit RTL 8168B
Just go to http://haiku-files.org/haiku/development/ and download the latest nightly image and install it.
Re: No network connection with Gigabit RTL 8168B
The nightly image didn´t work. The boot ends up in the KDM-console ... :-(
rama65
Re: No network connection with Gigabit RTL 8168B
Could you post the KDL message? Or rather take a photo?
Re: No network connection with Gigabit RTL 8168B
The message is:
PANIC: did not find any boot partitions!
Welcome ...
Thread 18 "main2" running on CPU 0
stack trace for thread 18 "main2"
kernel stack: 0x8242f000 to 0x82433000
Is this the required information?
rama65
Re: No network connection with Gigabit RTL 8168B
The KDL you encountered is a different problem than your network card. You can eventually submit a bug report if the problem persists (you need to know which revision/version was working before, which isn't anymore).