WARNING: CPU: 1 PID: 1 at drivers/pci/devres.c:602 pcim_add_mapping_to_legacy_table+0x74/0x90
[ 1.377745] printk: legacy bootconsole [pdc0] disabled
[ 1.384912] ------------[ cut here ]------------
[ 1.385053] WARNING: CPU: 1 PID: 1 at drivers/pci/devres.c:602 pcim_add_mapping_to_legacy_table+0x74/0x90 [ 1.387072] Modules linked in:
[ 1.387171] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.11.7-dirty #1
[ 1.391597] Hardware name: 9000/800/rp3440
[ 1.391745] YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
[ 1.391883] PSW: 00001000000001001111100100001111 Not tainted
[ 1.396459] r00-03 000000ff0804f90f 000000004b9a94c0 0000000040881880 000000004b9a9390 [ 1.401028] r04-07 0000000040d676a0 0000000000063000 0000000000000000 000000004baf5800 [ 1.401282] r08-11 0000000000000000 0000000000000010 0000000000000000 0000000000000003 [ 1.405827] r12-15 000000004117e900 000000004baf58a8 0000000040deb6a0 000000004015f080 [ 1.410575] r16-19 000000004017a628 0000000040d856a0 00000000f98a5608 0000000000001a46 [ 1.410828] r20-23 0000000000001a46 000000000000001a 0000000000008000 0000000000000000 [ 1.418202] r24-27 0000000000000000 000000000800000f 000000004baf5a40 0000000040d676a0 [ 1.422793] r28-31 0000000000061000 000000004b9a9560 000000004b9a9420 000000004ed32780 [ 1.423053] sr00-03 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 1.427787] sr04-07 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 1.432394] IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000408818b4 00000000408818b8 [ 1.432672] IIR: 03ffe01f ISR: 0000000010240000 IOR: 0000002e62188008
[ 1.437151] CPU: 1 CR30: 000000004b988000 CR31: ffffffffffffffff
[ 1.441697] ORIG_R28: 00000000000003a3
[ 1.441803] IAOQ[0]: pcim_add_mapping_to_legacy_table+0x74/0x90
[ 1.441996] IAOQ[1]: pcim_add_mapping_to_legacy_table+0x78/0x90
[ 1.446631] RP(r2): pcim_add_mapping_to_legacy_table+0x40/0x90
[ 1.446823] Backtrace:
[ 1.446883] [<0000000040882678>] pcim_iomap+0x120/0x1c8
[ 1.451320] [<00000000409102b0>] serial8250_pci_setup_port+0xd8/0x168
[ 1.451540] [<0000000040913f28>] pci_hp_diva_setup+0x98/0xe0
[ 1.459116] [<0000000040915b64>] pciserial_init_ports+0x1c4/0x3d8
[ 1.459309] [<0000000040915fb0>] pciserial_init_one+0x1a8/0x328
[ 1.464435] [<0000000040874e0c>] pci_device_probe+0x14c/0x2b8
[ 1.464645] [<000000004093759c>] really_probe+0x12c/0x590
[ 1.469086] [<0000000040937a84>] __driver_probe_device+0x84/0x1a0
[ 1.469290] [<0000000040937c90>] driver_probe_device+0xf0/0x2d8
[ 1.473773] [<0000000040938174>] __driver_attach+0x114/0x320
[ 1.473963] [<0000000040932e78>] bus_for_each_dev+0xf0/0x180
[ 1.474144] [<0000000040936980>] driver_attach+0x48/0x60
[ 1.478742] [<0000000040935884>] bus_add_driver+0x314/0x4c0
[ 1.478925] [<0000000040939de8>] driver_register+0xe0/0x290
[ 1.483402] [<00000000408740f8>] __pci_register_driver+0x88/0xa0
[ 1.483617] [<00000000401464c8>] serial_pci_driver_init+0x48/0x60
[ 1.488089] [<00000000402053e4>] do_one_initcall+0x7c/0x320
[ 1.488276] [<0000000040102a74>] kernel_init_freeable+0x5a4/0x6c0
[ 1.492923] [<0000000040caa698>] kernel_init+0x60/0x340
[ 1.493099] [<0000000040202020>] ret_from_kernel_thread+0x20/0x28
[ 1.497621] ---[ end trace 0000000000000000 ]---
[ 1.498533] 0000:e0:01.1: ttyS1 at MMIO 0xfffffffff4050010 (irq = 74, base_baud = 115200) is a 16550A [ 1.506174] ------------[ cut here ]------------
[ 1.506312] WARNING: CPU: 1 PID: 1 at drivers/pci/devres.c:602 pcim_add_mapping_to_legacy_table+0x74/0x90 [ 1.511411] Modules linked in:
[ 1.511500] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Tainted: G W 6.11.7-dirty #1 [ 1.516088] Tainted: [W]=WARN
[ 1.516165] Hardware name: 9000/800/rp3440
Dave
Signature · 1 line
John David Anglin [email protected]
Quoted 1 line · John David Anglin
[ 1.377745] printk: legacy bootconsole [pdc0] disabled
This warning has to do with switching consoles on v6.11.*:
[ 2.928681] printk: legacy console [ttyS0] enabled
[ 2.931997] printk: legacy bootconsole [pdc0] disabled
[ 2.936688] ------------[ cut here ]------------
[ 2.939833] WARNING: CPU: 0 PID: 1 at drivers/pci/devres.c:602 pcim_add_mapping_to_legacy_table+0x78/0xb0
/* The legacy mechanism doesn't allow for duplicate mappings. */ WARN_ON(legacy_iomap_table[bar]);
I don't know if this is related but I need to enter a return to get past the ip_tables patching:
[ 36.185386] x_tables alternatives: applied 0 out of 4 patchesx_tables alternatives: applied 0 out of 4 patches
[ 36.455891] ip_tables alternatives: applied 0 out of 6 patchesip_tables alternatives: applied 0 out of 6 patches
[ 80.824767] systemd[1]: systemd 257~rc2-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) [ 80.835893] systemd[1]: Detected architecture parisc64.
systemd[1]: systemd 257~rc2-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) systemd[1]: Detected architecture parisc64.
Welcome to Debian GNU/Linux trixie/sid!
[ 80.914590] systemd[1]: Hostname set to <mx3210>.
The above boot was with "Linux mx3210 6.11.9-parisc64 #1 SMP Debian 6.11.9-1 (2024-11-17) parisc64 GNU/Linux".
I see the same thing with my builds.
Dave
Signature · 1 line
John David Anglin [email protected]
Quoted 10 lines · John David Anglin
Quoted 1 line · John David Anglin
[ 1.377745] printk: legacy bootconsole [pdc0] disabledThis warning has to do with switching consoles on v6.11.*:
[ 2.928681] printk: legacy console [ttyS0] enabled
[ 2.931997] printk: legacy bootconsole [pdc0] disabled
[ 2.936688] ------------[ cut here ]------------
[ 2.939833] WARNING: CPU: 0 PID: 1 atdrivers/pci/devres.c:602pcim_add_mapping_to_legacy_table+0x78/0xb0/* The legacy mechanism doesn't allow for duplicate mappings. */
WARN_ON(legacy_iomap_table[bar]);
I know I saw this warning in the past, but not this time. Just booted Debian kernel 6.11.9-1 (same as you) on my c8000.
Quoted 1 line
I don't know if this is related but I need to enter a return to get past the
ip_tablespatching:
I had to press enter to get console login.
It's not critical.
Since I have no free time, I won't be able to analyze this soon.
Helge
Quoted 19 lines
[ 36.185386]
x_tablesalternatives: applied 0 out of 4 patchesx_tablesalternatives: applied 0 out of 4 patches
[ 36.455891]ip_tablesalternatives: applied 0 out of 6 patchesip_tablesalternatives: applied 0 out of 6 patches
[ 80.824767] systemd[1]: systemd 257~rc2-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) [ 80.835893] systemd[1]: Detected architecture parisc64.
systemd[1]: systemd 257~rc2-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +IPE +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -BTF -XKBCOMMON -UTMP +SYSVINIT +LIBARCHIVE) systemd[1]: Detected architecture parisc64.Welcome to Debian GNU/Linux trixie/sid!
[ 80.914590] systemd[1]: Hostname set to <mx3210>.
The above boot was with "Linux mx3210 6.11.9-parisc64 #1 SMP Debian 6.11.9-1 (2024-11-17) parisc64 GNU/Linux".
I see the same thing with my builds.
Dave
Quoted 3 lines · Helge Deller
Quoted 1 line
I don't know if this is related but I need to enter a return to get past the ip_tables patching:
I had to press enter to get console login.
6.12.1 booted normally. So, this problem seems limited to v6.11.x.
Still have this warning:
[ 1.350744] WARNING: CPU: 1 PID: 1 at drivers/pci/devres.c:602 pcim_add_mapping_to_legacy_table+0x74/0x90
Dave
Signature · 1 line
John David Anglin [email protected]