Subject: Re: NetBSD on SunFire 280R
To: None <hubert.feyrer@informatik.fh-regensburg.de, port-sparc64@netbsd.org>
From: None <eeh@netbsd.org>
List: port-sparc64
Date: 08/29/2001 19:50:09
| I have a SunFire 280R here (2GB RAM, 1 CPU installed, second is still
| boxed), and to see if the Sun (Symbios Logic) PCI SCSI card works, I
| hooked up a disk that has NetBSD/sparc64 installed, which ran on an U10
| last. Here's how far it got:
|
| ok boot /pci@8,600000/scsi@1/disk@4,0
| Boot device: /pci@8,600000/scsi@1/disk@4,0  File and args:
| NetBSD IEEE 1275 Bootblock
| ..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.2
| >> (eeh@ehorvath, Tue Jul 11 09:44:09 PDT 2000)
| devopen: getdisklabel sez no disk label
| loadfile: reading header
| elf64_exec: Booting /pci@8,600000/scsi@1/disk@4,0:a/netbsd
| 2981149@0x1000000+209144@0x1400000+437328@0x14330f8
| symbols @ 0xfef64300 74+240648+128793 start=0x1000000
| chain: calling OF_chain(800000, fb78, 1000000, fff45a80, 18)
| [ using 370296 bytes of netbsd ELF symbol table ]
| pmap_bootstrap: could not claim physical dseg extention at 7fc9e000 size
| 362000
| Setting DTLB entry 00000000 01000000 data e0000000 7f800076
| Setting DTLB entry 00000000 01400000 data e0000000 7f400076
| Setting ITLB entry 00000000 01000000 data e0000000 7f400076
| Setting TSB pointer 00000000 014b0000
| consinit()
| setting up stdin
| stdin instance = fff17ea0
| setting up stdout
| stdout instance = fff179f0
| stdout package = f008cf94
| console is unknown
| Copyright (c) 1996, 1997, 1998, 1999, 2000
|     The NetBSD Foundation, Inc.  All rights reserved.
| Copyright (c) 1982, 1986, 1989, 1991, 1993
|     The Regents of the University of California.  All rights reserved.
|    
| data fault: pc=100a8b8 addr=0 sfsr=%qb
| kernel trap 30: data access exception
| 1 tt=1ff tstate=0 tpc=0x0 tnpc=0x0
| Stopped in  at  dcache_flush_page+0x60: ldda            [%o4 + %g0] 103,
| %g0

Ah, yes, it died in the cache flush code.  Not unexpected since
the caches are quite different between UltraSPARC I/II and 
UltraSPARC III.  The only *cough* *cough* documentation of USIII
peculiarities I'm aware of is in the linux sources, presuming that
code actually works.  

| I'll have to setup the machine w/ Solaris soon, but I guess i can wait a
| day more or three, to play with NetBSD on it. I guess first step will be 
| to do netboot, or is there another way to boot a newer kernel? Can I write
| it to the (NetBSD-formatted) disk from Solaris? (ISTR some way it shredded
| disks...)

No, Solaris will not load NetBSD formatted filesystems, however, NetBSD will
mount solaris partitions read-only.  You can format a partition, install
a miniroot on it, and copy kernels and bootloaders from solaris.

Eduardo