mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
* RE: VIM1's wifi doesn't work after update to Linux 6.1
@ 2022-12-09 10:57 Christian Hewitt
  2022-12-12 12:57 ` Zhang Ning
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Hewitt @ 2022-12-09 10:57 UTC (permalink / raw)
  To: linux-amlogic, Martin Blumenstingl, Zhang Ning

[snip]

Hello Zhang,

I’ve test-booted a VIM1 using my current amlogic-6.1.y branch (based on rc8) and I don’t see an issue with WiFi:

http://ix.io/4i7M

Here’s the kernel source and defconfig:

https://github.com/chewitt/linux/commits/amlogic-6.1.y
https://github.com/chewitt/LibreELEC.tv/blob/amlogic/projects/Amlogic/linux/linux.aarch64.conf

In the LE image I have wlan0 and connman is listing services:

VIM1:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 16:A7:79:93:BE:EB  
         inet addr:192.168.20.12  Bcast:192.168.20.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1036 errors:0 dropped:0 overruns:0 frame:0
         TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:252473 (246.5 KiB)  TX bytes:134189 (131.0 KiB)
         Interrupt:32 
...

wlan0     Link encap:Ethernet  HWaddr CC:B8:A8:B5:9F:86  
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

VIM1:~ # connmanctl services
*AO Wired                ethernet_16a77993beeb_cable
*A  CIRCOLOCO            wifi_ccb8a8b59f86_434952434f4c4f434f_managed_psk

I’ve pushed an updated VIM1 image with that kernel here:

https://chewitt.libreelec.tv/testing/LibreELEC-AMLGX.arm-10.85.0-khadas-vim.img.gz

There are a couple of patches that tweak SDIO speeds in my tree, but none of them are new.

As it looks like you have some of my patches already; perhaps bisect my full patchset against default 6.1-rc8 to see if there’s a ‘fixing’ change?

Christian
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread
* VIM1's wifi doesn't work after update to Linux 6.1
@ 2022-12-08 13:02 Zhang Ning
  2022-12-08 21:40 ` Martin Blumenstingl
  2022-12-18  2:00 ` Zhang Ning
  0 siblings, 2 replies; 9+ messages in thread
From: Zhang Ning @ 2022-12-08 13:02 UTC (permalink / raw)
  To: linux-amlogic

Hi,

After update khadas VIM1's kernel to 6.1-rc7, WIFI stop working, with
below log:

[  363.591315] INFO: task kworker/0:2:157 blocked for more than 120 seconds.
[  363.598130]       Tainted: G         C         6.1.0-0-arm64 #1 Debian 6.1~rc7-2~exp1
[  363.605870] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  363.613682] task:kworker/0:2     state:D stack:0     pid:157   ppid:2      flags:0x00000008
[  363.621938] Workqueue: events sdio_irq_work
[  363.625989] Call trace:
[  363.628294]  __switch_to+0xe4/0x160
[  363.631812]  __schedule+0x340/0x970
[  363.635300]  schedule+0x58/0xf0
[  363.638351]  __mmc_claim_host+0x104/0x290
[  363.642371]  sdio_irq_work+0x2c/0x90
[  363.645861]  process_one_work+0x1f4/0x460
[  363.649879]  worker_thread+0x188/0x4d0
[  363.653547]  kthread+0xe0/0xe4
[  363.656523]  ret_from_fork+0x10/0x20
[  363.661253] INFO: task ksdioirqd/mmc2:408 blocked for more than 121 seconds.
[  363.668216]       Tainted: G         C         6.1.0-0-arm64 #1 Debian 6.1~rc7-2~exp1
[  363.674977] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  363.682750] task:ksdioirqd/mmc2  state:D stack:0     pid:408   ppid:2      flags:0x00000008
[  363.690961] Call trace:
[  363.693272]  __switch_to+0xe4/0x160
[  363.696715]  __schedule+0x340/0x970
[  363.700154]  schedule+0x58/0xf0
[  363.703285]  __mmc_claim_host+0x104/0x290
[  363.707243]  sdio_irq_thread+0x84/0x204
[  363.711000]  kthread+0xe0/0xe4
[  363.714056]  ret_from_fork+0x10/0x20

I searched linux-wireless and linux-amlogic maillist no similar issue
reported.

I applied "WIP-arm64-dts-meson-set-p212-p23x-q20x-SDIO-to-100MH.patch"
to VIM1's kernel 6.1.0-rc7, is it related?

thanks.
Ning.

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-05 20:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 10:57 VIM1's wifi doesn't work after update to Linux 6.1 Christian Hewitt
2022-12-12 12:57 ` Zhang Ning
2022-12-12 13:41   ` Christian Hewitt
  -- strict thread matches above, loose matches on Subject: below --
2022-12-08 13:02 Zhang Ning
2022-12-08 21:40 ` Martin Blumenstingl
2022-12-08 23:32   ` Zhang Ning
2022-12-09  0:26   ` Zhang Ning
     [not found]   ` <Y5KAxhvFzvoNYL2j@orangepipc>
2022-12-09  0:45     ` Zhang Ning
2022-12-18  2:00 ` Zhang Ning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®