Yes, clang bsd.rd doesn't work.

Kurt Mosiejczuk <[email protected]> wrote:

> Both sparc64-1c and sparc64-2c panicked. Apparently they did during startup
> before any processes were run. (I had cu running in a tmux for sparc64-1c).
> 
> Repeating the upgrade manually via the bsd.rd restored those ldoms to
> working order.
> 
> --Kurt
> 
> sparc64-2c:
> 
> ddb{0}> show panic
> trap type 0x10 (illegal instruction): pc=84d210 npc=84d214 
> pstate=99000016<PEF,
> PRIV,IE>
> ddb{0}> trace
> panic(1, 2009878, 1c212b8, 100, 1cc7000, 0) at panic+0x148
> trap(186df7f, 186d000, 84d210, 80, 1c08f28, 99000016) at trap+0x220
> Lslowtrap_reenter(40014434000, 0, 3, c, 1c81000, 0) at Lslowtrap_reenter+0xf8
> smp_tlb_flush_pte(40014434000, 0, 0, 6, 400011ef7d8, 400011ef770) at 
> smp_tlb_fl
> ush_pte+0x8
> pmap_enter(1c83938, 4000c433f60, 7fefe000, 100051, a21a0, 1cd79b8) at 
> pmap_ente
> r+0x544
> uvm_km_alloc1(1c80138, 10000, 0, 1, 40014434000, 40013434000) at 
> uvm_km_alloc1+
> 0x194
> kmeminit(1, 0, 40014434000, 1ab2000, 1c5e000, 1caf) at kmeminit+0x144
> uvm_init(1c0f000, 800, 1ab2000, 1c83000, 1a07000, 192f000) at uvm_init+0x94
> main(1cce918, 1cca000, 1ab2000, 2, 5, 10136e4) at main+0x7c
> cpu_initialize(11d000, fc8, 1000000, fef43998, 18, 11ebdb) at 
> cpu_initialize+0x
> 60
> ddb{0}> mach ddbcpu 1
> Invalid cpu 1
> ddb{0}> mach ddbcpu 2
> Invalid cpu 2
> ddb{0}> mach ddbcpu 3
> Invalid cpu 3
> ddb{0}> mach ddbcpu 0
> Invalid cpu 0
> ddb{0}> ps
>    PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
> ddb{0}>
> 
> sparc64-1c:
> 
> ERROR: /iscsi-hba: No iscsi-network-bootpath property
> Trying bsd...
> Booting /pci@400/pci@2/pci@0/pci@a/nvme@0/disk@1:a/bsd
> 11213000@0x1000000+1848@0x1ab18c8+190640@0x1c00000+4003664@0x1c2e8b0
> symbols @ 0xfed6a440 175+587928+405307 start=0x1000000
> [ using 994504 bytes of bsd ELF symbol table ]
> console is /virtual-devices@100/console@1
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> panic: trap type 0x10 (illegal instruction): pc=8377c4 npc=8377c8 
> pstate=9900001
> 6<PEF,PRIV,IE>
> Stopped at      db_enter+0x8:   nop
>     TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> panic(1, 2009878, 1c2dcc0, 100, 1cd6000, 0) at panic+0x148
> trap(185f11d, 185f000, 8377c4, 80, 1c04b10, 99000016) at trap+0x220
> Lslowtrap_reenter(40014434000, 0, 3, c, 1c5b000, 0) at Lslowtrap_reenter+0xf8
> smp_tlb_flush_pte(40014434000, 0, 0, 6, 400011ef7d8, 400011ef770) at 
> smp_tlb_fl
> ush_pte+0x8
> pmap_enter(1c300c8, 4000c433f60, 7fefe000, 100051, a21a0, 1c886a0) at 
> pmap_ente
> r+0x544
> uvm_km_alloc1(1c5b588, 10000, 0, 1, 40014434000, 40013434000) at 
> uvm_km_alloc1+
> 0x194
> kmeminit(1, 0, 40014434000, 1aaf000, 1c82000, 1cd2) at kmeminit+0x144
> uvm_init(1c1a000, 800, 1aaf000, 1c5a000, 1884000, 1886000) at uvm_init+0x94
> main(1cb5bb0, 1cd7000, 1aaf000, 2, 5, 10136e4) at main+0x7c
> cpu_initialize(11d000, fc8, 1000000, fef43998, 18, 11ebdb) at 
> cpu_initialize+0x
> 60
> https://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb{0}> trace
> panic(1, 2009878, 1c2dcc0, 100, 1cd6000, 0) at panic+0x148
> trap(185f11d, 185f000, 8377c4, 80, 1c04b10, 99000016) at trap+0x220
> Lslowtrap_reenter(40014434000, 0, 3, c, 1c5b000, 0) at Lslowtrap_reenter+0xf8
> smp_tlb_flush_pte(40014434000, 0, 0, 6, 400011ef7d8, 400011ef770) at 
> smp_tlb_fl
> ush_pte+0x8
> pmap_enter(1c300c8, 4000c433f60, 7fefe000, 100051, a21a0, 1c886a0) at 
> pmap_ente
> r+0x544
> uvm_km_alloc1(1c5b588, 10000, 0, 1, 40014434000, 40013434000) at 
> uvm_km_alloc1+
> 0x194
> kmeminit(1, 0, 40014434000, 1aaf000, 1c82000, 1cd2) at kmeminit+0x144
> uvm_init(1c1a000, 800, 1aaf000, 1c5a000, 1884000, 1886000) at uvm_init+0x94
> main(1cb5bb0, 1cd7000, 1aaf000, 2, 5, 10136e4) at main+0x7c
> cpu_initialize(11d000, fc8, 1000000, fef43998, 18, 11ebdb) at 
> cpu_initialize+0x
> 60
> ddb{0}> ps
>    PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
> ddb{0}>
> 
> sparc64-1c dmesg:
> console is /virtual-devices@100/console@1
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> OpenBSD 6.7-beta (RAMDISK) #261: Wed Apr  8 19:46:39 MDT 2020
>     [email protected]:/usr/src/sys/arch/sparc64/compile/RAMDISK
> real mem = 8053063680 (7680MB)
> avail mem = 7891189760 (7525MB)
> mainbus0 at root: SPARC T4-1
> cpu0 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz
> "SPARC-T4" at mainbus0 not configured
> "SPARC-T4" at mainbus0 not configured
> "SPARC-T4" at mainbus0 not configured
> "reboot-memory" at mainbus0 not configured
> vbus0 at mainbus0
> "flashprom" at vbus0 not configured
> vrng0 at vbus0
> cbus0 at vbus0
> vdsk0 at cbus0 chan 0x2: ivec 0x4, 0x5
> scsibus0 at vdsk0: 2 targets
> sd0 at scsibus0 targ 0 lun 0: <SUN, Virtual Disk, 1.1>
> sd0: 2MB, 512 bytes/sector, 6080 sectors
> vnet0 at cbus0 chan 0x3: ivec 0x6, 0x7, address 00:14:4f:f8:5e:b5
> vcons0 at vbus0: ivec 0x8011, console
> vrtc0 at vbus0
> vpci0 at mainbus0: bus 0 to 255, dvma map 80000000-ffffffff
> pci0 at vpci0
> ppb0 at pci0 dev 1 function 0 "Sun SDIO PCIE" rev 0x01
> pci1 at ppb0 bus 1
> ppb1 at pci1 dev 0 function 0 "Sun SDIO PCIE" rev 0x01
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 8 function 0 "Sun SDIO PCIE" rev 0x01                        
>   pci3 at ppb2 bus 6
> em0 at pci3 dev 0 function 0 "Intel 82580" rev 0x01: msi, address 
> 00:1b:21:97:fd:12
> em1 at pci3 dev 0 function 1 "Intel 82580" rev 0x01: msi, address 
> 00:1b:21:97:fd
> :13
> ppb3 at pci0 dev 2 function 0 "Sun SDIO PCIE" rev 0x01
> pci4 at ppb3 bus 7
> ppb4 at pci4 dev 0 function 0 "Sun SDIO PCIE" rev 0x01
> pci5 at ppb4 bus 8
> ppb5 at pci5 dev 10 function 0 "Sun SDIO PCIE" rev 0x01
> pci6 at ppb5 bus 15
> nvme0 at pci6 dev 0 function 0 "SanDisk WD Black NVMe" rev 0x00: msix, NVMe 
> 1.3
> nvme0: WDS500G3X0C-00SJG0, firmware 102000WD, serial 191043491009
> scsibus1 at nvme0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <NVMe, WDS500G3X0C-00SJ, 1020>
> sd1: 476940MB, 512 bytes/sector, 976773168 sectors
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootpath: /pci@400,0/pci@2,0/pci@0,0/pci@a,0/nvme@0,0/disk@1,0
> 
> sparc64-2c dmesg:
> console is /virtual-devices@100/console@1
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> OpenBSD 6.7-beta (RAMDISK) #261: Wed Apr  8 19:46:39 MDT 2020
>     [email protected]:/usr/src/sys/arch/sparc64/compile/RAMDISK
> real mem = 8053063680 (7680MB)
> avail mem = 7891189760 (7525MB)
> mainbus0 at root: SPARC T4-1
> cpu0 at mainbus0: SPARC-T4 (rev 0.0) @ 2847.862 MHz
> "SPARC-T4" at mainbus0 not configured
> "SPARC-T4" at mainbus0 not configured
> "SPARC-T4" at mainbus0 not configured
> "reboot-memory" at mainbus0 not configured
> vbus0 at mainbus0
> "flashprom" at vbus0 not configured
> vrng0 at vbus0
> cbus0 at vbus0
> vdsk0 at cbus0 chan 0x2: ivec 0x4, 0x5
> scsibus0 at vdsk0: 2 targets
> sd0 at scsibus0 targ 0 lun 0: <SUN, Virtual Disk, 1.1>
> sd0: 2MB, 512 bytes/sector, 6080 sectors
> vnet0 at cbus0 chan 0x3: ivec 0x6, 0x7, address 00:14:4f:f9:66:8d
> vcons0 at vbus0: ivec 0x8011, console
> vrtc0 at vbus0
> vpci0 at mainbus0: bus 0 to 255, dvma map 80000000-ffffffff
> pci0 at vpci0
> ppb0 at pci0 dev 1 function 0 "Sun SDIO PCIE" rev 0x01
> pci1 at ppb0 bus 1
> ppb1 at pci1 dev 0 function 0 "Sun SDIO PCIE" rev 0x01
> pci2 at ppb1 bus 2
> ppb2 at pci2 dev 8 function 0 "Sun SDIO PCIE" rev 0x01
> pci3 at ppb2 bus 6
> bge0 at pci3 dev 0 function 0 "Broadcom BCM5720" rev 0x00, BCM5720 A0 
> (0x5720000), APE firmware NCSI 1.3.7.0: msi, address 00:0a:f7:86:5c:50
> brgphy0 at bge0 phy 1: BCM5720C 10/100/1000baseT PHY, rev. 0
> bge1 at pci3 dev 0 function 1 "Broadcom BCM5720" rev 0x00, BCM5720 A0 
> (0x5720000), APE firmware NCSI 1.3.7.0: msi, address 00:0a:f7:86:5c:51
> brgphy1 at bge1 phy 2: BCM5720C 10/100/1000baseT PHY, rev. 0
> ppb3 at pci0 dev 2 function 0 "Sun SDIO PCIE" rev 0x01
> pci4 at ppb3 bus 7
> ppb4 at pci4 dev 0 function 0 "Sun SDIO PCIE" rev 0x01
> pci5 at ppb4 bus 8
> ppb5 at pci5 dev 10 function 0 "Sun SDIO PCIE" rev 0x01
> pci6 at ppb5 bus 15
> nvme0 at pci6 dev 0 function 0 "SanDisk WD Black NVMe" rev 0x00: msix, NVMe 
> 1.3
> nvme0: WDS500G3X0C-00SJG0, firmware 102000WD, serial 19122E803049
> scsibus1 at nvme0: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <NVMe, WDS500G3X0C-00SJ, 1020>
> sd1: 476940MB, 512 bytes/sector, 976773168 sectors
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootpath: /pci@400,0/pci@2,0/pci@0,0/pci@a,0/nvme@0,0/disk@1,0
> root on rd0a swap on rd0b dump on rd0b
> 

Reply via email to