Opened 6 months ago

Last modified 5 months ago

#18941 new bug

Wifi+ethernet not working

Reported by: Abraaxnos Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Drivers/Network/rtl81xx Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I’m trying to get the wifi and the network working on a laptop with Haiku on it, but not succeeding.Does anybody has any suggestions how to fix?

The laptop is a Compaq CQ58 from 2013. It contains ethernet hardware type Realtek RTL8010xE and for wifi a Ralink RT3290. Both PCI express. The wifi chipset apparantly doubles for BlueTooth functionality. There is also Ralink BlueTooth info, left that out below. UEFI/secure boot is disabled.

Network (under Preferences->Network shows information on Services (DNS settings FTP server etc) but there is no wifi info or buttons. So the laptop can not connect to any wifi. Plugging in a network cable doesn’t give network connectivity.

AboutSys states as version ‘R1/beta4 (Revisions hrev5678+59) x86_64’. It states under Kernel ‘December 17,2022 at 7:02:22 AM’. The iso used was haiku-r1beta4-x86_64-anyboot.iso.

Fragments of /var/log/syslog:

KERN: vesa: vesa_init() completed successfully! KERN: vesa: acc: vesa.accelerant KERN: Running first login script /boot/system/boot/first-login/default_deskbar_items.sh … … KERN: package_daemon: [14910980: 512] active package: “realtek_wifi_firmwares-2019_01_02-1-any.hpkg” … KERN: package_daemon: [14910856: 512] KERN: active package: “ralink_wifi_firmwares-2015_02_11-2-any.hpkg” … KERN: PCI: [dom 0, bus 4] bus 4, device 0, function 0: vendor 1814, device 3290, revision 00 KERN: PCI: class_base 02, class_function 80, class_api 00 KERN: PCI: vendor 1814: Ralink corp. KERN: PCI: device 3290: RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter) KERN: PCI: info: Network controller KERN: PCI: line_size 10, latency 00, header_type 80, BIST 00 KERN: PCI: ROM base host 00000000, pci 00000000, size 00000000 KERN: PCI: cardbus_CIS 00000000, subsystem_id 18ec, subsystem_vendor_id 103c KERN: PCI: interrupt_line 0a, interrupt_pin 01, min_grant 00, max_latency 00 KERN: PCI: base reg 0: host f0110000, pci f0110000, size 00010000, flags 00 KERN: PCI: base reg 1: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 2: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 3: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 4: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 5: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: Capabilities: PM, MSI, PCIe KERN: PCI: Extended capabilities: Advanced Error Reporting, Serial Number … KERN: PCI: [dom 0, bus 3] bus 3, device 0, function 0: vendor 10ec, device 8136, revision 05 KERN: PCI: class_base 02, class_function 00, class_api 00 KERN: PCI: vendor 10ec: Realtek Semiconductor Co., Ltd. KERN: PCI: device 8136: RTL810xE PCI Express Fast 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 1885, subsystem_vendor_id 103c KERN: PCI: interrupt_line 07, interrupt_pin 01, min_grant 00, max_latency 00 KERN: PCI: base reg 0: host 00002000, pci 00002000, size 00000100, flags 01 KERN: PCI: base reg 1: host 00000000, pci 00000000, size 00000000, flags 00 KERN: PCI: base reg 2: host 00000000f0004000, pci 00000000f0004000, size 00001000, flags 0c 00 KERN: PCI: base reg 4: host 00000000f0000000, pci 00000000f0000000, size 00004000, flags 0c 00 KERN: PCI: Capabilities: PM, MSI, PCIe, MSI-X, VPD KERN: PCI: Extended capabilities: Advanced Error Reporting, Virtual Channel, Serial Number

(reboots give similar outputs, except the Running first login script/package_daemon lines are missing).

The directory /dev/net is empty, even after running install-wifi-hardwares.sh:

→ ls /dev/net →

running ifconfig gives:

loop Hardware type: Local Loopback, Address: none inet addr: 127.0.0.1, Mask: 255.0.0.0 inet6 addr: ::1, Prefix Length: 128 MTU: 16384, Metric: 0, up loopback link Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped Collisions: 0

Below partial output of listimage. The texts Realtek, Ralink or wifi are not found in the file. TEAM 832 (/boot/system/preferences/Network): ID Text Data Seq# Init# Name

4600 0x00000126e4b61000 0x00000126e4d88000 0 0 /boot/system/preferences/Network 4598 0x00007fda1c880000 0x0000000000000000 0 0 commpage 4599 0x000000b47628b000 0x000000b4764a8000 0 0 /boot/system/runtime_loader 4601 0x0000005cddb0d000 0x0000005cde03b000 0 0 /boot/system/lib/libbe.so 4602 0x000001204b604000 0x000001204b83d000 0 0 /boot/system/lib/libbnetapi.so 4603 0x0000008c98d69000 0x0000008c99149000 0 0 /boot/system/lib/libstdc++.so.6.0.29 4604 0x000001b6660ef000 0x000001b666401000 0 0 /boot/system/lib/libroot.so 4605 0x000000d5c678c000 0x000000d5c69a2000 0 0 /boot/system/lib/libgcc_s.so.1 4606 0x000000044a334000 0x000000044a534000 0 0 /boot/system/lib/libicudata.so.66.1 4607 0x0000010e25b99000 0x0000010e2608f000 0 0 /boot/system/lib/libicui18n.so.66.1 4608 0x0000019c8da52000 0x0000019c8dc5d000 0 0 /boot/system/lib/libicuio.so.66.1 4609 0x0000002375ad0000 0x0000002375ea4000 0 0 /boot/system/lib/libicuuc.so.66.1 4610 0x0000003a238e3000 0x0000003a23af8000 0 0 /boot/system/lib/libz.so.1.2.13 4611 0x0000018fad375000 0x0000018fad633000 0 0 /boot/system/lib/libzstd.so.1.5.2 4612 0x0000010728c2a000 0x0000010728e6a000 0 0 /boot/system/lib/libnetwork.so 4613 0x000001b5e2de4000 0x000001b5e3202000 0 0 /boot/system/lib/libcrypto.so.1.1 4614 0x00000187d4a93000 0x00000187d4d19000 0 0 /boot/system/lib/libssl.so.1.1 4615 0x0000008512628000 0x0000008512831000 0 0 /boot/system/lib/libbsd.so 4617 0x0000016959dd4000 0x0000016959fdb000 0 0 /boot/system/add-ons/locale/catalogs/plaintext 4618 0x000002538e8c1000 0x000002538eac8000 0 0 /boot/system/add-ons/Network Settings/DNSClientService 4619 0x000001540da57000 0x000001540dc59000 0 0 /boot/system/add-ons/Network Settings/FTPService 4620 0x0000001799242000 0x0000001799447000 0 0 /boot/system/add-ons/Network Settings/Hostname 4621 0x0000011a6506e000 0x0000011a65270000 0 0 /boot/system/add-ons/Network Settings/IPv4Interface 4622 0x00000182d3c67000 0x00000182d3e69000 0 0 /boot/system/add-ons/Network Settings/IPv6Interface 4623 0x000000419152e000 0x0000004191733000 0 0 /boot/system/add-ons/Network Settings/SSHService 4624 0x000001b224420000 0x000001b224622000 0 0 /boot/system/add-ons/Network Settings/TelnetService

Below partial output of listdev:

device Network controller (Ethernet controller) [2|0|0] vendor 10ec: Realtek Semiconductor Co., Ltd. device 8136: RTL810xE PCI Express Fast Ethernet Controller … device Network controller [2|80|0] vendor 1814: Ralink corp. device 3298: RT3290 Bluetooth

When reporting this issue in the forum (https://discuss.haiku-os.org/t/wifi-ethernet-not-working/15217/2), the suggestion came op to try a nightly build. I've tried hrev57804. The bug is still there. The info above is for the R1/beta4 release, though.

The suggestion to include hardware-info was also there. Not so familiar with Haiku, I don't know how to do that. syslog info is reported.

Attachments (6)

listdev.txt (3.9 KB ) - added by Abraaxnos 5 months ago.
listdev-d.txt (60.7 KB ) - added by Abraaxnos 5 months ago.
listimage.txt (43.3 KB ) - added by Abraaxnos 5 months ago.
listusb.txt (426 bytes ) - added by Abraaxnos 5 months ago.
listusb-v.txt (22.2 KB ) - added by Abraaxnos 5 months ago.
syslog (143.1 KB ) - added by Abraaxnos 5 months ago.

Download all attachments as: .zip

Change History (17)

comment:1 by nephele, 6 months ago

Please add the complete system log as a file on the bugtracker, the hardware info can be obtained qith „listdev -v“ in the terminal

in reply to:  description comment:2 by kim1963, 6 months ago

In Terminal

listdev

listusb

listusb -v

PS. hardware info

In Terminal

listimage

PS. kernel modules/drivers info

Last edited 5 months ago by kim1963 (previous) (diff)

comment:3 by Abraaxnos, 5 months ago

Have attached output of: listdev listdev -d listimage listusb listusb -v syslog

listdev -v gives: usage: listdev [-d] Displays devices in a user friendly way -d :dumps the tree

PS hardware info gives: bash: PS: command not found

ps hardware info gives empty string

ps kernel modules/drivers info gives empty string

Note: comment above and added files are from a fresh R1/beta4 install. Different install but expected to be identical.

Last edited 5 months ago by Abraaxnos (previous) (diff)

by Abraaxnos, 5 months ago

Attachment: listdev.txt added

by Abraaxnos, 5 months ago

Attachment: listdev-d.txt added

by Abraaxnos, 5 months ago

Attachment: listimage.txt added

by Abraaxnos, 5 months ago

Attachment: listusb.txt added

by Abraaxnos, 5 months ago

Attachment: listusb-v.txt added

by Abraaxnos, 5 months ago

Attachment: syslog added

comment:6 by Abraaxnos, 5 months ago

Ah, was an old version. Missed that... I'll report next week on how the latest nightly works. Next days are quite busy. Thanks for the help.

comment:7 by Abraaxnos, 5 months ago

Hi all,

Installed version hrev57881. Still no ethernet connection.

I'm starting to give up on this. If there is something small I can do to track the bug, ok, otherwise I'll just except that I can't run Haiku on that laptop.

Maybe create a Haiku diagnostics tool? Could be a simple bash script outputting (the tail of) syslog and the output of the other commands requested.

Best wishes Abraxnos

comment:8 by nephele, 5 months ago

Hay Abraxnos,

If the device does not show up in preferences/network then there indeed is *no* driver available. There was no recent work on this, and I doubt there will be before impending beta5.

Does your ethernet controller show up there at least?

If it does not for the moment a workourand would be a usb ethernet adapter, but that is certainly not ideal.

Regards

comment:9 by korli, 5 months ago

the ethernet driver failed to init the device:

KERN: [rtl81xx] (re) Using 1 MSI-X message
1505	KERN: [rtl81xx] (re) bus_alloc_resource(1, [1], 0x0, 0xffffffffffffffff, 0x1,0x2)
1506	KERN: [rtl81xx] (re) turning off MSI enable bit.
1507	KERN: [rtl81xx] (re) ASPM disabled
1508	KERN: [rtl81xx] (re) Chip rev. 0x7c800000
1509	KERN: [rtl81xx] (re) MAC rev. 0x00700000
1510	KERN: [rtl81xx] (re) reset never completed!
1511	KERN: [rtl81xx] (re) PHY write failed
1512	Last message repeated 1 time
1513	KERN: if_initname(0xffffffff8eb2b800, re, 29)
1514	KERN: [rtl81xx] rtl81xx: /dev/net/rtl81xx/0
1515	KERN: [rtl81xx] (re) attaching PHYs failed

comment:10 by Abraaxnos, 5 months ago

Hi all,

No, the ethernet controller doesn't show up. The network just shows the services block. I can try the usb dongle then.

Ah, the driver initialisation failed.... that explains.

Anyway, thanks for all your support and hard work.

Best wishes Abraxnos

comment:11 by waddlesplash, 5 months ago

Component: Drivers/NetworkDrivers/Network/rtl81xx
Platform: x86-64All
Note: See TracTickets for help on using tickets.