NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-macppc/58283: NetBSD/macppc 10.0 reproducible kernel PGM trap panic
>Number: 58283
>Category: port-macppc
>Synopsis: NetBSD/macppc 10.0 reproducible kernel PGM trap panic
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 25 21:20:00 +0000 2024
>Originator: Izumi Tsutsui
>Release: NetBSD 10.0
>Organization:
>Environment:
System: NetBSD mirage 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC macppc
Architecture: powerpc
Machine: macppc
>Description:
After I upgraded NetBSD/macppc 9.2 to 10.0 on my Apus2000/200 (603e)
I get reproducible panic on multiuser when tcsh binary built on 9.0
is executed.
>How-To-Repeat:
---
Open Firmware, 2.0
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
ok
0 > boot
OF_open bootpath=ata/ATA-Disk@0
read stage 2 blocks: 0123. done!
starting stage 2...
>> NetBSD/macppc OpenFirmware Boot, Revision 1.13 (Sun Oct 18 19:24:30 UTC 2020)
Cannot use bootpath
Using boot-device instead
11800060+167172 [463008+446635]=0xc481e4
start=0x100000
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[ 1.0000000] 2024
[ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC
[ 1.0000000] total memory = 144 MB
[ 1.0000000] avail memory = 125 MB
[ 1.0000000] found ohare PIC at f3000000
[ 1.0000000] bootpath: ata/ATA-Disk@0/netbsd
[ 1.0000000] mainbus0 (root)
[ 1.0000000] valkyriefb0 at mainbus0 address 0xf1000000
[ 1.0000000] memory0 at mainbus0
[ 1.0000000] bandit0 at mainbus0
[ 1.0000000] pci0 at bandit0 bus 0
[ 1.0000000] pchb0 at pci0 dev 11 function 0
[ 1.0000000] pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x02)
[ 1.0000000] ex0 at pci0 dev 13 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
[ 1.0000000] ex0: interrupting at irq 23
[ 1.0000000] ex0: MAC address 00:50:04:65:51:1a
[ 1.0000000] exphy0 at ex0 phy 24: 3Com internal media interface
[ 1.0000000] exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] obio0 at pci0 dev 16 function 0: addr 0xf3000000
[ 1.0000000] mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
[ 1.0000000] scsibus0 at mesh0: 8 targets, 8 luns per target
[ 1.0000000] zsc0 at obio0 irq 15,16
[ 1.0000000] zstty0 at zsc0 channel 0 (console i/o)
[ 1.0000000] zstty1 at zsc0 channel 1
[ 1.0000000] awacs0 at obio0 offset 0x14000: irq 17,8,9
[ 1.0000000] awacs0: speaker
[ 1.0000000] audio0 at awacs0: playback, capture, full duplex
[ 1.0000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for playback
[ 1.0000000] audio0: slinear_be:16 2ch 44100Hz, blk 4096 bytes (23.2ms) for recording
[ 1.0000000] spkr0 at audio0: PC Speaker (synthesized)
[ 1.0000000] wsbell at spkr0 not configured
[ 1.0000000] swim3 at obio0 offset 0x15000 not configured
[ 1.0000000] nvram0 at obio0 offset 0x60000
[ 1.0000000] cuda0 at obio0 offset 0x16000 irq 18
[ 1.0000000] nadb0 at cuda0: Apple Desktop Bus
[ 1.0000000] iic0 at cuda0: I2C bus
[ 1.0000000] videopll0 at iic0 addr 0x50: Apple onboard video PLL
[ 1.0000000] wdc0 at obio0 offset 0x20000 irq property not found; using 13: DMA transfer
[ 1.0000000] atabus0 at wdc0 channel 0
[ 1.0000000] vmmask 7cc00000 schedmask 7fc00000 highmask 7fc00000
[ 1.0001103] scsibus0: waiting 2 seconds for devices to settle...
[ 1.0299895] WARNING: system needs entropy for security; see entropy(7)
[ 1.3699144] adbkbd0 at nadb0 addr 2: extended keyboard
[ 1.4099181] wskbd0 at adbkbd0 mux 1
[ 1.4099181] wsmouse0 at adbkbd0 mux 0
[ 1.4099181] adbms0 at nadb0 addr 3: 1-button, 100 dpi mouse
[ 1.4699212] wsmouse1 at adbms0 mux 0
[ 4.3400673] wd0 at atabus0 drive 0
[ 4.3601329] wd0: <ST320011A>
[ 4.3601329] wd0: 19092 MB, 38792 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 sectors
[ 4.7301068] cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-8024, 2.0e> cdrom removable
[ 6.4900938] swwdog0: software watchdog initialized
[ 6.5301256] valkyriefb0: switched to 800 x 600 in 8 bit colour
[ 6.5801017] wsdisplay1 at valkyriefb0 kbdmux 1
[ 6.5801017] valkyriefb0: switched to 800 x 600 in 8 bit colour
[ 6.6601104] wsdisplay2 at valkyriefb0 kbdmux 1
[ 6.6601104] boot device: wd0
[ 6.6601104] root on wd0a dumps on wd0b
[ 6.7101503] root file system type: ffs
[ 6.7101503] kern.module.path=/stand/macppc/10.0/modules
[ 7.1701851] entropy: best effort
Sun May 26 05:59:18 JST 2024
Starting root file system check:
/dev/rwd0a: file system is clean; not checking
[..snip..]
NetBSD/macppc (lancer) (ttyZ0)
login: root
Password:
May 26 06:00:55 lancer login: ROOT LOGIN (root) on tty ttyZ0
Last login: Sun May 26 05:21:42 2024 on ttyZ0
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
2024
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024
Terminal type is vt100.
We recommend creating a non-root account and using su(1) for root access.
lancer# sysctl -w ddb.onpanic=1
ddb.onpanic: 0 -> 1
lancer# file /usr/local/bin/tcsh
/usr/local/bin/tcsh: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 9.0, with debug_info, not stripped
lancer# /usr/local/bin/tcsh
[ 136.9671671] trap: pid 1981.1981 (tcsh): kernel PGM trap @ 0x12cbc8 (SRR1=0x89032)
[ 136.9671671] panic: trap
[ 136.9671671] cpu0: Begin traceback...
[ 136.9671671] 0x00c44cc0: at vpanic+0x158
[ 136.9671671] 0x00c44cf0: at panic+0x50
[ 136.9671671] 0x00c44d30: at trap+0x3a8
[ 136.9671671] 0x00c44de0: kernel PGM trap by vec_state_release+0: srr1=0x89032
[ 136.9671671] r1=0x16fcd80 cr=0x44222424 xer=0 ctr=0x12cbc8
[ 136.9671671] 0x016fcd80: at l3cr_config+0x34
[ 136.9671671] 0x016fcda0: at mi_switch+0x178
[ 136.9671671] 0x016fcde0: at sleepq_block+0xe0
[ 136.9671671] 0x016fce00: at cv_wait_sig+0xc0
[ 136.9671671] 0x016fce30: at pipe_read+0x398
[ 136.9671671] 0x016fce70: at dofileread+0x88
[ 136.9671671] 0x016fcec0: at syscall+0x294
[ 136.9671671] 0x016fcf20: user SC trap #3 by 0xfdc4c128: srr1=0xd032
[ 136.9671671] r1=0xffff7300 cr=0x24224222 xer=0 ctr=0xfdc4c120
[ 136.9671671] cpu0: End traceback...
Stopped in pid 1981.1981 (tcsh) at netbsd:vpanic+0x15c: or r3, r26,
r26
db>
---
Note executing /usr/local/bin/tcsh on single user doesn't trigger
the panic.
BTW, on NetBSD/macppc 9.1 "cpu0" is probed just after mainbus is attached,
but it's no longer probed/attached on 10.0?
---
NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC
total memory = 144 MB
avail memory = 126 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
found ohare PIC at f3000000
bootpath: ata/ATA-Disk@0/netbsd
mainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 0x90c001<DOZE,DPM,ICE,DCE,NOPTI>, powersave: 1
cpu0: ohare L2 cache enabled
valkyriefb0 at mainbus0 address 0xf1000000
valkyriefb0: waiting for videopll...
---
https://dmesgd.nycbug.org/index.cgi?do=view&id=5855
>Fix:
No idea.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index