From owner-freebsd-sparc Thu Aug 1 19:11:58 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28D6F37B400 for ; Thu, 1 Aug 2002 19:11:45 -0700 (PDT) Received: from mta06bw.bigpond.com (mta06bw.bigpond.com [139.134.6.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16BA243E70 for ; Thu, 1 Aug 2002 19:11:44 -0700 (PDT) (envelope-from leighv@roq.com) Received: from michael ([144.135.24.75]) by mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw May 23 2002 23:53:28) with SMTP id H0723H00.GGJ; Fri, 2 Aug 2002 12:11:41 +1000 Received: from CPE-203-45-56-16.vic.bigpond.net.au ([203.45.56.16]) by bwmam03.mailsvc.email.bigpond.com(MailRouter V3.0n 20/2565023); 02 Aug 2002 12:11:41 Message-ID: <004d01c239c9$f44be720$2d01a8c0@michael> From: "Leigh V" To: "Jake Burkholder" Cc: References: <006001c238fc$988767c0$2d01a8c0@michael> <20020801215013.S4442@locore.ca> Subject: Re: Sun netra install fail, need help Date: Fri, 2 Aug 2002 12:11:18 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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: pcib0: 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: on pcib0 pci0: at device 3.0 (no driver attached) pci0: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at device 10.0 (no driver attached) pci0: at device 12.0 (no driver attached) atapci0: 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 [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" To: "Leigh V" Cc: 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 [38792/16/63] at ata2-master UDMA66 > > > > Manual root filesystem specification: > > : Mount using filesystem > > eg. ufs:da0a > > ? List valid disk boot devices > > 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 [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: > > pcib0: 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: on pcib0 > > pci0: at device 3.0 (no driver attached) > > pci0: at device 5.0 (no driver attached) > > isab0: at device 7.0 on pci0 > > isa0: on isab0 > > pci0: at device 10.0 (no driver attached) > > pci0: at device 12.0 (no driver attached) > > atapci0: 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 [38792/16/63] at ata2-master UDMA66 > > > > Manual root filesystem specification: > > : Mount using filesystem > > eg. ufs:da0a > > ? List valid disk boot devices > > 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