From owner-freebsd-ppc@FreeBSD.ORG Fri May 20 21:43:03 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA7C816A4CE; Fri, 20 May 2005 21:43:03 +0000 (GMT) Received: from smtp.messaging.ch (exsmtp02.agrinet.ch [81.221.252.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A22D843DA0; Fri, 20 May 2005 21:43:02 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from [192.168.225.5] ([80.218.0.93]) by smtp.messaging.ch with Microsoft SMTPSVC(6.0.3790.211); Fri, 20 May 2005 23:43:01 +0200 Message-ID: <428E59DE.9000900@pop.agri.ch> Date: Fri, 20 May 2005 23:42:54 +0200 From: Andreas Tobler User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <428BC6D0.90207@freebsd.org> <428CFF53.7070907@pop.agri.ch> <428D2D6C.5050601@freebsd.org> In-Reply-To: <428D2D6C.5050601@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 May 2005 21:43:01.0402 (UTC) FILETIME=[E54CF7A0:01C55D84] cc: freebsd-ppc@freebsd.org Subject: Re: Updated install ISO X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 21:43:03 -0000 Hi Peter, Peter Grehan wrote: > On a diskless system, there are some filesystems that should be made > out of ramdisks locally - /var is one of those. The handbook kinda > mentions it: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html > > > Maybe what you need to do is to export the root filesystem as > read-only, and then have a r/w /usr filesystem - the scripts in > /etc/rc.d seem like they recognise that situation and create the > appropriate ramdisk /tmp and /var filesystems. Well, the handbook is a bit vague. I managed to boot via nfs after tweaking var and tmp in init.d. I told them that I have a ro /. Then they created a /dev/md* (ramdisk, right?) Ok, with this hack I was able boot, but I couldn't add a user nor was I able to create a master.passwd. >> Other issues I saw: >> >> My AL book is a 1.5GHz book: >> >> cpu0: Motorola PowerPC 7447A revision 1.1, 752.32 MHz >> cpu0: HID0 8450c0bc >> >> In the messages it reports the above. Half of the cpu clock. > > > I think what is happening here is that recent portables don't boot to > their full speed immediately to conserve power and reduce heat. They can > be shifted up to their full speed with a complicated programming sequence: > > http://mail-index.netbsd.org/port-macppc/2002/08/05/0002.html Ah, Ben the man. Ok, where would such a sequence go? arch/powerpc/macppc? ? cpu_setup ? >> Also, instead of mounting via nfs I tried to install onto a fw drive: >> >> firewire0: New S400 device ID:0001a30000054263 >> kernel: da0 at sbp0 bus 0 target 0 lun 0 >> kernel: da0: Fixed Direct Access SCSI-0 device >> da0: 50.000MB/s transfers >> kernel: da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C) >> >> Here it complains that it cannot mount da0s3, permission denied. Is >> this not yet supported? > > > Should be - the install ISO was built on an external firewire drive. > Can you do a 'sysctl -b kern.geom.conftxt' to see the partitions ? > > I will admit, I've only ever used an Apple-partition-map formatted > drive, so if this is MBR, that could be an issue. Second attempt. I reformatted the fw drive with 2 partitions swap and / Worked after the 17th try :) > >> Ok, last q, just for the curious, what was the issue of having the nfs >> only ro? > > > See rev 1.175 and 1.176 of nfs/nfs_vfsops.c: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/nfsclient/nfs_vfsops.c Ouch. Ok. Now I have to go learning fbsd. For example I tried to build a kernel. Seems very unstable, I often got a sig 11 and retrying solved it until the next error. Also, a buildworld was non predictable in behavior. Thanks so far. I will continue to try. Andreas