Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 19:02 schrieb Felix Fietkau: Fix pushed, thanks for testing. - Felix It fixes my issue too. In bonding_enable_port() and bridge_enable_member() is in the middle a 'return -1'. In all error cases before and afterwards is located a 'goto ...' to revert some things. Is

Re: Wifi bug

2021-09-27 Thread Felix Fietkau
On 2021-09-27 18:30, Hannu Nyman wrote: > Felix Fietkau kirjoitti 27.9.2021 klo 19.17: >> On 2021-09-27 17:45, Hannu Nyman wrote: >>> Felix Fietkau kirjoitti 27.9.2021 klo 13.59: On a crash, it should drop a .core file to /tmp. Please copy that to your build host and use

Re: Wifi bug

2021-09-27 Thread Hannu Nyman
Felix Fietkau kirjoitti 27.9.2021 klo 19.17: On 2021-09-27 17:45, Hannu Nyman wrote: Felix Fietkau kirjoitti 27.9.2021 klo 13.59: On a crash, it should drop a .core file to /tmp. Please copy that to your build host and use ./scripts/remote-gdb to obtain a backtrace from it. I'd like to know,

Re: Wifi bug

2021-09-27 Thread Felix Fietkau
On 2021-09-27 17:45, Hannu Nyman wrote: > Felix Fietkau kirjoitti 27.9.2021 klo 13.59: >> On a crash, it should drop a .core file to /tmp. Please copy that to >> your build host and use ./scripts/remote-gdb to obtain a backtrace from >> it. I'd like to know, which line of code in netifd it crashes

Re: Wifi bug

2021-09-27 Thread Hannu Nyman
Felix Fietkau kirjoitti 27.9.2021 klo 13.59: On a crash, it should drop a .core file to /tmp. Please copy that to your build host and use ./scripts/remote-gdb to obtain a backtrace from it. I'd like to know, which line of code in netifd it crashes on, so I can fix it. So far the bug has not

Re: Wifi bug

2021-09-27 Thread Hannu Nyman
e9hack kirjoitti 27.9.2021 klo 16.39: Am 27.09.2021 um 14:01 schrieb Felix Fietkau: Normally it should be active by default. Is CONFIG_KERNEL_ELF_CORE set in your .config? It was not activated, but the output from gdb looks not so helpful:

Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 14:01 schrieb Felix Fietkau: Normally it should be active by default. Is CONFIG_KERNEL_ELF_CORE set in your .config? It was not activated, but the output from gdb looks not so helpful:

Re: Wifi bug

2021-09-27 Thread Felix Fietkau
On 2021-09-27 13:33, e9hack wrote: > Am 27.09.2021 um 12:59 schrieb Felix Fietkau: >> >> Hi, >> >> >> On 2021-09-26 14:48, e9hack wrote: >>> Do you see a page fault from netifd in the log? If it does crash, it is >>> restarted by procd. This does restart the network stack. If I start netifd

Re: Wifi bug

2021-09-27 Thread e9hack
Am 27.09.2021 um 12:59 schrieb Felix Fietkau: Hi, On 2021-09-26 14:48, e9hack wrote: Do you see a page fault from netifd in the log? If it does crash, it is restarted by procd. This does restart the network stack. If I start netifd with strace, I got this lines immediately before the page

Re: Wifi bug

2021-09-27 Thread Felix Fietkau
Hi, On 2021-09-26 14:48, e9hack wrote: > Do you see a page fault from netifd in the log? If it does crash, it is > restarted by procd. This does restart the network stack. If I start netifd > with strace, I got this lines immediately before the page fault: > >

Re: Wifi bug

2021-09-26 Thread Henrique de Moraes Holschuh
On 26/09/2021 06:28, Henrique de Moraes Holschuh wrote: On 24/09/2021 17:04, e9hack wrote: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. What version of

Re: Wifi bug

2021-09-26 Thread Hannu Nyman
e9hack kirjoitti 26.9.2021 klo 15.48: Am 26.09.2021 um 12:54 schrieb Hannu Nyman: e9hack kirjoitti 26.9.2021 klo 10.02: Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work

Re: Wifi bug

2021-09-26 Thread e9hack
Am 26.09.2021 um 12:54 schrieb Hannu Nyman: e9hack kirjoitti 26.9.2021 klo 10.02: Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is

Re: Wifi bug

2021-09-26 Thread Hannu Nyman
e9hack kirjoitti 26.9.2021 klo 10.02: Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. It may be related to a page

Re: Wifi bug

2021-09-26 Thread Henrique de Moraes Holschuh
On 24/09/2021 17:04, e9hack wrote: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. What version of openwrt, please? And if you could be more specific than

Re: Wifi bug

2021-09-26 Thread e9hack
Am 24.09.2021 um 22:04 schrieb e9hack: In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. It may be related to a page fault of netifd. Netifd is restart

Wifi bug

2021-09-24 Thread e9hack
In the past (a few days ago), it was possible to disable or shut-down wifi by introduce the command 'wifi down'. This doesn't work currently. After some seconds, wifi is start again. Regards, Hartmut ___ openwrt-devel mailing list