All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linuxppc-dev@lists.ozlabs.org
Subject: [Bug 216723] New: BUG: spinlock wrong CPU on CPU#0, swapper/0/1 with CONFIG_NETCONSOLE=y (on a PowerMac G4 DP)
Date: Tue, 22 Nov 2022 00:52:21 +0000	[thread overview]
Message-ID: <bug-216723-206035@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=216723

            Bug ID: 216723
           Summary: BUG: spinlock wrong CPU on CPU#0, swapper/0/1 with
                    CONFIG_NETCONSOLE=y (on a PowerMac G4 DP)
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 6.1-rc6
          Hardware: PPC-32
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PPC-32
          Assignee: platform_ppc-32@kernel-bugs.osdl.org
          Reporter: erhard_f@mailbox.org
        Regression: No

Created attachment 303258
  --> https://bugzilla.kernel.org/attachment.cgi?id=303258&action=edit
kernel dmesg (6.1-rc6, PowerMac G4 DP)

With netconsole on I get hits like this sometimes at boot:

[...]
netpoll: netconsole: local port 6666
netpoll: netconsole: local IPv4 address 192.168.2.5
netpoll: netconsole: interface 'eth0'
netpoll: netconsole: remote port 6666
netpoll: netconsole: remote IPv4 address 192.168.2.2
netpoll: netconsole: remote ethernet address 70:85:c2:30:ec:01
netpoll: netconsole: device eth0 not up yet, forcing it
sungem_phy: PHY ID: 2060e1, addr: 0
gem 0002:20:0f.0 eth0: Found BCM5421 PHY
gem 0002:20:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
gem 0002:20:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
printk: console [netcon0] enabled
------------[ cut here ]------------
netpoll_send_skb_on_dev(): eth0 enabled interrupts in poll
(gem_start_xmit+0x0/0x7ac)
WARNING: CPU: 1 PID: 1 at net/core/netpoll.c:353 netpoll_send_skb+0x378/0x3cc
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Tainted: G                T  6.1.0-rc6-PMacG4 #21
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
NIP:  c0b27a78 LR: c0b27a78 CTR: 00000000
REGS: f1033950 TRAP: 0700   Tainted: G                T   (6.1.0-rc6-PMacG4)
MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 44002884  XER: 00000000

GPR00: 00000000 f1033a10 c192a5a0 00000000 00000000 00000000 00000000 00000000 
GPR08: 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 
GPR16: fe20677a c1579b80 00000075 c168f9c8 c168f990 00009032 c18575b0 c329c090 
GPR24: 00000000 c1857558 00001032 c348fe80 c3475404 c3480260 c329c000 c0f373e0 
NIP [c0b27a78] netpoll_send_skb+0x378/0x3cc
LR [c0b27a78] netpoll_send_skb+0x378/0x3cc
Call Trace:
[f1033a10] [c0b27a78] netpoll_send_skb+0x378/0x3cc (unreliable)
[f1033a50] [c09fe8f4] write_msg+0x198/0x1b4
[f1033a90] [c0105e8c] console_emit_next_record.constprop.0+0x284/0x488
[f1033bc0] [c0106408] console_unlock+0x378/0x420
[f1033c60] [c0108228] vprintk_emit+0x2ec/0x3d4
[f1033ca0] [c0108d84] _printk+0x9c/0xe8
[f1033d20] [c01068c4] register_console+0x39c/0x490
[f1033d50] [c1450410] init_netconsole+0x388/0x518
[f1033df0] [c0007bb8] do_one_initcall+0xb0/0x33c
[f1033ec0] [c1404a18] kernel_init_freeable+0x2bc/0x3fc
[f1033f10] [c0008128] kernel_init+0x28/0x178
[f1033f30] [c0022338] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
387e0078 99490002 4b80f78d 83fe0078 387f0010 4b80f781 80bf0010 3c60c0f7 
38634880 7fc4f378 38630540 4b53bed1 <0fe00000> 92a10014 7d2000a6 71298000 
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 1 PID: 1 at kernel/locking/irqflag-debug.c:10
warn_bogus_irq_restore+0x3c/0x60
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W       T  6.1.0-rc6-PMacG4 #21
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
NIP:  c0d654f0 LR: c0d654f0 CTR: 00000000
REGS: f1033940 TRAP: 0700   Tainted: G        W       T   (6.1.0-rc6-PMacG4)
MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 44002884  XER: 20000000

GPR00: 00000000 f1033a00 c192a5a0 00000000 00000000 00000000 00000000 00000000 
GPR08: 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 
GPR16: fe20677a c1579b80 00000075 c168f9c8 c168f990 00009032 00001032 c171b280 
GPR24: 00000038 c3475404 00001032 c348fe80 c3475404 c3480260 c329c000 00000000 
NIP [c0d654f0] warn_bogus_irq_restore+0x3c/0x60
LR [c0d654f0] warn_bogus_irq_restore+0x3c/0x60
Call Trace:
[f1033a00] [c0d654f0] warn_bogus_irq_restore+0x3c/0x60 (unreliable)
[f1033a10] [c0b278e0] netpoll_send_skb+0x1e0/0x3cc
[f1033a50] [c09fe8f4] write_msg+0x198/0x1b4
[f1033a90] [c0105e8c] console_emit_next_record.constprop.0+0x284/0x488
[f1033bc0] [c0106408] console_unlock+0x378/0x420
[f1033c60] [c0108228] vprintk_emit+0x2ec/0x3d4
[f1033ca0] [c0108d84] _printk+0x9c/0xe8
[f1033d20] [c01068c4] register_console+0x39c/0x490
[f1033d50] [c1450410] init_netconsole+0x388/0x518
[f1033df0] [c0007bb8] do_one_initcall+0xb0/0x33c
[f1033ec0] [c1404a18] kernel_init_freeable+0x2bc/0x3fc
[f1033f10] [c0008128] kernel_init+0x28/0x178
[f1033f30] [c0022338] ret_from_kernel_thread+0x5c/0x64
Instruction dump:
38000000 38600000 39400000 4ca20020 9421fff0 3c60c0da 7c0802a6 39400001 
3863aca0 9949bc5c 90010014 4b2fe459 <0fe00000> 80010014 38210010 7c0803a6 
---[ end trace 0000000000000000 ]---
BUG: spinlock wrong CPU on CPU#0, swapper/0/1
 lock: 0xc168f840, .magic: dead4ead, .owner: swapper/0/1, .owner_cpu: 1
CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       T  6.1.0-rc6-PMacG4 #21
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f1033a20] [c0d1e7e0] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1033a40] [c01003ac] do_raw_spin_unlock+0x184/0x188
[f1033a70] [c0d71e08] _raw_spin_unlock_irqrestore+0x18/0x78
[f1033a90] [c0105e8c] console_emit_next_record.constprop.0+0x284/0x488
[f1033bc0] [c0106408] console_unlock+0x378/0x420
[f1033c60] [c0108228] vprintk_emit+0x2ec/0x3d4
[f1033ca0] [c0108d84] _printk+0x9c/0xe8
[f1033d20] [c01068c4] register_console+0x39c/0x490
[f1033d50] [c1450410] init_netconsole+0x388/0x518
[f1033df0] [c0007bb8] do_one_initcall+0xb0/0x33c
[f1033ec0] [c1404a18] kernel_init_freeable+0x2bc/0x3fc
[f1033f10] [c0008128] kernel_init+0x28/0x178
[f1033f30] [c0022338] ret_from_kernel_thread+0x5c/0x64
netconsole: network logging started
[...]

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2022-11-22  0:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22  0:52 bugzilla-daemon [this message]
2024-04-28 10:56 ` [Bug 216723] BUG: spinlock wrong CPU on CPU#0, swapper/0/1 with CONFIG_NETCONSOLE=y (on a PowerMac G4 DP) bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-216723-206035@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.