gaspo | 4 Mar 2005 04:50
Picon

boot cdrom error

hi i have this problem now..i wanna reinstall my freebsd for have a
fresh installation of netbsd... on my ultra5 sun server...
but when i type:
stop A
ok > boot cdrom
Can't read disk label.
Can't open disk label package
Can't open boot device
....
how is possible?
because on this hard disk was installed solaris5.7.. i replace freebsd
5.3 some day ago with normal installation on cd boot cdrom ecc.....and
all work...perfectly..now WITH same hard disk and same CD...i can boot
freebsd rom cd

why??
i have tried also to reburn cdrom...change CDROM ..change Operative
sistem...like fbsd openbsd ecc... but The only sistem boot from Cd
is sun 10..
anybody have any idea?

Rick Kelly | 4 Mar 2005 06:54

Re: sparc64 netbsd-2-0 update (fwd)

----- Forwarded message from Rick Kelly -----
john heasley said:

>Thu, Mar 03, 2005 at 10:26:49PM -0700, Rick Kelly:
>> 
>> It looks to me like sys/arch/sparc64/sparc64/pmap.c ought to be
>> 1.157. But anoncvs only offers:
>> 
>> $NetBSD: pmap.c,v 1.156.2.2 2005/01/07 14:28:19 jdc Exp $
>
>perhaps you have a sticky tag?  cvs update -A pmap.c

that gets me 1.160

cvs update -A -rnetbsd-2-0 pmap.c gets me 1.156.2.2, but should be 1.158

Which contains some fairly important fixes for sparc64 in NetBSD 2.0.1
--

-- 
Rick Kelly	rmk <at> rmkhome.com
		<http://www.rmkhome.com/>
		<http://rkba.rmkhome.com/>

Rick Kelly | 4 Mar 2005 07:15

Re: sparc64 netbsd-2-0 update

Rick Kelly said:

I was able to get the proper version with:

cvs update -r1.158 pmap.c
cvs update -r1.6 _setjmp.S

Seems as though something is screwy in anoncvs.

--

-- 
Rick Kelly	rmk <at> rmkhome.com
		<http://www.rmkhome.com/>
		<http://rkba.rmkhome.com/>

matthew green | 4 Mar 2005 09:59
Picon
Favicon

re: sparc64 netbsd-2-0 update (fwd)


   >Thu, Mar 03, 2005 at 10:26:49PM -0700, Rick Kelly:
   >> 
   >> It looks to me like sys/arch/sparc64/sparc64/pmap.c ought to be
   >> 1.157. But anoncvs only offers:
   >> 
   >> $NetBSD: pmap.c,v 1.156.2.2 2005/01/07 14:28:19 jdc Exp $
   >
   >perhaps you have a sticky tag?  cvs update -A pmap.c

   that gets me 1.160

   cvs update -A -rnetbsd-2-0 pmap.c gets me 1.156.2.2, but should be 1.158

   Which contains some fairly important fixes for sparc64 in NetBSD 2.0.1

if you compare 1.156.2.2 and 1.158 you'll find that the only differences
between them are in the RCSid tags.  this is how CVS works with branches.

.mrg.

Martin Husemann | 4 Mar 2005 10:48
Picon

Re: boot cdrom error

On Fri, Mar 04, 2005 at 04:50:09AM +0100, gaspo wrote:
> ok > boot cdrom
> Can't read disk label.
> Can't open disk label package
> Can't open boot device

Show us the output of "printenv" and "devalias" at the ok prompt, please.

Martin

Buckel, Bernhard | 4 Mar 2005 13:07
Picon

AW: boot cdrom error

Dear list,

Just some thoughts from a lurker - sorry for any inconvenience!

> Von: gaspo [mailto:gaspolo <at> gmail.com] 
> Gesendet: Freitag, 4. März 2005 04:50
> An: port-sparc64 <at> NetBSD.org
> Betreff: boot cdrom error
> 
> 
> hi i have this problem now..i wanna reinstall my freebsd for 
> have a fresh installation of netbsd... on my ultra5 sun 

Okay, that´s reasonable for this sparc64 list :-) 

> server... but when i type: stop A ok > boot cdrom Can't read 

[...]

> boot freebsd rom cd
> 
> why??
> i have tried also to reburn cdrom...change CDROM ..change 
> Operative sistem...like fbsd openbsd ecc... but The only 
> sistem boot from Cd is sun 10.. anybody have any idea?

Uhmmm.... This would not happen to be a sparc32 boot cdrom
instead of a sparc64? A SS10 booting from it might be a 
pointer into this direction...

(Continue reading)

Ben Collver | 6 Mar 2005 19:14

cannot boot netbsd, manual install from solaris

Hello,

I installed NetBSD 2.0 from a running Solaris 10 system onto the same
disk as Solaris, roughly following the steps outlined at:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0/sparc64/INSTALL.html#Manual%20Installation%20of%20NetBSD%20using%20Solaris

The NetBSD bootblock fails.  Here are the details:

Partitions 0, 1, and 2 are used by Solaris.

* added partition 3 for NetBSD
* newfs /dev/dsk/c0t0d0s3
* mkdir /netbsd
* vi /etc/vfstab
* mount /netbsd
* cd /netbsd
* for i in /cdrom/cdrom/sparc64/binary/sets/*tgz;
	do gzip -dc $i | pax -r -p e; done
* cp /cdrom/cdrom/sparc64/installation/misc/ofwboot /netbsd
* /usr/sbin/installboot /cdrom/cdrom/sparc64/installation/misc/bootblk \
	/dev/rdsk/c0t0d0s3
* cd /netbsd/dev
* cp MAKEDEV MAKEDEV.ben
* vi MAKEDEV.ben
	alter mkdev() to use mknod, chown, chgrp, and chmod on Solaris
* /bin/ksh ./MAKEDEV.ben init
	The only errors are the special files for serial ports, which
	have major/minor numbers that are invalid for the Solaris mknod.
* vi /etc/fstab /etc/rc.conf
* reboot
(Continue reading)

Ben Collver | 6 Mar 2005 19:34

Re: cannot boot netbsd, manual install from solaris

On Sun, Mar 06, 2005 at 10:14:40AM -0800, Ben Collver wrote:
> ok boot disk0:d -V
> Boot device: /pci <at> 1f,0/pci <at> 1,1/ide <at> 3/disk <at> 0,0:d  File and args: -V
> NetBSD IEEE 1275 Bootblock
> Loading file /ofwboot
> from device /pci <at> 1f,0/pci <at> 1,1/ide#3/disk <at> 0,0:d
> ufs-open complete
> .Looking for ofwboot in directory...
> search-directory: buf-read-file zero len
> Fast Data Access MMU Miss

I booted from the NetBSD 2.0 install CD and dropped to a shell.

# disklabel wd0
type: ESDI
disk: Maxtor 6Y120P0
label: Maxtor 6Y120P0 c
flags:
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 16
sectors/cylinder: 4080
cylinders: 58851
total sectors: 240112080
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
(Continue reading)

Martin Husemann | 6 Mar 2005 20:16
Picon

Re: cannot boot netbsd, manual install from solaris

On Sun, Mar 06, 2005 at 10:34:40AM -0800, Ben Collver wrote:
> It looks as if NetBSD can no longer use filesystems created in Solaris.

That may well be ;-)
Could you fsck the partition under solaris (just in case) and make an image
of it available somewhere?

> Should the sparc64 INSTALL instructions be updated?

Yes, I'll ping the www team.

Martin

Jochen Kunz | 7 Mar 2005 19:53
Picon

32 / 64 bit (?) kernel build error.

Hi.

Source CVSed March 4. tried to build a release faild with:
#   compile  GENERIC_SUN4U/machfb.o
/usr/src/current/tooldir/bin/sparc--netbsdelf-gcc -mno-fpu -ffreestanding -O2 -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-sign-compare -fno-zero-initialized-in-bss -Dsparc64 -D__sparc64__ -m32 -Wa,-Av8plusa
-mcpu=ultrasparc -I. -I/usr/src/current/src/sys/arch -I/usr/src/current/src/sys -nostdinc
-DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/usr/src/current/src/sys/dist/ipf -c /usr/src/current/src/sys/dev/pci/machfb.c
/usr/src/current/src/sys/dev/pci/machfb.c: In function `mach64_attach':
/usr/src/current/src/sys/dev/pci/machfb.c:606: warning: cast to pointer from integer of different size

*** Failed target:  machfb.o

I tried to compile a GENERIC32 kernel and got the same error. 
I disabled machfb in the kernel config file and then I got:

#   compile  GENERIC32/autoconf.o
/usr/src/current/tooldir/bin/sparc--netbsdelf-gcc -mno-fpu -ffreestanding -O2 -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
-Wno-sign-compare -fno-zero-initialized-in-bss -Dsparc64 -D__sparc64__ -m32 -Wa,-Av8plusa
-mcpu=ultrasparc -I. -I/usr/src/current/src/sys/arch -I/usr/src/current/src/sys -nostdinc
-DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I/usr/src/current/src/sys/dist/ipf -c /usr/src/current/src/sys/arch/sparc64/sparc64/autoconf.c
/usr/src/current/src/sys/arch/sparc64/sparc64/autoconf.c: In function `romgetcursoraddr':
/usr/src/current/src/sys/arch/sparc64/sparc64/autoconf.c:774: warning: cast to pointer from
integer of different size
/usr/src/current/src/sys/arch/sparc64/sparc64/autoconf.c:775: warning: cast to pointer from
integer of different size

*** Failed target:  autoconf.o
(Continue reading)


Gmane