Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Javastation-1 [was Re: What's GENERIC32?]



(Hmm, my subscribe request for port-sparc64 seems to have gone into
limbo.  I'll have to look at that.)

Teal deer: a case of PEBKAC - this actually didn't belong on
port-sparc64 to begin with.

> I thought what I'd read indicated that on the JS-1 you _had_ to use
> the 32-bit sparc64 setup.  But then, what I read was disjointed in
> other respects, so it's entirely possible I misunderstood.

> I'll try a straight-up sparc64 install and see what happens.

I had trouble getting TFTPable bootblocks that worked.  One of the
resources I found indicated that the correct thing to use was the
sparc(32) ofwboot.net.  That works, and it's the only thing I've found
that does - hence the NetBSD/sparc references in the bootblock output
below.

	ok boot net -s
	>> NetBSD/sparc Secondary Boot, Revision 1.15
	>> (builds%b6.netbsd.org@localhost, Wed Nov 28 12:56:29 UTC 2012)
	Patching OBP3 for SUNW,JavaStation-1
	zs: renaming out of the way
	su: adding "interrupts"
	8042: creating node
	Booting /kona
	Trying BOOTP protocol... ip address: 10.0.1.15, netmask: 255.255.255.0, gateway: 10.0.1.1
	root addr=10.0.1.2 path=/nfs/sparc64
	
	device[/iommy@0,10000000/sbus@0,10001000/ledma@4,8400010/le@4,8c00000] ("halt" to halt): 
	boot (press RETURN to try default list):
	Booting netbsd
	Trying BOOTP protocol... ip address: 10.0.1.15, netmask: 255.255.255.0, gateway: 10.0.1.1
	root addr=10.0.1.2 path=/nfs/sparc64
	Cannot load netbsd; error=79
	
	device[/iommy@0,10000000/sbus@0,10001000/ledma@4,8400010/le@4,8c00000] ("halt" to halt): 

(/kona seems to be the default diag-file, and the thing's NVRAM battery
is flat, so it sets diag-switch? true during POST.)

Errno 79 is EFTYPE, Inappropriate file type or format.  netbsd is a
NetBSD/sparc64 kernel.  I built a 64/32 kernel on my friendly
neighbourhood sparc64 machine, and that one gives me

	boot (press RETURN to try default list): netbsdJS
	Booting netbsdJS
	Trying BOOTP protocol... ip address: 10.0.1.15, netmask: 255.255.255.0, gateway: 10.0.1.1
	root addr=10.0.1.2 path=/nfs/sparc64
	7771918+289436+1328844 [328016+315294]=0xa2869c
	Illegal Instruction
	ok 

I then tried switching the MAC to one that my netboot setup serves as
sparc (32) rather than sparc64, and...

	>> NetBSD/sparc Secondary Boot, Revision 1.9
	>> (mouse%SPARC.Rodents.Montreal.QC.CA@localhost, Sat Feb 16 01:55:51 EST 2002)
	Booting netbsd
	Using BOOTPARAMS protocol: ip address: 10.0.1.11, hostname: SPARC.Rodents-Montreal.ORG
	root addr=10.0.1.2 path=/nfs/sparc
	2264052[^_? for help]+140444+276388 [68+132896+102362]=0x2d813c
	OBP version 3, revision 2.30 (plugin rev 2)
	pmap_bootstrap: installing kernel page tables...done.
	[ preserving 235780 bytes of netbsd ELF symbol table ]
	cninit: invalid inSource=0xffffffff
	Type  'go' to resume
	ok 

So, while it doesn't work, it's running the kernel.  It appears the
JavaStation-1 - or at least my JavaStation-1 - is actually 32-bit
hardware, not 64-bit at all, and I was getting misled by one of the
resources I looked at.

And, indeed, upon looking at the sparc and sparc64 supported hardware
lists, I find the JavaStation family listed under sparc, not sparc64.
So my babbling about it here is complete noise.

My apologies; this appears to be a case of complete PEBKAC.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index