Opened 8 months ago

Last modified 4 months ago

#14521 new bug

[atheroswifi] (ath_pci) unable to attach hardware; HAL status 3

Reported by: LeapingFrog Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/atheroswifi Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by diver)

haiku-master-hrev52357-x86_gcc2_hybrid-anyboot

Failure in Setting up Atheros Wireless Network Adapter (WIFI on PC: FM V-Bibilo Loox U50X/V)

installed on PC (FM V-Bibilo Loox U50X/V) via USB
fails to set-up WIFI.
In the Terminal, I could not configure WIFI:
ifconfig does not detect WIFI.
However, listdev knows the device for WIFI.
In the syslog, an error is reported in the process of setting up atheroswifi .

~/documents/enter_Haiku> ls /dev/net
rtl8139
~/documents/enter_Haiku> ifconfig -a
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

/dev/net/rtl8139/0
        Hardware type: Ethernet, Address: 00:17:42:8a:ec:78
        inet addr: --, Bcast: --, Mask: --
        MTU: 1500, Metric: 0, up broadcast
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0

~/documents/enter_Haiku> listdev 
...
device Network controller (Ethernet controller) [2|0|0]
  vendor 10ec: Realtek Semiconductor Co., Ltd.
  device 8139: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
...
device Network controller (Ethernet controller) [2|0|0]
  vendor 168c: Qualcomm Atheros
  device 001c: AR242x / AR542x Wireless Network Adapter (PCI-Express)
...

...
KERN: package_daemon [30308584:   337] Volume::InitialVerify(): volume at "/boot/home/config" is consistent
KERN: [atheroswifi] (ath_pci) bus_alloc_resource(3, [16], 0x0, 0xffffffff, 0x1,0x2)
KERN: add_memory_type_range(4011, 0xf0000000, 0x10000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0x3f670000, size:    0x10000, type: 0
KERN:   mtrr:  1: base: 0x3f680000, size:    0x80000, type: 0
KERN:   mtrr:  2: base: 0xf0000000, size: 0x10000000, type: 0
KERN:   mtrr:  3: base: 0x80000000, size: 0x80000000, type: 1
KERN: [atheroswifi] (ath_pci) bus_alloc_resource(1, [0], 0x0, 0xffffffff, 0x1,0x6)
KERN: [atheroswifi] (ath_pci) unable to attach hardware; HAL status 3
KERN: remove_memory_type_range(4011, 0xf0000000, 0x10000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0x3f670000, size:    0x10000, type: 0
KERN:   mtrr:  1: base: 0x3f680000, size:    0x80000, type: 0
KERN:   mtrr:  2: base: 0xf0000000, size: 0x10000000, type: 0
KERN:   mtrr:  3: base: 0x80000000, size: 0x80000000, type: 1
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/input/usb_hid
...

I verified the WIFI by rebooting Windows Vista.
Windows Vista detects WIFI and routers.
After that I rebooted to Haiku again.
Then, I collected the data and included in this bug-report.

Attachments (2)

syslog20180925a.txt (135.8 KB) - added by LeapingFrog 8 months ago.
syslog of failure of wifi
syslog20180925b.txt (125.1 KB) - added by LeapingFrog 8 months ago.
another syslog of failure of wifi

Download all attachments as: .zip

Change History (14)

comment:1 Changed 8 months ago by LeapingFrog

I missed the entry "Platform". Should I put the machine's type in this entry?

comment:2 Changed 8 months ago by diver

Component: - GeneralDrivers/Network/atheroswifi
Description: modified (diff)
Owner: changed from nobody to waddlesplash
Summary: Failure in Setting up Atheros Wireless Network Adapter (WIFI on PC: FM V-Bibilo Loox U50X/V)[atheroswifi] (ath_pci) unable to attach hardware; HAL status 3

comment:3 Changed 8 months ago by diver

Please attach your full syslog.

comment:4 Changed 8 months ago by LeapingFrog

I clean installed Haiku OS again and took syslog.

Process was: Booting from HD (ended up in black screen) --> rebooting from USB --> backing-up syslog --> rebooting from HD (with fail-safe-video-mode) --> copied syslog to USB.

WIFI is not functioning yet.

Syslog of first booting (witout fail-safe-video-mode)

Last edited 6 months ago by waddlesplash (previous) (diff)

comment:5 Changed 8 months ago by LeapingFrog

Second Booting (with fail-safe-video-mode set in the booting process).

Last edited 6 months ago by waddlesplash (previous) (diff)

comment:6 Changed 8 months ago by LeapingFrog

If it is sensible to create new ticket for "black screen after rocket is lit in the Haiku splash" on my machine, I will do it. Before that I will try to find some information in the forum. So, take these two syslogs as two examples of failure in setting up WIFI.

comment:7 Changed 8 months ago by LeapingFrog

I take this opportunity of participating Haiku project. I admit I can assign only limited time to this project. On the other hand, I can manage 2 or may be 3 partitions of different revisions of Haiku. I can compare syslogs of those revisions with varying debugging options. Of course I can report the result.

comment:8 Changed 8 months ago by korli

"attach" meant attach a syslog file to the ticket.

Changed 8 months ago by LeapingFrog

Attachment: syslog20180925a.txt added

syslog of failure of wifi

Changed 8 months ago by LeapingFrog

Attachment: syslog20180925b.txt added

another syslog of failure of wifi

comment:9 Changed 8 months ago by LeapingFrog

Yes, I managed attach syslogs.

comment:10 Changed 8 months ago by michaelvoliveira

BETA 1, same bug here

device Network Controller [ 2/80/0 ]
vendor 168c: Qualcomm Atheros
device 002e: AR9287 Wireless
Network Adapter (PCI-Express)

KERN: [atheroswifi] (ath_pci) bus_alloc_resource(3,[16],0x0,0xffffffffffffffff,0x1,0x2)
KERN: add_memory_type_range(10779,0xdfc00000,0x10000,0)
KERN: set MTRRs to:
(...)
KERN: [atheroswifi] (ath_pci) bus_alloc_resource(1,[0],0x0,0xffffffffffffffff,0x1,0x6)
KERN: [atheroswifi] (ath_pci) unable to attach hardware; HAL status 3
KERN: remove_memory_type_range(10779,0xdfc00000,0x10000,0)


the source is on the tree

[​https://github.com/haiku/haiku/blob/master/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ar9287.ini]

Last edited 8 months ago by michaelvoliveira (previous) (diff)

comment:11 Changed 6 months ago by waddlesplash

Does this device work on FreeBSD?

comment:12 Changed 4 months ago by waddlesplash

Please retest after hrev52726.

Note: See TracTickets for help on using tickets.