PowerMac11,2 Dual Core G5 panic trap on -current

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

PowerMac11,2 Dual Core G5 panic trap on -current

Donovan Watteau
Hi,

I saw some new PowerMac11,2 support in plus58.html.  It mentions a
Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's
what happens.

I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on
OpenFirmware.

However, it panics quickly, and the screen gets a bit corrupted
(I have pictures if it helps, this one is copied by hand).

Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted]
         The Regents of the University of[corrupted]
Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org

OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 1[corrupted]
     [hidden email]:/usr/src/[corrupted]mpile/RAMDISK
real mem = 3758096384 (3584MB)
avail mem = 2019610624 (1926MB)
mainbus0 at root: model PowerMac11,2
cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz
cpu at mainbus0 not configured
mem at mainbus0 not configured
memc0 at mainbus0: u4 rev 0x42
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
"ds1775" at iic0 addr 0x4a not configured
[other corrupted line, but has similarities with the previous line]
"max6690" at iic0 addr 0x4c not configured
"max6690" at iic0 addr 0x4e not configured
"dart" at memc0 offset 0xf8033000 not configured
openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
mpcpcibr0 at mainbus0 pci: u4-pcie
pci0 at mpcpcibr0 bus 0
vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
vgafb0: aperture needed
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
ht0 at mainbus0: u3-ht, 10 devices
pci1 at ht0 bus0
ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci2 at ppb0 bus 4
ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci3 at ppb1 bus 5
bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8
halted
ok
0>

Then it goes back to OpenFirmware and I can't type anything.

I have another macppc I can use to compile kernels, if that helps.

Since I can't get a full dmesg from OpenBSD, here's some info from
Linux 4.0.0.  Thanks.

$ dmesg
Allocated 131072 bytes for 32 pacas at c00000000ffe0000
DART table allocated at: c00000007f000000
Using PowerMac machine description
Page orders: linear mapping = 24, virtual = 12, io = 12, vmemmap = 24
cma: Reserved 192 MiB at 0x0000000150000000
Found initrd at 0xc000000001b00000:0xc000000002c4e000
Found U4 memory controller & host bridge @ 0xf8000000 revision: 0x42
Mapped at 0xd000080080000000
Found a Shasta mac-io controller, rev: 0, mapped at 0xd000080080050000
PowerMac motherboard: PowerMac G5 Dual Core
DART IOMMU initialized for U4 type chipset
bootconsole [udbg0] enabled
CPU maps initialized for 1 thread per core
  (thread shift is 0)
Freed 65536 bytes for unused pacas
Starting Linux PPC64 #1 SMP Debian 4.0.4-1 (2015-05-26)
-----------------------------------------------------
ppc64_pft_size    = 0x0
phys_mem_size     = 0xe0000000
cpu_features      = 0x0804806318100448
   possible        = 0x1fffffef18500649
   always          = 0x0000000018100040
cpu_user_features = 0xdc080000 0x00000000
mmu_features      = 0x0c000001
firmware_features = 0x0000000000000000
htab_address      = 0xc00000015c000000
htab_hash_mask    = 0x7ffff
-----------------------------------------------------
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4.0.0-2-powerpc64 ([hidden email]) (gcc version 4.9.2 (Debian 4.9.2-18) ) #1 SMP Debian 4.0.4-1 (2015-05-26)
Top of RAM: 0x160000000, Total RAM: 0xe0000000
Memory hole size: 2048MB
numa: Initmem setup node 0 [mem 0x00000000-0x15fffffff]
numa:   NODE_DATA [mem 0x14ffbc000-0x14ffc6fff]
Found U4-PCIE PCI host bridge.  Firmware bus number: 0->255
PCI host bridge /pci@0,f0000000  ranges:
  MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000
   IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
  MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
Can't get bus-range for /ht@0,f2000000, assume bus 0
Found U3-HT PCI host bridge.  Firmware bus number: 0->239
PCI host bridge /ht@0,f2000000 (primary) ranges:
SMU: Driver 0.7 (c) 2005 Benjamin Herrenschmidt, IBM Corp.
nvram: Checking bank 0...
nvram: gen0=598, gen1=599
nvram: Active bank is: 1
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x160000000, Total RAM: 0xe0000000
Memory hole size: 2048MB
Zone ranges:
   DMA      [mem 0x0000000000000000-0x000000015fffffff]
   DMA32    empty
   Normal   empty
Movable zone start for each node
Early memory node ranges
   node   0: [mem 0x0000000000000000-0x000000007fffffff]
   node   0: [mem 0x0000000100000000-0x000000015fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000015fffffff]
On node 0 totalpages: 57344
   DMA zone: 56 pages used for memmap
   DMA zone: 0 pages reserved
   DMA zone: 57344 pages, LIFO batch:1
PERCPU: Embedded 3 pages/cpu @c00000014fe00000 s118040 r0 d78568 u524288
pcpu-alloc: s118040 r0 d78568 u524288 alloc=1*1048576
pcpu-alloc: [0] 0 1
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 57288
Policy zone: DMA
Kernel command line: root=/dev/sda3 ro nomodeset
PID hash table entries: 4096 (order: -1, 32768 bytes)
Sorting __ex_table...
Memory: 3341376K/3670016K available (7616K kernel code, 1728K rwdata, 1948K rodata, 960K init, 2071K bss, 132032K reserved, 196608K cma-reserved)
Hierarchical RCU implementation.
  CONFIG_RCU_FANOUT set to non-default value of 32
  RCU dyntick-idle grace-period acceleration is enabled.
  RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:512 nr_irqs:512 16
mpic: Resetting
mpic: Setting up MPIC " MPIC 1   " version 1.2 at f8040000, max 2 CPUs
mpic: ISU size: 124, shift: 7, mask: 7f
mpic: Initializing for 124 sources
mpic: Setting up HT PICs workarounds for U3/U4
mpic:   - HT:01.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:02.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:03.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:04.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:05.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:06.0 disabled MSI mapping found @ 0xfee00000
mpic:   - HT:07.0 [0x90] vendor 106b device 0053 has 86 irqs
time_init: decrementer frequency = 33.333333 MHz
time_init: processor frequency   = 2000.000000 MHz
clocksource: timebase mult[1e000005] shift[24] registered
clockevent: decrementer mult[8888887] shift[32] cpu[0]
Console: colour dummy device 80x25
console [tty0] enabled
bootconsole [udbg0] disabled
mempolicy: Disabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
pid_max: default: 32768 minimum: 301
Security Framework initialized
AppArmor: AppArmor disabled by boot time parameter
Yama: disabled by default; enable with sysctl kernel.yama.*
Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
Initializing cgroup subsys blkio
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys perf_event
Initializing cgroup subsys net_prio
ftrace: allocating 20935 entries in 8 pages
PowerMac SMP probe found 2 cpus
KeyWest i2c @0xf8001003 irq 16 /u4@0,f8000000/i2c@f8001000
  channel 1 bus /u4@0,f8000000/i2c@f8001000/i2c-bus@1
KeyWest i2c @0x80018000 irq 27 /ht@0,f2000000/pci@8/mac-io@7/i2c@18000
  channel 0 bus /ht@0,f2000000/pci@8/mac-io@7/i2c@18000/i2c-bus@0
  channel 0 bus /ht@0,f2000000/pci@8/mac-io@7/i2c@18000/i2c-bus@0
SMU i2c /smu@0,0/smu-i2c-control@0
  channel b bus /smu@0,0/smu-i2c-control@0/i2c-bus@b
  channel e bus /smu@0,0/smu-i2c-control@0/i2c-bus@e
Processor timebase sync using platform function
mpic: requesting IPIs...
PPC970/FX/MP performance monitor hardware support registered
Brought up 2 CPUs
devtmpfs: initialized
EEH: devices created
device-tree: Duplicate name in i2c@18000, renamed to "i2c-bus@0#1"
NET: Registered protocol family 16
eeh_init: Platform EEH operation not found
IBM eBus Device Driver
cpuidle: using governor ladder
cpuidle: using governor menu
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x10000-0x80ffff] (bus address [0x0000-0x7fffff])
pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: root bus resource [mem 0x90000000-0x9fffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
pci 0000:00:0b.0: [106b:005b] type 01 class 0x060400
PCI: Fixup U4 PCIe bridge range: [mem 0x90000000-0x9fffffff]
pci 0000:00:0b.0: PME# supported from D0 D3hot D3cold
IOMMU table initialized, virtual merging enabled
pci 0000:0a:00.0: [10de:0142] type 00 class 0x030000
pci 0000:0a:00.0: reg 0x10: [mem 0x92000000-0x92ffffff]
pci 0000:0a:00.0: reg 0x14: [mem 0x98000000-0x9fffffff 64bit pref]
pci 0000:0a:00.0: reg 0x1c: [mem 0x91000000-0x91ffffff 64bit]
pci 0000:0a:00.0: reg 0x30: [mem 0x90000000-0x9001ffff pref]
pci 0000:0a:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
pci 0000:00:0b.0: PCI bridge to [bus 0a]
pci 0000:00:0b.0:   bridge window [io  0x10000-0x1ffff]
pci 0000:00:0b.0:   bridge window [mem 0x90000000-0x9fffffff]
pci 0000:00:0b.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 0a
PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io  0x820000-0xc1ffff] (bus address [0x0000-0x3fffff])
pci_bus 0001:00: root bus resource [mem 0xfa000000-0xffffffff]
pci_bus 0001:00: root bus resource [mem 0x80000000-0x8fffffff]
pci_bus 0001:00: root bus resource [mem 0xa0000000-0xefffffff]
pci_bus 0001:00: root bus resource [bus 00-ef]
pci_bus 0001:00: busn_res: [bus 00-ef] end is updated to ff
pci 0001:00:00.0: [106b:0074] type 00 class 0x060000
pci 0001:00:01.0: [1166:0130] type 01 class 0x060400
pci 0001:00:02.0: [1166:0130] type 01 class 0x060400
pci 0001:00:03.0: [1166:0132] type 01 class 0x060400
pci 0001:00:04.0: [1166:0132] type 01 class 0x060400
pci 0001:00:05.0: [1166:0132] type 01 class 0x060400
pci 0001:00:06.0: [1166:0132] type 01 class 0x060400
pci 0001:00:07.0: [106b:0053] type 01 class 0x060400
pci 0001:00:08.0: [106b:0054] type 01 class 0x060400
pci 0001:00:09.0: [106b:0055] type 01 class 0x060400
pci 0001:00:01.0: PCI bridge to [bus 04]
pci 0001:05:04.0: [14e4:166a] type 00 class 0x020000
pci 0001:05:04.0: reg 0x10: [mem 0xfa530000-0xfa53ffff 64bit]
pci 0001:05:04.0: reg 0x18: [mem 0xfa520000-0xfa52ffff 64bit]
pci 0001:05:04.0: PME# supported from D3hot D3cold
pci 0001:05:04.1: [14e4:166a] type 00 class 0x020000
pci 0001:05:04.1: reg 0x10: [mem 0xfa510000-0xfa51ffff 64bit]
pci 0001:05:04.1: reg 0x18: [mem 0xfa500000-0xfa50ffff 64bit]
pci 0001:05:04.1: PME# supported from D3hot D3cold
pci 0001:00:02.0: PCI bridge to [bus 05]
pci 0001:00:02.0:   bridge window [mem 0xfa500000-0xfa5fffff]
pci 0001:00:03.0: PCI bridge to [bus 06]
pci 0001:00:04.0: PCI bridge to [bus 07]
pci 0001:00:05.0: PCI bridge to [bus 08]
pci 0001:00:06.0: PCI bridge to [bus 09]
pci 0001:00:07.0: PCI bridge to [bus 02]
pci 0001:00:07.0:   bridge window [mem 0xfa000000-0xfa3fffff]
pci 0001:00:07.0:   bridge window [mem 0x00000000-0x000fffff pref]
pci 0001:01:07.0: [106b:004f] type 00 class 0xff0000
pci 0001:01:07.0: reg 0x10: [mem 0x80000000-0x8007ffff]
pci 0001:01:0b.0: [1033:0035] type 00 class 0x0c0310
pci 0001:01:0b.0: reg 0x10: [mem 0x80082000-0x80082fff]
pci 0001:01:0b.0: supports D1 D2
pci 0001:01:0b.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:01:0b.1: [1033:0035] type 00 class 0x0c0310
pci 0001:01:0b.1: reg 0x10: [mem 0x80081000-0x80081fff]
pci 0001:01:0b.1: supports D1 D2
pci 0001:01:0b.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:01:0b.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:01:0b.2: reg 0x10: [mem 0x80080000-0x800800ff]
pci 0001:01:0b.2: supports D1 D2
pci 0001:01:0b.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:00:08.0: PCI bridge to [bus 01]
pci 0001:00:08.0:   bridge window [mem 0x80000000-0x800fffff]
pci 0001:00:08.0:   bridge window [mem 0x00000000-0x000fffff pref]
pci 0001:03:0c.0: [1166:0240] type 00 class 0x01018f
pci 0001:03:0c.0: reg 0x10: [io  0x820000-0x820007]
pci 0001:03:0c.0: reg 0x14: [io  0x820000-0x820003]
pci 0001:03:0c.0: reg 0x18: [io  0x820000-0x820007]
pci 0001:03:0c.0: reg 0x1c: [io  0x820000-0x820003]
pci 0001:03:0c.0: reg 0x20: [io  0x820000-0x82000f]
pci 0001:03:0c.0: reg 0x24: [mem 0xfa402000-0xfa403fff]
pci 0001:03:0d.0: [106b:0050] type 00 class 0xff0000
pci 0001:03:0d.0: reg 0x10: [mem 0xfa404000-0xfa407fff]
pci 0001:03:0e.0: [106b:0052] type 00 class 0x0c0010
pci 0001:03:0e.0: reg 0x10: [mem 0xfa400000-0xfa400fff]
pci 0001:03:0e.0: supports D1 D2
pci 0001:03:0e.0: PME# supported from D0 D1 D2 D3hot
pci 0001:00:09.0: PCI bridge to [bus 03]
pci 0001:00:09.0:   bridge window [mem 0xfa400000-0xfa4fffff]
pci 0001:00:09.0:   bridge window [mem 0x00000000-0x000fffff pref]
pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 09
PCI 0000:00 Cannot reserve Legacy IO [io  0x10000-0x10fff]
pci 0000:00:0b.0: BAR 15: assigned [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:0b.0: PCI bridge to [bus 0a]
pci 0000:00:0b.0:   bridge window [io  0x10000-0x1ffff]
pci 0000:00:0b.0:   bridge window [mem 0x90000000-0x9fffffff]
pci 0000:00:0b.0:   bridge window [mem 0xf1000000-0xf10fffff 64bit pref]
pci_bus 0000:00: resource 4 [io  0x10000-0x80ffff]
pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: resource 6 [mem 0x90000000-0x9fffffff]
pci_bus 0000:0a: resource 0 [io  0x10000-0x1ffff]
pci_bus 0000:0a: resource 1 [mem 0x90000000-0x9fffffff]
pci_bus 0000:0a: resource 2 [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0001:00:01.0: PCI bridge to [bus 04]
pci 0001:00:02.0: PCI bridge to [bus 05]
pci 0001:00:02.0:   bridge window [mem 0xfa500000-0xfa5fffff]
pci 0001:00:03.0: PCI bridge to [bus 06]
pci 0001:00:04.0: PCI bridge to [bus 07]
pci 0001:00:05.0: PCI bridge to [bus 08]
pci 0001:00:06.0: PCI bridge to [bus 09]
pci 0001:00:07.0: PCI bridge to [bus 02]
pci 0001:00:07.0:   bridge window [mem 0xfa000000-0xfa3fffff]
pci 0001:00:08.0: PCI bridge to [bus 01]
pci 0001:00:08.0:   bridge window [mem 0x80000000-0x800fffff]
pci 0001:00:09.0: PCI bridge to [bus 03]
pci 0001:00:09.0:   bridge window [mem 0xfa400000-0xfa4fffff]
pci_bus 0001:00: resource 4 [io  0x820000-0xc1ffff]
pci_bus 0001:00: resource 5 [mem 0xfa000000-0xffffffff]
pci_bus 0001:00: resource 6 [mem 0x80000000-0x8fffffff]
pci_bus 0001:00: resource 7 [mem 0xa0000000-0xefffffff]
pci_bus 0001:05: resource 1 [mem 0xfa500000-0xfa5fffff]
pci_bus 0001:02: resource 1 [mem 0xfa000000-0xfa3fffff]
pci_bus 0001:01: resource 1 [mem 0x80000000-0x800fffff]
pci_bus 0001:03: resource 1 [mem 0xfa400000-0xfa4fffff]
PCI: Probing PCI hardware done
vgaarb: device added: PCI:0000:0a:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:0a:00.0
SCSI subsystem initialized
libata version 3.00 loaded.
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 32768 (order: 2, 262144 bytes)
TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP: reno registered
UDP hash table entries: 2048 (order: 0, 65536 bytes)
UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
NET: Registered protocol family 1
PCI: CLS mismatch (32 != 64), using 128 bytes
pci 0001:00:03.0: Found enabled HT MSI Mapping
pci 0001:00:04.0: Found enabled HT MSI Mapping
pci 0001:00:05.0: Found enabled HT MSI Mapping
pci 0001:00:06.0: Found enabled HT MSI Mapping
pci 0001:01:0b.0: enabling device (0000 -> 0002)
pci 0001:01:0b.1: enabling device (0000 -> 0002)
pci 0001:01:0b.2: enabling device (0004 -> 0006)
Unpacking initramfs...
Freeing initrd memory: 17664K (c000000001b00000 - c000000002c40000)
Hypercall H_BEST_ENERGY not supported
futex hash table entries: 512 (order: 0, 65536 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1439622791.967:1): initialized
HugeTLB registered 16 MB page size, pre-allocated 0 pages
zpool: loaded
VFS: Disk quotas dquot_6.5.2
VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
Using unsupported 1920x1080 NVDA,Display-A at 98020000, depth=8, pitch=2048
Console: switching to colour frame buffer device 240x67
fb0: Open Firmware frame buffer device on /pci@0,f0000000/NVDA,Parent@0/NVDA,Display-A@0
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
pmac_zilog: 0.6 (Benjamin Herrenschmidt <[hidden email]>)
Linux agpgart interface v0.103
MacIO PCI driver attached to Shasta chipset
0.00013020:ch-a: ttyPZ0 at MMIO 0x80013020 (irq = 23, base_baud = 230400) is a Z85c30 ESCC - Serial port
0.00013000:ch-b: ttyPZ1 at MMIO 0x80013000 (irq = 24, base_baud = 230400) is a Z85c30 ESCC - Serial port
pata-pci-macio 0001:03:0d.0: enabling device (0004 -> 0006)
pata-pci-macio 0001:03:0d.0: Activating pata-macio chipset Shasta ATA-6, Apple bus ID 3
scsi host0: pata_macio
ata1: PATA max UDMA/133 irq 38
mousedev: PS/2 mouse device common for all mice
rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
PowerMac i2c bus smu 14 registered
PowerMac i2c bus smu 11 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus u4 1 registered
Registering G5 CPU frequency driver
Frequency method: SCOM, Voltage method: GPIO
Low: 1000 Mhz, High: 2000 Mhz, Cur: 2000 MHz
ledtrig-cpu: registered to indicate activity on CPUs
TCP: cubic registered
NET: Registered protocol family 10
mip6: Mobile IPv6
NET: Registered protocol family 17
mpls_gso: MPLS GSO support
PM: Registered nosave memory: [mem 0x7f000000-0x7fffffff]
registered taskstats version 1
rtc-generic rtc-generic: setting system clock to 2015-08-15 07:13:12 UTC (1439622792)
PM: Hibernation image not present or could not be loaded.
ata1.00: ATAPI: HL-DT-ST DVD-RW GWA-4165B, C006, max UDMA/66
ata1.00: configured for UDMA/66
blk_queue_max_segment_size: set to minimum 65536
scsi 0:0:0:0: CD-ROM            HL-DT-ST DVD-RW GWA-4165B C006 PQ: 0 ANSI: 5
ata1.00: K2/Shasta alignment limits applied
Freeing unused kernel memory: 960K (c000000000960000 - c000000000a50000)
random: systemd-udevd urandom read with 7 bits of entropy available
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[hidden email]>
PTP clock support registered
tg3.c:v3.137 (May 11, 2014)
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
sata_svw 0001:03:0c.0: version 2.3
sata_svw 0001:03:0c.0: Using 32-bit DMA via iommu
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-pci 0001:01:0b.2: EHCI Host Controller
ehci-pci 0001:01:0b.2: new USB bus registered, assigned bus number 1
ehci-pci 0001:01:0b.2: irq 70, io mem 0x80080000
ehci-pci 0001:01:0b.2: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.0.0-2-powerpc64 ehci_hcd
usb usb1: SerialNumber: 0001:01:0b.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci-pci: OHCI PCI platform driver
ohci-pci 0001:01:0b.0: OHCI PCI host controller
ohci-pci 0001:01:0b.0: new USB bus registered, assigned bus number 2
ohci-pci 0001:01:0b.0: irq 70, io mem 0x80082000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI PCI host controller
usb usb2: Manufacturer: Linux 4.0.0-2-powerpc64 ohci_hcd
usb usb2: SerialNumber: 0001:01:0b.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ohci-pci 0001:01:0b.1: OHCI PCI host controller
ohci-pci 0001:01:0b.1: new USB bus registered, assigned bus number 3
ohci-pci 0001:01:0b.1: irq 70, io mem 0x80081000
windfarm: initializing for dual-core desktop G5
scsi host1: sata_svw
scsi host2: sata_svw
scsi host3: sata_svw
scsi host4: sata_svw
ata2: SATA max UDMA/133 mmio m8192@0xfa402000 port 0xfa402000 irq 18
ata3: SATA max UDMA/133 mmio m8192@0xfa402000 port 0xfa402100 irq 18
ata4: SATA max UDMA/133 mmio m8192@0xfa402000 port 0xfa402200 irq 18
ata5: SATA max UDMA/133 mmio m8192@0xfa402000 port 0xfa402300 irq 18
firewire_ohci 0001:03:0e.0: enabling device (0000 -> 0002)
sr 0:0:0:0: [sr0] scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI PCI host controller
usb usb3: Manufacturer: Linux 4.0.0-2-powerpc64 ohci_hcd
usb usb3: SerialNumber: 0001:01:0b.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
firewire_ohci 0001:03:0e.0: added OHCI v1.0 device as card 0, 8 IR + 8 IT contexts, quirks 0x0
windfarm: CPUs control loops started.
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
tg3 0001:05:04.0: Using 32-bit DMA via iommu
tg3 0001:05:04.0 eth0: Tigon3 [partno(BCM95780) rev 8003] (PCIX:133MHz:64-bit) MAC address XXX
tg3 0001:05:04.0 eth0: attached PHY is 5780 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
tg3 0001:05:04.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
tg3 0001:05:04.0 eth0: dma_rwctrl[76144000] dma_mask[40-bit]
usb 2-2: new low-speed USB device number 2 using ohci-pci
ata2.00: ATA-6: HDS722516VLSA80, V34OA6MA, max UDMA/100
tg3 0001:05:04.1: Using 32-bit DMA via iommu
tg3 0001:05:04.1 eth1: Tigon3 [partno(BCM95780) rev 8003] (PCIX:133MHz:64-bit) MAC address XXX
tg3 0001:05:04.1 eth1: attached PHY is 5780 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0])
tg3 0001:05:04.1 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
tg3 0001:05:04.1 eth1: dma_rwctrl[76144000] dma_mask[40-bit]
ata2.00: 321672960 sectors, multi 16: LBA48
ata2.00: configured for UDMA/100
scsi 1:0:0:0: Direct-Access     ATA      HDS722516VLSA80  A6MA PQ: 0 ANSI: 5
firewire_core 0001:03:0e.0: created device fw0: GUID 001451fffe365d86, S800
firewire_core 0001:03:0e.0: phy config: new root=ffc1, gap_count=5
usb 2-2: New USB device found, idVendor=04f3, idProduct=0103
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hidraw: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
input: HID 04f3:0103 as /devices/pci0001:00/0001:00:08.0/0001:01:0b.0/usb2/2-2/2-2:1.0/0003:04F3:0103.0001/input/input0
hid-generic 0003:04F3:0103.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-0001:01:0b.0-2/input0
input: HID 04f3:0103 as /devices/pci0001:00/0001:00:08.0/0001:01:0b.0/usb2/2-2/2-2:1.1/0003:04F3:0103.0002/input/input1
ata3: SATA link down (SStatus 4 SControl 300)
hid-generic 0003:04F3:0103.0002: input,hidraw1: USB HID v1.10 Device [HID 04f3:0103] on usb-0001:01:0b.0-2/input1
sat 0 partition c8: c8 6 2 7f ff 2 ff 1 fb bf 0 3a 0 20 0 0 0 7 89 37 0 a0 0 0
sat 0 partition c4: c4 4 1 7f e6 e 80 b2 ff 55 5c 11 cd 10 0 0
ata4: failed to resume link (SControl 0)
ata4: SATA link down (SStatus 0 SControl 0)
sat 0 partition c9: c9 6 2 7f ff 2 ff 1 fb bf 0 3a 0 20 0 0 0 7 89 37 0 a0 0 0
ata5: failed to resume link (SControl 0)
ata5: SATA link down (SStatus 0 SControl 0)
sd 1:0:0:0: [sda] 321672960 512-byte logical blocks: (164 GB/153 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7
sd 1:0:0:0: [sda] Attached SCSI disk
sat 0 partition c5: c5 4 1 7f e6 e 80 b2 ff 55 7b 12 cd 10 0 0
windfarm: Backside control loop started.
windfarm: Slots control loop started.
PM: Starting manual resume from disk
PM: Hibernation image partition 8:5 present
PM: Looking for hibernation image.
PM: Image not found (code -22)
PM: Hibernation image not present or could not be loaded.
windfarm: Drive bay control loop started.
EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
systemd[1]: Inserted module 'autofs4'
random: nonblocking pool is initialized
systemd[1]: systemd 220 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture ppc64.
systemd[1]: Set hostname to <debppc>.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
systemd[1]: Created slice Root Slice.
systemd[1]: Starting Root Slice.
systemd[1]: Listening on Journal Audit Socket.
systemd[1]: Starting Journal Audit Socket.
systemd[1]: Created slice System Slice.
systemd[1]: Starting System Slice.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Starting User and Session Slice.
systemd[1]: Created slice system-systemd\x2dfsck.slice.
systemd[1]: Starting system-systemd\x2dfsck.slice.
systemd[1]: Listening on fsck to fsckd communication Socket.
systemd[1]: Starting fsck to fsckd communication Socket.
systemd[1]: Reached target Slices.
systemd[1]: Starting Slices.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Starting udev Kernel Socket.
systemd[1]: Created slice system-getty.slice.
systemd[1]: Starting system-getty.slice.
systemd[1]: Reached target Remote File Systems (Pre).
systemd[1]: Starting Remote File Systems (Pre).
systemd[1]: Listening on Journal Socket.
systemd[1]: Starting Journal Socket.
systemd[1]: Mounting POSIX Message Queue File System...
systemd[1]: Starting Create list of required static device nodes for the current kernel...
systemd[1]: Started File System Check on Root Device.
systemd[1]: Starting Load Kernel Modules...
systemd[1]: Mounting Debug File System...
systemd[1]: Listening on udev Control Socket.
systemd[1]: Starting udev Control Socket.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
systemd[1]: Started Set Up Additional Binary Formats.
systemd[1]: Starting Increase datagram queue length...
systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
systemd[1]: Reached target Encrypted Volumes.
systemd[1]: Starting Encrypted Volumes.
systemd[1]: Listening on Journal Socket (/dev/log).
systemd[1]: Starting Journal Socket (/dev/log).
lp: driver loaded but no devices found
systemd[1]: Mounting Huge Pages File System...
systemd[1]: Mounted POSIX Message Queue File System.
systemd[1]: Mounted Debug File System.
loop: module loaded
systemd[1]: Mounted Huge Pages File System.
systemd[1]: Started Create list of required static device nodes for the current kernel.
systemd[1]: Started Increase datagram queue length.
snd-aoa-codec-onyx: created and attached onyx instance
snd-aoa-codec-onyx: created and attached onyx instance
systemd[1]: Listening on Syslog Socket.
systemd[1]: Starting Syslog Socket.
systemd[1]: Starting Journal Service...
systemd[1]: Starting Create Static Device Nodes in /dev...
snd-aoa-fabric-layout: Using PMF GPIOs
snd-aoa-fabric-layout: can use this codec
snd-aoa-codec-onyx: attached to onyx codec via i2c
snd-aoa-fabric-layout: platform-onyx-codec-ref doesn't match!
snd-aoa: fabric didn't like codec onyx
systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start Load Kernel Modules.
systemd[1]: systemd-modules-load.service: Unit entered failed state.
systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
systemd[1]: Mounted FUSE Control File System.
systemd[1]: Mounted Configuration File System.
systemd[1]: Starting Apply Kernel Variables...
systemd[1]: Started Apply Kernel Variables.
systemd[1]: Started Journal Service.
EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
systemd-journald[182]: Received request to flush runtime journal from PID 1
sr 0:0:0:0: Attached scsi generic sg0 type 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
Unable to find swap-space signature
EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: errors=remount-ro
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
FS-Cache: Loaded
FS-Cache: Netfs 'nfs' registered for caching
Installing knfsd (copyright (C) 1996 [hidden email]).
u3msi: allocated virq 0x20 (hw 0x8) addr 0xfee00000
u3msi: allocated virq 0x21 (hw 0x9) addr 0xfee00000
tg3 0001:05:04.0 eth0: Link is up at 100 Mbps, full duplex
tg3 0001:05:04.0 eth0: Flow control is off for TX and off for RX

$ lspci
0000:00:0b.0 PCI bridge: Apple Inc. CPC945 PCIe Bridge
0000:0a:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 LE] (rev a2)
0001:00:00.0 Host bridge: Apple Inc. U4 HT Bridge
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:07.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple Inc. Shasta Mac I/O
0001:01:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
0001:03:0c.0 IDE interface: Broadcom K2 SATA
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. Shasta Firewire
0001:05:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)
0001:05:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)

$ cat /proc/cpuinfo
processor : 0
cpu : PPC970MP, altivec supported
clock : 2000.000000MHz
revision : 1.1 (pvr 0044 0101)

processor : 1
cpu : PPC970MP, altivec supported
clock : 2000.000000MHz
revision : 1.1 (pvr 0044 0101)

timebase : 33333333
platform : PowerMac
model : PowerMac11,2
machine : PowerMac11,2
motherboard : PowerMac11,2 MacRISC4 Power Macintosh
detected as : 337 (PowerMac G5 Dual Core)
pmac flags : 00000000
L2 cache : 1024K unified
pmac-generation : NewWorld

Reply | Threaded
Open this post in threaded view
|

Re: PowerMac11,2 Dual Core G5 panic trap on -current

Donovan Watteau
On Sat, 15 Aug 2015, Donovan Watteau wrote:

> Hi,
>
> I saw some new PowerMac11,2 support in plus58.html.  It mentions a
> Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's
> what happens.
>
> I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on
> OpenFirmware.
>
> However, it panics quickly, and the screen gets a bit corrupted
> (I have pictures if it helps, this one is copied by hand).
>
> Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted]
>         The Regents of the University of[corrupted]
> Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org
>
> OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 1[corrupted]
>     [hidden email]:/usr/src/[corrupted]mpile/RAMDISK
> real mem = 3758096384 (3584MB)
> avail mem = 2019610624 (1926MB)
> mainbus0 at root: model PowerMac11,2
> cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz
> cpu at mainbus0 not configured
> mem at mainbus0 not configured
> memc0 at mainbus0: u4 rev 0x42
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> "ds1775" at iic0 addr 0x4a not configured
> [other corrupted line, but has similarities with the previous line]
> "max6690" at iic0 addr 0x4c not configured
> "max6690" at iic0 addr 0x4e not configured
> "dart" at memc0 offset 0xf8033000 not configured
> openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> mpcpcibr0 at mainbus0 pci: u4-pcie
> pci0 at mpcpcibr0 bus 0
> vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> vgafb0: aperture needed
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> ht0 at mainbus0: u3-ht, 10 devices
> pci1 at ht0 bus0
> ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci2 at ppb0 bus 4
> ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci3 at ppb1 bus 5
> bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3
> (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8
> halted
> ok
> 0>
>
> Then it goes back to OpenFirmware and I can't type anything.
>
> I have another macppc I can use to compile kernels, if that helps.
>
> ...

I did some more testing, and it looks like this issue only shows
up with bsd.rd.  bsd.mp works fine once the system is installed.
I had to disable bge(4) with "boot -c" in order to work around
this.

Here's bsd.rd dmesg, after disabling bge:

User Kernel Config
UKC> disable bge
 76 bge* disabled
UKC> quit
Continuing...
console out [NVDA,Display-A] console in [keyboard], using USB
using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 13:59:43 MDT 2015
    [hidden email]:/usr/src/sys/arch/macppc/compile/RAMDISK
real mem = 3758096384 (3584MB)
avail mem = 2019610624 (1926MB)
mainbus0 at root: model PowerMac11,2
cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz
cpu at mainbus0 not configured
mem at mainbus0 not configured
memc0 at mainbus0: u4 rev 0x42
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
"ds1775" at iic0 addr 0x4a not configured
"ds1631" at iic0 addr 0x4b not configured
"max6690" at iic0 addr 0x4c not configured
"max6690" at iic0 addr 0x4e not configured
"dart" at memc0 offset 0xf8033000 not configured
openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
mpcpcibr0 at mainbus0 pci: u4-pcie
pci0 at mpcpcibr0 bus 0
vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
vgafb0: aperture needed
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
ht0 at mainbus0: u3-ht, 10 devices
pci1 at ht0 bus 0
ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci2 at ppb0 bus 4
ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci3 at ppb1 bus 5
"Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 0 not configured
"Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 1 not configured
ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci4 at ppb2 bus 6
ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci5 at ppb3 bus 7
ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci6 at ppb4 bus 8
ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci7 at ppb5 bus 9
hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources
pci8 at hpb0 bus 2
ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00
pci9 at ppb6 bus 1
macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00
macgpio0 at macobio0 offset 0x50
"smu-doorbell" at macgpio0 offset 0x12 not configured
"smu-interrupt" at macgpio0 offset 0xd not configured
"programmer-switch" at macgpio0 offset 0xc not configured
"chip-fault" at macgpio0 offset 0xe not configured
"slewing-done" at macgpio0 offset 0x38 not configured
"mlb-good" at macgpio0 offset 0x13 not configured
"vdnap0" at macgpio0 offset 0x14 not configured
"timebase-enable" at macgpio0 offset 0x26 not configured
"amp-mute" at macgpio0 offset 0x30 not configured
"dig-hw-reset-c" at macgpio0 offset 0x9 not configured
"codec-error-irq" at macgpio0 offset 0x32 not configured
"codec-clock-mux" at macgpio0 offset 0x31 not configured
"headphone-detect" at macgpio0 offset 0x2c not configured
"headphone-mute" at macgpio0 offset 0x2f not configured
"hw-reset" at macgpio0 offset 0xa not configured
"lineout-detect" at macgpio0 offset 0x28 not configured
"linein-detect" at macgpio0 offset 0x2a not configured
"lineout-mute" at macgpio0 offset 0x2e not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 23,24
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
"i2c" at macobio0 offset 0x18000 not configured
"i2s" at macobio0 offset 0x0 not configured
"timer" at macobio0 offset 0x15000 not configured
ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0
ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0
ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00
pci10 at ppb7 bus 3
pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
pciide0: port 0: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80>
wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 1: PHY offline
kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00
wdc0 at kauaiata0 irq 38: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
"Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured
smu0 at mainbus0
uhidev0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub1 port 2 configuration 1 interface 1 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
softraid0 at root
scsibus1 at softraid0: 256 targets
bootpath: /ht/pci@9/ata-6/disk@0:/5.8/macppc/bsd.rd
root on rd0a swap on rd0b dump on rd0b
WARNING: unable to get date/time -- CHECK AND RESET THE DATE!

And here's bsd.mp dmesg:

[ using 551356 bytes of bsd ELF symbol table ]
console out [NVDA,Display-A] console in [keyboard], using USB
using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.8 (GENERIC.MP) #728: Sun Aug 16 05:05:32 MDT 2015
    [hidden email]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
real mem = 3758096384 (3584MB)
avail mem = 2019983360 (1926MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: model PowerMac11,2
cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz
cpu1 at mainbus0: 970MP (Revision 0x101): 2000 MHz
mem0 at mainbus0
spdmem0 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5
spdmem1 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5
spdmem2 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem3 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem4 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4
spdmem5 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4
memc0 at mainbus0: u4 rev 0x42
kiic0 at memc0 offset 0xf8001000
iic0 at kiic0
lmtemp0 at iic0 addr 0x4a: ds1775
maxds0 at iic0 addr 0x4b: ds1631
maxtmp0 at iic0 addr 0x4c: max6690
maxtmp1 at iic0 addr 0x4e: max6690
"dart" at memc0 offset 0xf8033000 not configured
openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
mpcpcibr0 at mainbus0 pci: u4-pcie
pci0 at mpcpcibr0 bus 0
vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
ht0 at mainbus0: u3-ht, 10 devices
pci1 at ht0 bus 0
ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci2 at ppb0 bus 4
ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
pci3 at ppb1 bus 5
bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 66, address XXX
brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
bge1 at pci3 dev 4 function 1 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 67, address XXX
brgphy1 at bge1 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci4 at ppb2 bus 6
ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci5 at ppb3 bus 7
ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci6 at ppb4 bus 8
ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
pci7 at ppb5 bus 9
hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources
pci8 at hpb0 bus 2
ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00
pci9 at ppb6 bus 1
macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00
macgpio0 at macobio0 offset 0x50
"smu-doorbell" at macgpio0 offset 0x12 not configured
"smu-interrupt" at macgpio0 offset 0xd not configured
"programmer-switch" at macgpio0 offset 0xc not configured
"chip-fault" at macgpio0 offset 0xe not configured
"slewing-done" at macgpio0 offset 0x38 not configured
"mlb-good" at macgpio0 offset 0x13 not configured
"vdnap0" at macgpio0 offset 0x14 not configured
"timebase-enable" at macgpio0 offset 0x26 not configured
"amp-mute" at macgpio0 offset 0x30 not configured
"dig-hw-reset-c" at macgpio0 offset 0x9 not configured
"codec-error-irq" at macgpio0 offset 0x32 not configured
"codec-clock-mux" at macgpio0 offset 0x31 not configured
"headphone-detect" at macgpio0 offset 0x2c not configured
"headphone-mute" at macgpio0 offset 0x2f not configured
"hw-reset" at macgpio0 offset 0xa not configured
"lineout-detect" at macgpio0 offset 0x28 not configured
"linein-detect" at macgpio0 offset 0x2a not configured
"lineout-mute" at macgpio0 offset 0x2e not configured
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 23,24
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
kiic1 at macobio0 offset 0x18000
iic1 at kiic1
"pcm3052" at iic1 addr 0x46 not configured
"cs8416" at iic1 addr 0x12 not configured
onyx0 at macobio0 offset 0x0: irq 28,11,12
"timer" at macobio0 offset 0x15000 not configured
audio0 at onyx0
ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0
ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0
ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00
pci10 at ppb7 bus 3
pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
pciide0: using irq 10 for native-PCI interrupt
pciide0: port 0: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80>
wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: port 1: PHY offline
kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00
wdc0 at kauaiata0 irq 38: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
"Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured
smu0 at mainbus0
iic2 at smu0
"smu-sat" at iic2 addr 0x58 not configured
"smu-pulsar" at iic2 addr 0x6a not configured
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Elan product 0x0103" rev 1.10/1.07 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub1 port 2 configuration 1 interface 1 "Elan product 0x0103" rev 1.10/1.07 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /ht/pci@9/k2-sata-root/k2-sata@0/disk@0:/bsd
root on wd0a (a1631327f82d6e92.a) swap on wd0b dump on wd0b
WARNING: unable to get date/time -- CHECK AND RESET THE DATE!

Except for this bsd.rd bug, it works great (well, X doesn't like the
NVIDIA videocard, but I'll find an ATI). Thanks to Martin and whoever
helped making this possible.

Reply | Threaded
Open this post in threaded view
|

Re: PowerMac11,2 Dual Core G5 panic trap on -current

Martin Pieuchot
On 16/08/15(Sun) 17:37, Donovan Watteau wrote:

> On Sat, 15 Aug 2015, Donovan Watteau wrote:
> > Hi,
> >
> > I saw some new PowerMac11,2 support in plus58.html.  It mentions a
> > Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's
> > what happens.
> >
> > I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on
> > OpenFirmware.
> >
> > However, it panics quickly, and the screen gets a bit corrupted
> > (I have pictures if it helps, this one is copied by hand).
> >
> > Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted]
> >         The Regents of the University of[corrupted]
> > Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org
> >
> > OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 1[corrupted]
> >     [hidden email]:/usr/src/[corrupted]mpile/RAMDISK
> > real mem = 3758096384 (3584MB)
> > avail mem = 2019610624 (1926MB)
> > mainbus0 at root: model PowerMac11,2
> > cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz
> > cpu at mainbus0 not configured
> > mem at mainbus0 not configured
> > memc0 at mainbus0: u4 rev 0x42
> > kiic0 at memc0 offset 0xf8001000
> > iic0 at kiic0
> > "ds1775" at iic0 addr 0x4a not configured
> > [other corrupted line, but has similarities with the previous line]
> > "max6690" at iic0 addr 0x4c not configured
> > "max6690" at iic0 addr 0x4e not configured
> > "dart" at memc0 offset 0xf8033000 not configured
> > openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> > mpcpcibr0 at mainbus0 pci: u4-pcie
> > pci0 at mpcpcibr0 bus 0
> > vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> > vgafb0: aperture needed
> > wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> > ht0 at mainbus0: u3-ht, 10 devices
> > pci1 at ht0 bus0
> > ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > pci2 at ppb0 bus 4
> > ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > pci3 at ppb1 bus 5
> > bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3
> > (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8
> > halted
> > ok
> > 0>
> >
> > Then it goes back to OpenFirmware and I can't type anything.
> >
> > I have another macppc I can use to compile kernels, if that helps.
> >
> > ...
>
> I did some more testing, and it looks like this issue only shows
> up with bsd.rd.  bsd.mp works fine once the system is installed.
> I had to disable bge(4) with "boot -c" in order to work around
> this.

Good to know, I'll see if I can reproduce and investigate.

>
> Here's bsd.rd dmesg, after disabling bge:
>
> User Kernel Config
> UKC> disable bge
>  76 bge* disabled
> UKC> quit
> Continuing...
> console out [NVDA,Display-A] console in [keyboard], using USB
> using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 13:59:43 MDT 2015
>     [hidden email]:/usr/src/sys/arch/macppc/compile/RAMDISK
> real mem = 3758096384 (3584MB)
> avail mem = 2019610624 (1926MB)
> mainbus0 at root: model PowerMac11,2
> cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz
> cpu at mainbus0 not configured
> mem at mainbus0 not configured
> memc0 at mainbus0: u4 rev 0x42
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> "ds1775" at iic0 addr 0x4a not configured
> "ds1631" at iic0 addr 0x4b not configured
> "max6690" at iic0 addr 0x4c not configured
> "max6690" at iic0 addr 0x4e not configured
> "dart" at memc0 offset 0xf8033000 not configured
> openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> mpcpcibr0 at mainbus0 pci: u4-pcie
> pci0 at mpcpcibr0 bus 0
> vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> vgafb0: aperture needed
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> ht0 at mainbus0: u3-ht, 10 devices
> pci1 at ht0 bus 0
> ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci2 at ppb0 bus 4
> ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci3 at ppb1 bus 5
> "Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 0 not configured
> "Broadcom BCM5780" rev 0x03 at pci3 dev 4 function 1 not configured
> ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci4 at ppb2 bus 6
> ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci5 at ppb3 bus 7
> ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci6 at ppb4 bus 8
> ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci7 at ppb5 bus 9
> hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources
> pci8 at hpb0 bus 2
> ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00
> pci9 at ppb6 bus 1
> macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00
> macgpio0 at macobio0 offset 0x50
> "smu-doorbell" at macgpio0 offset 0x12 not configured
> "smu-interrupt" at macgpio0 offset 0xd not configured
> "programmer-switch" at macgpio0 offset 0xc not configured
> "chip-fault" at macgpio0 offset 0xe not configured
> "slewing-done" at macgpio0 offset 0x38 not configured
> "mlb-good" at macgpio0 offset 0x13 not configured
> "vdnap0" at macgpio0 offset 0x14 not configured
> "timebase-enable" at macgpio0 offset 0x26 not configured
> "amp-mute" at macgpio0 offset 0x30 not configured
> "dig-hw-reset-c" at macgpio0 offset 0x9 not configured
> "codec-error-irq" at macgpio0 offset 0x32 not configured
> "codec-clock-mux" at macgpio0 offset 0x31 not configured
> "headphone-detect" at macgpio0 offset 0x2c not configured
> "headphone-mute" at macgpio0 offset 0x2f not configured
> "hw-reset" at macgpio0 offset 0xa not configured
> "lineout-detect" at macgpio0 offset 0x28 not configured
> "linein-detect" at macgpio0 offset 0x2a not configured
> "lineout-mute" at macgpio0 offset 0x2e not configured
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 23,24
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> "i2c" at macobio0 offset 0x18000 not configured
> "i2s" at macobio0 offset 0x0 not configured
> "timer" at macobio0 offset 0x15000 not configured
> ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0
> ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0
> ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00
> pci10 at ppb7 bus 3
> pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
> pciide0: using irq 10 for native-PCI interrupt
> pciide0: port 0: 1.5Gb/s
> wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80>
> wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide0: port 1: PHY offline
> kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00
> wdc0 at kauaiata0 irq 38: DMA
> atapiscsi0 at wdc0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable
> cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> "Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured
> smu0 at mainbus0
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub1 port 2 configuration 1 interface 1 "vendor 0x04f3 product 0x0103" rev 1.10/1.07 addr 2
> uhidev1: iclass 3/0, 2 report ids
> uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> softraid0 at root
> scsibus1 at softraid0: 256 targets
> bootpath: /ht/pci@9/ata-6/disk@0:/5.8/macppc/bsd.rd
> root on rd0a swap on rd0b dump on rd0b
> WARNING: unable to get date/time -- CHECK AND RESET THE DATE!
>
> And here's bsd.mp dmesg:
>
> [ using 551356 bytes of bsd ELF symbol table ]
> console out [NVDA,Display-A] console in [keyboard], using USB
> using parent NVDA,Parent:: memaddr 98000000, size 8000000 : consaddr 98020000 : ioaddr 92000000, size 1000000: width 1920 linebytes 2048 height 1080 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org
>
> OpenBSD 5.8 (GENERIC.MP) #728: Sun Aug 16 05:05:32 MDT 2015
>     [hidden email]:/usr/src/sys/arch/macppc/compile/GENERIC.MP
> real mem = 3758096384 (3584MB)
> avail mem = 2019983360 (1926MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root: model PowerMac11,2
> cpu0 at mainbus0: 970MP (Revision 0x101): 2000 MHz
> cpu1 at mainbus0: 970MP (Revision 0x101): 2000 MHz
> mem0 at mainbus0
> spdmem0 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem1 at mem0: 1GB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem2 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem3 at mem0: 512MB DDR2 SDRAM non-parity PC2-4200CL5
> spdmem4 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4
> spdmem5 at mem0: 256MB DDR2 SDRAM non-parity PC2-4200CL4
> memc0 at mainbus0: u4 rev 0x42
> kiic0 at memc0 offset 0xf8001000
> iic0 at kiic0
> lmtemp0 at iic0 addr 0x4a: ds1775
> maxds0 at iic0 addr 0x4b: ds1631
> maxtmp0 at iic0 addr 0x4c: max6690
> maxtmp1 at iic0 addr 0x4e: max6690
> "dart" at memc0 offset 0xf8033000 not configured
> openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> mpcpcibr0 at mainbus0 pci: u4-pcie
> pci0 at mpcpcibr0 bus 0
> vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> ht0 at mainbus0: u3-ht, 10 devices
> pci1 at ht0 bus 0
> ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci2 at ppb0 bus 4
> ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> pci3 at ppb1 bus 5
> bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 66, address XXX
> brgphy0 at bge0 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
> bge1 at pci3 dev 4 function 1 "Broadcom BCM5780" rev 0x03, BCM5714 B3 (0x8003): irq 67, address XXX
> brgphy1 at bge1 phy 1: BCM5780 10/100/1000baseT/SX PHY, rev. 0
> ppb2 at pci1 dev 3 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci4 at ppb2 bus 6
> ppb3 at pci1 dev 4 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci5 at ppb3 bus 7
> ppb4 at pci1 dev 5 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci6 at ppb4 bus 8
> ppb5 at pci1 dev 6 function 0 "ServerWorks HT-2000 PCIE" rev 0xa3
> pci7 at ppb5 bus 9
> hpb0 at pci1 dev 7 function 0 "Apple Shasta PCI" rev 0x00: 85 sources
> pci8 at hpb0 bus 2
> ppb6 at pci1 dev 8 function 0 "Apple Shasta PCI" rev 0x00
> pci9 at ppb6 bus 1
> macobio0 at pci9 dev 7 function 0 "Apple Shasta" rev 0x00
> macgpio0 at macobio0 offset 0x50
> "smu-doorbell" at macgpio0 offset 0x12 not configured
> "smu-interrupt" at macgpio0 offset 0xd not configured
> "programmer-switch" at macgpio0 offset 0xc not configured
> "chip-fault" at macgpio0 offset 0xe not configured
> "slewing-done" at macgpio0 offset 0x38 not configured
> "mlb-good" at macgpio0 offset 0x13 not configured
> "vdnap0" at macgpio0 offset 0x14 not configured
> "timebase-enable" at macgpio0 offset 0x26 not configured
> "amp-mute" at macgpio0 offset 0x30 not configured
> "dig-hw-reset-c" at macgpio0 offset 0x9 not configured
> "codec-error-irq" at macgpio0 offset 0x32 not configured
> "codec-clock-mux" at macgpio0 offset 0x31 not configured
> "headphone-detect" at macgpio0 offset 0x2c not configured
> "headphone-mute" at macgpio0 offset 0x2f not configured
> "hw-reset" at macgpio0 offset 0xa not configured
> "lineout-detect" at macgpio0 offset 0x28 not configured
> "linein-detect" at macgpio0 offset 0x2a not configured
> "lineout-mute" at macgpio0 offset 0x2e not configured
> "escc-legacy" at macobio0 offset 0x12000 not configured
> zsc0 at macobio0 offset 0x13000: irq 23,24
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> kiic1 at macobio0 offset 0x18000
> iic1 at kiic1
> "pcm3052" at iic1 addr 0x46 not configured
> "cs8416" at iic1 addr 0x12 not configured
> onyx0 at macobio0 offset 0x0: irq 28,11,12
> "timer" at macobio0 offset 0x15000 not configured
> audio0 at onyx0
> ohci0 at pci9 dev 11 function 0 "NEC USB" rev 0x43: irq 70, version 1.0
> ohci1 at pci9 dev 11 function 1 "NEC USB" rev 0x43: irq 70, version 1.0
> ehci0 at pci9 dev 11 function 2 "NEC USB" rev 0x04: irq 70
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> usb2 at ohci1: USB revision 1.0
> uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
> ppb7 at pci1 dev 9 function 0 "Apple Shasta PCI" rev 0x00
> pci10 at ppb7 bus 3
> pciide0 at pci10 dev 12 function 0 "ServerWorks K2 SATA" rev 0x00: DMA
> pciide0: using irq 10 for native-PCI interrupt
> pciide0: port 0: 1.5Gb/s
> wd0 at pciide0 channel 0 drive 0: <HDS722516VLSA80>
> wd0: 16-sector PIO, LBA48, 157066MB, 321672960 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> pciide0: port 1: PHY offline
> kauaiata0 at pci10 dev 13 function 0 "Apple Shasta ATA" rev 0x00
> wdc0 at kauaiata0 irq 38: DMA
> atapiscsi0 at wdc0 channel 0 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RW GWA-4165B, C006> ATAPI 5/cdrom removable
> cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> "Apple Shasta Firewire" rev 0x00 at pci10 dev 14 function 0 not configured
> smu0 at mainbus0
> iic2 at smu0
> "smu-sat" at iic2 addr 0x58 not configured
> "smu-pulsar" at iic2 addr 0x6a not configured
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Elan product 0x0103" rev 1.10/1.07 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhidev1 at uhub1 port 2 configuration 1 interface 1 "Elan product 0x0103" rev 1.10/1.07 addr 2
> uhidev1: iclass 3/0, 2 report ids
> uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> bootpath: /ht/pci@9/k2-sata-root/k2-sata@0/disk@0:/bsd
> root on wd0a (a1631327f82d6e92.a) swap on wd0b dump on wd0b
> WARNING: unable to get date/time -- CHECK AND RESET THE DATE!
>
> Except for this bsd.rd bug, it works great (well, X doesn't like the
> NVIDIA videocard, but I'll find an ATI). Thanks to Martin and whoever
> helped making this possible.
>

Reply | Threaded
Open this post in threaded view
|

Re: PowerMac11,2 Dual Core G5 panic trap on -current

Martin Pieuchot
On 17/08/15(Mon) 11:11, Martin Pieuchot wrote:

> On 16/08/15(Sun) 17:37, Donovan Watteau wrote:
> > On Sat, 15 Aug 2015, Donovan Watteau wrote:
> > > Hi,
> > >
> > > I saw some new PowerMac11,2 support in plus58.html.  It mentions a
> > > Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's
> > > what happens.
> > >
> > > I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on
> > > OpenFirmware.
> > >
> > > However, it panics quickly, and the screen gets a bit corrupted
> > > (I have pictures if it helps, this one is copied by hand).
> > >
> > > Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted]
> > >         The Regents of the University of[corrupted]
> > > Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org
> > >
> > > OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 1[corrupted]
> > >     [hidden email]:/usr/src/[corrupted]mpile/RAMDISK
> > > real mem = 3758096384 (3584MB)
> > > avail mem = 2019610624 (1926MB)
> > > mainbus0 at root: model PowerMac11,2
> > > cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz
> > > cpu at mainbus0 not configured
> > > mem at mainbus0 not configured
> > > memc0 at mainbus0: u4 rev 0x42
> > > kiic0 at memc0 offset 0xf8001000
> > > iic0 at kiic0
> > > "ds1775" at iic0 addr 0x4a not configured
> > > [other corrupted line, but has similarities with the previous line]
> > > "max6690" at iic0 addr 0x4c not configured
> > > "max6690" at iic0 addr 0x4e not configured
> > > "dart" at memc0 offset 0xf8033000 not configured
> > > openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> > > mpcpcibr0 at mainbus0 pci: u4-pcie
> > > pci0 at mpcpcibr0 bus 0
> > > vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> > > vgafb0: aperture needed
> > > wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> > > ht0 at mainbus0: u3-ht, 10 devices
> > > pci1 at ht0 bus0
> > > ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > > pci2 at ppb0 bus 4
> > > ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > > pci3 at ppb1 bus 5
> > > bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3
> > > (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8
> > > halted
> > > ok
> > > 0>
> > >
> > > Then it goes back to OpenFirmware and I can't type anything.
> > >
> > > I have another macppc I can use to compile kernels, if that helps.
> > >
> > > ...
> >
> > I did some more testing, and it looks like this issue only shows
> > up with bsd.rd.  bsd.mp works fine once the system is installed.
> > I had to disable bge(4) with "boot -c" in order to work around
> > this.
>
> Good to know, I'll see if I can reproduce and investigate.

I just committed a fix to ht(4) that seems to be related to the problem
you're seeing, I'd be interested to know if you still see it with the
r1.18 of /sys/arch/macppc/pci/ht.c.

Reply | Threaded
Open this post in threaded view
|

Re: PowerMac11,2 Dual Core G5 panic trap on -current

Donovan Watteau
On Sun, 30 Aug 2015, Martin Pieuchot wrote:

> On 17/08/15(Mon) 11:11, Martin Pieuchot wrote:
> > On 16/08/15(Sun) 17:37, Donovan Watteau wrote:
> > > On Sat, 15 Aug 2015, Donovan Watteau wrote:
> > > > Hi,
> > > >
> > > > I saw some new PowerMac11,2 support in plus58.html.  It mentions a
> > > > Quad G5, while I have a Dual Core G5 (and an NVIDIA...), so here's
> > > > what happens.
> > > >
> > > > I'm booting cd58.iso, with "boot cd:,ofwboot /5.8/macppc/bsd.rd" on
> > > > OpenFirmware.
> > > >
> > > > However, it panics quickly, and the screen gets a bit corrupted
> > > > (I have pictures if it helps, this one is copied by hand).
> > > >
> > > > Copyright (c) 1982, 1986, 1989, 1991, 19[corrupted]
> > > >         The Regents of the University of[corrupted]
> > > > Copyright (c) 1995-2015 OpenBSD. All rig[corrupted]org
> > > >
> > > > OpenBSD 5.8 (RAMDISK) #644: Thu Aug  6 1[corrupted]
> > > >     [hidden email]:/usr/src/[corrupted]mpile/RAMDISK
> > > > real mem = 3758096384 (3584MB)
> > > > avail mem = 2019610624 (1926MB)
> > > > mainbus0 at root: model PowerMac11,2
> > > > cpu0 at mainbus0: 970MP (Revision 0x101)[corrupted] MHz
> > > > cpu at mainbus0 not configured
> > > > mem at mainbus0 not configured
> > > > memc0 at mainbus0: u4 rev 0x42
> > > > kiic0 at memc0 offset 0xf8001000
> > > > iic0 at kiic0
> > > > "ds1775" at iic0 addr 0x4a not configured
> > > > [other corrupted line, but has similarities with the previous line]
> > > > "max6690" at iic0 addr 0x4c not configured
> > > > "max6690" at iic0 addr 0x4e not configured
> > > > "dart" at memc0 offset 0xf8033000 not configured
> > > > openpic0 at memc0 offset 0xf8040000: version 0x4614 feature 7b0302 BE
> > > > mpcpcibr0 at mainbus0 pci: u4-pcie
> > > > pci0 at mpcpcibr0 bus 0
> > > > vgafb0 at pci0 dev 0 function 0 "NVIDIA GeForce 6600" rev 0xa2, mmio
> > > > vgafb0: aperture needed
> > > > wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
> > > > ht0 at mainbus0: u3-ht, 10 devices
> > > > pci1 at ht0 bus0
> > > > ppb0 at pci1 dev 1 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > > > pci2 at ppb0 bus 4
> > > > ppb1 at pci1 dev 2 function 0 "ServerWorks HT-2000 PCIX" rev 0xa3
> > > > pci3 at ppb1 bus 5
> > > > bge0 at pci3 dev 4 function 0 "Broadcom BCM5780" rev 0x03, BCM5714 B3
> > > > (0x8003)panic: trap type 400 at 7000000 (0+0x7000000) lr 333dd8
> > > > halted
> > > > ok
> > > > 0>
> > > >
> > > > Then it goes back to OpenFirmware and I can't type anything.
> > > >
> > > > I have another macppc I can use to compile kernels, if that helps.
> > > >
> > > > ...
> > >
> > > I did some more testing, and it looks like this issue only shows
> > > up with bsd.rd.  bsd.mp works fine once the system is installed.
> > > I had to disable bge(4) with "boot -c" in order to work around
> > > this.
> >
> > Good to know, I'll see if I can reproduce and investigate.
>
> I just committed a fix to ht(4) that seems to be related to the problem
> you're seeing, I'd be interested to know if you still see it with the
> r1.18 of /sys/arch/macppc/pci/ht.c.

I've built an updated kernel (with r1.18 of /sys/arch/macppc/pci/ht.c),
but I'm afraid I'm still having the same issue.

The previous panic always happens on cold boots and on all subsequent
reboots, unless I reboot once with "boot -c" and "disable bge" in UKC.
Once I've booted with these settings, all the following reboots work.

That is, I always have to boot this way to avoid the panic:

OF: boot hd:,ofwboot
OF: boot -c
UKC> disable bge
UKC> quit
# reboot
OF: boot hd:,ofwboot

ddb(4) gives the usual "send ps and trace output", but unfortunately
I can't type anything there.