From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 23 11:33:42 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org 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 B736D16A4DD for ; Sun, 23 Jul 2006 11:33:42 +0000 (UTC) (envelope-from benjamin.c.roberts@student.curtin.edu.au) Received: from sm-mailgw1.curtin.edu.au (sm-mailgw1.curtin.edu.au [134.7.32.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A8A43D45 for ; Sun, 23 Jul 2006 11:33:42 +0000 (GMT) (envelope-from benjamin.c.roberts@student.curtin.edu.au) Received: from student.curtin.edu.au (smcln1.curtin.edu.au [134.7.33.13]) by sm-mailgw1.curtin.edu.au (iPlanet Messaging Server 5.2 HotFix 2.09 (built Nov 18 2005)) with ESMTP id <0J2U00477T8BMB@sm-mailgw1.curtin.edu.au> for freebsd-ppc@freebsd.org; Sun, 23 Jul 2006 19:28:59 +0800 (WST) Received: from [134.7.32.6] (Forwarded-For: [134.7.236.60]) by soms-ms1.curtin.edu.au (mshttpd); Sun, 23 Jul 2006 19:28:59 +0800 Date: Sun, 23 Jul 2006 19:28:59 +0800 From: Benjamin Roberts In-reply-to: <20060719120045.BEC7C16A642@hub.freebsd.org> To: freebsd-ppc@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.09 (built Nov 18 2005) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal References: <20060719120045.BEC7C16A642@hub.freebsd.org> Subject: fdisk may not work; format disks using Disk Utility X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 11:33:42 -0000 In reply to Chanond: G'day, bit a newbie myself. fdisk may not work for ppc. Try formatting the partitions you need using Apple's Disk Utility then installing using sysinstall. Hope that helps! Ben. From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 24 11:03:04 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org 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 BE69816A4E5 for ; Mon, 24 Jul 2006 11:03:04 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F013043DBD for ; Mon, 24 Jul 2006 11:02:57 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6OB2uYa013732 for ; Mon, 24 Jul 2006 11:02:56 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6OB2sX5013727 for freebsd-ppc@freebsd.org; Mon, 24 Jul 2006 11:02:54 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Jul 2006 11:02:54 GMT Message-Id: <200607241102.k6OB2sX5013727@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 11:03:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/02/11] powerpc/93203ppc FreeBSD PPC Can't Write to Partitions. 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/04/05] powerpc/95367ppc docs for ppc release. 1 problem total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 25 11:38:42 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org 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 DB6F316A4DA for ; Tue, 25 Jul 2006 11:38:42 +0000 (UTC) (envelope-from aag.lists@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DE8D43D45 for ; Tue, 25 Jul 2006 11:38:42 +0000 (GMT) (envelope-from aag.lists@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so777366wra for ; Tue, 25 Jul 2006 04:38:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bG+B2Pi5A8vjkG7JxWF7k8SDzC6SOkQtv7edGYDn/GNHOo+/CyOS7FaXMBGOAgEV6vs66E/OlY3kQ8f1lML7jbzX/eAR6Lw0Fo5pBTlOO0BNz2ojhPhETbuwTTzKvol8udDDvc3y8Dr3JhtEY8liAj8Wyx/naeMPx7nXBwKJn3I= Received: by 10.64.21.6 with SMTP id 6mr5064406qbu; Tue, 25 Jul 2006 04:38:41 -0700 (PDT) Received: by 10.35.59.16 with HTTP; Tue, 25 Jul 2006 04:38:41 -0700 (PDT) Message-ID: <2f3a439f0607250438x6403a85fi191673790d4f1baa@mail.gmail.com> Date: Tue, 25 Jul 2006 17:08:41 +0530 From: "Aditya Godbole" To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: link address X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 11:38:42 -0000 Hi, I'm a bit confused about the link address of the kernel in freebsd-ppc. The linker script says its 0x00100000. However on the i386 it seems to be 3GB (KERNBASE). Does the machine independant code not assume anything about the location of the kernel in virtual memory? -aditya From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 25 16:12:28 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org 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 8D9D816A4DD for ; Tue, 25 Jul 2006 16:12:28 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D27543D72 for ; Tue, 25 Jul 2006 16:12:24 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [192.168.0.14] (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id BZH45541 (AUTH peterg@ptree32.com.au); Wed, 26 Jul 2006 02:12:11 +1000 (EST) Message-ID: <44C642D5.7020500@freebsd.org> Date: Tue, 25 Jul 2006 09:12:05 -0700 From: Peter Grehan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Aditya Godbole References: <2f3a439f0607250438x6403a85fi191673790d4f1baa@mail.gmail.com> In-Reply-To: <2f3a439f0607250438x6403a85fi191673790d4f1baa@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: link address X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 16:12:28 -0000 Hi Aditya, > I'm a bit confused about the link address of the kernel in > freebsd-ppc. The linker script says its 0x00100000. However on the > i386 it seems to be 3GB (KERNBASE). > Does the machine independant code not assume anything about the > location of the kernel in virtual memory? That's right. On FreeBSD/ppc, kernel text/data/bss is mapped 1:1 mainly for simplicity - the loader's job is a lot easier, and it allows the early part of the kernel to run with the MMU disabled if so required. The load address is somewhat arbirtrary but it can't be zero since that's where vectors live, and boot loader variables are often stored below 0x100000. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 29 20:10:30 2006 Return-Path: X-Original-To: ppc@FreeBSD.org 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 882FD16A4E1 for ; Sat, 29 Jul 2006 20:10:30 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 349C143D64 for ; Sat, 29 Jul 2006 20:10:30 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.150] (pptp0.pn.xcllnt.net [192.168.4.150]) by ns1.xcllnt.net (8.13.6/8.13.6) with ESMTP id k6TKATBS096909 for ; Sat, 29 Jul 2006 13:10:29 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: ppc@FreeBSD.org From: Marcel Moolenaar Date: Sat, 29 Jul 2006 13:10:21 -0700 X-Mailer: Apple Mail (2.752.2) Cc: Subject: Definition of _ALIGNBYTES X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 20:10:30 -0000 All, In /usr/include/sys/param.h (or src/sys/powerpc/include/param.h), _ALIGNBYTES is defined as (sizeof(int) - 1), or 3. It is supposed to represent the mask used by ALIGN() to yield an alignment suitable for all types. The alignment of the double, long long, and long double types is 8, which would imply that _ALIGNBYTES should be 7. All platforms, except i386, have this "right". I don't know how vital this definition is, but I do know that increasing it yields an ABI breakage (I noticed that ssh(1) stopped working). The ABI breakage is not severe enough that you cannot increase and decrease it without being able to do a buildworld. My question: should we bump it up while powerpc is still tier 2? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net