View Issue Details

IDProjectCategoryView StatusLast Update
0001413channel: elrepo/el8kmod-ath5kpublic2024-03-25 22:44
ReporterGZU Assigned Totqhoang  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Summary0001413: kmod-ath5k not working for Compaq C700 Rocky 8.9
DescriptionUpgraded recently to Rocky 8.9 from 8.8, wifi stopped working.

Rocky 8.9 kernel
Linux wee-numpty 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Wed Nov 29 18:55:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

kmod-ath5k version

kmod-ath5k.x86_64 0.0-11.el8_9.elrepo @elrepo

Error in /var/log/messages

Jan 8 00:54:34 wee-numpty kernel: Hardware name: Hewlett-Packard Compaq Presario C700 Notebook PC/30D9, BIOS F.35 03/29/2010
Jan 8 00:54:34 wee-numpty kernel: RIP: 0010:ieee80211_alloc_hw_nm+0x62/0x6d0 [mac80211]
Jan 8 00:54:34 wee-numpty kernel: Code: 00 00 00 00 74 24 48 83 be f8 02 00 00 00 74 1a 48 83 be 40 01 00 00 00 74 2c 48 83 be 08 01 00 00 00 74 18 0f 0b 31 ed eb 04 <0f> 0b 31 ed 5b 48 89 e8 5d 41 5c 41 5d e9 0c e1 ff f7 48 83 be 10
Jan 8 00:54:34 wee-numpty kernel: RSP: 0000:ffffb01cc0c53ad0 EFLAGS: 00010246
Jan 8 00:54:34 wee-numpty kernel: RAX: ffffb01cc0d40000 RBX: ffff9088fc2af000 RCX: 00000000000d130f
Jan 8 00:54:34 wee-numpty kernel: RDX: 0000000000000000 RSI: ffffffffc052fa00 RDI: 0000000000007b20
Jan 8 00:54:34 wee-numpty kernel: RBP: ffff9088fc2af0b8 R08: ffff90884744dc68 R09: ffffb01cc10a5000
Jan 8 00:54:34 wee-numpty kernel: R10: ffffb01cc07a1000 R11: 0000000000010000 R12: ffffffffc05371c0
Jan 8 00:54:34 wee-numpty kernel: R13: ffffb01cc0d40000 R14: ffffffffc05300a0 R15: ffffb01cc0c53e98
Jan 8 00:54:34 wee-numpty kernel: FS: 00007fe5b230b280(0000) GS:ffff9088fc300000(0000) knlGS:0000000000000000
Jan 8 00:54:34 wee-numpty kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 8 00:54:34 wee-numpty kernel: CR2: 000055f56eb9d000 CR3: 000000008c0fe000 CR4: 00000000000006e0
Jan 8 00:54:34 wee-numpty kernel: Call Trace:
Jan 8 00:54:34 wee-numpty kernel: ? __warn+0x94/0xe0
Jan 8 00:54:34 wee-numpty kernel: ? ieee80211_alloc_hw_nm+0x62/0x6d0 [mac80211]
Jan 8 00:54:34 wee-numpty kernel: ? ieee80211_alloc_hw_nm+0x62/0x6d0 [mac80211]
Jan 8 00:54:34 wee-numpty kernel: ? report_bug+0xb1/0xe0
Jan 8 00:54:34 wee-numpty kernel: ? do_error_trap+0x9e/0xd0
Jan 8 00:54:34 wee-numpty kernel: ? do_invalid_op+0x36/0x40
Jan 8 00:54:34 wee-numpty kernel: ? ieee80211_alloc_hw_nm+0x62/0x6d0 [mac80211]
Jan 8 00:54:34 wee-numpty kernel: ? invalid_op+0x14/0x20
Jan 8 00:54:34 wee-numpty kernel: ? ieee80211_alloc_hw_nm+0x62/0x6d0 [mac80211]
Jan 8 00:54:34 wee-numpty kernel: ath5k_pci_probe+0xe3/0x110 [ath5k]
Jan 8 00:54:34 wee-numpty kernel: local_pci_probe+0x42/0x80
Jan 8 00:54:34 wee-numpty kernel: pci_device_probe+0x109/0x1c0
Jan 8 00:54:34 wee-numpty kernel: __driver_probe_device+0x141/0x450
Jan 8 00:54:34 wee-numpty kernel: driver_probe_device+0x1f/0x90
Jan 8 00:54:34 wee-numpty kernel: ? __device_attach_driver+0x110/0x110
Jan 8 00:54:34 wee-numpty kernel: __driver_attach+0x7f/0x170
Jan 8 00:54:34 wee-numpty kernel: ? __device_attach_driver+0x110/0x110
Jan 8 00:54:34 wee-numpty kernel: bus_for_each_dev+0x7b/0xd0
Jan 8 00:54:34 wee-numpty kernel: bus_add_driver+0x148/0x200
Jan 8 00:54:34 wee-numpty kernel: ? 0xffffffffc053d000
Jan 8 00:54:34 wee-numpty kernel: driver_register+0x6e/0xc0
Jan 8 00:54:34 wee-numpty kernel: ? 0xffffffffc053d000
Jan 8 00:54:34 wee-numpty kernel: do_one_initcall+0x46/0x1d0
Jan 8 00:54:34 wee-numpty kernel: ? do_init_module+0x22/0x230
Jan 8 00:54:34 wee-numpty kernel: ? kmem_cache_alloc_trace+0x142/0x280
Jan 8 00:54:34 wee-numpty kernel: do_init_module+0x5a/0x230
Jan 8 00:54:34 wee-numpty kernel: load_module+0x1547/0x1880
Jan 8 00:54:34 wee-numpty kernel: ? __do_sys_finit_module+0xb1/0x110
Jan 8 00:54:34 wee-numpty kernel: __do_sys_finit_module+0xb1/0x110
Jan 8 00:54:34 wee-numpty kernel: do_syscall_64+0x5b/0x1b0
Jan 8 00:54:34 wee-numpty kernel: entry_SYSCALL_64_after_hwframe+0x61/0xc6
Jan 8 00:54:34 wee-numpty kernel: RIP: 0033:0x7fe5b0e1a9bd
Jan 8 00:54:34 wee-numpty kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 9b 54 38 00 f7 d8 64 89 01 48
Jan 8 00:54:34 wee-numpty kernel: RSP: 002b:00007ffe775ec858 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Jan 8 00:54:34 wee-numpty kernel: RAX: ffffffffffffffda RBX: 000055f56dfadb20 RCX: 00007fe5b0e1a9bd
Jan 8 00:54:34 wee-numpty kernel: RDX: 0000000000000000 RSI: 00007fe5b1a4c86d RDI: 0000000000000012
Jan 8 00:54:34 wee-numpty kernel: RBP: 00007fe5b1a4c86d R08: 0000000000000000 R09: 00007ffe775ec980
Jan 8 00:54:34 wee-numpty kernel: R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000
Jan 8 00:54:34 wee-numpty kernel: R13: 000055f56dfb1de0 R14: 0000000000020000 R15: 0000000000000000
Jan 8 00:54:34 wee-numpty kernel: ---[ end trace beb345d8a3808431 ]---
Jan 8 00:54:34 wee-numpty kernel: ath5k 0000:01:00.0: cannot allocate ieee80211_hw
Jan 8 00:54:34 wee-numpty kernel: ath5k: probe of 0000:01:00.0 failed with error -12

Steps To Reproduceupgrade Rocky to version 8.9 and most recent kmod-ath5k
wifi no longer works
Additional Informationprevious working versions on Compaq C700
kernel-core-4.18.0-477.27.1.el8_8.x86_64
kmod-ath5k-0.0-10.el8_8.elrepo.x86_64
Tagsrocky, wireless

Relationships

related to 0001436 closedtqhoang kmod-iwlegacy fails to load under EL 8.9 
related to 0001437 closedtqhoang kmod-rtl8187 fails to load under EL 8.9 

Activities

pperry

2024-01-07 08:12

administrator   ~0009481

Hi,

Did it work with the original el8.9 release kernel (4.18.0-513.5.1.el8_9)?

Thanks

GZU

2024-01-07 16:32

reporter   ~0009482

Hi,

No it didn't work with 4.18.0-513.5.1.el8_9, I had to downgrade the kernel and the kmod-ath5k packages.
Only recently had time to try again and report the bug.

Regards

toracat

2024-01-07 21:04

administrator   ~0009483

Could you do a test-install of elrepo's kernel-ml?

https://elrepo.org/tiki/kernel-ml

This will tell us if the latest code for the ath5k driver works.

GZU

2024-01-08 03:21

reporter   ~0009484

Hi,
After installing kernel-ml (6.6.10-1) both
kmod-ath5k-0.0-10 (rocky 8.8)
and
kmod-ath5k-0.0-11 (rocky 8.9)
seem to work OK.

pperry

2024-01-08 05:15

administrator   ~0009485

Hi,
When you are running kernel-ml-6.6.10, it is using the in-kernel ath5k driver, not the kmod-supplied driver (which will only work - or not in this case - with the distro kernel)
You can use kernel-ml (a newer kernel) as a workaround, until we are able to figure out why kmod-ath5k is not working with the distro kernel.
Anyway, glad you have a working solution for now. I will update this ticket if we are able to provide a fix for kmod-ath5k

tqhoang

2024-03-23 23:15

manager   ~0009625

Last edited: 2024-03-25 16:40

We have a fix for the Atheros ath5k driver issue. I was able to test it against the following hardware:
- D-Link DWL-G520 (rev B3) PCI
- D-Link DWL-G650 (rev B5) PC Cardbus
- NETGEAR WG311T (rev A2) PCI
- NETGEAR WG511T (rev 3) PC Cardbus

The following files should be syncing to our mirrors:
kmod-ath5k-0.0-12.el8_9.elrepo.x86_64.rpm
kmod-ath5k-0.0-12.el8_9.elrepo.src.rpm

Can you please test against any of the stock RHEL 8.9 kernels and provide feedback?

GZU

2024-03-25 18:47

reporter   ~0009630

Hi
I can confirm that the ath5k driver is now working OK for my HP Compaq C700 laptop (most recent kernel).
Thanks for continuing to support this driver.
Regards,

tqhoang

2024-03-25 22:44

manager   ~0009631

Thank you for confirming the fix on your hardware. I'm closing this issue, but please open a new one if you have any issues.

Issue History

Date Modified Username Field Change
2024-01-06 23:29 GZU New Issue
2024-01-06 23:29 GZU Status new => assigned
2024-01-06 23:29 GZU Assigned To => pperry
2024-01-06 23:29 GZU Tag Attached: rocky
2024-01-06 23:29 GZU Tag Attached: wireless
2024-01-07 08:12 pperry Note Added: 0009481
2024-01-07 16:32 GZU Note Added: 0009482
2024-01-07 21:04 toracat Note Added: 0009483
2024-01-08 03:21 GZU Note Added: 0009484
2024-01-08 05:15 pperry Note Added: 0009485
2024-03-23 09:31 tqhoang Assigned To pperry => tqhoang
2024-03-23 23:15 tqhoang Note Added: 0009625
2024-03-23 23:15 tqhoang Status assigned => feedback
2024-03-24 09:10 tqhoang Relationship added related to 0001436
2024-03-25 10:06 tqhoang Relationship added related to 0001437
2024-03-25 16:40 tqhoang Note Edited: 0009625
2024-03-25 18:47 GZU Note Added: 0009630
2024-03-25 18:47 GZU Status feedback => assigned
2024-03-25 22:44 tqhoang Status assigned => closed
2024-03-25 22:44 tqhoang Resolution open => fixed
2024-03-25 22:44 tqhoang Note Added: 0009631