Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 17:28:37 -0600 (GMT)
From:      Sean Welch <welchsm@earthlink.net>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Re: ATA patch and others
Message-ID:  <1803911.1046222919915.JavaMail.nobody@dewey.psp.pas.earthlink.net>

next in thread | raw e-mail | index | archive | help
Well, I've got a partial success in netbooting. I'm not sure
whether the problem is configuration or the code, so I'll
detail what I've configured and what I see (sorry -- no
serial console so I can't capture this stuff but I did find
a messages file under /data/ppc/var/log).

After dinking for a while not being able to get tftpd to 
let me get the loader, I enabled inetd in rc.conf.  I also
removed the -s option in the tftpd line in inetd.conf.  My
entire tree is under directory /data/ppc so I added this line
to my exports file:

/data/ppc -maproot=root:wheel 172.19.19.35

That last is the ip I chose for the iBook.  I start dhcpd
by hand.  I have a modified version of what you listed from
your dhcpd.conf with only a subnet statement wrapping it.

The first time I got it to actually load the kernel it got
to the point of mounting root and started listing out what
looked like a complete list of files under /data/ppc; eventually
it got done and tried to mount the NFS file systems. After 
starting syslogd. it just sat there.

I tried it again and it did relist all those files, but the
hang is the same.  Did I possibly setup the nfs incorrectly
somehow?

Here is what I see in messages (fairly close to what I see
on the console -- looks like both boots):

Feb 25 18:22:13  syslogd: kernel boot file is /kernel
Feb 25 18:22:13  kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Feb 25 18:22:13  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,1992, 1993, 1994
Feb 25 18:22:13  kernel: The Regents of the University of California. All rights reserved.
Feb 25 18:22:13  kernel: FreeBSD 5.0-CURRENT #0: Sun Feb 23 22:24:12 CST 2003
Feb 25 18:22:13  kernel: welchsm@NitroPhys.welchsmnet.net:/usr/obj/powerpc/usr/src/sys/GENERIC
Feb 25 18:22:13  kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0x3ec000.
Feb 25 18:22:13  kernel: Timecounter "decrementer"  frequency 16644884 Hz
Feb 25 18:22:13  kernel: cpu0: Motorola PowerPC 750 revision 3.0, 300.00 MHz
Feb 25 18:22:13  kernel: cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
Feb 25 18:22:13  kernel: real memory  = 297795584 (284 MB)
Feb 25 18:22:13  kernel: avail memory = 282316800 (269 MB)
Feb 25 18:22:13  kernel: nexus0: <OpenFirmware Nexus device>
Feb 25 18:22:13  kernel: openpic0: <OpenPIC interrupt controller> on nexus0
Feb 25 18:22:13  kernel: openpic0: Version 1.2, supports 4 CPUs and 64 irqs
Feb 25 18:22:13  kernel: unin0: <Apple UniNorth System Controller> on nexus0
Feb 25 18:22:13  kernel: unin0: Version 3
Feb 25 18:22:13  kernel: pcib0: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:22:13  kernel: pci0: <PCI bus> on pcib0
Feb 25 18:22:13  kernel: pci0: <display, VGA> at device 16.0 (no driver attached)
Feb 25 18:22:13  kernel: pcib1: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:22:13  kernel: pci1: <PCI bus> on pcib1
Feb 25 18:22:13  kernel: macio0: <KeyLargo I/O Controller> mem 0x80000000-0x8007
ffff at device 23.0 on pci1
Feb 25 18:22:13  kernel: zs0: <Zilog Z8530> mem 0x8700-0x87ff,0x8600-0x86ff,0x85
00-0x85ff,0x8400-0x84ff,0x13000-0x13fff irq 50,22 on macio0
Feb 25 18:22:13  kernel: zstty0: <ttya> on zs0
Feb 25 18:22:13  kernel: zstty1: <ttyb> on zs0
Feb 25 18:22:13  kernel: atamacio0: <MacIO ATA Controller> mem 0x8a00-0x8aff,0x1
f000-0x1ffff irq 19 on macio0
Feb 25 18:22:13  kernel: ata0 on atamacio0
Feb 25 18:22:13  kernel: atamacio1: <MacIO ATA Controller> mem 0x8b00-0x8bff,0x2
0000-0x20fff irq 20 on macio0
Feb 25 18:22:13  kernel: ata1 on atamacio1
Feb 25 18:22:13  kernel: atamacio2: <MacIO ATA Controller> mem 0x8c00-0x8cff,0x2
1000-0x21fff irq 21 on macio0
Feb 25 18:22:13  kernel: ata2 on atamacio2
Feb 25 18:22:13  kernel: pci1: <serial bus, USB> at device 24.0 (no driver attached)
Feb 25 18:22:13  kernel: pci1: <serial bus, USB> at device 25.0 (no driver attached)
Feb 25 18:22:13  kernel: pcib2: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:22:13  kernel: pci2: <PCI bus> on pcib2
Feb 25 18:22:13  kernel: gem0: <Apple GMAC Ethernet Adaptor> mem 0xf5200000-0xf5
3fffff irq 41 at device 15.0 on pci2
Feb 25 18:22:13  kernel: miibus0: <MII bus> on gem0
Feb 25 18:22:13  kernel: bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
Feb 25 18:22:13  kernel: bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FD
X, auto
Feb 25 18:22:13  kernel: gem0: Ethernet address: 00:0a:27:a9:fa:7c, 10KB RX fifo, 9KB TX fifo
Feb 25 18:22:13  kernel: using internal phy
Feb 25 18:22:13  kernel: Timecounters tick every 10.000 msec
Feb 25 18:22:13  kernel: ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master BIOSPIO
Feb 25 18:22:13  kernel: Mounting root from nfs:172.19.19.33:/data/ppc
Feb 25 18:22:13  kernel: setrootbyname failed
Feb 25 18:22:13  kernel: NFS ROOT: 172.19.19.33:/data/ppc
Feb 25 18:56:55  syslogd: kernel boot file is /kernel
Feb 25 18:56:55  kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Feb 25 18:56:55  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Feb 25 18:56:55  kernel: The Regents of the University of California. All rights reserved.
Feb 25 18:56:55  kernel: FreeBSD 5.0-CURRENT #0: Sun Feb 23 22:24:12 CST 2003
Feb 25 18:56:55  kernel: welchsm@NitroPhys.welchsmnet.net:/usr/obj/powerpc/usr/src/sys/GENERIC
Feb 25 18:56:55  kernel: Preloaded elf kernel "/boot/kernel/kernel" at 0x3ec000.
Feb 25 18:56:55  kernel: Timecounter "decrementer"  frequency 16644884 Hz
Feb 25 18:56:55  kernel: cpu0: Motorola PowerPC 750 revision 3.0, 300.00 MHz
Feb 25 18:56:55  kernel: cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
Feb 25 18:56:55  kernel: real memory  = 297795584 (284 MB)
Feb 25 18:56:55  kernel: avail memory = 282316800 (269 MB)
Feb 25 18:56:55  kernel: nexus0: <OpenFirmware Nexus device>
Feb 25 18:56:55  kernel: openpic0: <OpenPIC interrupt controller> on nexus0
Feb 25 18:56:55  kernel: openpic0: Version 1.2, supports 4 CPUs and 64 irqs
Feb 25 18:56:55  kernel: unin0: <Apple UniNorth System Controller> on nexus0
Feb 25 18:56:55  kernel: unin0: Version 3
Feb 25 18:56:55  kernel: pcib0: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:56:55  kernel: pci0: <PCI bus> on pcib0
Feb 25 18:56:55  kernel: pci0: <display, VGA> at device 16.0 (no driver attached)
Feb 25 18:56:55  kernel: pcib1: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:56:55  kernel: pci1: <PCI bus> on pcib1
Feb 25 18:56:55  kernel: macio0: <KeyLargo I/O Controller> mem 0x80000000-0x8007ffff at device 23.0 on pci1
Feb 25 18:56:55  kernel: zs0: <Zilog Z8530> mem 0x8700-0x87ff,0x8600-0x86ff,0x8500-0x85ff,0x8400-0x84ff,0x13000-0x13fff irq 50,22 on macio0
Feb 25 18:56:55  kernel: zstty0: <ttya> on zs0
Feb 25 18:56:55  kernel: zstty1: <ttyb> on zs0
Feb 25 18:56:55  kernel: atamacio0: <MacIO ATA Controller> mem 0x8a00-0x8aff,0x1
f000-0x1ffff irq 19 on macio0
Feb 25 18:56:55  kernel: ata0 on atamacio0
Feb 25 18:56:55  kernel: atamacio1: <MacIO ATA Controller> mem 0x8b00-0x8bff,0x20000-0x20fff irq 20 on macio0
Feb 25 18:56:55  kernel: ata1 on atamacio1
Feb 25 18:56:55  kernel: atamacio2: <MacIO ATA Controller> mem 0x8c00-0x8cff,0x21000-0x21fff irq 21 on macio0
Feb 25 18:56:55  kernel: ata2 on atamacio2
Feb 25 18:56:55  kernel: pci1: <serial bus, USB> at device 24.0 (no driver attached)
Feb 25 18:56:55  kernel: pci1: <serial bus, USB> at device 25.0 (no driver attached)
Feb 25 18:56:55  kernel: pcib2: <Apple UniNorth Host-PCI bridge> on nexus0
Feb 25 18:56:55  kernel: pci2: <PCI bus> on pcib2
Feb 25 18:56:55  kernel: gem0: <Apple GMAC Ethernet Adaptor> mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2
Feb 25 18:56:55  kernel: miibus0: <MII bus> on gem0
Feb 25 18:56:55  kernel: bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
Feb 25 18:56:55  kernel: bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Feb 25 18:56:55  kernel: gem0: Ethernet address: 00:0a:27:a9:fa:7c, 10KB RX fifo, 9KB TX fifo
Feb 25 18:56:55  kernel: using internal phy
Feb 25 18:56:55  kernel: Timecounters tick every 10.000 msec
Feb 25 18:56:55  kernel: ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master BIOSPIO
Feb 25 18:56:55  kernel: Mounting root from nfs:172.19.19.33:/data/ppc
Feb 25 18:56:55  kernel: setrootbyname failed
Feb 25 18:56:55  kernel: NFS ROOT: 172.19.19.33:/data/ppc

-------Original Message-------
From: Peter Grehan <grehan@freebsd.org>
Sent: 02/25/03 04:32 PM
To: Sean_Welch@alum.wofford.org
Subject: Re: ATA patch and others

> 
> > Is the MAC in the sample dhcpd.conf you attached the one for
> the server (to limit serving to that interface)?

 As Drew said, it's the client. To determine the Mac's ethernet address,
drop into the OpenFirmware prompt

0 > dev enet
0 > .properties      (don't forget the '.')
 ...
local-mac-address    003065a1 7bac
 ...

 which is a byte-string representing the address, in this case
00:30:65:a1:7b:ac

later,

Peter.
> 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1803911.1046222919915.JavaMail.nobody>