Date: Sun, 4 Aug 2002 18:34:12 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Peter Grehan <peterg@ptree32.com.au> Cc: freebsd-ppc@FreeBSD.ORG Subject: Re: Single-user Message-ID: <15693.44004.453509.771376@grasshopper.cs.duke.edu> In-Reply-To: <3D4CF994.7478E7D0@ptree32.com.au> References: <3D4CF994.7478E7D0@ptree32.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Grehan writes: > I've put up kernel src mods and an ISO image containing kernels and > a root filesystem. The README in ppc-1b.tgz describes the modifications. > > http://www.ptree32.com.au/freebsd/PPC.ISO > http://www.ptree32.com.au/freebsd/ppc-1b.tgz > > Testing has only been done an an original iBook, but with luck, other > NewWorld systems will also work. Instructions appended, please try and > let me know how it goes. Awesome! Netbooting works for me (I have not tried booting from CD) on my Dual G4 800MHz system. I've appended the serial console output from the boot, as I'm sure you'd like to see it. I assume your work will go into CVS soon? Nice job! Drew PS: As an aside, I'm having real problems netbooting this Mac: 0 > boot enet:0 (~5 minutes later) BOOTP/BSDP failed: no FILENAME specified can't OPEN: enet:0 ok I think the problem comes down to the mac client replying with a DHCP:INFORM to the broadcast address, but the DCHP server listening only to the address it asigned the client. I've left a log at http://people.freebsd.org/~gallatin/dhcplog The good news is that setting default-server-ip and default-client-ip from openfirmware seems to make things work. 0 > boot enet:0,kernel.ppc 0 > boot enet:0,kernel.ppc CLIENT: 000393569942 10.0.0.6 SERVER: 00a0c98aacaa 10.0.0.2 Transfer FILE: kernel.ppc - TFTP-actual=1fc59c TFTP-adler32=d5e07e7c load-size=1fc59c adler32=d5e07e7c Loading ELF powerpc_init: no loader metadata. 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 #364: Sun Aug 4 12:52:13 GMT 2002 grehan@fb1.ptree32.com.au:/mnt/home/freebsd/work/sys/powerpc/compile/PETERG CPU: PowerPC G4 / 7450 (V'ger) (Revision 201) real memory = 264241152 (258048K bytes) avail memory = 252657664 (246736K bytes) nexus0: <OpenFirmware Nexus device> openpic0: <OpenPIC interrupt controller> on nexus0 openpic0: Version 1.2, supports up to 4 CPUs and up to 64 irqs unin0: <Apple UniNorth System Controller> on nexus0 unin0: Version 17 pcib0: <Apple UniNorth Host-PCI bridge> on nexus0 pci0: <PCI bus> on pcib0 pci0: <display, VGA> at device 16.0 (no driver attached) pcib1: <Apple UniNorth Host-PCI bridge> on nexus0 pci1: <PCI bus> on pcib1 pci1: <old, non-VGA display device> at device 19.0 (no driver attached) macio0: <KeyLargo I/O Controller> mem 0x80000000-0x8007ffff at device 23.0 on pci1 atamacio0: <Mac-IO ATA Controller> mem 0x1f000-0x1ffff irq 19 on macio0 ata0 on atamacio0 atamacio1: <Mac-IO ATA Controller> mem 0x20000-0x20fff irq 20 on macio0 ata1 on atamacio1 atamacio2: <Mac-IO ATA Controller> mem 0x21000-0x21fff irq 21 on macio0 ata2 on atamacio2 pci1: <serial bus, USB> at device 24.0 (no driver attached) pci1: <serial bus, USB> at device 25.0 (no driver attached) pcib2: <Apple UniNorth Host-PCI bridge> on nexus0 pci2: <PCI bus> on pcib2 pci2: <serial bus, FireWire> at device 14.0 (no driver attached) gem0: <Apple GMAC Ethernet Adaptor> mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: <MII bus> on gem0 brgphy0: <BCM5411 10/100/1000baseTX PHY> on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto gem0: Ethernet address: 00:03:93:56:99:42, 10KB RX fifo, 4KB TX fifo using internal phy Timecounter "powerpc" frequency 33290001 Hz Timecounters tick every 10.000 msec Initializing GEOMetry subsystem ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master BIOSPIO acd0: DVD-R <PIONEER DVD-RW DVR-103> at ata1-master BIOSPIO Sending DHCP Discover packet from interface gem0 (00:03:93:56:99:42) Received DHCP Offer packet on gem0 from 10.0.0.2 (accepted) (no root path) Sending DHCP Request packet from interface gem0 (00:03:93:56:99:42) Received DHCP Ack packet on gem0 from 10.0.0.2 (accepted) (got root path) gem0 at 10.0.0.6 server 10.0.0.2 subnet mask 255.255.255.0 rootfs 10.0.0.2:/usr/export/g4/root hostname g4bsd Adjusted interface gem0 Mounting root from nfs: NFS ROOT: 10.0.0.2:/usr/export/g4/root Jan 1 00:00:00 init: /etc/pwd.db: No such file or directory Enter full pathname of shell or RETURN for /bin/sh: # df Filesystem 512-blocks Used Avail Capacity Mounted on 10.0.0.2:/usr/export/g4/root 16261080 4518310 10441884 30% / devfs 2 2 0 100% /dev # date Thu Jan 1 00:06:23 GMT 1970 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?15693.44004.453509.771376>