Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2002 12:11:18 +1000
From:      "Leigh V" <leighv@roq.com>
To:        "Jake Burkholder" <jake@locore.ca>
Cc:        <freebsd-sparc@FreeBSD.ORG>
Subject:   Re: Sun netra install fail, need help
Message-ID:  <004d01c239c9$f44be720$2d01a8c0@michael>
References:  <006001c238fc$988767c0$2d01a8c0@michael> <20020801215013.S4442@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
I just copyed the kernel.nfs to /usr/sun/boot/kernel, I been using
kernel.nfs the whole time except in the /usr/sun/boot/ directory.
##########################################################
mist# pwd
/usr/sun
mist#
ls -al
-rw-r--r--   2 root  wheel      797 Jun 24 14:48 .cshrc
-rw-r--r--   2 root  wheel      251 Jun 24 14:48 .profile
-r--r--r--   1 root  wheel     4735 Jun 24 14:48 COPYRIGHT
drwxr-xr-x   2 root  wheel     1024 Jun 24 14:53 bin
drwxr-xr-x   6 root  wheel      512 Jun 24 15:47 boot
drwxr-xr-x   3 root  wheel      512 Jun 24 14:47 dev
drwxr-xr-x  17 root  wheel     2048 Aug  2 12:00 etc
-rw-r--r--   1 root  wheel  3644405 Jul 30 18:58 kernel
-rw-r--r--   1 root  wheel  3644405 Jun 24 18:38 kernel.nfs
drwxr-xr-x   2 root  wheel      512 Jun 24 14:47 mnt
dr-xr-xr-x   2 root  wheel      512 Jun 24 14:47 proc
drwxr-xr-x   2 root  wheel      512 Jun 24 14:48 root
drwxr-xr-x   2 root  wheel     2048 Jun 24 14:51 sbin
lrwxr-xr-x   1 root  wheel       11 Jul 30 19:13 sys -> usr/src/sys
drwxr-xr-t   2 root  wheel      512 Jun 24 14:47 tmp
drwxr-xr-x  13 root  wheel      512 Jun 24 14:47 usr
drwxr-xr-x  19 root  wheel      512 Jun 24 14:47 var
mist# cp /usr/sun/kernel.nfs  /usr/sun/boot/kernel
mist# ls -al /usr/sun/boot/kernel
total 10698
drwxr-xr-x  2 root  wheel      512 Aug  2 11:58 .
drwxr-xr-x  6 root  wheel      512 Jun 24 15:47 ..
-rw-r--r--  1 root  wheel  3644405 Aug  2 11:58 kernel
-rw-r--r--  1 root  wheel  3644405 Jun 24 18:38 kernel.nfs
-r-xr-xr-x  1 root  wheel  3630515 Aug  2 11:58 kernel.normal
mist#
##########################################################
I reset the Netra and this is what happend, I used the dhcpd config.
Sun Netra X1 (UltraSPARC-IIe 400MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #50673012.
Ethernet address 0:3:ba:5:35:74, Host ID: 83053574.



Executing last command: boot /pci@1f,0/ethernet@c
Boot device: /pci@1f,0/ethernet@c  File and args:
1d400 Console: OpenFirmware console
FreeBSD/sparc64 loader
bootpath="/pci@1f,0/ethernet@c"
loaddev=net0:
boot: ethernet address: 00:03:ba:05:35:74
net_open: server addr: 11.11.11.33
net_open: server path: /usr/sun
> \
\: unknown command

/boot/kernel/kernel data=0x2fae08+0xec3b8 syms=[0x8+0x438f0+0x8+0x3548d]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
nothing to autoload yet.
jumping to kernel entry at 0xc0038000.
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #58: Mon Jun 24 08:36:33 GMT 2002
    jake@u60.locore.ca:/usr/current/src/sys/sparc64/compile/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0462000.
Timecounter "tick"  frequency 400000000 Hz
cpu0: Sun Microsystems UltraSparc-IIe Processor (400.00 MHZ CPU)
nexus0: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: SUNW,sabre: impl 0, version 0: ign 7c0 DVMA map: 0x60000000 to
0x7fffffff

pcib0: ofw_pci_init: no interrupt mapping found for 0/7/0 (preset 0)
pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
device 0/12/0: latency timer 0 -> 165
pcib0: ofw_pci_init: mapping intr for 0/12/0 to 6 (preset was 0)
device 0/5/0: latency timer 0 -> 165
pcib0: ofw_pci_init: mapping intr for 0/5/0 to 28 (preset was 0)
pcib0: ofw_pci_init: mapping intr for 0/10/0 to 36 (preset was 0)
device 0/13/0: latency timer 0 -> 16
pcib0: ofw_pci_init: mapping intr for 0/13/0 to 12 (preset was 0)
pci0: <PCI bus> on pcib0
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
pci0: <network, ethernet> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, USB> at device 10.0 (no driver attached)
pci0: <network, ethernet> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin ATA66 controller> port
0x10220-0x1022f,0x10208-0x1020
b,0x10210-0x10217,0x10218-0x1021b,0x10200-0x10207 irq 12 at device 13.0 on
pci0
ata2: at 0x10200 on atapci0
ata3: at 0x10210 on atapci0
Timecounters tick every 10.000 msec
ad0: 19092MB <ST320413A> [38792/16/63] at ata2-master UDMA66
panic: bootpc_init: no suitable interface
cpuid = 0; Debugger("panic")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db>
##########################################################

----- Original Message -----
From: "Jake Burkholder" <jake@locore.ca>
To: "Leigh V" <leighv@roq.com>
Cc: <freebsd-sparc@FreeBSD.ORG>
Sent: Friday, August 02, 2002 11:50 AM
Subject: Re: Sun netra install fail, need help


> Apparently, On Thu, Aug 01, 2002 at 11:41:45AM +1000,
> Leigh V said words to the effect of;
>
> > I am trying to install on a Netra X1 the sun snapshot from
> > http://people.freebsd.org/~jake/sparc64/ distrib-20020624.tar.bz2
> > This machine doesn't have a CDROM, does any one know if its possible to
open
> > these things up and attaching a cdrom on the second IDE to cdrom boot? I
saw
> > cdboot options in the prom.
> > After following the instructions at
> >
http://people.freebsd.org/~bmah/relnotes/CURRENT/installation-sparc64.html
> > I am having problems. Can anyone help me please?
> >
> > I get it to load the loader and kernel, after it boots I get this
> > <##other messages cut##>
> > ata2: at 0x10200 on atapci0
> > ata3: at 0x10210 on atapci0
> > Timecounters tick every 10.000 msec
> > ad0: 19092MB <ST320413A> [38792/16/63] at ata2-master UDMA66
> >
> > Manual root filesystem specification:
> >   <fstype>:<device>  Mount <device> using filesystem <fstype>
> >                        eg. ufs:da0a
> >   ?                  List valid disk boot devices
> >   <empty line>       Abort manual input
> >
> > mountroot>
>
> You aren't using the nfs kernel, get kernel.nfs from the same directory
> and put it on the nfs server.
>
> > <##end##>
> > I relized it has to mount the nfs /usr/sun file system. /usr/sun is the
dir
> > I nfs exported with the extracted distrib-20020624.tar.bz2 tarball
> > So i tryed putting the this in my /usr/sun/etc/fstab file
> > ##############################################################
> > # Device                Mountpoint      FStype  Options         Dump
> > Pass#
> > 11.11.11.33:/usr/sun   /        nfs    rw              0       0
>
> Don't do this; the nfsroot will be mounted automatically.  fstab
> can just be empty.
>
> > ##############################################################
> > But now I get this at the end of the booting messages
> > Timecounters tick every 10.000 msec
> > ad0: 19092MB <ST320413A> [38792/16/63] at ata2-master UDMA66
> > Mounting root from nfs:11.11.11.33:/usr/sun
> > setrootbyname failed
> > panic: nfs_mountroot: socreate(0000): 43
> > cpuid = 0; Debugger("panic")
> > Stopped at      `? x+0x1c:      ta              %xcc, 1
> > ##############################################################
> > I tryed dhcpd and was getting the same probs as what I got with bootpd,
> > This is what I have in my config files on the boot server, which is a P3
> > 533mhz FreeBSD 4.6.1
> >
> > /etc/bootpd
> >     .default:\
> >       :dn=local:ds=11.11.11.50:\
> >       :gw=11.11.11.33:ht=ether:hn:\
> >       :sa=11.11.11.33:\
> >       :rp="11.11.11.33:/usr/sun":\
> >       :sm=255.255.255.224
> >
> >     sunrise:\
> >       ha=0003ba053574:ip=11.11.11.41:tc=.default
> >
> > ##############################################################
> > dhcpd.conf dhcpd version3
> > ddns-update-style ad-hoc;
> > option domain-name-servers 11.11.11.50;
> > option routers 11.11.11.33;
> > subnet 11.11.11.32 netmask 255.255.255.224 {
> >         range 11.11.11.40 11.11.11.42;
> > host sunrise.domain.com {
> >       hardware ethernet 0:3:ba:5:35:74;
> >       option host-name "sunrise.domain.com";
> >       fixed-address 11.11.11.41;
> >       always-reply-rfc1048 on;
> >       filename "kernel.nfs";
> >       option root-path "11.11.11.33:/usr/sun";
> >     }
> > }
>
> You want one of bootp or dhcp, not both.  Either of these configs look
> right.
>
> Jake
>
> > ##############################################################
> > /etc/exports
> > /usr/sun -ro  11.11.11.41 11.11.11.33 127.0.0.1 11.11.11.50
> > ##############################################################
> > Total output from the Netra X1.
> > Sun Netra X1 (UltraSPARC-IIe 400MHz), No Keyboard
> > OpenBoot 4.0, 512 MB memory installed, Serial #50673012.
> > Ethernet address 0:3:ba:5:35:74, Host ID: 83053574.
> >
> >
> >
> > Executing last command: boot /pci@1f,0/ethernet@c
> > Boot device: /pci@1f,0/ethernet@c  File and args:
> > 1d400 Console: OpenFirmware console
> > FreeBSD/sparc64 loader
> > bootpath="/pci@1f,0/ethernet@c"
> > loaddev=net0:
> > boot: ethernet address: 00:03:ba:05:35:74
> > net_open: server addr: 11.11.11.33
> > net_open: server path: /usr/sun
> > > \
> > \: unknown command
> >
> > /boot/kernel/kernel data=0x2f7e08+0xec338 syms=[0x8+0x435c0+0x8+0x3527b]
> > Hit [Enter] to boot immediately, or any other key for command prompt.
> > Booting [/boot/kernel/kernel]...
> > nothing to autoload yet.
> > jumping to kernel entry at 0xc0038000.
> > Copyright (c) 1992-2002 The FreeBSD Project.
> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> >         The Regents of the University of California. All rights
reserved.
> > FreeBSD 5.0-CURRENT #0: Mon Jun 24 05:46:27 GMT 2002
> >     jake@u60.locore.ca:/usr/obj/usr/current/src/sys/GENERIC
> > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0460000.
> > Timecounter "tick"  frequency 400000000 Hz
> > cpu0: Sun Microsystems UltraSparc-IIe Processor (400.00 MHZ CPU)
> > nexus0: <OpenFirmware Nexus device>
> > pcib0: <U2P UPA-PCI bridge> on nexus0
> > pcib0: SUNW,sabre: impl 0, version 0: ign 7c0 DVMA map: 0x60000000 to
> > 0x7fffffff
> >
> > pcib0: ofw_pci_init: no interrupt mapping found for 0/7/0 (preset 0)
> > pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
> > pcib0: ofw_pci_init: no interrupt mapping found for 0/3/0 (preset 0)
> > device 0/12/0: latency timer 0 -> 165
> > pcib0: ofw_pci_init: mapping intr for 0/12/0 to 6 (preset was 0)
> > device 0/5/0: latency timer 0 -> 165
> > pcib0: ofw_pci_init: mapping intr for 0/5/0 to 28 (preset was 0)
> > pcib0: ofw_pci_init: mapping intr for 0/10/0 to 36 (preset was 0)
> > device 0/13/0: latency timer 0 -> 16
> > pcib0: ofw_pci_init: mapping intr for 0/13/0 to 12 (preset was 0)
> > pci0: <PCI bus> on pcib0
> > pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
> > pci0: <network, ethernet> at device 5.0 (no driver attached)
> > isab0: <PCI-ISA bridge> at device 7.0 on pci0
> > isa0: <ISA bus> on isab0
> > pci0: <serial bus, USB> at device 10.0 (no driver attached)
> > pci0: <network, ethernet> at device 12.0 (no driver attached)
> > atapci0: <AcerLabs Aladdin ATA66 controller> port
> > 0x10220-0x1022f,0x10208-0x1020
> > b,0x10210-0x10217,0x10218-0x1021b,0x10200-0x10207 irq 12 at device 13.0
on
> > pci0
> > ata2: at 0x10200 on atapci0
> > ata3: at 0x10210 on atapci0
> > Timecounters tick every 10.000 msec
> > ad0: 19092MB <ST320413A> [38792/16/63] at ata2-master UDMA66
> >
> > Manual root filesystem specification:
> >   <fstype>:<device>  Mount <device> using filesystem <fstype>
> >                        eg. ufs:da0a
> >   ?                  List valid disk boot devices
> >   <empty line>       Abort manual input
> >
> > mountroot>
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-sparc" in the body of the message
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-sparc" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004d01c239c9$f44be720$2d01a8c0>