NetBSD Problem Report #46461

From he@smistad.uninett.no  Thu May 17 21:29:10 2012
Return-Path: <he@smistad.uninett.no>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 35EDC63B882
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 May 2012 21:29:10 +0000 (UTC)
Message-Id: <20120517212926.CD3D83D0B5@smistad.uninett.no>
Date: Thu, 17 May 2012 23:29:26 +0200 (CEST)
From: he@NetBSD.org
Reply-To: he@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Sun E450 drops to DDB on boot of 6.0_BETA
X-Send-Pr-Version: 3.95

>Number:         46461
>Category:       port-sparc64
>Synopsis:       Sun E450 drops to DDB on boot of 6.0_BETA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 21:30:00 +0000 2012
>Last-Modified:  Wed May 23 18:40:02 +0000 2012
>Originator:     Havard Eidnes
>Release:        NetBSD 6.0_BETA
>Organization:
	None
>Environment:
System: NetBSD torbidinsu.urc.uninett.no 6.0_BETA NetBSD 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012 he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/TORBIDINSU sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	Attempting to upgrade from 5.99.38 to 6.0_BETA, I notice that
	this E450 now drops to DDB during the autoconf phase.

	In particular, it gets this far:

psycho4 at mainbus0 addr 0xfff36000
psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
pci4 at psycho4
pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
pm2fb0: 8 MB aperture at 0x00800000
text_access_fault: pc=0 va=0
kernel trap 64: +fast instruction access MMU miss
Stopped in pid 0.1 (system) at  0:      undefined
db{0}: tra
config_attach_loc(6d3dc40, 1c080e8, 1, 2005428, 0, 1387c00) at netbsd:config_attach_loc+0x1a0
pci_probe_device(6dbc000, f009e59000002000, 0, 93d3d, ff00, 2005490) at netbsd:pci_probe_device+0x448
sparc64_pci_enumerate_bus(6dbc000, 174cdd0, 0, 21, 1c75c00, 179d800) at netbsd:sparc64_pci_enumerate_bus+0x2e8
pcirescan(6dbc000, 1791f18, 174cdd0, 17f6ee8, 490, 6d30137) at netbsd:pcirescan+0x4c
pciattach(1, 6d30100, 20058a0, 1cb2950, 1791c00, 5ddb680) at netbsd:pciattach+0x15c
config_attach_loc(6d30100, 1c07848, 1, 20058a0, 0, 13a82a0) at netbsd:config_attach_loc+0x1a0
psycho_attach(5b41200, 6d30400, 2005ab0, 1cb2950, 1791c00, 200592c) at netbsd:psycho_attach+0x4ec
config_attach_loc(6d30400, 1c077b8, 1, 2005ab0, 0, 1093020) at netbsd:config_attach_loc+0x1a0
mainbus_attach(0, 5b41200, 0, 1cb2950, 179d800, 1093000) at netbsd:mainbus_attach+0x4a8
config_attach_loc(5b41200, 1c07308, 1, 0, 0, 7) at netbsd:config_attach_loc+0x1a0
cpu_configure(17bfc00, 12a7420, 0, 5b2df80, 35, 1c09c00) at netbsd:cpu_configure+0x20c
main(0, 1226320, fff7fa80, f0075a4c, fffffffff00874a0, ff00) at netbsd:main+0x314
cpu_initialize(f0075a4c, 0, 10fc00, fff7fd00, 10e9d8, fff7fe00) at netbsd:cpu_initialize+0xe8
db{0}: 

	NetBSD 5.99.38 prints this at this point, and continues:

psycho4 at mainbus0 addr 0xfff36000
psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
pci4 at psycho4
pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V
pm2fb0: no width property
psycho5 at mainbus0 addr 0xfff48000

	This tends to point to the pm2fb0 driver, 

	Why it said "no width property" in 5.99.38 and then suddenly
	it finds it in 6.0_BETA will excercise the latter parts of
	pm2fb_attach().

	I should perhaps note that the serial port is the console, so
	the pm2fb0 isn't, this determines the branch in the is_console
	test.  The o7 register points to that, at least:

db{0}: show reg
...
pc          0
...
o7          1397648     pm2fb_attach+0x748
...

	That's the only register value which decodes to a symbol+offset.

	A dmesg from 5.99.38 will be submitted as a comment after this
	initial submission.

>How-To-Repeat:
	Try to boot a Sun E450 with graphics card but not console on
	graphics, watch it drop to DDB.

>Fix:
	Sorry, don't know.
	The 5.99.38 kernel is dated Sep 1 2010, at the time built from
	pretty fresh sources, and quite a few changes have gone into
	the pm2fb driver since then, among them	i2c code.

>Audit-Trail:
From: Havard Eidnes <he@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Thu, 17 May 2012 23:46:21 +0200 (CEST)

 Here's the dmesg from 5.99.38.

 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010
     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 5.99.38 (TORBIDINSU) #1: Wed Sep  1 09:44:14 CEST 2010
 	he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/TORBIDINSU
 total memory = 4096 MB
 avail memory = 4010 MB
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root): SUNW,Ultra-4 (Sun Enterprise 450): hostid 80b147ad
 cpu0 at mainbus0: SUNW,UltraSPARC-II @ 400 MHz, UPA id 0
 cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64 b/l)
 cpu1 at mainbus0: SUNW,UltraSPARC-II @ 400 MHz, UPA id 1
 cpu1: 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64 b/l)
 cpu2 at mainbus0: SUNW,UltraSPARC-II @ 400 MHz, UPA id 2
 cpu2: 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64 b/l)
 cpu3 at mainbus0: SUNW,UltraSPARC-II @ 400 MHz, UPA id 3
 cpu3: 16K instruction (32 b/l), 16K data (32 b/l), 4096K external (64 b/l)
 psycho0 at mainbus0 addr 0xfffb4000
 psycho0: SUNW,psycho: impl 0, version 4: ign 7c0 bus range 0 to 0; PCI bus 0
 pci0 at psycho0
 pci0: i/o space, memory space enabled
 ebus0 at pci0 dev 1 function 0
 ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
 auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003
 power at ebus0 addr 724000-724003 ipl 2021 ipl 2034 not configured
 SUNW,pll at ebus0 addr 504000-504002 not configured
 sc at ebus0 addr 500000-500007 not configured
 sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
 sabtty0 at sab0 port 0: console i/o
 sabtty1 at sab0 port 1
 com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
 kbd0 at com0
 com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
 ms0 at com1
 wsmouse0 at ms0 mux 0
 lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ipl 2018
 fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 2023 not configured
 clock0 at ebus0 addr 0-1fff: mk48t59
 flashprom at ebus0 addr 0-fffff, 0-fffff not configured
 pcfiic0 at ebus0 addr 600000-600003 ipl 2024 ipl 2021
 iic0 at pcfiic0: I2C bus
 ecadc0 at iic0 addr 0x48: PSU-1 Temp Sensors
 ecadc1 at iic0 addr 0x49: PSU-2 Temp Sensors
 ecadc2 at iic0 addr 0x4a: read failed
 lmtemp0 at iic0 addr 0x4d: ambient LM75 Temperature Sensor
 ecadc3 at iic0 addr 0x4f: CPU Temp Sensors
 hme0 at pci0 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
 hme0: interrupting at ivec 37e1
 hme0: Ethernet address 08:00:20:b1:47:ad
 nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 esiop0 at pci0 dev 3 function 0: Symbios Logic 53c875 (ultra-wide scsi)
 esiop0: using on-board RAM
 esiop0: interrupting at ivec 1fe0
 scsibus0 at esiop0: 16 targets, 8 luns per target
 esiop1 at pci0 dev 2 function 0: Symbios Logic 53c875 (ultra-wide scsi)
 esiop1: using on-board RAM
 esiop1: interrupting at ivec 1fe6
 scsibus1 at esiop1: 16 targets, 8 luns per target
 psycho1 at mainbus0 addr 0xfffc6000
 psycho1: SUNW,psycho: impl 0, version 4: ign 7c0 bus range 128 to 128; PCI bus 128
 pci1 at psycho1
 pci1: i/o space, memory space enabled
 timer0 at mainbus0 addr 0xfff9fc00 irq vectors 7ec
 mc at mainbus0 not configured
 psycho2 at mainbus0 addr 0xfff5e000
 psycho2: SUNW,psycho: impl 0, version 4: ign 100 bus range 0 to 0; PCI bus 0
 pci2 at psycho2
 pci2: i/o space, memory space enabled
 psycho3 at mainbus0 addr 0xfff70000
 psycho3: SUNW,psycho: impl 0, version 4: ign 100 bus range 128 to 128; PCI bus 128
 pci3 at psycho3
 pci3: i/o space, memory space enabled
 psycho4 at mainbus0 addr 0xfff36000
 psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
 pci4 at psycho4
 pci4: i/o space, memory space enabled
 pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V
 pm2fb0: no width property
 psycho5 at mainbus0 addr 0xfff48000
 psycho5: SUNW,psycho: impl 0, version 4: ign 180 bus range 128 to 128; PCI bus 128
 pci5 at psycho5
 pci5: i/o space, memory space enabled
 pcons at mainbus0 not configured
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "tick-counter" frequency 400000000 Hz quality 100
 timecounter: Timecounter "counter-timer" frequency 1000000 Hz quality 200
 scsibus0: waiting 2 seconds for devices to settle...
 wskbd0 at kbd0 mux 1
 scsibus1: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 0 lun 0: <FUJITSU, MAJ3182M SUN18G, 0804> disk fixed
 sd0: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
 sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
 sd1 at scsibus0 target 1 lun 0: <FUJITSU, MAJ3182M SUN18G, 0804> disk fixed
 sd1: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
 sd1: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing
 kbd0: reset failed
 cd0 at scsibus1 target 6 lun 0: <TOSHIBA, XM6201TASUN32XCD, 1103> cdrom removable
 cd0: sync (100.00ns offset 16), 8-bit (10.000MB/s) transfers
 Kernelized RAIDframe activated
 root on sd0a dumps on sd0b
 root file system type: ffs

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, port-sparc64-maintainer@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Thu, 17 May 2012 18:44:50 -0400

 On May 17,  9:30pm, he@NetBSD.org (he@NetBSD.org) wrote:
 -- Subject: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA

 | >Number:         46461
 | >Category:       port-sparc64
 | >Synopsis:       Sun E450 drops to DDB on boot of 6.0_BETA
 | >Confidential:   no
 | >Severity:       serious
 | >Priority:       medium
 | >Responsible:    port-sparc64-maintainer
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Thu May 17 21:30:00 +0000 2012
 | >Originator:     Havard Eidnes
 | >Release:        NetBSD 6.0_BETA
 | >Organization:
 | 	None
 | >Environment:
 | System: NetBSD torbidinsu.urc.uninett.no 6.0_BETA NetBSD 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012 he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/TORBIDINSU sparc64
 | Architecture: sparc64
 | Machine: sparc64
 | >Description:
 | 	Attempting to upgrade from 5.99.38 to 6.0_BETA, I notice that
 | 	this E450 now drops to DDB during the autoconf phase.
 | 
 | 	In particular, it gets this far:
 | 
 | psycho4 at mainbus0 addr 0xfff36000
 | psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
 | pci4 at psycho4
 | pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 | pm2fb0: 8 MB aperture at 0x00800000
 | text_access_fault: pc=0 va=0
 | kernel trap 64: +fast instruction access MMU miss
 | Stopped in pid 0.1 (system) at  0:      undefined
 | db{0}: tra
 | config_attach_loc(6d3dc40, 1c080e8, 1, 2005428, 0, 1387c00) at netbsd:config_attach_loc+0x1a0
 | pci_probe_device(6dbc000, f009e59000002000, 0, 93d3d, ff00, 2005490) at netbsd:pci_probe_device+0x448
 | sparc64_pci_enumerate_bus(6dbc000, 174cdd0, 0, 21, 1c75c00, 179d800) at netbsd:sparc64_pci_enumerate_bus+0x2e8
 | pcirescan(6dbc000, 1791f18, 174cdd0, 17f6ee8, 490, 6d30137) at netbsd:pcirescan+0x4c
 | pciattach(1, 6d30100, 20058a0, 1cb2950, 1791c00, 5ddb680) at netbsd:pciattach+0x15c
 | config_attach_loc(6d30100, 1c07848, 1, 20058a0, 0, 13a82a0) at netbsd:config_attach_loc+0x1a0
 | psycho_attach(5b41200, 6d30400, 2005ab0, 1cb2950, 1791c00, 200592c) at netbsd:psycho_attach+0x4ec
 | config_attach_loc(6d30400, 1c077b8, 1, 2005ab0, 0, 1093020) at netbsd:config_attach_loc+0x1a0
 | mainbus_attach(0, 5b41200, 0, 1cb2950, 179d800, 1093000) at netbsd:mainbus_attach+0x4a8
 | config_attach_loc(5b41200, 1c07308, 1, 0, 0, 7) at netbsd:config_attach_loc+0x1a0
 | cpu_configure(17bfc00, 12a7420, 0, 5b2df80, 35, 1c09c00) at netbsd:cpu_configure+0x20c
 | main(0, 1226320, fff7fa80, f0075a4c, fffffffff00874a0, ff00) at netbsd:main+0x314
 | cpu_initialize(f0075a4c, 0, 10fc00, fff7fd00, 10e9d8, fff7fe00) at netbsd:cpu_initialize+0xe8
 | db{0}: 
 | 	
 | 	NetBSD 5.99.38 prints this at this point, and continues:
 | 
 | psycho4 at mainbus0 addr 0xfff36000
 | psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
 | pci4 at psycho4
 | pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V
 | pm2fb0: no width property
 | psycho5 at mainbus0 addr 0xfff48000
 | 
 | 	This tends to point to the pm2fb0 driver, 
 | 
 | 	Why it said "no width property" in 5.99.38 and then suddenly
 | 	it finds it in 6.0_BETA will excercise the latter parts of
 | 	pm2fb_attach().
 | 
 | 	I should perhaps note that the serial port is the console, so
 | 	the pm2fb0 isn't, this determines the branch in the is_console
 | 	test.  The o7 register points to that, at least:
 | 
 | db{0}: show reg
 | ...
 | pc          0
 | ...
 | o7          1397648     pm2fb_attach+0x748
 | ...
 | 
 | 	That's the only register value which decodes to a symbol+offset.
 | 
 | 	A dmesg from 5.99.38 will be submitted as a comment after this
 | 	initial submission.
 | 
 | >How-To-Repeat:
 | 	Try to boot a Sun E450 with graphics card but not console on
 | 	graphics, watch it drop to DDB.
 | 
 | >Fix:
 | 	Sorry, don't know.
 | 	The 5.99.38 kernel is dated Sep 1 2010, at the time built from
 | 	pretty fresh sources, and quite a few changes have gone into
 | 	the pm2fb driver since then, among them	i2c code.

 boot -c 
 and unconfigure pm2fb....

 If that get's you further, that's it.


 christos

From: Havard Eidnes <he@NetBSD.org>
To: christos@zoulas.com
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Fri, 18 May 2012 10:17:58 +0200 (CEST)

 >  boot -c =

 >  and unconfigure pm2fb....
 >
 >  If that get's you further, that's it.

 My kernel is GENERIC + bumped NBMCLUSTERS, so contains
 USERCONFIG.  However, it does not want to drop into it on boot,
 even after I upgrade the boot loader (both primary and
 secondary):

 Old bootloader:

 {0} ok boot netbsd -c
 Resetting ... =


 Rebooting with command: boot netbsd -c                                =

 Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c
 NetBSD IEEE 1275 Bootblock
 >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
 >> (he@quattro.urc.uninett.no, Thu Jun 29 16:29:07 CEST 2006)
 =3D0xc87828
 Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1ad0
 prom_get_msgbuf: Cannot recover msgbuf on E250
 prom_get_msgbuf: allocated new buf at 00000000
 prom_get_msgbuf: claiming new buf at 00000000
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 5,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
         he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/=
 TORBIDINS
 U
 ...

 New bootloader (from 5.99.38, I think):

 {0} ok boot netbsd -c
 Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c =

 NetBSD IEEE 1275 Multi-FS Bootblock
 Version $NetBSD: bootblk.fth,v 1.13 2010/06/24 00:54:12 eeh Exp $
 >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.16
 =3D0xc87828
 Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1c68
 prom_get_msgbuf: Cannot recover msgbuf on E250
 prom_get_msgbuf: allocated new buf at 00000000
 prom_get_msgbuf: claiming new buf at 00000000
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 5,
     2006, 2007, 2008, 2009, 2010, 2011, 2012
     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 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
         he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/=
 TORBIDINSU
 ...

 I guess I'll have to compile a kernel with "no pm2fb".

 ...

 But ... that didn't do it either:

 psycho4 at mainbus0 addr 0xfff36000
 psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI =
 bus 0
 pci4 at psycho4
 genfb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 panic: psycho4: PCI bus A error AFAR 1cd00000000 AFSR 880000ff00000000
 Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
 db{0}> =



 I guess "no genfb" is also needed...

 ...and that made it boot up 6.0_BETA.

 Regards,

 - H=E5vard

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: macallan@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Fri, 18 May 2012 11:46:21 +0200

 Some raspos setup problem? Michael?

 We realy should teach ddb to unwind post jumping through a NULL function
 pointer...

 Martin

From: christos@zoulas.com (Christos Zoulas)
To: Havard Eidnes <he@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, macallan@netbsd.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Fri, 18 May 2012 12:51:27 -0400

 On May 18, 10:17am, he@NetBSD.org (Havard Eidnes) wrote:
 -- Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA

 | >  boot -c =
 | 
 | >  and unconfigure pm2fb....
 | >
 | >  If that get's you further, that's it.
 | 
 | My kernel is GENERIC + bumped NBMCLUSTERS, so contains
 | USERCONFIG.  However, it does not want to drop into it on boot,
 | even after I upgrade the boot loader (both primary and
 | secondary):
 | 
 | Old bootloader:
 | 
 | {0} ok boot netbsd -c
 | Resetting ... =
 | 
 | 
 | Rebooting with command: boot netbsd -c                                =
 | 
 | Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c
 | NetBSD IEEE 1275 Bootblock
 | >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
 | >> (he@quattro.urc.uninett.no, Thu Jun 29 16:29:07 CEST 2006)
 | =3D0xc87828
 | Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1ad0
 | prom_get_msgbuf: Cannot recover msgbuf on E250
 | prom_get_msgbuf: allocated new buf at 00000000
 | prom_get_msgbuf: claiming new buf at 00000000
 | Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 | 5,
 |     2006, 2007, 2008, 2009, 2010, 2011, 2012
 |     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 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
 |         he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/=
 | TORBIDINS
 | U
 | ...
 | 
 | New bootloader (from 5.99.38, I think):
 | 
 | {0} ok boot netbsd -c
 | Boot device: /pci@1f,4000/scsi@3/disk@0,0:a  File and args: netbsd -c =
 | 
 | NetBSD IEEE 1275 Multi-FS Bootblock
 | Version $NetBSD: bootblk.fth,v 1.13 2010/06/24 00:54:12 eeh Exp $
 | >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.16
 | =3D0xc87828
 | Loading netbsd: 8502920+554984+345616 [608808+396079]=3D0xdd1c68
 | prom_get_msgbuf: Cannot recover msgbuf on E250
 | prom_get_msgbuf: allocated new buf at 00000000
 | prom_get_msgbuf: claiming new buf at 00000000
 | Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 200=
 | 5,
 |     2006, 2007, 2008, 2009, 2010, 2011, 2012
 |     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 6.0_BETA (TORBIDINSU) #0: Thu May 17 17:55:31 CEST 2012
 |         he@torbidinsu.urc.uninett.no:/usr/obj/sys/arch/sparc64/compile/=
 | TORBIDINSU
 | ...
 | 
 | I guess I'll have to compile a kernel with "no pm2fb".
 | 
 | ...
 | 
 | But ... that didn't do it either:
 | 
 | psycho4 at mainbus0 addr 0xfff36000
 | psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI =
 | bus 0
 | pci4 at psycho4
 | genfb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 | panic: psycho4: PCI bus A error AFAR 1cd00000000 AFSR 880000ff00000000
 | Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
 | db{0}> =
 | 
 | 
 | 
 | I guess "no genfb" is also needed...
 | 
 | ...and that made it boot up 6.0_BETA.

 This has been broken for-fvcking-ever. I told macallan a while ago that
 the whole console and framebuffer stuff does not work. This is when I found
 it:
 	NetBSD 5.99.52 (GENERIC) #11: Wed Jun 1 20:32:30 EDT 2011

 And here is the diff for my kernel!

 @@ -884,7 +884,7 @@ ffb*                at upa?
  gfb*           at mainbus0

  # On board vga on U5/U10 etc.
 -machfb*                at pci?
 +#machfb*               at pci?

  # Sun XVR-100
  radeonfb*      at pci?
 @@ -896,7 +896,7 @@ pm2fb*              at pci?
  wcfb*          at pci?

  # generic PCI framebuffers
 -genfb*         at pci?
 +#genfb*                at pci?

  # make sure the console display is always wsdisplay0
  wsdisplay0     at wsemuldisplaydev? console 1

 This is really crappy. Please file a separate bug for the boot -c.
 Unfortunately I am using my box as a router and I cannot reboot it,
 but we clearly need to debug this.

 christos

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 09:01:55 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 First, I'd like to see the ofctl -p output for the machine in question =20=

 because pm2fb as not-the-console works just fine on my U60.

 > This has been broken for-fvcking-ever. I told macallan a while ago =20
 > that
 > the whole console and framebuffer stuff does not work. This is when =20=

 > I found
 > it:
 > 	NetBSD 5.99.52 (GENERIC) #11: Wed Jun 1 20:32:30 EDT 2011

 Great, last time we ran into this you couldn't be bothered to tell me =20=

 fvcking anything useful, other than that you wanted the kernel and OF =20=

 consoles on different devices or something like that ( and how the =20
 fvck is that supposed to work in a halfway sane way anyway? )

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)
 Comment: GPGTools - http://gpgtools.org

 iQEVAwUBT7eZw8pnzkX8Yg2nAQK4NAgAr9iNcJI/U2sYq3rZz9+RV+zBM2S27qCA
 demQLZ0/h3zTQtBUe0KKWEoU5fUNctGvMJ5jb41BQm/3rrYSGMq/528tVt9jwUh6
 QRMCuKXnLmGX5al+MpCyl2pojeG+AKP6ySePdZmRHfrFNatB/H2RmKjzvde3iThP
 CnwyevwrP4mPdPyDlEjomXw867vDoP4J36xhJpqkT+MQ5dYu717NQgCsMOtRkL+Y
 wDcXvhvCI8wmSOJXwydG0jWVntAOl1WhXv9uQibzwh3PmVi2JCd4+P578pQRlrNC
 binPsMoebXuC58+RqMkzwtdOvl96IemJgLaMhxbwVLJendBhsB8oBQ=3D=3D
 =3DEGYf
 -----END PGP SIGNATURE-----

From: Havard Eidnes <he@NetBSD.org>
To: macallan@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 15:40:32 +0200 (CEST)

 >  First, I'd like to see the ofctl -p output for the machine in question
 >  because pm2fb as not-the-console works just fine on my U60.

 OK, that follows below.

 The machine's not explicitly set to use serial console, so it
 complains on each reboot:

   Can't open input device.
   Keyboard not present.  Using ttya for input and output.

 And indeed there is no keyboard connected, but the console is on
 the serial port.



 [Caching 71 nodes and 699 properties]
 f002a2b8: /SUNW,Ultra-4

 #size-cells             00000002 ........ ........ ........     2
 banner-name             53756e20 456e7465 72707269 73652034   Sun Enterprise 4
             0010:       35302028 34205820 556c7472 61535041   50 (4 X UltraSPA
             0020:       52432d49 49203430 304d487a 2900....   RC-II 400MHz).
 breakpoint-trap         0000007f ........ ........ ........   ....
 builtin-io-device-port  0000001f ........ ........ ........   ....
 clock-frequency         05f5e100 ........ ........ ........   100MHz
 compatible              73756e34 7500.... ........ ........   "sun4u"
 device-probe-order      31622c30 2c342c39 2c00.... ........   1b,0,4,9,.
 device_type             75706100 ........ ........ ........   "upa"
 idprom                  01800800 20b147ad ffffffff b147ada9   .... .G......G..
             0010:       efffefff ff00ff00 00000000 00000000   ................
 model                   53554e57 2c353031 2d353237 3000....   "SUNW,501-5270"
 name                    53554e57 2c556c74 72612d34 00......   "SUNW,Ultra-4"
 reset-reason            532d504f 5200.... ........ ........   S-POR.

 --------------------------------------------------------------------------------


 f002d6fc: /packages

 name                    7061636b 61676573 00...... ........   "packages"

 --------------------------------------------------------------------------------


 f0034bac: /packages/terminal-emulator

 iso6429-1983-colors     
 name                    7465726d 696e616c 2d656d75 6c61746f   "terminal-emulato
             0010:       7200.... ........ ........ ........   r"

 --------------------------------------------------------------------------------


 f00378e0: /packages/deblocker

 disk-write-fix          
 name                    6465626c 6f636b65 7200.... ........   "deblocker"

 --------------------------------------------------------------------------------


 f0037fa4: /packages/obp-tftp

 name                    6f62702d 74667470 00...... ........   "obp-tftp"

 --------------------------------------------------------------------------------


 f0041cec: /packages/disk-label

 name                    6469736b 2d6c6162 656c00.. ........   "disk-label"

 --------------------------------------------------------------------------------


 f006557c: /packages/SUNW,builtin-drivers

 name                    53554e57 2c627569 6c74696e 2d647269   "SUNW,builtin-dri
             0010:       76657273 00...... ........ ........   vers"

 --------------------------------------------------------------------------------


 f007b1a4: /packages/sun-keyboard

 name                    73756e2d 6b657962 6f617264 00......   "sun-keyboard"

 --------------------------------------------------------------------------------


 f002d76c: /chosen

 bootargs                00...... ........ ........ ........   .
 bootpath                2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40302c30 3a6100..   i@3/disk@0,0:a.
 client-ip               00000000 ........ ........ ........   ....
 gateway-ip              00000000 ........ ........ ........   ....
 memory                  fffe9638 ........ ........ ........   ...8
 mmu                     fffe9438 ........ ........ ........   ...8
 name                    63686f73 656e00.. ........ ........   "chosen"
 server-ip               00000000 ........ ........ ........   ....
 stdin                   fefefec0 ........ ........ ........   ....
 stdout                  fff1f8a8 ........ ........ ........   ....
 stdout-#lines           ffffffff ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f002d7d8: /openprom

 aligned-allocator       
 decode-complete         
 model                   53554e57 2c332e31 3400.... ........   "SUNW,3.14"
 name                    6f70656e 70726f6d 00...... ........   "openprom"
 relative-addressing     
 version                 4f425020 332e3134 2e312031 3939392f   OBP 3.14.1 1999/
             0010:       30322f31 32203037 3a353000 ........   02/12 07:50.

 --------------------------------------------------------------------------------


 f002d868: /openprom/client-services

 name                    636c6965 6e742d73 65727669 63657300   "client-services"

 --------------------------------------------------------------------------------


 f002d910: /options

 #power-cycles           3732.... ........ ........ ........   72
 .asr-disable-list       
 .asr-status             31383433 37373336 38373033 35383039   1843773687035809
             0010:       34303937 ........ ........ ........   4097
 .obp-flags              30...... ........ ........ ........   0
 .obp-state              36...... ........ ........ ........   6
 .obp-status             30...... ........ ........ ........   0
 .post-address           30...... ........ ........ ........   0
 .post-flag              30...... ........ ........ ........   0
 .post-status            31383433 37373336 38373033 35383039   1843773687035809
             0010:       34303937 ........ ........ ........   4097
 .reboot-cmd             626f6f74 ........ ........ ........   boot
 .reboot-flag            66616c73 65...... ........ ........   false
 .reboot-posc            30...... ........ ........ ........   0
 .reboot-posl            30...... ........ ........ ........   0
 .rsc-status             3835.... ........ ........ ........   85
 .upa-noprobe-mask       30...... ........ ........ ........   0
 ansi-terminal?          74727565 ........ ........ ........   true
 auto-boot-on-error?     66616c73 65...... ........ ........   false
 auto-boot?              74727565 ........ ........ ........   true
 boot-command            626f6f74 ........ ........ ........   boot
 boot-device             2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40302c30 3a612064   i@3/disk@0,0:a d
             0020:       69736b20 6e6574.. ........ ........   isk net
 boot-file               
 diag-continue?          66616c73 65...... ........ ........   false
 diag-device             6e6574.. ........ ........ ........   net
 diag-file               
 diag-level              6d696e.. ........ ........ ........   min
 diag-passes             31...... ........ ........ ........   1
 diag-script             6e6f726d 616c.... ........ ........   normal
 diag-switch?            66616c73 65...... ........ ........   false
 diag-targets            6e6f6e65 ........ ........ ........   none
 diag-trigger            706f7765 722d7265 736574.. ........   power-reset
 diag-verbosity          73696c65 6e74.... ........ ........   silent
 disk-led-assoc          30...... ........ ........ ........   0
 env-monitor             656e6162 6c6564.. ........ ........   enabled
 fcode-debug?            66616c73 65...... ........ ........   false
 hardware-revision       55555555 55555555 55555555 55555555   UUUUUUUUUUUUUUUU
             0010:       55555555 55550000 10000000 00000000   UUUUUU..........
             0020:       00000050 00500833 38373066 34313300   ...P.P.3870f413.
             0030:       08393533 4d323530 46000000 00000000   .953M250F.......
             0040:       00000050 00500000 00000000 00000000   ...P.P..........
             0050:       00000000 00...... ........ ........   .....
 input-device            6b657962 6f617264 ........ ........   keyboard
 keyboard-click?         66616c73 65...... ........ ........   false
 keymap                  
 last-hardware-update    
 load-base               31363338 34...... ........ ........   16384
 local-mac-address?      74727565 ........ ........ ........   true
 memory-interleave       6175746f ........ ........ ........   auto
 mfg-options             73657276 6572.... ........ ........   server
 name                    6f707469 6f6e7300 ........ ........   "options"
 nvramrc                 
 oem-banner              
 oem-banner?             66616c73 65...... ........ ........   false
 oem-logo                
 oem-logo?               66616c73 65...... ........ ........   false
 output-device           73637265 656e.... ........ ........   screen
 pci-slot-skip-list      6e6f6e65 ........ ........ ........   none
 pci0-probe-list         312c332c 322c34.. ........ ........   1,3,2,4
 screen-#columns         3830.... ........ ........ ........   80
 screen-#rows            3334.... ........ ........ ........   34
 scsi-initiator-id       37...... ........ ........ ........   7
 security-#badlogins     34303936 ........ ........ ........   4096
 security-mode           6e6f6e65 ........ ........ ........   none
 security-password       
 silent-mode?            66616c73 65...... ........ ........   false
 system-board-date       33383730 66343133 ........ ........   3870f413
 system-board-serial#    3935334d 32353046 ........ ........   953M250F
 tpe-link-test?          74727565 ........ ........ ........   true
 ttya-ignore-cd          74727565 ........ ........ ........   true
 ttya-mode               39363030 2c382c6e 2c312c2d ........   9600,8,n,1,-
 ttya-rts-dtr-off        66616c73 65...... ........ ........   false
 ttyb-ignore-cd          74727565 ........ ........ ........   true
 ttyb-mode               39363030 2c382c6e 2c312c2d ........   9600,8,n,1,-
 ttyb-rts-dtr-off        66616c73 65...... ........ ........   false
 upa-port-skip-list      6e6f6e65 ........ ........ ........   none
 use-nvramrc?            66616c73 65...... ........ ........   false
 watchdog-reboot?        66616c73 65...... ........ ........   false

 --------------------------------------------------------------------------------


 f002d980: /aliases

 cdrom                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 6469736b 40362c30 3a66....   i@2/disk@6,0:f
 disk                    2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40302c30 ........   i@3/disk@0,0
 disk0                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40302c30 ........   i@3/disk@0,0
 disk1                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40312c30 ........   i@3/disk@1,0
 disk2                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40322c30 ........   i@3/disk@2,0
 disk3                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 40332c30 ........   i@3/disk@3,0
 diskx0                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 6469736b 40302c30 ........   i@2/disk@0,0
 diskx1                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 6469736b 40312c30 ........   i@2/disk@1,0
 diskx2                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 6469736b 40322c30 ........   i@2/disk@2,0
 diskx3                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 6469736b 40332c30 ........   i@2/disk@3,0
 ebus                    2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       734031.. ........ ........ ........   s@1
 flash                   2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 666c6173 6870726f 6d403130   s@1/flashprom@10
             0020:       2c30.... ........ ........ ........   ,0
 floppy                  2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 66647468 726565.. ........   s@1/fdthree
 i2c                     2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 53554e57 2c656e76 6374726c   s@1/SUNW,envctrl
 keyboard                2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 73754031 342c3330 38336638   s@1/su@14,3083f8
 keyboard!               2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 73754031 342c3330 38336638   s@1/su@14,3083f8
             0020:       3a666f72 63656d6f 6465.... ........   :forcemode
 mouse                   2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 73754031 342c3330 36326638   s@1/su@14,3062f8
 name                    616c6961 73657300 ........ ........   "aliases"
 net                     2f706369 4031662c 34303030 2f6e6574   /pci@1f,4000/net
             0010:       776f726b 40312c31 ........ ........   work@1,1
 nvram                   2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 65657072 6f6d4031 342c30..   s@1/eeprom@14,0
 parallel                2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 65637070 4031342c 33303433   s@1/ecpp@14,3043
             0020:       6263.... ........ ........ ........   bc
 pci                     2f706369 4031662c 34303030 ........   /pci@1f,4000
 pci0                    2f706369 4031662c 34303030 ........   /pci@1f,4000
 pci1                    2f706369 4031662c 32303030 ........   /pci@1f,2000
 pci2                    2f706369 40342c34 303030.. ........   /pci@4,4000
 pci3                    2f706369 40342c32 303030.. ........   /pci@4,2000
 pci4                    2f706369 40362c34 303030.. ........   /pci@6,4000
 pci5                    2f706369 40362c32 303030.. ........   /pci@6,2000
 pcia                    2f706369 4031662c 32303030 ........   /pci@1f,2000
 pcib                    2f706369 4031662c 34303030 ........   /pci@1f,4000
 screen                  2f706369 40362c34 3030302f 5453492c   /pci@6,4000/TSI,
             0010:       67667870 4034.... ........ ........   gfxp@4
 scsi                    2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       694033.. ........ ........ ........   i@3
 scsix                   2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       694032.. ........ ........ ........   i@2
 tape                    2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940322f 74617065 40342c30 ........   i@2/tape@4,0
 tty                     2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 7365.... ........ ........   s@1/se
 ttya                    2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 73653a61 ........ ........   s@1/se:a
 ttyb                    2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 73653a62 ........ ........   s@1/se:b

 --------------------------------------------------------------------------------


 f00509b0: /memory

 #size-cells             00000002 ........ ........ ........     2
 available               00000000 ffe80000 00000000 0000e000   ................
             0010:       00000000 ffe50000 00000000 00004000   ..............@.
             0020:       00000000 ffe00000 00000000 00010000   ................
             0030:       00000000 ffc00000 00000000 001fe000   ................
             0040:       00000000 00008000 00000000 febf8000   ................
 interleave              00000000 00000000 00000001 00000000   ................
             0010:       00000004 ........ ........ ........   ....
 name                    6d656d6f 727900.. ........ ........   "memory"
 reg                     00000000 00000000 00000001 00000000   ................

 --------------------------------------------------------------------------------


 f0050f90: /virtual-memory

 available               fffff800 00000000 000007fc 00000000   ................
             0010:       00000001 00000000 000007ff 00000000   ................
             0020:       00000000 ffff0000 00000000 0000e000   ................
             0030:       00000000 e000e000 00000000 0fff2000   .............. .
             0040:       00000000 02000000 00000000 de006000   ..............`.
             0050:       00000000 00000000 00000000 01000000   ................
             0060:       00000000 f0800000 00000000 0e736000   .............s`.
 existing                00000000 00000000 00000800 00000000   ................
             0010:       fffff800 00000000 00000800 00000000   ................
 name                    76697274 75616c2d 6d656d6f 727900..   "virtual-memory"
 page-size               00002000 ........ ........ ........     8K
 translations            00000000 fffe0000 00000000 00010000   ................
             0010:       80000000 ffef00b6 00000000 fffcc000   ................
             0020:       00000000 00014000 80000000 ffed40b6   ......@.......@.
             0030:       00000000 fffc6000 00000000 00002000   ......`....... .
             0040:       800001fe 0000208e 00000000 fffc4000   ...... .......@.
             0050:       00000000 00002000 800001fe 0180008e   ...... .........
             0060:       00000000 fffb6000 00000000 0000e000   ......`.........
             0070:       800001fe 0000008e 00000000 fffb4000   ..............@.
             0080:       00000000 00002000 800001fe 0000408e   ...... .......@.
             0090:       00000000 fffb2000 00000000 00002000   ...... ....... .
             00a0:       800001fe 0100008e 00000000 fffa4000   ..............@.
             00b0:       00000000 0000e000 800001fe 0000008e   ................
             00c0:       00000000 fffa0000 00000000 00004000   ..............@.
             00d0:       80000000 ffed00b6 00000000 fff9e000   ................
             00e0:       00000000 00002000 800001fe 0000008e   ...... .........
             00f0:       00000000 fff9c000 00000000 00002000   .............. .
             0100:       800001fe 0000008e 00000000 fff9a000   ................
             0110:       00000000 00002000 800001fe 0000008e   ...... .........
             0120:       00000000 fff98000 00000000 00002000   .............. .
             0130:       800001ff f100008e 00000000 fff96000   ..............`.
             0140:       00000000 00002000 800001ff f100008e   ...... .........
             0150:       00000000 fff94000 00000000 00002000   ......@....... .
             0160:       800001ff f150008e 00000000 fff92000   .....P........ .
             0170:       00000000 00002000 800001ff f172608e   ...... ......r`.
             0180:       00000000 fff90000 00000000 00002000   .............. .
             0190:       800001ff f172808e 00000000 fff8e000   .....r..........
             01a0:       00000000 00002000 800001ff f172a08e   ...... ......r..
             01b0:       00000000 fff8c000 00000000 00002000   .............. .
             01c0:       800001ff f172c08e 00000000 fff8a000   .....r..........
             01d0:       00000000 00002000 800001ff f172e08e   ...... ......r..
             01e0:       00000000 fff88000 00000000 00002000   .............. .
             01f0:       800001ff f130808e 00000000 fff82000   .....0........ .
             0200:       00000000 00006000 80000000 ffec80b6   ......`.........
             0210:       00000000 fff80000 00000000 00002000   .............. .
             0220:       80000000 ffdfe0b6 00000000 fff7e000   ................
             0230:       00000000 00002000 80000000 ffec60b6   ...... .......`.
             0240:       00000000 fff7c000 00000000 00002000   .............. .
             0250:       800001ff f160008e 00000000 fff7a000   .....`..........
             0260:       00000000 00002000 800001ff f130208e   ...... ......0 .
             0270:       00000000 fff78000 00000000 00002000   .............. .
             0280:       800001ff f170608e 00000000 fff76000   .....p`.......`.
             0290:       00000000 00002000 800001ff f172008e   ...... ......r..
             02a0:       00000000 fff74000 00000000 00002000   ......@....... .
             02b0:       800001ff f130208e 00000000 fff72000   .....0 ....... .
             02c0:       00000000 00002000 800001ff f130208e   ...... ......0 .
             02d0:       00000000 fff70000 00000000 00002000   .............. .
             02e0:       800001c8 0000208e 00000000 fff6e000   ...... .........
             02f0:       00000000 00002000 800001c8 0180008e   ...... .........
             0300:       00000000 fff60000 00000000 0000e000   ................
             0310:       800001c8 0000008e 00000000 fff5e000   ................
             0320:       00000000 00002000 800001c8 0000408e   ...... .......@.
             0330:       00000000 fff5c000 00000000 00002000   .............. .
             0340:       800001c8 0100008e 00000000 fff4e000   ................
             0350:       00000000 0000e000 800001c8 0000008e   ................
             0360:       00000000 fff4a000 00000000 00004000   ..............@.
             0370:       80000000 ffec00b6 00000000 fff48000   ................
             0380:       00000000 00002000 800001cc 0000208e   ...... ....... .
             0390:       00000000 fff46000 00000000 00002000   ......`....... .
             03a0:       800001cc 0180008e 00000000 fff38000   ................
             03b0:       00000000 0000e000 800001cc 0000008e   ................
             03c0:       00000000 fff36000 00000000 00002000   ......`....... .
             03d0:       800001cc 0000408e 00000000 fff34000   ......@.......@.
             03e0:       00000000 00002000 800001cc 0100008e   ...... .........
             03f0:       00000000 fff26000 00000000 0000e000   ......`.........
             0400:       800001cc 0000008e 00000000 fff22000   .............. .
             0410:       00000000 00004000 80000000 ffebc0b6   ......@.........
             0420:       00000000 fff20000 00000000 00002000   .............. .
             0430:       800001ff f140008e 00000000 fff1c000   .....@..........
             0440:       00000000 00004000 80000000 ffeb80b6   ......@.........
             0450:       00000000 fff1a000 00000000 00002000   .............. .
             0460:       80000000 ffe920b6 00000000 fff18000   ...... .........
             0470:       00000000 00002000 80000000 ffec40b6   ...... .......@.
             0480:       00000000 fff02000 00000000 00016000   ...... .......`.
             0490:       80000000 ffe6a0b6 00000000 fff00000   ................
             04a0:       00000000 00002000 80000000 ffe620b6   ...... ....... .
             04b0:       00000000 ffef8000 00000000 00008000   ................
             04c0:       80000000 ffeae0b6 00000000 fefee000   ................
             04d0:       00000000 00012000 80000000 ffe9c0b6   ...... .........
             04e0:       00000000 fefce000 00000000 00020000   ................
             04f0:       800001cd 8002008e 00000000 fefae000   ................
             0500:       00000000 00020000 800001cd 8002008e   ................
             0510:       00000000 fef8e000 00000000 00020000   ................
             0520:       800001cd 8002008e 00000000 fef6e000   ................
             0530:       00000000 00020000 800001cd 8002008e   ................
             0540:       00000000 fef4e000 00000000 00020000   ................
             0550:       800001cd 8002008e 00000000 fef48000   ................
             0560:       00000000 00006000 80000000 ffe640b6   ......`.......@.
             0570:       00000000 fef3a000 00000000 0000e000   ................
             0580:       80000000 ffe540b6 00000000 fef36000   ......@.......`.
             0590:       00000000 00004000 80000000 ffe940b6   ......@.......@.
             05a0:       00000000 f0000000 00000000 00100000   ................
             05b0:       80000000 fff000b6 00000000 e0010000   ................
             05c0:       00000000 00010000 80000000 ffe10036   ...............6
             05d0:       00000000 e0006000 00000000 00008000   ......`.........
             05e0:       80000000 00000036 00000000 0200c000   .......6........
             05f0:       00000000 00010000 80000000 ffe10036   ...............6
             0600:       00000000 02004000 00000000 00006000   ......@.......`.
             0610:       80000000 0001c036 00000000 02002000   .......6...... .
             0620:       00000000 00002000 80000000 00018036   ...... ........6
             0630:       00000000 00002000 00000000 009fe000   ...... .........
             0640:       80000000 00002036 ........ ........   ...... 6

 --------------------------------------------------------------------------------


 f0056554: /associations

 name                    6173736f 63696174 696f6e73 00......   "associations"

 --------------------------------------------------------------------------------


 f00a6538: /associations/slot2disk

 name                    736c6f74 32646973 6b00.... ........   "slot2disk"
 slot#0                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 403000.. ........   i@3/disk@0.
 slot#1                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 403100.. ........   i@3/disk@1.
 slot#2                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 403200.. ........   i@3/disk@2.
 slot#3                  2f706369 4031662c 34303030 2f736373   /pci@1f,4000/scs
             0010:       6940332f 6469736b 403300.. ........   i@3/disk@3.

 --------------------------------------------------------------------------------


 f00a65dc: /associations/slot2led

 name                    736c6f74 326c6564 00...... ........   "slot2led"
 slot#0                  2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 69326340 31342c36 30303030   s@1/i2c@14,60000
             0020:       302f6269 74734034 302f776f 403000..   0/bits@40/wo@0.
 slot#1                  2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 69326340 31342c36 30303030   s@1/i2c@14,60000
             0020:       302f6269 74734034 302f776f 403100..   0/bits@40/wo@1.
 slot#2                  2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 69326340 31342c36 30303030   s@1/i2c@14,60000
             0020:       302f6269 74734034 302f776f 403200..   0/bits@40/wo@2.
 slot#3                  2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 69326340 31342c36 30303030   s@1/i2c@14,60000
             0020:       302f6269 74734034 302f776f 403300..   0/bits@40/wo@3.

 --------------------------------------------------------------------------------


 f00a6890: /associations/slot2dev

 cpu-a1                  2f2a4030 2c3000.. ........ ........   /*@0,0.
 cpu-a2                  2f2a4031 2c3000.. ........ ........   /*@1,0.
 cpu-b1                  2f2a4032 2c3000.. ........ ........   /*@2,0.
 cpu-b2                  2f2a4033 2c3000.. ........ ........   /*@3,0.
 ebus|audio              2f706369 4031662c 34303030 2f656275   /pci@1f,4000/ebu
             0010:       7340312f 2a403134 2c323030 30303000   s@1/*@14,200000.
 graphics#1              2f2a4031 652c3000 ........ ........   /*@1e,0.
 graphics#2              2f2a4031 642c3000 ........ ........   /*@1d,0.
 name                    736c6f74 32646576 00...... ........   "slot2dev"
 pci-slot#1              2f706369 40362c34 3030302f 2a40342c   /pci@6,4000/*@4,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#10             2f706369 4031662c 34303030 2f2a4034   /pci@1f,4000/*@4
             0010:       2c2a00.. ........ ........ ........   ,*.
 pci-slot#2              2f706369 40362c34 3030302f 2a40332c   /pci@6,4000/*@3,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#3              2f706369 40362c34 3030302f 2a40322c   /pci@6,4000/*@2,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#4              2f706369 40362c32 3030302f 2a40312c   /pci@6,2000/*@1,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#5              2f706369 4031662c 32303030 2f2a4031   /pci@1f,2000/*@1
             0010:       2c2a00.. ........ ........ ........   ,*.
 pci-slot#6              2f706369 40342c32 3030302f 2a40312c   /pci@4,2000/*@1,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#7              2f706369 40342c34 3030302f 2a40342c   /pci@4,4000/*@4,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#8              2f706369 40342c34 3030302f 2a40332c   /pci@4,4000/*@3,
             0010:       2a00.... ........ ........ ........   *.
 pci-slot#9              2f706369 40342c34 3030302f 2a40322c   /pci@4,4000/*@2,
             0010:       2a00.... ........ ........ ........   *.

 --------------------------------------------------------------------------------


 f006d468: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 #upa-interrupt-proxies  00000002 ........ ........ ........   ....
 address                 fffb4000 fffb2000 fffa4000 ........   ..@... ...@.
 available               82000000 00000000 00017000 00000000   ..........p.....
             0010:       7ffe9000 81000000 00000000 00000900   ................
             0020:       00000000 0000f700 ........ ........   ........
 bus-parity-generated    
 bus-range               00000000 00000000 ........ ........   ........
 clock-frequency         01f78a40 ........ ........ ........   33MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              000007f1 000007ee 000007ef 000007e5   ................
             0010:       000007e8 000007f2 ........ ........   ........
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00000000 00000000 00000000 000001fe   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001fe 02010000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001ff 80000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001ff 80000000 00000000 80000000   ................
 reg                     000001fe 00004000 00000000 00002000   ......@....... .
             0010:       000001fe 01000000 00000000 00000100   ................
             0020:       000001fe 00000000 00000000 0000d000   ................
 scsi-initiator-id       00000007 ........ ........ ........   ....
 slot-names              0000001e 4d6f7468 6572626f 61726400   ....Motherboard.
             0010:       4d6f7468 6572626f 61726400 4d6f7468   Motherboard.Moth
             0020:       6572626f 61726400 50434920 736c6f74   erboard.PCI slot
             0030:       20313000 ........ ........ ........    10.
 thermal-interrupt       
 upa-portid              0000001f ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f006f9d0: /pci/ebus@1

 #address-cells          00000002 ........ ........ ........     2
 #size-cells             00000001 ........ ........ ........     1
 class-code              00068000 ........ ........ ........   ....
 device-id               00001000 ........ ........ ........   ....
 devsel-speed            00000001 ........ ........ ........   ....
 fast-back-to-back       
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 latency-timer           0000000a ........ ........ ........   ....
 max-latency             00000019 ........ ........ ........   ....
 min-grant               0000000a ........ ........ ........   ....
 name                    65627573 00...... ........ ........   "ebus"
 ranges                  00000010 00000000 82000810 00000000   ................
             0010:       70000000 01000000 00000014 00000000   p...............
             0020:       82000814 00000000 71000000 00800000   ........q.......
 reg                     00000800 00000000 00000000 00000000   ................
             0010:       00000000 82000810 00000000 70000000   ............p...
             0020:       00000000 01000000 82000814 00000000   ................
             0030:       71000000 00000000 00800000 ........   q...........
 revision-id             00000001 ........ ........ ........   ....
 vendor-id               0000108e ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f006ff54: /pci/ebus@1/auxio@14,726000

 address                 fff92000 fff90000 fff8e000 fff8c000   .. .............
             0010:       fff8b000 ........ ........ ........   ....
 name                    61757869 6f00.... ........ ........   "auxio"
 reg                     00000014 00726000 00000004 00000014   .....r`.........
             0010:       00728000 00000004 00000014 0072a000   .r...........r..
             0020:       00000004 00000014 0072c000 00000004   .........r......
             0030:       00000014 0072f000 00000004 ........   .....r......

 --------------------------------------------------------------------------------


 f0070014: /pci/ebus@1/power@14,724000

 interrupts              000007e5 000007f2 ........ ........   ........
 name                    706f7765 7200.... ........ ........   "power"
 reg                     00000014 00724000 00000004 ........   .....r@.....

 --------------------------------------------------------------------------------


 f00700a4: /pci/ebus@1/SUNW,pll@14,504000

 freq-syn                4d433132 34333000 ........ ........   MC12430.
 name                    53554e57 2c706c6c 00...... ........   "SUNW,pll"
 reg                     00000014 00504000 00000003 ........   .....P@.....

 --------------------------------------------------------------------------------


 f0070138: /pci/ebus@1/sc@14,500000

 address                 fff94000 ........ ........ ........   ..@.
 implementation#         00000000 ........ ........ ........   ....
 model                   53554e57 2c73632d 6d617276 696e00..   "SUNW,sc-marvin"
 name                    736300.. ........ ........ ........   "sc"
 reg                     00000014 00500000 00000008 ........   .....P......
 version#                00000001 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f00701f0: /pci/ebus@1/se@14,400000

 device_type             73657269 616c00.. ........ ........   "serial"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              0000002b ........ ........ ........   ...+
 name                    736500.. ........ ........ ........   "se"
 port-a-ignore-cd        
 port-b-ignore-cd        
 reg                     00000014 00400000 00000080 ........   .....@......

 --------------------------------------------------------------------------------


 f0071c8c: /pci/ebus@1/su@14,3083f8

 device_type             73657269 616c00.. ........ ........   "serial"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              00000029 ........ ........ ........   ...)
 keyboard                
 name                    737500.. ........ ........ ........   "su"
 port-a-ignore-cd        
 reg                     00000014 003083f8 00000008 ........   .....0......

 --------------------------------------------------------------------------------


 f00734e4: /pci/ebus@1/su@14,3062f8

 device_type             73657269 616c00.. ........ ........   "serial"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              0000002a ........ ........ ........   ...*
 mouse                   
 name                    737500.. ........ ........ ........   "su"
 port-a-ignore-cd        
 reg                     00000014 003062f8 00000008 ........   .....0b.....

 --------------------------------------------------------------------------------


 f0073600: /pci/ebus@1/ecpp@14,3043bc

 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              000007e2 ........ ........ ........   ....
 name                    65637070 00...... ........ ........   "ecpp"
 reg                     00000014 003043bc 00000010 00000014   .....0C.........
             0010:       00300398 00000002 00000014 00700000   .0...........p..
             0020:       00000010 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f0073700: /pci/ebus@1/fdthree@14,3023f0

 address                 fff7a3f0 fff78000 fff76000 ........   ..........`.
 device_type             626c6f63 6b00.... ........ ........   "block"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              000007e7 ........ ........ ........   ....
 manual                  
 name                    66647468 72656500 ........ ........   "fdthree"
 reg                     00000014 003023f0 00000008 00000014   .....0#.........
             0010:       00706000 00000010 00000014 00720000   .p`..........r..
             0020:       00000004 ........ ........ ........   ....
 unit                    00000000 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f00750ac: /pci/ebus@1/eeprom@14,0

 address                 fff96000 ........ ........ ........   ..`.
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 model                   6d6b3438 74353900 ........ ........   "mk48t59"
 name                    65657072 6f6d00.. ........ ........   "eeprom"
 reg                     00000014 00000000 00002000 ........   .......... .
 watchdog-enable         

 --------------------------------------------------------------------------------


 f0075194: /pci/ebus@1/flashprom@10,0

 compatible              69323866 30303874 3200.... ........   "i28f008t2"
             000a:       69323866 30303800 ........ ........   "i28f008"
 model                   53554e57 2c353235 2d313737 3600....   "SUNW,525-1776"
 name                    666c6173 6870726f 6d00.... ........   "flashprom"
 reg                     00000010 00000000 00100000 00000010   ................
             0010:       00000000 00100000 ........ ........   ........
 version                 4f425020 332e3134 2e312031 3939392f   OBP 3.14.1 1999/
             0010:       30322f31 32203037 3a353000 504f5354   02/12 07:50.POST
             0020:       20362e30 2e392031 3939392f 30322f31    6.0.9 1999/02/1
             0030:       32203037 3a353200 ........ ........   2 07:52.

 --------------------------------------------------------------------------------


 f0078274: /pci/ebus@1/SUNW,envctrl@14,600000

 activity-led-blink?     
 address                 fff7c000 ........ ........ ........   ....
 cpu-fan-speeds          31313131 31313131 31313131 31313131   1111111111111111
             0010:       31313131 31313131 31313131 33353739   1111111111113579
             0020:       3b3c3e3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ;<>?????????????
             0030:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
             0040:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
             0050:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
             0060:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
 cpu-temp-factors        96969696 96969696 96969696 96969696   ................
             0010:       96969696 96969696 96949290 8f8e8d8c   ................
             0020:       8a888786 85848382 81807f7e 7d7c7b7a   ...........~}|{z
             0030:       79797878 77767574 73727170 706f6f6e   yyxxwvutsrqppoon
             0040:       6e6e6d6d 6c6b6a6a 69696867 66656564   nnmmlkjjiihgfeed
             0050:       64646363 62626161 60605f5f 5e5e5d5d   ddccbbaa``__^^]]
             0060:       5c5c5b5b 5b5a5a5a 59595858 57575656   \\[[[ZZZYYXXWWVV
             0070:       55555454 53535252 52515150 5050504f   UUTTSSRRRQQPPPPO
             0080:       4f4f4e4e 4e4d4d4d 4c4c4c4b 4b4b4a4a   OONNNMMMLLLKKKJJ
             0090:       4a494949 48484847 47474646 46464545   JIIIHHHGGGFFFFEE
             00a0:       45444444 44434343 43424242 42414141   EDDDDCCCCBBBBAAA
             00b0:       4040403f 3f3f3e3e 3e3d3d3d 3d3c3c3c   @@@???>>>====<<<
             00c0:       3c3b3b3b 3a3a3a39 39393838 38383737   <;;;:::999888877
             00d0:       37373636 36353535 34343433 33333332   7766655544433332
             00e0:       32323131 31303030 2f2f2f2e 2e2e2d2d   22111000///...--
             00f0:       2d2c2c2c 2b2b2b2a 2a2a2929 2928....   -,,,+++***)))(
 disk-leds-present       0000000f 00000000 00000000 ........   ............
 disk-leds-state         00000000 ........ ........ ........   ....
 fan-readback-maxima     1c202428 2d313539 3d414549 4d51555a   . $(-159=AEIMQUZ
             0010:       5e62666a 6e72767a 7e82878b 8f93979b   ^bfjnrvz~.......
             0020:       9fa3a7ab afb4b8bc c0c4c8cc d0d4d8dc   ................
             0030:       e1e5e9f1 f5fafdff ffffffff ffffffff   ................
 fan-readback-minima     0005090c 1013161a 1d212427 2b2e3235   .........!$'+.25
             0010:       383c3f43 46494d50 54575b5e 6165686c   8<?CFIMPTW[^aehl
             0020:       6f727679 7d808387 8a8e9195 989b9fa2   orvy}...........
             0030:       a6a9acb0 b3b7baba bababbbc bebebebe   ................
 fru                     6d6f7468 6572626f 6172642c 20706f77   motherboard, pow
             0010:       65725f73 7570706c 792c2066 616e2c20   er_supply, fan, 
             0020:       43505500 ........ ........ ........   CPU.
 interrupt-priorities    00000009 00000009 ........ ........   ........
 interrupts              000007e8 000007e5 ........ ........   ........
 name                    53554e57 2c656e76 6374726c 00......   "SUNW,envctrl"
 panel-leds-present      0000003f ........ ........ ........   ...?
 panel-leds-state        00000000 ........ ........ ........   ....
 ps-fan-speeds           1f1f1f1f 1f1f1f1f 1f1f1f1f 1f1f1f1f   ................
             0010:       1f1f1f1f 1f1f1f1f 1f1f1f1f 1f212223   .............!"#
             0020:       24252626 2728292a 2b2d2e2f 30303030   $%&&'()*+-./0000
             0030:       30303132 33343536 3738393a 3b3c3d3e   00123456789:;<=>
             0040:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
             0050:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
             0060:       3f3f3f3f 3f3f3f3f 3f3f3f3f 3f3f3f3f   ????????????????
 ps-temp-factors         9a96827d 78736e6b 6967645f 5a575553   ...}xsnkigd_ZWUS
             0010:       51504e4d 4c4b4947 46454443 4241403f   QPNMLKIGFEDCBA@?
             0020:       3e3d3c3c 3b3a3939 38373736 35353433   >=<<;:9987765543
             0030:       32323231 3130302f 2f2e2e2d 2d2c2c2b   2221100//..--,,+
             0040:       2a2a2929 28282727 26262525 25252424   **))((''&&%%%%$$
             0050:       23232322 22222121 21202020 1f1f1e1e   ###"""!!!   ....
             0060:       1e1d1d1d 1d1c1c1c 1b1b1b1a 1a1a1919   ................
             0070:       19181818 18171717 17161616 16151515   ................
             0080:       14141413 13131313 12121212 11111111   ................
             0090:       10101010 0f0f0f0f 0f0e0e0e 0e0d0d0d   ................
             00a0:       0d0c0c0c 0c0c0b0b 0b0b0a0a 0a0a0a0a   ................
             00b0:       09090909 08080808 07070707 07060606   ................
             00c0:       06060505 05050504 04040404 03030303   ................
             00d0:       03020202 02020101 01010100 00000000   ................
             00e0:       00000000 00000000 00000000 00000000   ................
             00f0:       00000000 00000000 00000000 0000....   ..............
 reg                     00000014 00600000 00000004 ........   .....`......
 thermisters             0000009e 00000000 00000005 0000003e   ...............>
             0010:       0000004b 00000001 00000001 43505530   ...K........CPU0
             0020:       00000000 9e000000 01000000 05000000   ................
             0030:       3e000000 4b000000 01000000 01435055   >...K........CPU
             0040:       31000000 009e0000 00020000 00050000   1...............
             0050:       003e0000 004b0000 00010000 00014350   .>...K........CP
             0060:       55320000 00009e00 00000300 00000500   U2..............
             0070:       00003e00 00004b00 00000100 00000143   ..>...K........C
             0080:       50553300 00000090 00000000 00000005   PU3.............
             0090:       0000005a 00000064 00000001 00000001   ...Z...d........
             00a0:       50533000 00000092 00000000 00000005   PS0.............
             00b0:       0000005a 00000064 00000001 00000001   ...Z...d........
             00c0:       50533100 00000094 00000000 00000005   PS1.............
             00d0:       0000005a 00000064 00000001 00000001   ...Z...d........
             00e0:       50533200 0000009a 00000000 00000005   PS2.............
             00f0:       00000028 00000032 00000001 00000001   ...(...2........
             0100:       414d4200 ........ ........ ........   AMB.

 --------------------------------------------------------------------------------


 f00882e4: /pci/network@1,1

 address-bits            00000030 ........ ........ ........   ...0
 assigned-addresses      82000910 00000000 00008000 00000000   ................
             0010:       00007020 ........ ........ ........   ..p 
 class-code              00020000 ........ ........ ........   ....
 compatible              53554e57 2c686d65 00...... ........   "SUNW,hme"
 device-id               00001001 ........ ........ ........   ....
 device_type             6e657477 6f726b00 ........ ........   "network"
 devsel-speed            00000001 ........ ........ ........   ....
 fast-back-to-back       
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 hm-rev                  000000c1 ........ ........ ........   ....
 interrupts              000007e1 ........ ........ ........   ....
 latency-timer           0000000a ........ ........ ........   ....
 max-frame-size          00004000 ........ ........ ........    16K
 max-latency             00000005 ........ ........ ........   ....
 min-grant               0000000a ........ ........ ........   ....
 name                    6e657477 6f726b00 ........ ........   "network"
 reg                     00000900 00000000 00000000 00000000   ................
             0010:       00000000 02000910 00000000 00000000   ................
             0020:       00000000 00007020 ........ ........   ......p 
 revision-id             00000001 ........ ........ ........   ....
 vendor-id               0000108e ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f008fed0: /pci/scsi@3

 assigned-addresses      81001810 00000000 00000400 00000000   ................
             0010:       00000100 82001814 00000000 00010000   ................
             0020:       00000000 00000100 82001818 00000000   ................
             0030:       00012000 00000000 00001000 ........   .. .........
 class-code              00010000 ........ ........ ........   ....
 clock-frequency         02625a00 ........ ........ ........   40MHz
 compatible              70636931 3030302c 6600.... ........   "pci1000,f"
             000a:       676c6d00 ........ ........ ........   "glm"
             000e:       70636963 6c617373 2c303031 30303000   "pciclass,001000"
 device-id               0000000f ........ ........ ........   ....
 device_type             73637369 2d3200.. ........ ........   "scsi-2"
 devsel-speed            00000001 ........ ........ ........   ....
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupts              000007e0 ........ ........ ........   ....
 latency-timer           00000011 ........ ........ ........   ....
 max-latency             00000040 ........ ........ ........   ...@
 min-grant               00000011 ........ ........ ........   ....
 model                   53796d62 696f732c 35334338 373500..   "Symbios,53C875"
 name                    73637369 00...... ........ ........   "scsi"
 reg                     00001800 00000000 00000000 00000000   ................
             0010:       00000000 01001810 00000000 00000000   ................
             0020:       00000000 00000100 02001814 00000000   ................
             0030:       00000000 00000000 00000100 02001818   ................
             0040:       00000000 00000000 00000000 00001000   ................
 revision-id             00000003 ........ ........ ........   ....
 vendor-id               00001000 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f0094bfc: /pci/scsi@3/disk

 compatible              736400.. ........ ........ ........   "sd"
 device_type             626c6f63 6b00.... ........ ........   "block"
 name                    6469736b 00...... ........ ........   "disk"

 --------------------------------------------------------------------------------


 f0096340: /pci/scsi@3/tape

 compatible              737400.. ........ ........ ........   "st"
 device_type             62797465 00...... ........ ........   "byte"
 name                    74617065 00...... ........ ........   "tape"

 --------------------------------------------------------------------------------


 f00970ec: /pci/scsi@2

 assigned-addresses      81001010 00000000 00000800 00000000   ................
             0010:       00000100 82001014 00000000 00014000   ..............@.
             0020:       00000000 00000100 82001018 00000000   ................
             0030:       00016000 00000000 00001000 ........   ..`.........
 class-code              00010000 ........ ........ ........   ....
 clock-frequency         02625a00 ........ ........ ........   40MHz
 compatible              70636931 3030302c 6600.... ........   "pci1000,f"
             000a:       676c6d00 ........ ........ ........   "glm"
             000e:       70636963 6c617373 2c303031 30303000   "pciclass,001000"
 device-id               0000000f ........ ........ ........   ....
 device_type             73637369 2d3200.. ........ ........   "scsi-2"
 devsel-speed            00000001 ........ ........ ........   ....
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 interrupt-priorities    00000004 ........ ........ ........   ....
 interrupts              000007e6 ........ ........ ........   ....
 latency-timer           00000011 ........ ........ ........   ....
 max-latency             00000040 ........ ........ ........   ...@
 min-grant               00000011 ........ ........ ........   ....
 model                   53796d62 696f732c 35334338 373500..   "Symbios,53C875"
 name                    73637369 00...... ........ ........   "scsi"
 reg                     00001000 00000000 00000000 00000000   ................
             0010:       00000000 01001010 00000000 00000000   ................
             0020:       00000000 00000100 02001014 00000000   ................
             0030:       00000000 00000000 00000100 02001018   ................
             0040:       00000000 00000000 00000000 00001000   ................
 revision-id             00000003 ........ ........ ........   ....
 vendor-id               00001000 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f009be18: /pci/scsi@2/disk

 compatible              736400.. ........ ........ ........   "sd"
 device_type             626c6f63 6b00.... ........ ........   "block"
 name                    6469736b 00...... ........ ........   "disk"

 --------------------------------------------------------------------------------


 f009d55c: /pci/scsi@2/tape

 compatible              737400.. ........ ........ ........   "st"
 device_type             62797465 00...... ........ ........   "byte"
 name                    74617065 00...... ........ ........   "tape"

 --------------------------------------------------------------------------------


 f006e180: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 66mhz-capable           
 address                 fffc6000 fffc4000 fffb6000 ........   ..`...@...`.
 available               82800000 00000000 00001000 00000000   ................
             0010:       7ffff000 81800000 00000000 00000400   ................
             0020:       00000000 0000fc00 ........ ........   ........
 bus-parity-generated    
 bus-range               00000080 00000080 ........ ........   ........
 clock-frequency         03ef1480 ........ ........ ........   66MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              000007f0 000007ee 000007ef 000007e5   ................
             0010:       000007e8 000007f2 ........ ........   ........
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00800000 00000000 00000000 000001fe   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001fe 02000000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001ff 00000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001ff 00000000 00000000 80000000   ................
 reg                     000001fe 00002000 00000000 00002000   ...... ....... .
             0010:       000001fe 01800000 00000000 00000100   ................
             0020:       000001fe 00000000 00000000 0000d000   ................
 scsi-initiator-id       00000007 ........ ........ ........   ....
 slot-names              00000002 50434920 736c6f74 203500..   ....PCI slot 5.
 thermal-interrupt       
 upa-portid              0000001f ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f006f6d8: /counter-timer

 address                 fff9fc00 fff9d860 fff9b060 ........   .......`...`
 interrupts              000007ec 000007ed ........ ........   ........
 name                    636f756e 7465722d 74696d65 7200....   "counter-timer"
 reg                     000001fe 00001c00 00000000 00000020   ............... 
             0010:       000001fe 00001860 00000000 00000010   .......`........
             0020:       000001fe 00001060 00000000 00000010   .......`........

 --------------------------------------------------------------------------------


 f0081890: /mc

 #size-cells             00000002 ........ ........ ........     2
 device_type             6d656d6f 72792d63 6f6e7472 6f6c6c65   "memory-controlle
             0010:       7200.... ........ ........ ........   r"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 name                    6d6300.. ........ ........ ........   "mc"
 ranges                  00000000 00000000 00000000 00000000   ................
             0010:       00000001 00000000 ........ ........   ........
 reg                     000001c0 00000000 00000000 00000fff   ................

 --------------------------------------------------------------------------------


 f0081a44: /mc/bank

 #size-cells             00000002 ........ ........ ........     2
 bank-interleave         00000000 40000000 00000000 000000c0   ....@...........
             0010:       00000000 ........ ........ ........   ....
 device_type             6d656d6f 72792d62 616e6b00 ........   "memory-bank"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 name                    62616e6b 00...... ........ ........   "bank"
 reg                     00000000 00000000 00000000 40000000   ............@...

 --------------------------------------------------------------------------------


 f0081b98: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000000 00000000 10000000   ................
 socket-name             31393031 00...... ........ ........   1901.

 --------------------------------------------------------------------------------


 f0081ce0: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000001 00000000 10000000   ................
 socket-name             31393032 00...... ........ ........   1902.

 --------------------------------------------------------------------------------


 f0081e28: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000002 00000000 10000000   ................
 socket-name             31393033 00...... ........ ........   1903.

 --------------------------------------------------------------------------------


 f0081f70: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000003 00000000 10000000   ................
 socket-name             31393034 00...... ........ ........   1904.

 --------------------------------------------------------------------------------


 f0082148: /mc/bank

 #size-cells             00000002 ........ ........ ........     2
 bank-interleave         00000000 40000000 00000000 000000c0   ....@...........
             0010:       00000040 ........ ........ ........   ...@
 device_type             6d656d6f 72792d62 616e6b00 ........   "memory-bank"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 name                    62616e6b 00...... ........ ........   "bank"
 reg                     00000000 40000000 00000000 40000000   ....@.......@...

 --------------------------------------------------------------------------------


 f008229c: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000000 00000000 10000000   ................
 socket-name             31383031 00...... ........ ........   1801.

 --------------------------------------------------------------------------------


 f00823e4: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000001 00000000 10000000   ................
 socket-name             31383032 00...... ........ ........   1802.

 --------------------------------------------------------------------------------


 f008252c: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000002 00000000 10000000   ................
 socket-name             31383033 00...... ........ ........   1803.

 --------------------------------------------------------------------------------


 f0082674: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000003 00000000 10000000   ................
 socket-name             31383034 00...... ........ ........   1804.

 --------------------------------------------------------------------------------


 f008284c: /mc/bank

 #size-cells             00000002 ........ ........ ........     2
 bank-interleave         00000000 40000000 00000000 000000c0   ....@...........
             0010:       00000080 ........ ........ ........   ....
 device_type             6d656d6f 72792d62 616e6b00 ........   "memory-bank"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 name                    62616e6b 00...... ........ ........   "bank"
 reg                     00000000 80000000 00000000 40000000   ............@...

 --------------------------------------------------------------------------------


 f00829a0: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000000 00000000 10000000   ................
 socket-name             31373031 00...... ........ ........   1701.

 --------------------------------------------------------------------------------


 f0082ae8: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000001 00000000 10000000   ................
 socket-name             31373032 00...... ........ ........   1702.

 --------------------------------------------------------------------------------


 f0082c30: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000002 00000000 10000000   ................
 socket-name             31373033 00...... ........ ........   1703.

 --------------------------------------------------------------------------------


 f0082d78: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000003 00000000 10000000   ................
 socket-name             31373034 00...... ........ ........   1704.

 --------------------------------------------------------------------------------


 f0082f50: /mc/bank

 #size-cells             00000002 ........ ........ ........     2
 bank-interleave         00000000 40000000 00000000 000000c0   ....@...........
             0010:       000000c0 ........ ........ ........   ....
 device_type             6d656d6f 72792d62 616e6b00 ........   "memory-bank"
 fru                     6d6f7468 6572626f 61726400 ........   motherboard.
 name                    62616e6b 00...... ........ ........   "bank"
 reg                     00000000 c0000000 00000000 40000000   ............@...

 --------------------------------------------------------------------------------


 f00830a4: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000000 00000000 10000000   ................
 socket-name             31363031 00...... ........ ........   1601.

 --------------------------------------------------------------------------------


 f00831ec: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000001 00000000 10000000   ................
 socket-name             31363032 00...... ........ ........   1602.

 --------------------------------------------------------------------------------


 f0083334: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000002 00000000 10000000   ................
 socket-name             31363033 00...... ........ ........   1603.

 --------------------------------------------------------------------------------


 f008347c: /mc/bank/dimm

 device_type             6d656d6f 72792d6d 6f64756c 6500....   "memory-module"
 fru                     6d656d6f 72792d6d 6f64756c 6500....   memory-module.
 name                    64696d6d 00...... ........ ........   "dimm"
 reg                     00000000 00000003 00000000 10000000   ................
 socket-name             31363034 00...... ........ ........   1604.

 --------------------------------------------------------------------------------


 f0083ea0: /SUNW,UltraSPARC-II

 #dtlb-entries           00000040 ........ ........ ........    64
 #itlb-entries           00000040 ........ ........ ........    64
 clock-frequency         17d78400 ........ ........ ........   400MHz
 dcache-associativity    00000001 ........ ........ ........     1
 dcache-line-size        00000020 ........ ........ ........    32
 dcache-size             00004000 ........ ........ ........    16K
 device_type             63707500 ........ ........ ........   "cpu"
 ecache-associativity    00000001 ........ ........ ........     1
 ecache-line-size        00000040 ........ ........ ........    64
 ecache-size             00400000 ........ ........ ........     4M
 icache-associativity    00000002 ........ ........ ........     2
 icache-line-size        00000020 ........ ........ ........    32
 icache-size             00004000 ........ ........ ........    16K
 implementation#         00000011 ........ ........ ........   ....
 manufacturer#           00000017 ........ ........ ........   ....
 mask#                   000000a0 ........ ........ ........   ....
 name                    53554e57 2c556c74 72615350 4152432d   "SUNW,UltraSPARC-
             0010:       494900.. ........ ........ ........   II"
 reg                     000001c0 00000000 00000000 00000008   ................
 sparc-version           00000009 ........ ........ ........   ....
 upa-portid              00000000 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f008420c: /SUNW,UltraSPARC-II

 #dtlb-entries           00000040 ........ ........ ........    64
 #itlb-entries           00000040 ........ ........ ........    64
 clock-frequency         17d78400 ........ ........ ........   400MHz
 dcache-associativity    00000001 ........ ........ ........     1
 dcache-line-size        00000020 ........ ........ ........    32
 dcache-size             00004000 ........ ........ ........    16K
 device_type             63707500 ........ ........ ........   "cpu"
 ecache-associativity    00000001 ........ ........ ........     1
 ecache-line-size        00000040 ........ ........ ........    64
 ecache-size             00400000 ........ ........ ........     4M
 icache-associativity    00000002 ........ ........ ........     2
 icache-line-size        00000020 ........ ........ ........    32
 icache-size             00004000 ........ ........ ........    16K
 implementation#         00000011 ........ ........ ........   ....
 manufacturer#           00000017 ........ ........ ........   ....
 mask#                   000000a0 ........ ........ ........   ....
 name                    53554e57 2c556c74 72615350 4152432d   "SUNW,UltraSPARC-
             0010:       494900.. ........ ........ ........   II"
 reg                     000001c2 00000000 00000000 00000008   ................
 sparc-version           00000009 ........ ........ ........   ....
 upa-portid              00000001 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f0084578: /SUNW,UltraSPARC-II

 #dtlb-entries           00000040 ........ ........ ........    64
 #itlb-entries           00000040 ........ ........ ........    64
 clock-frequency         17d78400 ........ ........ ........   400MHz
 dcache-associativity    00000001 ........ ........ ........     1
 dcache-line-size        00000020 ........ ........ ........    32
 dcache-size             00004000 ........ ........ ........    16K
 device_type             63707500 ........ ........ ........   "cpu"
 ecache-associativity    00000001 ........ ........ ........     1
 ecache-line-size        00000040 ........ ........ ........    64
 ecache-size             00400000 ........ ........ ........     4M
 icache-associativity    00000002 ........ ........ ........     2
 icache-line-size        00000020 ........ ........ ........    32
 icache-size             00004000 ........ ........ ........    16K
 implementation#         00000011 ........ ........ ........   ....
 manufacturer#           00000017 ........ ........ ........   ....
 mask#                   000000a0 ........ ........ ........   ....
 name                    53554e57 2c556c74 72615350 4152432d   "SUNW,UltraSPARC-
             0010:       494900.. ........ ........ ........   II"
 reg                     000001c4 00000000 00000000 00000008   ................
 sparc-version           00000009 ........ ........ ........   ....
 upa-portid              00000002 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f00848e4: /SUNW,UltraSPARC-II

 #dtlb-entries           00000040 ........ ........ ........    64
 #itlb-entries           00000040 ........ ........ ........    64
 clock-frequency         17d78400 ........ ........ ........   400MHz
 dcache-associativity    00000001 ........ ........ ........     1
 dcache-line-size        00000020 ........ ........ ........    32
 dcache-size             00004000 ........ ........ ........    16K
 device_type             63707500 ........ ........ ........   "cpu"
 ecache-associativity    00000001 ........ ........ ........     1
 ecache-line-size        00000040 ........ ........ ........    64
 ecache-size             00400000 ........ ........ ........     4M
 icache-associativity    00000002 ........ ........ ........     2
 icache-line-size        00000020 ........ ........ ........    32
 icache-size             00004000 ........ ........ ........    16K
 implementation#         00000011 ........ ........ ........   ....
 manufacturer#           00000017 ........ ........ ........   ....
 mask#                   000000a0 ........ ........ ........   ....
 name                    53554e57 2c556c74 72615350 4152432d   "SUNW,UltraSPARC-
             0010:       494900.. ........ ........ ........   II"
 reg                     000001c6 00000000 00000000 00000008   ................
 sparc-version           00000009 ........ ........ ........   ....
 upa-portid              00000003 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f0084c50: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 address                 fff5e000 fff5c000 fff4e000 ........   ............
 available               82000000 00000000 00001000 00000000   ................
             0010:       7ffff000 81000000 00000000 00000400   ................
             0020:       00000000 0000fc00 ........ ........   ........
 bus-parity-generated    
 bus-range               00000000 00000000 ........ ........   ........
 clock-frequency         01f78a40 ........ ........ ........   33MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              00000131 0000012e 0000012f 00000125   ...1......./...%
             0010:       00000128 00000132 ........ ........   ...(...2
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00000000 00000000 00000000 000001c8   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001c8 02010000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001c9 80000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001c9 80000000 00000000 80000000   ................
 reg                     000001c8 00004000 00000000 00002000   ......@....... .
             0010:       000001c8 01000000 00000000 00000100   ................
             0020:       000001c8 00000000 00000000 0000d000   ................
 slot-names              0000001c 50434920 736c6f74 20390050   ....PCI slot 9.P
             0010:       43492073 6c6f7420 38005043 4920736c   CI slot 8.PCI sl
             0020:       6f742037 00...... ........ ........   ot 7.
 thermal-interrupt       
 upa-portid              00000004 ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f0085c34: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 66mhz-capable           
 address                 fff70000 fff6e000 fff60000 ........   ............
 available               82800000 00000000 00001000 00000000   ................
             0010:       7ffff000 81800000 00000000 00000400   ................
             0020:       00000000 0000fc00 ........ ........   ........
 bus-parity-generated    
 bus-range               00000080 00000080 ........ ........   ........
 clock-frequency         03ef1480 ........ ........ ........   66MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              00000130 0000012e 0000012f 00000125   ...0......./...%
             0010:       00000128 00000132 ........ ........   ...(...2
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00800000 00000000 00000000 000001c8   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001c8 02000000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001c9 00000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001c9 00000000 00000000 80000000   ................
 reg                     000001c8 00002000 00000000 00002000   ...... ....... .
             0010:       000001c8 01800000 00000000 00000100   ................
             0020:       000001c8 00000000 00000000 0000d000   ................
 slot-names              00000002 50434920 736c6f74 203600..   ....PCI slot 6.
 thermal-interrupt       
 upa-portid              00000004 ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f00868dc: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 address                 fff36000 fff34000 fff26000 ........   ..`...@...`.
 available               82000000 00000000 01810000 00000000   ................
             0010:       7e7f0000 81000000 00000000 00000400   ~...............
             0020:       00000000 0000fc00 ........ ........   ........
 bus-parity-generated    
 bus-range               00000000 00000000 ........ ........   ........
 clock-frequency         01f78a40 ........ ........ ........   33MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              000001b1 000001ae 000001af 000001a5   ................
             0010:       000001a8 000001b2 ........ ........   ........
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00000000 00000000 00000000 000001cc   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001cc 02010000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001cd 80000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001cd 80000000 00000000 80000000   ................
 reg                     000001cc 00004000 00000000 00002000   ......@....... .
             0010:       000001cc 01000000 00000000 00000100   ................
             0020:       000001cc 00000000 00000000 0000d000   ................
 slot-names              0000001c 50434920 736c6f74 20330050   ....PCI slot 3.P
             0010:       43492073 6c6f7420 32005043 4920736c   CI slot 2.PCI sl
             0020:       6f742031 00...... ........ ........   ot 1.
 thermal-interrupt       
 upa-portid              00000006 ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f009e590: /pci/TSI,gfxp@4

 address                 fe74e000 ........ ........ ........   .t..
 assigned-addresses      82002010 00000000 00020000 00000000   .. .............
             0010:       00020000 82002014 00000000 00800000   ...... .........
             0020:       00000000 00800000 82002018 00000000   .......... .....
             0030:       01000000 00000000 00800000 82002030   .............. 0
             0040:       00000000 01800000 00000000 00010000   ................
 character-set           49534f38 3835392d 3100.... ........   ISO8859-1.
 class-code              00038000 ........ ........ ........   ....
 depth                   00000020 ........ ........ ........   ... 
 device-id               00000009 ........ ........ ........   ....
 device_type             64697370 6c617900 ........ ........   "display"
 devsel-speed            00000001 ........ ........ ........   ....
 dotclockm               00000042 ........ ........ ........   ...B
 dotclockn               00000005 ........ ........ ........   ....
 dotclockp               00000001 ........ ........ ........   ....
 fast-back-to-back       
 fcode-rom-offset        00000000 ........ ........ ........   ....
 height                  00000384 ........ ........ ........   ....
 interrupts              00000001 ........ ........ ........   ....
 latency-timer           00000040 ........ ........ ........   ...@
 linebytes               00000480 ........ ........ ........   ....
 max-latency             000000c0 ........ ........ ........   ....
 min-grant               000000c0 ........ ........ ........   ....
 model                   47465850 00...... ........ ........   "GFXP"
 name                    5453492c 67667870 00...... ........   "TSI,gfxp"
 prom-revision           312e3131 2039392f 30372f30 36205453   1.11 99/07/06 TS
             0010:       4900.... ........ ........ ........   I.
 reg                     00002000 00000000 00000000 00000000   .. .............
             0010:       00000000 02002010 00000000 00000000   ...... .........
             0020:       00000000 00020000 02002014 00000000   .......... .....
             0030:       00000000 00000000 00800000 02002018   .............. .
             0040:       00000000 00000000 00000000 00800000   ................
             0050:       02002030 00000000 00000000 00000000   .. 0............
             0060:       00010000 ........ ........ ........   ....
 revision-id             00000001 ........ ........ ........   ....
 subsystem-id            00000006 ........ ........ ........   ....
 subsystem-vendor-id     00001227 ........ ........ ........   ...'
 timing-numbers          31313532 2c203337 362c2034 302c2031   1152, 376, 40, 1
             0010:       32382c20 20393030 2c203337 2c202032   28,  900, 37,  2
             0020:       2c20342c 20203934 35303030 30302c20   , 4,  94500000, 
             0030:       32303536 00...... ........ ........   2056.
 vendor-id               00003d3d ........ ........ ........   ..==
 width                   00000480 ........ ........ ........   ....

 --------------------------------------------------------------------------------


 f00874a0: /pci

 #address-cells          00000003 ........ ........ ........     3
 #size-cells             00000002 ........ ........ ........     2
 66mhz-capable           
 address                 fff48000 fff46000 fff38000 ........   ......`.....
 available               82800000 00000000 00001000 00000000   ................
             0010:       7ffff000 81800000 00000000 00000400   ................
             0020:       00000000 0000fc00 ........ ........   ........
 bus-parity-generated    
 bus-range               00000080 00000080 ........ ........   ........
 clock-frequency         03ef1480 ........ ........ ........   66MHz
 compatible              70636931 3038652c 38303030 00......   "pci108e,8000"
             000d:       70636963 6c617373 2c303630 30303000   "pciclass,060000"
 device_type             70636900 ........ ........ ........   "pci"
 implementation#         00000000 ........ ........ ........   ....
 interrupts              000001b0 000001ae 000001af 000001a5   ................
             0010:       000001a8 000001b2 ........ ........   ........
 latency-timer           00000040 ........ ........ ........   ...@
 model                   53554e57 2c707379 63686f00 ........   "SUNW,psycho"
 name                    70636900 ........ ........ ........   "pci"
 no-probe-list           3000.... ........ ........ ........   0.
 ranges                  00800000 00000000 00000000 000001cc   ................
             0010:       01000000 00000000 00800000 01000000   ................
             0020:       00000000 00000000 000001cc 02000000   ................
             0030:       00000000 00010000 02000000 00000000   ................
             0040:       00000000 000001cd 00000000 00000000   ................
             0050:       80000000 03000000 00000000 00000000   ................
             0060:       000001cd 00000000 00000000 80000000   ................
 reg                     000001cc 00002000 00000000 00002000   ...... ....... .
             0010:       000001cc 01800000 00000000 00000100   ................
             0020:       000001cc 00000000 00000000 0000d000   ................
 slot-names              00000002 50434920 736c6f74 203400..   ....PCI slot 4.
 thermal-interrupt       
 upa-portid              00000006 ........ ........ ........   ....
 version#                00000004 ........ ........ ........   ....

 --------------------------------------------------------------------------------


From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, port-sparc64-maintainer@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, he@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 09:50:34 -0400

 On May 19,  1:05pm, macallan@netbsd.org (Michael) wrote:
 -- Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA

 |  Great, last time we ran into this you couldn't be bothered to tell me =20=
 |  
 |  fvcking anything useful, other than that you wanted the kernel and OF =20=
 |  
 |  consoles on different devices or something like that ( and how the =20
 |  fvck is that supposed to work in a halfway sane way anyway? )

 It is hard for me to use the machine that is used as my gateway for debugging.
 Hopefully someone else will have a better suited machine to debug this.
 You could set up one of your machines with console on fb, can't you?

 christos

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 10:09:58 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 > The machine's not explicitly set to use serial console, so it
 > complains on each reboot:
 >
 >  Can't open input device.
 >  Keyboard not present.  Using ttya for input and output.
 >
 > And indeed there is no keyboard connected, but the console is on
 > the serial port.

 Out of curiosity - what happens if you explicitly set the console to =20
 ttya?

 > f009e590: /pci/TSI,gfxp@4
 >
 > address                 fe74e000 ........ ........ ........   .t..
 > assigned-addresses      82002010 00000000 00020000 =20
 > 00000000   .. .............
 >            0010:       00020000 82002014 00000000 =20
 > 00800000   ...... .........
 >            0020:       00000000 00800000 82002018 =20
 > 00000000   .......... .....
 >            0030:       01000000 00000000 00800000 =20
 > 82002030   .............. 0
 >            0040:       00000000 01800000 00000000 =20
 > 00010000   ................
 > character-set           49534f38 3835392d 3100.... ........   =20
 > ISO8859-1.
 > class-code              00038000 ........ ........ ........   ....
 > depth                   00000020 ........ ........ ........   ...
 > device-id               00000009 ........ ........ ........   ....
 > device_type             64697370 6c617900 ........ ........   =20
 > "display"
 > devsel-speed            00000001 ........ ........ ........   ....
 > dotclockm               00000042 ........ ........ ........   ...B
 > dotclockn               00000005 ........ ........ ........   ....
 > dotclockp               00000001 ........ ........ ........   ....
 > fast-back-to-back
 > fcode-rom-offset        00000000 ........ ........ ........   ....
 > height                  00000384 ........ ........ ........   ....
 > interrupts              00000001 ........ ........ ........   ....
 > latency-timer           00000040 ........ ........ ........   ...@
 > linebytes               00000480 ........ ........ ........   ....
 > max-latency             000000c0 ........ ........ ........   ....
 > min-grant               000000c0 ........ ........ ........   ....
 > model                   47465850 00...... ........ ........   "GFXP"
 > name                    5453492c 67667870 00...... ........   =20
 > "TSI,gfxp"
 > prom-revision           312e3131 2039392f 30372f30 36205453   1.11 =20
 > 99/07/06 TS
 >            0010:       4900.... ........ ........ ........   I.
 > reg                     00002000 00000000 00000000 =20
 > 00000000   .. .............
 >            0010:       00000000 02002010 00000000 =20
 > 00000000   ...... .........
 >            0020:       00000000 00020000 02002014 =20
 > 00000000   .......... .....
 >            0030:       00000000 00000000 00800000 =20
 > 02002018   .............. .
 >            0040:       00000000 00000000 00000000 =20
 > 00800000   ................
 >            0050:       02002030 00000000 00000000 00000000   .. =20
 > 0............
 >            0060:       00010000 ........ ........ ........   ....
 > revision-id             00000001 ........ ........ ........   ....
 > subsystem-id            00000006 ........ ........ ........   ....
 > subsystem-vendor-id     00001227 ........ ........ ........   ...'
 > timing-numbers          31313532 2c203337 362c2034 302c2031   1152, =20=

 > 376, 40, 1
 >            0010:       32382c20 20393030 2c203337 2c202032   28,  =20
 > 900, 37,  2
 >            0020:       2c20342c 20203934 35303030 30302c20   , 4,  =20
 > 94500000,
 >            0030:       32303536 00...... ........ ........   2056.
 > vendor-id               00003d3d ........ ........ ........   ..=3D=3D
 > width                   00000480 ........ ........ ........   ....

 This looks sane and should work, console or not - address, width, =20
 height, linebytes etc. are present ( and pm2fb doesn't even use =20
 address - unlike genfb it knows which BARs to map )
 Could you sprinkle printf()s over pm2fb_attach() to figure out where =20
 exactly we crash?

 > Why it said "no width property" in 5.99.38 and then suddenly | it =20
 > finds it in 6.0_BETA will excercise the latter parts of | =20
 > pm2fb_attach().

 I dimly remember that some (all?) versions of the Raptor firmware have =20=

 a bug which results in some property names having trailing spaces =20
 which messes with of_getprop() and friends. At some point I added code =20=

 to deal with that. Nothing to do with pm2fb though, that code is =20
 somewhere in arch/sparc64/

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)
 Comment: GPGTools - http://gpgtools.org

 iQEVAwUBT7eptspnzkX8Yg2nAQIR1ggAhtO+Bz7Y083XMO9GIjN54WRkXWwwVvsg
 l+M5fx/BFEMrJYynUyHhsEtIksLMVkz1eX0TIBMnC677l+Uq/vPRIlKClqkOOYNc
 r0TEwDhSC+KgIjJfFppBMmn8CJ/Vy+WGsObOGz2yRMRBoFgfzrZqpJqwRYSySswQ
 bD5KWkZoxt6CG0qOqQTQ8R86bwUqyEt7rItHYwnndTFemABC2+TJRgw62kDU/I9i
 3ZV5RRJ21MI5IkmnBq3m3VQgnBmP6ld/wfGpXMI/23R/NBfF8JXvRTbv9p+2yJvV
 0NyORl1HuSsgtDA/yfCiEb0KyvitlqgMiA6aOaQPKlHMR5OyyegUaQ=3D=3D
 =3DiTuq
 -----END PGP SIGNATURE-----

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 10:17:32 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 Christos - all my machines have their consoles on some sort of fb and =20=

 almost all have additional framebuffer devices which may or may not be =20=

 set up by OF.
 I think, after reading Havards replies, the problem is not so much any =20=

 of the fb drivers but the sparc64 code which figures out where the =20
 console is, apparently the case where the console gets temporarily =20
 switched to ttya when no keyboard is present confuses the living hell =20=

 out of it.
 That's why I asked what happens with the console explicitly set to ttya.

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)
 Comment: GPGTools - http://gpgtools.org

 iQEVAwUBT7erfcpnzkX8Yg2nAQIJQwgAnZKZQR792H+dC14J0kVJyGk3ci7+jchR
 3Tiyl4gxQ79bq9ZMdbqdVUHUfOjoTIIdXMSgUt1slpp8QhB4G52LI80yJfGIOZwB
 p7NRhyb68d21yjgn33VcnZstD5Ght5P++dPqVq1RuSbt0lE9a5yGmyFgbGErbdUx
 0+A6by4td4fPEpqBLT3EqrmINqY9sLoF5raOOOH7wAyXK0UqlwQxXjlKTXvACUCR
 oVmBda9dkaPFwezNlffLcCRFOLk/9e/it5O93YWnEGX4AGWT3M1rPV/XQMT4Uura
 n0WhnfhhIfG4D7/TtjDD6VYSeOPiBJCblTDcNwawhfoXG5DnXDWZOg=3D=3D
 =3Dop1A
 -----END PGP SIGNATURE-----

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, he@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 18:11:53 +0200

 On Sat, May 19, 2012 at 02:20:04PM +0000, Michael wrote:
 >  I think, after reading Havards replies, the problem is not so much any =20=
 >  
 >  of the fb drivers but the sparc64 code which figures out where the =20
 >  console is, apparently the case where the console gets temporarily =20
 >  switched to ttya when no keyboard is present confuses the living hell =20=
 >  
 >  out of it.
 >  That's why I asked what happens with the console explicitly set to ttya.

 I do that regularily with both ffb and xvr100, and it does not confuse
 the kernel.

 Martin

From: Havard Eidnes <he@NetBSD.org>
To: macallan@netbsd.org
Cc: gnats-bugs@NetBSD.org, port-sparc64-maintainer@netbsd.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 22:37:50 +0200 (CEST)

 >  Could you sprinkle printf()s over pm2fb_attach() to figure out where =20
 >  exactly we crash?

 I did that, and we hit this one:

 @@ -326,6 +347,9 @@
                     defattr);
                 vcons_replay_msgbuf(&sc->sc_console_screen);
         } else {
 +               if (ri->ri_ops.allocattr == NULL) {
 +                       panic("pm2fb: ri->ri_ops.allocatr == NULL");
 +               }
                 /*
                  * since we're not the console we can postpone the rest
                  * until someone actually allocates a screen for us
 @@ -338,7 +362,11 @@

 The other debug output I added printed:

 psycho4 at mainbus0 addr 0xfff36000
 psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
 pci4 at psycho4
 pm2fb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 pm2fb: width property OK, width = 1152
 pm2fb: height property OK, height = 900
 pm2fb: depth property OK, depth = 32
 pm2fb: is_console = 0
 pm2fb: registers mapped
 pm2fb0: 8 MB aperture at 0x00800000
 pm2fb: setting up i2c:
 pm2fb: vcons_init() done
 pm2fb: pm2fb_init() done
 pm2fb: PAL registers set up
 panic: pm2fb: ri->ri_ops.allocatr == NULL
 Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
 db{0}> 

 So ri->ri_ops.allocattr is NULL, and without the panic() call I
 added, we immediately after try to call via that function pointer
 which lands us with the panic which was the origin of this PR.


 Regards,

 - Havard

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 17:33:53 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 Ouch, I think I see where the problem comes from.
 That path is apparently never taken if the console is explicitly set =20
 to another fb or a tty since in that case OF doesn't setup the =20
 graphics hardware and drivers abort much earlier, which is why I never =20=

 saw it. In your case OF sets it up, then decides it doesn't have a =20
 keyboard and switches to ttya. I'll fix that, there's probably a bunch =20=

 of other drivers which may get bitten by that :/
 I'm fairly sure that used to work though, at least sbus and UPA =20
 framebuffers are set up even if they're not the console.

 Does this help:
 @@ -326,11 +335,10 @@
                      defattr);
                  vcons_replay_msgbuf(&sc->sc_console_screen);
          } else {
 - -               /*
 - -                * since we're not the console we can postpone the =
 rest
 - -                * until someone actually allocates a screen for us
 - -                */
 - -               (*ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr);
 +               if (sc->sc_console_screen.scr_ri.ri_rows =3D=3D 0) {
 +                       /* do some minimal setup to avoid weirdnesses =20=

 later */
 +                       vcons_init_screen(&sc->vd, &sc-=20
  >sc_console_screen, 1, &defattr);
 +               }

 ?
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)
 Comment: GPGTools - http://gpgtools.org

 iQEVAwUBT7gRwcpnzkX8Yg2nAQIDQwgAhQCiD47boSEy+g9IQ+ct3fBfhPhElgvT
 tuTwxNqOeadqJf8beDQRkGiq9o3KKurGRjhk19sjOqYbnIP9c6EER1t7HzpxfIvX
 TgeAJ78CJ9/EX4qD1rjxipLnWtXmIEakixF5+9WGcfHSapbD+eJCfB/4VRb18Esf
 WWZGzZfzWuOGsJRLd1KUPzj8UW+txTjF84kDDsyfwNclKhDmEGn0732aGrR5Sg06
 shwK+nmSEL5wwWBqQSEavFfGwzKLHrcG7SkwH5OqoGzNzCknwBotTQT0QF24TXEK
 DJEtwrsCz0sczDofJvxglPQMj48xlOKDsZajI7Uj/Nq8cfGm2p6W2w=3D=3D
 =3DQ1cg
 -----END PGP SIGNATURE-----

From: Havard Eidnes <he@NetBSD.org>
To: macallan@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sun, 20 May 2012 10:25:05 +0200 (CEST)

 >  Ouch, I think I see where the problem comes from.
 >  That path is apparently never taken if the console is explicitly set
 >  to another fb or a tty since in that case OF doesn't setup the
 >  graphics hardware and drivers abort much earlier, which is why I never
 >  saw it. In your case OF sets it up, then decides it doesn't have a
 >  keyboard and switches to ttya. I'll fix that, there's probably a bunch>  
 >  of other drivers which may get bitten by that :/
 >  I'm fairly sure that used to work though, at least sbus and UPA
 >  framebuffers are set up even if they're not the console.
 >  
 >  Does this help:
 >  @@ -326,11 +335,10 @@
 >                       defattr);
 >                   vcons_replay_msgbuf(&sc->sc_console_screen);
 >           } else {
 >  -               /*
 >  -                * since we're not the console we can postpone the rest
 >  -                * until someone actually allocates a screen for us
 >  -                */
 >  -               (*ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr);
 >  +               if (sc->sc_console_screen.scr_ri.ri_rows == 0) {
 >  +                       /* do some minimal setup to avoid weirdnesses later */
 >  +                       vcons_init_screen(&sc->vd, &sc->sc_console_screen, 1, &defattr);
 >  +               }
 >
 >  ?

 Yes, this fixes the problem, I now have the 6.0_BETA kernel
 running with the pm2fb driver enabled.

 Regards,

 - Havard

From: Michael <macallan@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sun, 20 May 2012 09:59:31 -0400

 On Sun, 20 May 2012 10:25:05 +0200 (CEST)
 Havard Eidnes <he@NetBSD.org> wrote:

 > Yes, this fixes the problem, I now have the 6.0_BETA kernel
 > running with the pm2fb driver enabled.

 Alright, I'll commit, check the other drivers and request pullup.
 Leaves the question why you also get crashes with genfb - its attach
 method is nothing like pm2fb's and as far as I can tell the crash isn't
 a jump through NULL either. I suspect it's getting a wrong framebuffer
 address although I don't see how that would happen. Any chance to
 repeat the printf() dance there?

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, port-sparc64-maintainer@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, he@NetBSD.org
Cc: 
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sun, 20 May 2012 10:03:53 -0400

 On May 20,  8:25am, he@NetBSD.org (Havard Eidnes) wrote:
 -- Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA

 | The following reply was made to PR port-sparc64/46461; it has been noted by GNATS.
 | 
 | From: Havard Eidnes <he@NetBSD.org>
 | To: macallan@netbsd.org
 | Cc: gnats-bugs@NetBSD.org
 | Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
 | Date: Sun, 20 May 2012 10:25:05 +0200 (CEST)
 | 
 |  >  Ouch, I think I see where the problem comes from.
 |  >  That path is apparently never taken if the console is explicitly set
 |  >  to another fb or a tty since in that case OF doesn't setup the
 |  >  graphics hardware and drivers abort much earlier, which is why I never
 |  >  saw it. In your case OF sets it up, then decides it doesn't have a
 |  >  keyboard and switches to ttya. I'll fix that, there's probably a bunch>  
 |  >  of other drivers which may get bitten by that :/
 |  >  I'm fairly sure that used to work though, at least sbus and UPA
 |  >  framebuffers are set up even if they're not the console.
 |  >  
 |  >  Does this help:
 |  >  @@ -326,11 +335,10 @@
 |  >                       defattr);
 |  >                   vcons_replay_msgbuf(&sc->sc_console_screen);
 |  >           } else {
 |  >  -               /*
 |  >  -                * since we're not the console we can postpone the rest
 |  >  -                * until someone actually allocates a screen for us
 |  >  -                */
 |  >  -               (*ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr);
 |  >  +               if (sc->sc_console_screen.scr_ri.ri_rows == 0) {
 |  >  +                       /* do some minimal setup to avoid weirdnesses later */
 |  >  +                       vcons_init_screen(&sc->vd, &sc->sc_console_screen, 1, &defattr);
 |  >  +               }
 |  >
 |  >  ?
 |  
 |  Yes, this fixes the problem, I now have the 6.0_BETA kernel
 |  running with the pm2fb driver enabled.

 Can you disable to pm2fb and see why genfb crashes too?

 christos

From: Havard Eidnes <he@NetBSD.org>
To: macallan@netbsd.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sun, 20 May 2012 19:04:10 +0200 (CEST)

 > Leaves the question why you also get crashes with genfb - its
 > attach method is nothing like pm2fb's and as far as I can tell
 > the crash isn't a jump through NULL either. I suspect it's
 > getting a wrong framebuffer address although I don't see how
 > that would happen. Any chance to repeat the printf() dance
 > there?

 Sure.  I get:

 psycho4 at mainbus0 addr 0xfff36000
 psycho4: SUNW,psycho: impl 0, version 4: ign 180 bus range 0 to 0; PCI bus 0
 pci4 at psycho4
 genfb0 at pci4 dev 4 function 0: 3D Labs GLINT Permedia 2V (rev. 0x01)
 genfb: is_console = 0
 genfb: framebuffer at 0x80000000, size 1152x900, depth 32 stride 4608
 genfb: doing vcons_init()
 genfb: doing vcons_init_screen()
 panic: psycho4: PCI bus A error AFAR 1cd00000000 AFSR 880000ff00000000
 Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        nop
 db{0}> 
 db{0}> tra
 panic(17e16d8, 6d30434, 1cd00000000, 880000ff00000000, aa, 2005276) at netbsd:panic+0x24
 psycho_bus_a(6d26dd0, d, e0017ed0, 1, 13a71c0, 1000000) at netbsd:psycho_bus_a+0x30
 sparc_interrupt(6d21100, 1200, fffffffffffffff8, 20, e0024000, 1031) at netbsd:sparc_interrupt+0x224
 rasops_reconfig(6d21100, 19, 50, 17f8778, a9, 2004f00) at netbsd:rasops_reconfig+0x4a8
 rasops_init(6d21100, 19, 50, 17f8778, a9, 2004fc0) at netbsd:rasops_init+0xbc
 genfb_init_screen(6d21000, 6d21100, 1, 2005180, 2005128, 0) at netbsd:genfb_init_screen+0x94
 vcons_init_screen(6d21008, 6d21100, 1, 2005180, 20, 1200) at netbsd:vcons_init_screen+0x2c
 genfb_attach(6d212b8, 2005260, 30, 1800001, 0, ffffffffffffffff) at netbsd:genfb_attach+0x1d4
 pci_genfb_attach(6d30100, 6d3dc40, 2005428, 1cb2850, 1790400, 2005276) at netbsd:pci_genfb_attach+0x140
 config_attach_loc(6d3dc40, 1c071b0, 1, 2005428, 0, 1387c80) at netbsd:config_attach_loc+0x1a0
 pci_probe_device(6dbc000, f009e59000002000, 0, 93d3d, ff00, 2005490) at netbsd:pci_probe_device+0x448
 sparc64_pci_enumerate_bus(6dbc000, 174b620, 0, 21, 1c75c00, 179c000) at netbsd:sparc64_pci_enumerate_bus+0x2e8
 pcirescan(6dbc000, 1790718, 174b620, 17f57d8, 490, 6d30137) at netbsd:pcirescan+0x4c
 pciattach(1, 6d30100, 20058a0, 1cb2850, 1790400, 5ddb680) at netbsd:pciattach+0x15c
 config_attach_loc(6d30100, 1c07810, 1, 20058a0, 0, 13a6a80) at netbsd:config_attach_loc+0x1a0
 psycho_attach(5b41200, 6d30400, 2005ab0, 1cb2850, 1790400, 200592c) at netbsd:psycho_attach+0x4ec
 config_attach_loc(6d30400, 1c07780, 1, 2005ab0, 0, 1093020) at netbsd:config_attach_loc+0x1a0
 mainbus_attach(0, 5b41200, 0, 1cb2850, 179c000, 1093000) at netbsd:mainbus_attach+0x4a8
 config_attach_loc(5b41200, 1c072d0, 1, 0, 0, 7) at netbsd:config_attach_loc+0x1a0
 cpu_configure(17be800, 12a74a0, 0, 5b2df80, 35, 1c09c00) at netbsd:cpu_configure+0x20c
 main(0, 12263a0, fff7f8c0, f0075a4c, fffffffff00874a0, fff7fe80) at netbsd:main+0x314
 cpu_initialize(f0075a4c, 113800, 112f40, fff7fdf8, 0, fff7fc78) at netbsd:cpu_initialize+0xe8
 db{0}> 

 Regards,

 - Havard

From: "Michael Lorenz" <macallan@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46461 CVS commit: src/sys/dev
Date: Wed, 23 May 2012 18:39:31 +0000

 Module Name:	src
 Committed By:	macallan
 Date:		Wed May 23 18:39:31 UTC 2012

 Modified Files:
 	src/sys/dev/ic: ct65550.c
 	src/sys/dev/pci: pm2fb.c r128fb.c
 	src/sys/dev/pci/voyager: voyagerfb.c

 Log Message:
 first step to fix PR 46461 - don't jump through a NULL pointer when we're
 not the console but the firmware set up the graphics hardware anyway


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/ct65550.c
 cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/pm2fb.c
 cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/r128fb.c
 cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/voyager/voyagerfb.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.