Bug#973921: Kernel trace: connmand tainted (PHY driver not loaded?)

2021-02-14 Thread Camaleón
Version: 5.10.0-3

El 2021-02-14 a las 09:25 +0100, Salvatore Bonaccorso escribió:

> On Sat, Nov 07, 2020 at 03:47:24PM +0100, Camaleón wrote:
> > Package: src:linux 
> > Version: 5.9.0-1
> > Severity: normal
> > 
> > Hello,
> > 
> > I'm getting this call trace on every boot up, with no 
> > apparent/noticeable side effects. I mean, wired and wireless network 
> > cards are both detected and working (full dmesg is attached).
> > 
> > Yes, «connman» package is installed and also, apparently working as it 
> > should. 
> > 
> > [   28.195123] [ cut here ]
> > [   28.195127] read_page callback not available, PHY driver not loaded?
> > [   28.195250] WARNING: CPU: 0 PID: 366 at drivers/net/phy/phy-core.c:719 
> > phy_save_page+0x5b/0x60 [libphy]
> > [   28.195253] Modules linked in: iptable_nat nf_nat nf_conntrack 
> > nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter brcmsmac 
> > brcmutil cordic uvcvideo mac80211 videobuf2_vmalloc videobuf2_memops 
> > videobuf2_v4l2 videobuf2_common videodev cfg80211 mc hp_wmi libarc4 
> > sparse_keymap r8169 snd_hda_codec_idt at24 snd_hda_codec_generic rfkill 
> > ledtrig_audio snd_hda_intel snd_intel_dspcfg realtek snd_hda_codec 
> > wmi_bmof mdio_devres joydev pcspkr coretemp rts5208(C) libphy 
> > snd_hda_core i2c_i801 snd_hwdep sg snd_pcm bcma uhci_hcd wmi ehci_pci 
> > i2c_smbus snd_timer ehci_hcd snd soundcore usbcore usb_common lpc_ich 
> > ac battery button acpi_cpufreq ip_tables x_tables autofs4 xfs libcrc32c 
> > crc32c_generic sd_mod t10_pi crc_t10dif crct10dif_generic 
> > crct10dif_common i915 ahci libahci libata scsi_mod i2c_algo_bit 
> > drm_kms_helper psmouse evdev cec drm serio_raw video
> > [   28.195366] CPU: 0 PID: 366 Comm: connmand Tainted: G C
> > 5.9.0-1-amd64 #1 Debian 5.9.1-1

(...)

> Unless mistaken his was introduce due to issues in the module
> subsystem preventing load of the PHY driver module on certain systems,
> as described in
> https://lore.kernel.org/netdev/20191018.125825.843031213764652652.da...@davemloft.net/t/
> which added the WARN_ONCE.
> 
> Not sure if the underlying issues were issues in meanwhile.

The warning is now gone (current kernel 5.10) so I guess this bug can 
be safely closed.

Thanks for noticing.

Cheers,

-- 
Camaleón 



Bug#973921: Kernel trace: connmand tainted (PHY driver not loaded?)

2021-02-14 Thread Salvatore Bonaccorso
Hi,

On Sat, Nov 07, 2020 at 03:47:24PM +0100, Camaleón wrote:
> Package: src:linux 
> Version: 5.9.0-1
> Severity: normal
> 
> Hello,
> 
> I'm getting this call trace on every boot up, with no 
> apparent/noticeable side effects. I mean, wired and wireless network 
> cards are both detected and working (full dmesg is attached).
> 
> Yes, «connman» package is installed and also, apparently working as it 
> should. 
> 
> [   28.195123] [ cut here ]
> [   28.195127] read_page callback not available, PHY driver not loaded?
> [   28.195250] WARNING: CPU: 0 PID: 366 at drivers/net/phy/phy-core.c:719 
> phy_save_page+0x5b/0x60 [libphy]
> [   28.195253] Modules linked in: iptable_nat nf_nat nf_conntrack 
> nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter brcmsmac 
> brcmutil cordic uvcvideo mac80211 videobuf2_vmalloc videobuf2_memops 
> videobuf2_v4l2 videobuf2_common videodev cfg80211 mc hp_wmi libarc4 
> sparse_keymap r8169 snd_hda_codec_idt at24 snd_hda_codec_generic rfkill 
> ledtrig_audio snd_hda_intel snd_intel_dspcfg realtek snd_hda_codec 
> wmi_bmof mdio_devres joydev pcspkr coretemp rts5208(C) libphy 
> snd_hda_core i2c_i801 snd_hwdep sg snd_pcm bcma uhci_hcd wmi ehci_pci 
> i2c_smbus snd_timer ehci_hcd snd soundcore usbcore usb_common lpc_ich 
> ac battery button acpi_cpufreq ip_tables x_tables autofs4 xfs libcrc32c 
> crc32c_generic sd_mod t10_pi crc_t10dif crct10dif_generic 
> crct10dif_common i915 ahci libahci libata scsi_mod i2c_algo_bit 
> drm_kms_helper psmouse evdev cec drm serio_raw video
> [   28.195366] CPU: 0 PID: 366 Comm: connmand Tainted: G C
> 5.9.0-1-amd64 #1 Debian 5.9.1-1
> [   28.195369] Hardware name: Hewlett-Packard Compaq Mini CQ10-500
> /148A, BIOS F.15 01/14/2011
> [   28.195409] RIP: 0010:phy_save_page+0x5b/0x60 [libphy]
> [   28.195418] Code: ef 5d e9 18 5f 21 e5 80 3d d2 23 01 00 00 74 07 b8 a1 ff 
> ff ff 5d c3 48 c7 c7 e0 44 9f c0 c6 05 bb 23 01 00 01 e8 0b 7d 69 e4 <0f> 0b 
> eb e2 90 0f 1f 44 00 00 48 8b 87 40 03 00 00 48 8b 80 70 01
> [   28.195422] RSP: 0018:ad61804afbd8 EFLAGS: 00010286
> [   28.195428] RAX:  RBX: 967c3ae4a000 RCX: 
> 967c3d218ac8
> [   28.195432] RDX: ffd8 RSI: 0027 RDI: 
> 967c3d218ac0
> [   28.195435] RBP: 967c3ae4a000 R08: 0346 R09: 
> 0004
> [   28.195438] R10:  R11: 0001 R12: 
> 
> [   28.195441] R13: 0002 R14: 000f R15: 
> 0003
> [   28.195447] FS:  7f9158a0d9c0() GS:967c3d20() 
> knlGS:
> [   28.195451] CS:  0010 DS:  ES:  CR0: 80050033
> [   28.195454] CR2: 55693423be40 CR3: 75e4e000 CR4: 
> 06f0
> [   28.195458] Call Trace:
> [   28.195502]  phy_modify_paged+0x23/0xb0 [libphy]
> [   28.195603]  rtl8169_up+0x6a/0x1f0 [r8169]
> [   28.195619]  rtl_open+0x318/0x4b0 [r8169]
> [   28.195633]  __dev_open+0xea/0x1a0
> [   28.195643]  __dev_change_flags+0x1da/0x250
> [   28.195652]  dev_change_flags+0x21/0x60
> [   28.195661]  devinet_ioctl+0x641/0x810
> [   28.195673]  ? tomoyo_path_number_perm+0x66/0x1d0
> [   28.195682]  inet_ioctl+0x18c/0x1d0
> [   28.195694]  sock_do_ioctl+0x3c/0x130
> [   28.195703]  sock_ioctl+0x240/0x3b0
> [   28.195714]  __x64_sys_ioctl+0x83/0xb0
> [   28.195724]  do_syscall_64+0x33/0x80
> [   28.195734]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> [   28.195741] RIP: 0033:0x7f91592bac27
> [   28.195749] Code: 00 00 00 48 8b 05 69 92 0c 00 64 c7 00 26 00 00 00 48 c7 
> c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 
> 01 f0 ff ff 73 01 c3 48 8b 0d 39 92 0c 00 f7 d8 64 89 01 48
> [   28.195753] RSP: 002b:7fffd3d81518 EFLAGS: 0246 ORIG_RAX: 
> 0010
> [   28.195759] RAX: ffda RBX:  RCX: 
> 7f91592bac27
> [   28.195764] RDX: 7fffd3d81520 RSI: 8914 RDI: 
> 0010
> [   28.195767] RBP: 0010 R08:  R09: 
> 555b13d840a0
> [   28.195771] R10: 0001 R11: 0246 R12: 
> 7fffd3d81520
> [   28.195775] R13: 555b135092b8 R14: 1002 R15: 
> 555b13d73820
> [   28.195785] ---[ end trace 0d45b3b62a173507 ]---

Unless mistaken his was introduce due to issues in the module
subsystem preventing load of the PHY driver module on certain systems,
as described in
https://lore.kernel.org/netdev/20191018.125825.843031213764652652.da...@davemloft.net/t/
which added the WARN_ONCE.

Not sure if the underlying issues were issues in meanwhile.

Regards,
Salvatore



Bug#973921: Kernel trace: connmand tainted (PHY driver not loaded?)

2020-11-07 Thread Camaleón
Package: src:linux 
Version: 5.9.0-1
Severity: normal

Hello,

I'm getting this call trace on every boot up, with no 
apparent/noticeable side effects. I mean, wired and wireless network 
cards are both detected and working (full dmesg is attached).

Yes, «connman» package is installed and also, apparently working as it 
should. 

[   28.195123] [ cut here ]
[   28.195127] read_page callback not available, PHY driver not loaded?
[   28.195250] WARNING: CPU: 0 PID: 366 at drivers/net/phy/phy-core.c:719 
phy_save_page+0x5b/0x60 [libphy]
[   28.195253] Modules linked in: iptable_nat nf_nat nf_conntrack 
nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter brcmsmac 
brcmutil cordic uvcvideo mac80211 videobuf2_vmalloc videobuf2_memops 
videobuf2_v4l2 videobuf2_common videodev cfg80211 mc hp_wmi libarc4 
sparse_keymap r8169 snd_hda_codec_idt at24 snd_hda_codec_generic rfkill 
ledtrig_audio snd_hda_intel snd_intel_dspcfg realtek snd_hda_codec 
wmi_bmof mdio_devres joydev pcspkr coretemp rts5208(C) libphy 
snd_hda_core i2c_i801 snd_hwdep sg snd_pcm bcma uhci_hcd wmi ehci_pci 
i2c_smbus snd_timer ehci_hcd snd soundcore usbcore usb_common lpc_ich 
ac battery button acpi_cpufreq ip_tables x_tables autofs4 xfs libcrc32c 
crc32c_generic sd_mod t10_pi crc_t10dif crct10dif_generic 
crct10dif_common i915 ahci libahci libata scsi_mod i2c_algo_bit 
drm_kms_helper psmouse evdev cec drm serio_raw video
[   28.195366] CPU: 0 PID: 366 Comm: connmand Tainted: G C
5.9.0-1-amd64 #1 Debian 5.9.1-1
[   28.195369] Hardware name: Hewlett-Packard Compaq Mini CQ10-500
/148A, BIOS F.15 01/14/2011
[   28.195409] RIP: 0010:phy_save_page+0x5b/0x60 [libphy]
[   28.195418] Code: ef 5d e9 18 5f 21 e5 80 3d d2 23 01 00 00 74 07 b8 a1 ff 
ff ff 5d c3 48 c7 c7 e0 44 9f c0 c6 05 bb 23 01 00 01 e8 0b 7d 69 e4 <0f> 0b eb 
e2 90 0f 1f 44 00 00 48 8b 87 40 03 00 00 48 8b 80 70 01
[   28.195422] RSP: 0018:ad61804afbd8 EFLAGS: 00010286
[   28.195428] RAX:  RBX: 967c3ae4a000 RCX: 967c3d218ac8
[   28.195432] RDX: ffd8 RSI: 0027 RDI: 967c3d218ac0
[   28.195435] RBP: 967c3ae4a000 R08: 0346 R09: 0004
[   28.195438] R10:  R11: 0001 R12: 
[   28.195441] R13: 0002 R14: 000f R15: 0003
[   28.195447] FS:  7f9158a0d9c0() GS:967c3d20() 
knlGS:
[   28.195451] CS:  0010 DS:  ES:  CR0: 80050033
[   28.195454] CR2: 55693423be40 CR3: 75e4e000 CR4: 06f0
[   28.195458] Call Trace:
[   28.195502]  phy_modify_paged+0x23/0xb0 [libphy]
[   28.195603]  rtl8169_up+0x6a/0x1f0 [r8169]
[   28.195619]  rtl_open+0x318/0x4b0 [r8169]
[   28.195633]  __dev_open+0xea/0x1a0
[   28.195643]  __dev_change_flags+0x1da/0x250
[   28.195652]  dev_change_flags+0x21/0x60
[   28.195661]  devinet_ioctl+0x641/0x810
[   28.195673]  ? tomoyo_path_number_perm+0x66/0x1d0
[   28.195682]  inet_ioctl+0x18c/0x1d0
[   28.195694]  sock_do_ioctl+0x3c/0x130
[   28.195703]  sock_ioctl+0x240/0x3b0
[   28.195714]  __x64_sys_ioctl+0x83/0xb0
[   28.195724]  do_syscall_64+0x33/0x80
[   28.195734]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   28.195741] RIP: 0033:0x7f91592bac27
[   28.195749] Code: 00 00 00 48 8b 05 69 92 0c 00 64 c7 00 26 00 00 00 48 c7 
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 39 92 0c 00 f7 d8 64 89 01 48
[   28.195753] RSP: 002b:7fffd3d81518 EFLAGS: 0246 ORIG_RAX: 
0010
[   28.195759] RAX: ffda RBX:  RCX: 7f91592bac27
[   28.195764] RDX: 7fffd3d81520 RSI: 8914 RDI: 0010
[   28.195767] RBP: 0010 R08:  R09: 555b13d840a0
[   28.195771] R10: 0001 R11: 0246 R12: 7fffd3d81520
[   28.195775] R13: 555b135092b8 R14: 1002 R15: 555b13d73820
[   28.195785] ---[ end trace 0d45b3b62a173507 ]---

Cheers,

-- 
Camaleón 
[0.00] Linux version 5.9.0-1-amd64 (debian-ker...@lists.debian.org) 
(gcc-10 (Debian 10.2.0-15) 10.2.0, GNU ld (GNU Binutils for Debian) 2.35.1) #1 
SMP Debian 5.9.1-1 (2020-10-17)
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-5.9.0-1-amd64 
root=UUID=5e1c25ec-f700-48a2-8cd6-a55621579100 ro quiet
[0.00] Disabled fast string operations
[0.00] x86/fpu: x87 FPU will use FXSAVE
[0.00] BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009fbff] usable
[0.00] BIOS-e820: [mem 0x0009fc00-0x0009] reserved
[0.00] BIOS-e820: [mem 0x000e-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x7f43efff] usable
[0.00] BIOS-e820: [mem 0x7f43f000-0x7f4befff] reserved
[0.00] BIOS-e820: [mem