Port-sparc64 archive

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

Re: Building an useing Netbsd kernels of sparc64



On Sat, Jun 28, 2008 at 03:28:55PM +0000, Robin-David Hammond %KB3IEN wrote:
> 
> I have a netbsd-4 generic machine, on which i compiled a new kernel 
> '20080625'
> 
> (followed the time honourd traditions enscribed here: 
> http://www.netbsd.org/docs/kernel/#how_to_build_a_kernel )
> 
> get some output ending thusly:
> 
> #      link  20080625/netbsd
> ld -Map netbsd.map --cref -n -T 
> ../../../../arch/sparc64/conf/kern.ldscript -Ttext 01000000 -e start -S -o 
> netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
>    text    data     bss     dec     hex filename
> 6398621  358312  333856 7090789  6c3265 netbsd
> 
> 
> mv it to / (saving me old kernel)
> 
> ls -al / *netbsd*
> -rwxr-xr-x   1 root  wheel  7680334 Jun 26 15:47 netbsd
> -rwxr-xr-x   1 root  wheel  7409496 Dec 16  2007 netbsd.old
> 
> but on reboot something is amis:
> 
> Probing /pci@1f,0 Device a  usb
> Probing /pci@1f,0 Device d  ide disk cdrom
> todm5819 Sun Fire V100 (UltraSPARC-IIe 500MHz), No Keyboard
> OpenBoot 4.0, 256 MB memory installed, Serial #51970305.
> Ethernet address 0:3:ba:19:1:1, Host ID: 83190101.
> 
> 
> 
> Environment monitoring: disabled
> Executing last command: boot
> Boot device: disk  File and args:
> NetBSD IEEE 1275 Bootblock
> >>NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
> >>(builds@wb26, Sun Dec 16 01:20:57 PST 2007)
> Failed to load 'netbsd'.
> : trying netbsd.gz...
> open netbsd.gz: No such file or directory
> Failed to load 'netbsd.gz'.
> : trying netbsd.old...
> =0x8573c8
> Loading netbsd.old: 6156304+357256+302608 [468792+298376]=0x95cc98
> sparc64_init(0xf00610f4, 0xfffc5e28, 0x20, 0xf00610f4, 0xf00610f4)
> sparc64_init: bmagic=44444230, bi=0x195cca0
> console is /pci@1f,0/isa@7/serial@0,3f8
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007
>     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 4.0 (GENERIC) #0: Sun Dec 16 02:17:35 PST 2007
> 
> builds@wb26:/home/builds/ab/netbsd-4-0-RELEASE/sparc64/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/sparc64/compile/GENERIC
> total memory = 256 MB
> avail memory = 237 MB
> 
> 
> 
> 
> It has been suggested that the second stage bootloader may be missing.

Not missing because netbsd.old can be loaded. But you may need to upgrade
it to one from -current. You can look for pre-built binaries in
ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index