From owner-freebsd-ppc@FreeBSD.ORG Mon Dec 1 08:35:01 2003 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 898C116A4CE for ; Mon, 1 Dec 2003 08:35:01 -0800 (PST) Received: from moof.catpipe.net (moof.catpipe.net [195.249.214.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CAA43FF3 for ; Mon, 1 Dec 2003 08:34:15 -0800 (PST) (envelope-from regnauld@moof.catpipe.net) Received: from localhost (localhost [127.0.0.1]) by localhost.catpipe.net (Postfix) with ESMTP id 5EB5F7062B; Mon, 1 Dec 2003 17:34:13 +0100 (CET) Received: from moof.catpipe.net ([127.0.0.1]) by localhost (moof.catpipe.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28034-04; Mon, 1 Dec 2003 17:34:12 +0100 (CET) Received: by moof.catpipe.net (Postfix, from userid 1001) id 2481B70627; Mon, 1 Dec 2003 17:34:12 +0100 (CET) From: Phil Regnauld To: Joel Diaz Message-ID: <20031201163412.GD27722@moof.catpipe.net> References: <3FBC803E.9040900@paradise.net.nz> <3FBCC515.4080200@freebsd.org> <3FC921CA.1000306@paradise.net.nz> <3FC9B40F.2090500@freebsd.org> <3FCAF108.9080904@paradise.net.nz> <3FCAFCE6.7000702@paradise.net.nz> <3FCAFFAD.7020102@freebsd.org> <3FCB0865.4090601@paradise.net.nz> <20031201093124.GJ99704@moof.catpipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-message-flag: Outlook: spreading viruses since 1997! http://www.rodos.net/outlook/ X-Operating-System: FreeBSD 4.8-STABLE i386 Organization: catpipe Systems ApS User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at catpipe.net cc: freebsd-ppc@freebsd.org Subject: Re: Project Status 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: , Date: Mon, 01 Dec 2003 16:35:01 -0000 X-Original-Date: Mon, 1 Dec 2003 17:34:12 +0100 X-List-Received-Date: Mon, 01 Dec 2003 16:35:01 -0000 Joel Diaz (joeldiaz) writes: > > For reference, what is your system ? Maybe we could sum this up > > somewhere. > > I've documented the steps I took to be able to build and test the > sources from CURRENT. Some simple modifications would have it work > with the tarball that was posted last month. I could put it online if > anyone is interested. This would be greatly appreciated. This maybe has its place at the PPC project page ? From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 28 15:27:55 2004 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 CBC9616A4CE for ; Wed, 28 Jan 2004 15:27:55 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA1D443D60 for ; Wed, 28 Jan 2004 15:27:40 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-253.dsl.onthenet.net [203.144.30.253]) i0SNRdZG038362 for ; Thu, 29 Jan 2004 09:27:39 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401845DE.90409@freebsd.org> Date: Thu, 29 Jan 2004 09:29:34 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD/powerpc on PPCBug-based embedded boards 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: Wed, 28 Jan 2004 23:27:55 -0000 For those who didn't see the latest FBSD status report, Rafal Jaworowski has been porting to an MPC750-based Compact-PCI system. Great work Rafal ! > FreeBSD/powerpc on PPCBug-based embedded boards > > URL: http://www.example.com/project/url/here > URL: http://www.example.net/another/url > > Contact: Rafal Jaworowski > > The direct objective is to make FreeBSD/powerpc work on Motorola MCP750 > and similar (single board computer that is compliant with Compact PCI > standard) Based on this work it would be easy to bring it to other > embedded systems. > > 1. loader(8) It is based on the existing loader for FreeBSD/powerpc port > but binding to OpenFirmware was removed and replaced with PPCBug firmware > binding. It only supports netbooting for the moment, so disk (compact > flash) support needs to be done one day. The loader is the only piece that > relies onPPCBug system calls - once the kernel starts it doesn't need > firmware support any longer. > > 2. kernel It is now divorced from OpenFirmware dependencies; most of the > groundwork finished includes: nexus stuff is sorted out (resources > management is ok except interrupts assignment); host to PCI bridge low > level routines are finished so configuration of and access to PCI devices > works; the only important thing missing is the IRQ management (Raven MPIC > part is done, but the board has the second PIC, 8259-compatible that needs > to be set up, but here the existing code from x86 arch will be adopted) > > Once the IRQ management is cleared out, most of the devices on board would > work straight away since they are pretty standard chips with drivers > already implemented in the tree (e.g. if_de). > > At the moment work is on hold (don't have physical access to the device) > but will resume when I'm back home (late Feb) > From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 30 14:01:34 2004 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 265A416A4CE for ; Fri, 30 Jan 2004 14:01:34 -0800 (PST) Received: from motgate2.mot.com (motgate2.mot.com [136.182.1.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBE1143D46 for ; Fri, 30 Jan 2004 14:01:30 -0800 (PST) (envelope-from rafal.jaworowski@motorola.com) Received: from az33exr04.mot.com (az33exr04.mot.com [10.64.251.234]) by motgate2.mot.com (Motorola/Motgate2) with ESMTP id i0UM19xH024425 for ; Fri, 30 Jan 2004 15:01:19 -0700 (MST) Received: from zpl02exm01.corp.mot.com (zpl02exm01.mpsc.mot.com [175.28.10.102])i0UM16IN001841 for ; Fri, 30 Jan 2004 16:01:07 -0600 Received: from panoramix.mpsc.mot.com ([175.28.8.2]) by zpl02exm01.corp.mot.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.2) id D61RGZPS; Fri, 30 Jan 2004 23:01:02 +0100 Received: (qmail 23102 invoked by uid 0); 30 Jan 2004 23:01:02 +0100 Received: from az10sdc-d05.na.mot.com (HELO motorola.com) (10.66.33.192) by panoramix.mpsc.mot.com with SMTP; 30 Jan 2004 23:01:02 +0100 Message-ID: <401AD442.704@motorola.com> Date: Fri, 30 Jan 2004 15:01:38 -0700 From: Rafal Jaworowski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <401845DE.90409@freebsd.org> In-Reply-To: <401845DE.90409@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on PPCBug-based embedded boards 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, 30 Jan 2004 22:01:34 -0000 Peter Grehan wrote: > For those who didn't see the latest FBSD status report, Rafal > Jaworowski has been porting to an MPC750-based Compact-PCI system. > Great work Rafal ! > Hi Peter, here is some early boot log (for the evidence:) best regards, Rafal Kernel entry at 0x11a568 ... Copyright (c) 1992-2003 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.1-CURRENT #183: Wed Jan 7 00:09:29 GMT 2004 Preloaded elf kernel "/boot/kernel/kernel.raj" at 0x2c4000. Timecounter "decrementer" frequency 16665000 Hz quality 0 cpu0: Motorola PowerPC 750 revision 3.1, 233.34 MHz cpu0: HID0 809000a4 real memory = 267649024 (255 MB) avail memory = 255438848 (243 MB) nexus0: ravenpic0: on nexus0 ravenpic0: Version 1.3, supports 2 CPUs and 16 irqs pcib0: on nexus0 pci0: on pcib0 pci0: at device 11.0 (no driver attached) pci0: at device 11.1 (no driver attached) pci0: at device 11.2 (no driver attached) pci0: at device 11.3 (no driver attached) de0: port 0xfffff00-0xfffff7f mem 0x3bffff00-0x3bffff7f irq 10 at device 14.0 on pci0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:01:af:01:48:b7 pcib1: at device 20.0 on pci0 pci1: on pcib1 Timecounters tick every 10.000 msec Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 30 14:49:05 2004 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 2246D16A4CE for ; Fri, 30 Jan 2004 14:49:05 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3707C43D2F for ; Fri, 30 Jan 2004 14:49:03 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i0UMn1ZG048804; Sat, 31 Jan 2004 08:49:01 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401ADFD4.8090604@freebsd.org> Date: Sat, 31 Jan 2004 08:51:00 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rafal Jaworowski References: <401845DE.90409@freebsd.org> <401AD442.704@motorola.com> In-Reply-To: <401AD442.704@motorola.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on PPCBug-based embedded boards 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, 30 Jan 2004 22:49:05 -0000 Hi Rafal, > here is some early boot log (for the evidence:) Excellent ! :-) > ravenpic0: on nexus0 > ravenpic0: Version 1.3, supports 2 CPUs and 16 irqs I've done some major surgery on the OpenPIC code so that the register don't have to be touched at nexus probe time. You might want to check that out. The driver will be a little obtuse since it needs both a nexus attachment and also a h/w bus attachment, but there's examples in the ofw openpic and the psim iobus openpic. > pci0: at device 11.0 (no driver attached) Are there many ISA peripherals on this device ? The ISA bus is a bit difficult to handle on PPC. > pci0: at device 11.1 (no driver attached) PCI ATA should work fine, so long as you handle i/o mapping in your PCI bridge code. I haven't done it yet in UniNorth, but the Grackle code has an example that has been tested with PCI/ATA controllers. > pci0: at device 11.2 (no driver attached) USB works great, you should add it to your config file if this is OHCI. > pci0: at device 11.3 (no driver attached) If OpenFirmware sets this up in fb8 mode, the ofw framebuffer console will work on this, with maybe some tweaking in the probe code. But, if it's just a VGA card plugged into a PCI slot, you're out of luck. > de0: port 0xfffff00-0xfffff7f mem > 0x3bffff00-0x3bffff7f irq 10 at device 14.0 on pci0 > de0: 21140A [10-100Mb/s] pass 2.2 > de0: address 00:01:af:01:48:b7 Does this work OK ? If so, I'll add it to GENERIC. > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:/dev/da0a > ? List valid disk boot devices > Abort manual input > > mountroot> During early phases of development, I often use CD9660 mem disks. At the loader prompt, it's "> load -t md_image iso.img"m, and then at the mountroot> prompt, "cd9660:md0", or set vfs.root.mountfrom at the loader prompt. However, it does require a minor change to vfs_mount.c to allow a r/o ramdisk to be mounted as root. Patch appended. later, Peter. diff -u -r1.115 vfs_mount.c --- vfs_mount.c 14 Nov 2003 05:27:41 -0000 1.115 +++ vfs_mount.c 23 Nov 2003 11:25:23 -0000 @@ -113,6 +113,9 @@ static int usermount = 0; /* if 1, non-root can mount fs. */ SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, ""); +static int mdrofs = 0; /* 1 if md root is read-only (i.e. iso9660) */ +TUNABLE_INT("vfs.mdrofs", &mdrofs); + MALLOC_DEFINE(M_MOUNT, "mount", "vfs mount structure"); /* List of mounted filesystems. */ @@ -1318,8 +1321,11 @@ if ((path[0] != 0) && setrootbyname(path)) printf("setrootbyname failed\n"); - /* If the root device is a type "memory disk", mount RW */ - if (rootdev != NODEV && devsw(rootdev) != NULL) { + /* + * If the root device is a type "memory disk", mount RW + * unless requested otherwise by the loader + */ + if (mdrofs == 0 && rootdev != NODEV && devsw(rootdev) != NULL) { devname = devtoname(rootdev); if (devname[0] == 'm' && devname[1] == 'd') mp->mnt_flag &= ~MNT_RDONLY; From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 31 04:42:11 2004 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 DB46316A4CE for ; Sat, 31 Jan 2004 04:42:11 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A768C43D68 for ; Sat, 31 Jan 2004 04:42:04 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i0VCg8C28815 for ; Sat, 31 Jan 2004 07:42:09 -0500 (EST) Date: Sat, 31 Jan 2004 07:42:06 -0500 (EST) From: peter@larkowski.net To: freebsd-ppc@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Booting a 2nd rev 12" powerbook (1Ghz) 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: Sat, 31 Jan 2004 12:42:12 -0000 Hi all. I'm trying get freebsd onto my 12" powerbook (2nd rev, 1Ghz, airport extreme, mini-dvi, etc, etc) and the kernel from http://people.freebsd.org/~grehan/kernel.syscons crashes with or without syscons and regardless of the presence of a usb keyboard. Here's the tail end of the dmesg: ..... pci1: at device 18.0 (no driver attached) macio0: mem 0x80000000-0x8007ffff at device 23.0 on pci1 zs0: mem 0x8700-0x87ff,0x8600-0x86ff,0x8500-0x85ff,0x8400-0x84ff,0x13000-0x13fff irq 23,22 on macio0 panic: nexus_alloc_resource: no pic attached Welcome to Debugger, panic Stopped at 0x3496f4: lwz r0, r1, 0x14 db> __________________________________________________________________________ At this point, if I am in syscons, I have no keyboard any longer, so I hold the power button and return to OSX, but if I disable syscons, I can poke around in the debugger on either keyboard (usb or builtin) Any thoughts? -p From owner-freebsd-ppc@FreeBSD.ORG Sun Feb 1 01:49:10 2004 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 A317916A4CE for ; Sun, 1 Feb 2004 01:49:10 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31DFF43D1F for ; Sun, 1 Feb 2004 01:49:09 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i119n5ZG052823; Sun, 1 Feb 2004 19:49:07 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401CCC07.4080803@freebsd.org> Date: Sun, 01 Feb 2004 19:51:03 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter@larkowski.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Sun, 01 Feb 2004 09:49:10 -0000 Hi Peter, > pci1: at device 18.0 (no driver attached) This is the first problem: the GEM driver needs to be updated with new PCI IDs. That's an easy fix, and I'll get that done pronto. > panic: nexus_alloc_resource: no pic attached This has also been seen on the 17" P'Book. The algorithm used to locate the interrupt controller in the OpenFirmware device tree isn't working on these models. At the OpenFirmware prompt, would you be able to do 0 > dev /chosen 0 > .properties (don't forget the '.' !) ... and there should be a node called "interrupt-controller". If not, the probe won't work, and that's where the panic is coming from. > At this point, if I am in syscons, I have no keyboard any longer, so I > hold the power button and return to OSX, but if I disable syscons, I can > poke around in the debugger on either keyboard (usb or builtin) Any > thoughts? That's because USB hasn't been probed yet so the syscons/USB kbd won't work. With syscons disabled, the console is the polled-mode OpenFirmware console, so both the USB and internal kbd's will work. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sun Feb 1 05:50:38 2004 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 09D6D16A4CE; Sun, 1 Feb 2004 05:50:38 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87AB643D5C; Sun, 1 Feb 2004 05:50:33 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i11Dobc04122; Sun, 1 Feb 2004 08:50:38 -0500 (EST) Date: Sun, 1 Feb 2004 08:50:33 -0500 (EST) From: peter@larkowski.net To: Peter Grehan In-Reply-To: <401CCC07.4080803@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Sun, 01 Feb 2004 13:50:38 -0000 Peter: Ok, there is not in fact a "interrupt-controller" node. Where do we go from here? Is there any other useful info I can provide? Let me know. -p On Sun, 1 Feb 2004, Peter Grehan wrote: > Date: Sun, 01 Feb 2004 19:51:03 +1000 > From: Peter Grehan > To: peter@larkowski.net > Cc: freebsd-ppc@freebsd.org > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > Hi Peter, > > > pci1: at device 18.0 (no driver attached) > > This is the first problem: the GEM driver needs to be updated > with new PCI IDs. That's an easy fix, and I'll get that done pronto. > > > panic: nexus_alloc_resource: no pic attached > > This has also been seen on the 17" P'Book. The algorithm used > to locate the interrupt controller in the OpenFirmware device tree > isn't working on these models. > > At the OpenFirmware prompt, would you be able to do > > 0 > dev /chosen > 0 > .properties (don't forget the '.' !) > > ... and there should be a node called "interrupt-controller". If > not, the probe won't work, and that's where the panic is coming > from. > > > At this point, if I am in syscons, I have no keyboard any longer, so I > > hold the power button and return to OSX, but if I disable syscons, I can > > poke around in the debugger on either keyboard (usb or builtin) Any > > thoughts? > > That's because USB hasn't been probed yet so the syscons/USB kbd > won't work. With syscons disabled, the console is the polled-mode > OpenFirmware console, so both the USB and internal kbd's will work. > > later, > > Peter. > From owner-freebsd-ppc@FreeBSD.ORG Sun Feb 1 17:23:09 2004 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 2874B16A4CE for ; Sun, 1 Feb 2004 17:23:09 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 372A343D1F for ; Sun, 1 Feb 2004 17:23:07 -0800 (PST) (envelope-from peterg@ptree32.com.au) Received: from ptree32.com.au (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i121N3ZG055149; Mon, 2 Feb 2004 11:23:03 +1000 (EST) (envelope-from peterg@ptree32.com.au) Message-ID: <401DA6ED.8030408@ptree32.com.au> Date: Mon, 02 Feb 2004 11:25:01 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter@larkowski.net, fn@radio-do.de References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Mon, 02 Feb 2004 01:23:09 -0000 Hi Peter, > Ok, there is not in fact a "interrupt-controller" node. Where do we go > from here? Is there any other useful info I can provide? Let me know. Thanks, that's all I needed. I've put an updated kernel with a new GEM ethernet PCI ID and a slightly different interrupt controller OFW probe which should fix your problem: www.freebsd.org/~grehan/kernel.p Let me know how it goes. I think the next thing you will hit is that the ATA drive may not be probed, since I think the 12" P'Book has the 'Kauai' controller which isn't supported yet. Frank, this should fix your 17" P'Book panic as well. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sun Feb 1 17:38:06 2004 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 723A016A4CE for ; Sun, 1 Feb 2004 17:38:06 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9B0243D1F for ; Sun, 1 Feb 2004 17:38:04 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i121c3ZG055290 for ; Mon, 2 Feb 2004 11:38:03 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401DAA71.6060301@freebsd.org> Date: Mon, 02 Feb 2004 11:40:01 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: G5 status 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: Mon, 02 Feb 2004 01:38:06 -0000 I now have a 1.6GHz G5 and am attempting to get the 32-bit PPC port running on it. There are some interesting technical challenges: - For processor documentation, I'm using Linux source and the IBM "Programming Environments Manual for 64 and 32-Bit Microprocessors". The Linux code implies that it's basically a Power4 cpu core, but I'm not sure if it has the 16Mb 'super page' support that Power4 has. - The CPU is basically 64-bit, but 32-bit code should be fine since 32-bit instructions all still work, similar to MIPS64. There are a couple of concessions: the 'bridge' mode allows the segment table cache to act as segment registers via the mtsr/mfsr instructions, so a segment table isn't required. However, the hashed page table needs 64-bit entries. Since I'd like to have the same kernel on G4/G4/G5, there will be some indirection needed in the pmap code to handle both forms of page table at run-time. - No BAT registers! This complicates things a bit: the kernel will have to be mapped, device addr space will be virtually mapped, and page-zeroing will have to use the i386 temporary PTE trick, or run in real-mode. The loader had some bugs that were hidden by BAT-mapping the first 256Mb of RAM. - There are 2 OpenPIC interrupt controllers chained together. This will require a re-org of the interrupt code. - OpenFirmware uses 2 cells to describe a physical address, but only 1 for a virtual address. Another minor complication when reading memory parameters from OFW. - Fan control is going to be difficult. The Linux code looks very complicated, and I think the author had access to NDA information. So, the port may have to run with full fans, which is *very* noisy. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 08:22:20 2004 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 358BF16A4CE for ; Mon, 2 Feb 2004 08:22:20 -0800 (PST) Received: from gatekeeper.radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A60943D45 for ; Mon, 2 Feb 2004 08:21:51 -0800 (PST) (envelope-from fn@radio-do.de) Received: by gatekeeper.radio-do.de (Postfix, from userid 80) id 5BC0CDF9; Mon, 2 Feb 2004 17:21:49 +0100 (CET) Received: from gatekeeper.Radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by www.radio-do.de (IMP) with HTTP for ; Mon, 2 Feb 2004 17:21:49 +0100 Message-ID: <1075738909.401e791d28abf@www.radio-do.de> Date: Mon, 2 Feb 2004 17:21:49 +0100 From: Frank Nobis To: Peter Grehan References: <401DA6ED.8030408@ptree32.com.au> In-Reply-To: <401DA6ED.8030408@ptree32.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 X-Originating-IP: 193.101.164.1 cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Mon, 02 Feb 2004 16:22:20 -0000 Zitat von Peter Grehan : > Hi Peter, > > > Ok, there is not in fact a "interrupt-controller" node. Where do we go > > from here? Is there any other useful info I can provide? Let me know. > > Thanks, that's all I needed. I've put an updated kernel with a new > GEM ethernet PCI ID and a slightly different interrupt controller > OFW probe which should fix your problem: > > www.freebsd.org/~grehan/kernel.p > > Let me know how it goes. I think the next thing you will hit is > that the ATA drive may not be probed, since I think the 12" P'Book > has the 'Kauai' controller which isn't supported yet. > > Frank, this should fix your 17" P'Book panic as well. Well, no panic any more, but no it stops after probing the DVD-R Drive last messages are: sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> Timecounters tick every 10.000 msec acd0: DVDR at ata0-master BIOSPIO I booted the loader as described in the install.html and then booted the kernel with boot -s Did I missed something? Frank ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 15:20:31 2004 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 A90C116A4CE for ; Mon, 2 Feb 2004 15:20:31 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D9DE43D31 for ; Mon, 2 Feb 2004 15:20:30 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i12NKSZG058542; Tue, 3 Feb 2004 09:20:29 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401EDBB1.5030404@freebsd.org> Date: Tue, 03 Feb 2004 09:22:25 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Nobis References: <401DA6ED.8030408@ptree32.com.au> <1075738909.401e791d28abf@www.radio-do.de> In-Reply-To: <1075738909.401e791d28abf@www.radio-do.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Mon, 02 Feb 2004 23:20:31 -0000 Hi Frank > no panic any more, but no it stops after probing the DVD-R Drive > > last messages are: > > sc0: on nexus0 > sc0: Unknown <16 virtual consoles, flags=0x300> > Timecounters tick every 10.000 msec > acd0: DVDR at ata0-master BIOSPIO > > I booted the loader as described in the install.html and then booted the > kernel with boot -s > > Did I missed something? I'm not sure what's happening here. Would you be able to boot with "-v" ? That should give some indication as to what's going on. Also, did you see the ethernet get probed ? later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 15:44:04 2004 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 111AB16A4CE for ; Mon, 2 Feb 2004 15:44:04 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0220243D1F for ; Mon, 2 Feb 2004 15:44:01 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i12Nhl210388; Mon, 2 Feb 2004 18:43:48 -0500 (EST) Date: Mon, 2 Feb 2004 18:43:43 -0500 (EST) From: peter@larkowski.net To: Frank Nobis In-Reply-To: <1075738909.401e791d28abf@www.radio-do.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Mon, 02 Feb 2004 23:44:04 -0000 For the record, same here. Just stops after the DVDR is probed. Feels better than a panic though :) -p On Mon, 2 Feb 2004, Frank Nobis wrote: > Date: Mon, 2 Feb 2004 17:21:49 +0100 > From: Frank Nobis > To: Peter Grehan > Cc: peter@larkowski.net, freebsd-ppc@freebsd.org > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > Zitat von Peter Grehan : > > > Hi Peter, > > > > > Ok, there is not in fact a "interrupt-controller" node. Where do we go > > > from here? Is there any other useful info I can provide? Let me know. > > > > Thanks, that's all I needed. I've put an updated kernel with a new > > GEM ethernet PCI ID and a slightly different interrupt controller > > OFW probe which should fix your problem: > > > > www.freebsd.org/~grehan/kernel.p > > > > Let me know how it goes. I think the next thing you will hit is > > that the ATA drive may not be probed, since I think the 12" P'Book > > has the 'Kauai' controller which isn't supported yet. > > > > Frank, this should fix your 17" P'Book panic as well. > > Well, > > no panic any more, but no it stops after probing the DVD-R Drive > > last messages are: > > > sc0: on nexus0 > sc0: Unknown <16 virtual consoles, flags=0x300> > Timecounters tick every 10.000 msec > acd0: DVDR at ata0-master BIOSPIO > > I booted the loader as described in the install.html and then booted the > kernel with boot -s > > Did I missed something? > > Frank > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 15:45:27 2004 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 0E0C716A4CE for ; Mon, 2 Feb 2004 15:45:27 -0800 (PST) Received: from ftpbox.mot.com (ftpbox.mot.com [129.188.136.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAF5043D31 for ; Mon, 2 Feb 2004 15:45:24 -0800 (PST) (envelope-from rafal.jaworowski@motorola.com) Received: from az33exr01.mot.com (az33exr01.mot.com [10.64.251.231]) by ftpbox.mot.com (Motorola/Ftpbox) with ESMTP id i12NjNkR026345 for ; Mon, 2 Feb 2004 16:45:23 -0700 (MST) Received: from zpl02exm01.corp.mot.com (zpl02exm01.mpsc.mot.com [175.28.10.102])i12NaKl2004170 for ; Mon, 2 Feb 2004 17:36:21 -0600 Received: from panoramix.mpsc.mot.com ([175.28.8.2]) by zpl02exm01.corp.mot.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.2) id D61RHDC1; Tue, 3 Feb 2004 00:38:54 +0100 Received: (qmail 9649 invoked by uid 0); 3 Feb 2004 00:38:54 +0100 Received: from az10sdc-d05.na.mot.com (HELO motorola.com) (10.66.33.192) by panoramix.mpsc.mot.com with SMTP; 3 Feb 2004 00:38:54 +0100 Message-ID: <401EDFB7.5050004@motorola.com> Date: Mon, 02 Feb 2004 16:39:35 -0700 From: Rafal Jaworowski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <401845DE.90409@freebsd.org> <401AD442.704@motorola.com> <401ADFD4.8090604@freebsd.org> In-Reply-To: <401ADFD4.8090604@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on PPCBug-based embedded boards 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: Mon, 02 Feb 2004 23:45:27 -0000 Peter Grehan wrote: > >> ravenpic0: on nexus0 >> ravenpic0: Version 1.3, supports 2 CPUs and 16 irqs > > > I've done some major surgery on the OpenPIC code so that > the register don't have to be touched at nexus probe time. > You might want to check that out. The driver will be a little > obtuse since it needs both a nexus attachment and also > a h/w bus attachment, but there's examples in the ofw openpic > and the psim iobus openpic. > Hi Peter, I'll look at the OPIC changes definitely, BTW: as I need to update the sources I'm working on - would 5.2-RELEASE cross-compile on x86? >> pci0: at device 11.0 (no driver attached) > > > Are there many ISA peripherals on this device ? The ISA bus > is a bit difficult to handle on PPC. > not too many. there's a PCI-ISA bridge integrated with EIDE and USB controllers (VIA 82C586), which should be supported by some existing driver (for i386 arch). On the ISA bus side there's a super io chip (PC87307) that handles typical async serials (compatible with 16550), typical parallel and ps/2 keyboard/mouse, and it's mainly the serial ports that I care for at the moment (the board doesn't have video and you're left with serial console). As you can see many of the boards' chips are already supported in FreeBSD/i386, so it shouldn't be that hard to use them. the super io port ranges are mem-mapped starting from $80000000 and you can access the registers as if you were on the i386 (but offset); that's how the serial console works for me now (I'm using sio low level routines and only need to provide port's address offset by $80000000 in device.hints) are there any specific obstacles for ISA devices that you're referring to? DMA support maybe? > >> pci0: at device 11.3 (no driver attached) > > > If OpenFirmware sets this up in fb8 mode, the ofw framebuffer console > will work on this, with maybe some tweaking in the probe code. > But, if it's just a VGA card plugged into a PCI slot, you're out > of luck. > this non-VGA display device is quite a surprise for me:) as the board is said (in the documentation) to have serial console only, there's no physical *connector* for video and also I'm not able to identify any graphics chip on board... >> de0: port 0xfffff00-0xfffff7f mem >> 0x3bffff00-0x3bffff7f irq 10 at device 14.0 on pci0 >> de0: 21140A [10-100Mb/s] pass 2.2 >> de0: address 00:01:af:01:48:b7 > > > Does this work OK ? If so, I'll add it to GENERIC. > the configuration over PCI works ok - these values are read from adapter's config space with standard if_de driver found in the tree (it can be added to GENERIC then). As mentioned in the report, I still need to finish IRQ assignment before the device actually starts working. > > During early phases of development, I often use CD9660 mem disks. > At the loader prompt, it's "> load -t md_image iso.img"m, and then > at the mountroot> prompt, "cd9660:md0", or set vfs.root.mountfrom > at the loader prompt. > > However, it does require a minor change to vfs_mount.c to allow > a r/o ramdisk to be mounted as root. Patch appended. > thanks for the patch and advice - I may have additional questions regarding mounting root over network. regards, Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 15:47:05 2004 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 0489916A4CE for ; Mon, 2 Feb 2004 15:47:05 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B3243D2D for ; Mon, 2 Feb 2004 15:46:58 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i12NkmL10413; Mon, 2 Feb 2004 18:46:49 -0500 (EST) Date: Mon, 2 Feb 2004 18:46:44 -0500 (EST) From: peter@larkowski.net To: Frank Nobis In-Reply-To: <1075738909.401e791d28abf@www.radio-do.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Mon, 02 Feb 2004 23:47:05 -0000 Sorry for the muliple posts, but the last kernel I built for my ultra sparc does this too, so I'm wondering if this isn't a powerpc thing. That's on my list of things to look into tonight.... -p On Mon, 2 Feb 2004, Frank Nobis wrote: > Date: Mon, 2 Feb 2004 17:21:49 +0100 > From: Frank Nobis > To: Peter Grehan > Cc: peter@larkowski.net, freebsd-ppc@freebsd.org > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > Zitat von Peter Grehan : > > > Hi Peter, > > > > > Ok, there is not in fact a "interrupt-controller" node. Where do we go > > > from here? Is there any other useful info I can provide? Let me know. > > > > Thanks, that's all I needed. I've put an updated kernel with a new > > GEM ethernet PCI ID and a slightly different interrupt controller > > OFW probe which should fix your problem: > > > > www.freebsd.org/~grehan/kernel.p > > > > Let me know how it goes. I think the next thing you will hit is > > that the ATA drive may not be probed, since I think the 12" P'Book > > has the 'Kauai' controller which isn't supported yet. > > > > Frank, this should fix your 17" P'Book panic as well. > > Well, > > no panic any more, but no it stops after probing the DVD-R Drive > > last messages are: > > > sc0: on nexus0 > sc0: Unknown <16 virtual consoles, flags=0x300> > Timecounters tick every 10.000 msec > acd0: DVDR at ata0-master BIOSPIO > > I booted the loader as described in the install.html and then booted the > kernel with boot -s > > Did I missed something? > > Frank > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 19:35:57 2004 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 8C44416A51A for ; Mon, 2 Feb 2004 19:35:57 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11D5443D39 for ; Mon, 2 Feb 2004 19:35:56 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i133ZrZG059850; Tue, 3 Feb 2004 13:35:54 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401F178E.40303@freebsd.org> Date: Tue, 03 Feb 2004 13:37:50 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rafal Jaworowski References: <401845DE.90409@freebsd.org> <401AD442.704@motorola.com> <401ADFD4.8090604@freebsd.org> <401EDFB7.5050004@motorola.com> In-Reply-To: <401EDFB7.5050004@motorola.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD/powerpc on PPCBug-based embedded boards 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: Tue, 03 Feb 2004 03:35:57 -0000 Hi Rafal, > I'll look at the OPIC changes definitely, BTW: as I need to update the > sources I'm working on - would 5.2-RELEASE cross-compile on x86? You're much better off with -current. That cross-compiles without any patches. >> Are there many ISA peripherals on this device ? The ISA bus >> is a bit difficult to handle on PPC. ... > are there any specific obstacles for ISA devices that you're referring > to? DMA support maybe? More the fact that a lot of devices still use inb/outb, and that complicates bus-space since there needs to be a static ISA mapping. And yes, DMA would be a problem. >>> de0: port 0xfffff00-0xfffff7f mem ... >> Does this work OK ? If so, I'll add it to GENERIC. > > the configuration over PCI works ok - these values are read from > adapter's config space with standard if_de driver found in the tree (it > can be added to GENERIC then). OK, I'll wait 'til then. > I may have additional questions regarding mounting root over network. Should be fine: just type "nfs" at the mountroot prompt and all should be well. The loader has already been using NFS to pull in the kernel. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 2 22:01:40 2004 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 7E74116A4CE for ; Mon, 2 Feb 2004 22:01:40 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AF443D1F for ; Mon, 2 Feb 2004 22:01:36 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i1361aH11507 for ; Tue, 3 Feb 2004 01:01:38 -0500 (EST) Date: Tue, 3 Feb 2004 01:01:32 -0500 (EST) From: peter@larkowski.net To: freebsd-ppc@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 06:01:40 -0000 Ok, here's an odd one. I tried boot -v and it worked (ie. got to the mountroot prompt), so tried it again, and it worked without -v. I tried it several more times with and without -v and it's a crap shoot. It works sometimes, and not others. When it does work, the only things that appear after the dvd drive probe and before the mountroot prompt are: (probe0:sbp0:0:0:0): error 22 (probe0:sbp0:0:0:0): Unretryable Error (probe1:sbp0:0:1:0): error 22 (probe1:sbp0:0:1:0): Unretryable Error (probe2:sbp0:0:2:0): error 22 (probe2:sbp0:0:2:0): Unretryable Error (probe3:sbp0:0:3:0): error 22 (probe3:sbp0:0:3:0): Unretryable Error (probe4:sbp0:0:4:0): error 22 (probe4:sbp0:0:4:0): Unretryable Error (probe5:sbp0:0:5:0): error 22 (probe5:sbp0:0:5:0): Unretryable Error (probe6:sbp0:0:6:0): error 22 (probe6:sbp0:0:6:0): Unretryable Error Also, at this point, the light on the power cord changes from green (charged in OSX) to amber (charging). I don't know if there is any significance there, but I thought I'd be thorough. When it doesn't work, the light stays green, and I get none of the probe messages. Finally, init doesn't seem to fly. I just get start_init: trying/sbin/init I think it is actually mounting nfs because I had some problems with that earlier (typo in /etc/exports) and that lands me at the debugger, whereas it's hanging now. I hope some of this info helps. Let me know if there is anything else useful I can do. -p On Mon, 2 Feb 2004 peter@larkowski.net wrote: > Date: Mon, 2 Feb 2004 18:46:44 -0500 (EST) > From: peter@larkowski.net > To: Frank Nobis > Cc: freebsd-ppc@freebsd.org > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > Sorry for the muliple posts, but the last kernel I built for my ultra > sparc does this too, so I'm wondering if this isn't a powerpc thing. > That's on my list of things to look into tonight.... > > -p > > > On Mon, 2 Feb 2004, Frank Nobis wrote: > > > Date: Mon, 2 Feb 2004 17:21:49 +0100 > > From: Frank Nobis > > To: Peter Grehan > > Cc: peter@larkowski.net, freebsd-ppc@freebsd.org > > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > > > Zitat von Peter Grehan : > > > > > Hi Peter, > > > > > > > Ok, there is not in fact a "interrupt-controller" node. Where do we go > > > > from here? Is there any other useful info I can provide? Let me know. > > > > > > Thanks, that's all I needed. I've put an updated kernel with a new > > > GEM ethernet PCI ID and a slightly different interrupt controller > > > OFW probe which should fix your problem: > > > > > > www.freebsd.org/~grehan/kernel.p > > > > > > Let me know how it goes. I think the next thing you will hit is > > > that the ATA drive may not be probed, since I think the 12" P'Book > > > has the 'Kauai' controller which isn't supported yet. > > > > > > Frank, this should fix your 17" P'Book panic as well. > > > > Well, > > > > no panic any more, but no it stops after probing the DVD-R Drive > > > > last messages are: > > > > > > sc0: on nexus0 > > sc0: Unknown <16 virtual consoles, flags=0x300> > > Timecounters tick every 10.000 msec > > acd0: DVDR at ata0-master BIOSPIO > > > > I booted the loader as described in the install.html and then booted the > > kernel with boot -s > > > > Did I missed something? > > > > Frank > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 03:25:12 2004 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 8ADD216A4CE; Tue, 3 Feb 2004 03:25:12 -0800 (PST) Received: from gatekeeper.radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E48FB43D54; Tue, 3 Feb 2004 03:25:10 -0800 (PST) (envelope-from fn@radio-do.de) Received: by gatekeeper.radio-do.de (Postfix, from userid 80) id 087EAD68; Tue, 3 Feb 2004 12:25:10 +0100 (CET) Received: from gatekeeper.Radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by www.radio-do.de (IMP) with HTTP for ; Tue, 3 Feb 2004 12:25:09 +0100 Message-ID: <1075807509.401f8515ca231@www.radio-do.de> Date: Tue, 3 Feb 2004 12:25:09 +0100 From: Frank Nobis To: Peter Grehan References: <401DA6ED.8030408@ptree32.com.au> <1075738909.401e791d28abf@www.radio-do.de> <401EDBB1.5030404@freebsd.org> In-Reply-To: <401EDBB1.5030404@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 X-Originating-IP: 193.101.164.1 cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 11:25:12 -0000 Hi Peter, Zitat von Peter Grehan : > > I'm not sure what's happening here. Would you be able to boot > with "-v" ? That should give some indication as to what's going > on. booted now with "boot -sv" I got behin the acd0 probes telling about the capabilities of that device. After that and a short delay of a few seconds I see (probe0:sbp0:0:0:0): error 22 (probe0:sbp0:0:0:0): Unretryable Error (probe0:sbp0:0:1:0): error 22 (probe0:sbp0:0:1:0): Unretryable Error ... (probe0:sbp0:0:6:0): error 22 (probe0:sbp0:0:6:0): Unretryable Error After that I see the mountrroot> prompt. Start_init: is trying to start / sbin/init, but that waits. I will check my cd image now. > Also, did you see the ethernet get probed ? The ethernet got probed as gem0 with the usual stuff from 10 to 1000. MfG Frank -- Frank Nobis Email: PGP AVAILABLE Thielenstr. 12 dg3dcn http://www.radio-do.de/~fn/ 44369 Dortmund Powered by SMP FreeBSD ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 03:42:11 2004 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 117EF16A4CE for ; Tue, 3 Feb 2004 03:42:10 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D8E143D5E for ; Tue, 3 Feb 2004 03:42:09 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i13Bg7ZG061367; Tue, 3 Feb 2004 21:42:08 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401F8984.2070109@freebsd.org> Date: Tue, 03 Feb 2004 21:44:04 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter@larkowski.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 11:42:11 -0000 Hi Peter, > Ok, here's an odd one. I tried boot -v and it worked (ie. got to the > mountroot prompt), so tried it again, and it worked without -v. I > tried it several more times with and without -v and it's a crap shoot. > It works sometimes, and not others. When it does work, the only things > that appear after the dvd drive probe and before the mountroot prompt are: Very puzzling. > (probe0:sbp0:0:0:0): error 22 ... > (probe6:sbp0:0:6:0): Unretryable Error This is the firewire disk probe. > Also, at this point, the light on the power cord changes from green > (charged in OSX) to amber (charging). I don't know if there is any > significance there, but I thought I'd be thorough. When it doesn't work, > the light stays green, and I get none of the probe messages. That may be a side effect. > Finally, init doesn't seem to fly. I just get start_init: > trying/sbin/init > > I think it is actually mounting nfs because I had some problems with that > earlier (typo in /etc/exports) and that lands me at the debugger, whereas > it's hanging now. I hope some of this info helps. Let me know if there > is anything else useful I can do. One thing to try is to do a verbose tcpdump when it's attempting to exec init: you can see the alternates tried if init can't be read. There may be an issue with the ethernet, since I've not tried the GEM3 before. It would be interesting to see if packets were delivered. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 03:45:22 2004 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 486F316A4CE for ; Tue, 3 Feb 2004 03:45:22 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB2643D78 for ; Tue, 3 Feb 2004 03:45:18 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i13BiWZG061370; Tue, 3 Feb 2004 21:44:32 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401F8A15.1030803@freebsd.org> Date: Tue, 03 Feb 2004 21:46:29 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Nobis References: <401DA6ED.8030408@ptree32.com.au> <1075738909.401e791d28abf@www.radio-do.de> <401EDBB1.5030404@freebsd.org> <1075807509.401f8515ca231@www.radio-do.de> In-Reply-To: <1075807509.401f8515ca231@www.radio-do.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 11:45:22 -0000 Hi Frank, > (probe0:sbp0:0:0:0): error 22 ... > (probe0:sbp0:0:6:0): Unretryable Error Yep, that's the firewire disk probe. > After that I see the mountrroot> prompt. Start_init: is trying to start / > sbin/init, but that waits. I will check my cd image now. It is also plausible that the ATA CD drive isn't working. >> Also, did you see the ethernet get probed ? > > The ethernet got probed as gem0 with the usual stuff from 10 to 1000. At least that worked :-) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 04:37:19 2004 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 0A06916A4CE; Tue, 3 Feb 2004 04:37:19 -0800 (PST) Received: from gatekeeper.radio-do.de (gatekeeper.Radio-do.de [193.101.164.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8365B43D2D; Tue, 3 Feb 2004 04:37:17 -0800 (PST) (envelope-from fn@radio-do.de) Received: by gatekeeper.radio-do.de (Postfix, from userid 80) id 3683ED8B; Tue, 3 Feb 2004 13:03:09 +0100 (CET) Received: from pbook.Radio-do.de (pbook.Radio-do.de [193.101.164.7]) by www.radio-do.de (IMP) with HTTP for ; Tue, 3 Feb 2004 13:03:09 +0100 Message-ID: <1075809789.401f8dfd099a7@www.radio-do.de> Date: Tue, 3 Feb 2004 13:03:09 +0100 From: Frank Nobis To: Peter Grehan References: <401DA6ED.8030408@ptree32.com.au> <1075738909.401e791d28abf@www.radio-do.de> <401EDBB1.5030404@freebsd.org> <1075807509.401f8515ca231@www.radio-do.de> <401F8A15.1030803@freebsd.org> In-Reply-To: <401F8A15.1030803@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 X-Originating-IP: 193.101.164.7 cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 12:37:19 -0000 > > After that I see the mountrroot> prompt. Start_init: is trying to start / > > sbin/init, but that waits. I will check my cd image now. > > It is also plausible that the ATA CD drive isn't working. I checked the cd image. That seems to be ok. I can reproducable reach the mountroot with "boot -sv" but not with "boot -s" Frank ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 04:49:10 2004 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 39D2A16A4CE for ; Tue, 3 Feb 2004 04:49:10 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF67743D2F for ; Tue, 3 Feb 2004 04:49:08 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i13Cn7ZG061443; Tue, 3 Feb 2004 22:49:07 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <401F9938.2070004@freebsd.org> Date: Tue, 03 Feb 2004 22:51:04 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Nobis References: <401DA6ED.8030408@ptree32.com.au> <1075738909.401e791d28abf@www.radio-do.de> <401EDBB1.5030404@freebsd.org> <1075807509.401f8515ca231@www.radio-do.de> <401F8A15.1030803@freebsd.org> <1075809789.401f8dfd099a7@www.radio-do.de> In-Reply-To: <1075809789.401f8dfd099a7@www.radio-do.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 12:49:10 -0000 Hi Frank, > I checked the cd image. That seems to be ok. I can reproducable reach the > mountroot with "boot -sv" but not with "boot -s" Thanks for that. I haven't booted from CD for a while, so I'll see if I can reproduce locally. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 08:06:20 2004 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 9D51E16A4CE; Tue, 3 Feb 2004 08:06:20 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CADB743D2F; Tue, 3 Feb 2004 08:06:17 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i13G6LW13770; Tue, 3 Feb 2004 11:06:22 -0500 (EST) Date: Tue, 3 Feb 2004 11:06:19 -0500 (EST) From: peter@larkowski.net To: Peter Grehan In-Reply-To: <401F9938.2070004@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 16:06:20 -0000 I thought I was seeing the same behavior when netbooting. It does seem more likely to work with -v, but I have seen it not work with -v and once it did work without -v, so now I'm not so sure what's going on. It seems strange that there is a gem driver problem and a cdrom driver problem simultaneously that are giving Frank and I the same issue for running init. On a semi related note, what's the status of the hard drive's ide controller? Is it being worked on? How different is it from other supported controllers on previous powerbooks/ibooks? Is it a lack of hardware thing or just a newness of hardware thing? Just wondering. Thanks for your help so far. On a somewhat less related note, my sparc kernels are booting again after another cvsup, so I have a -current cross build machine now. Has anyone tested cross-building powerpc from FreeBSD/sparc64? I know with NetBSD there are (or were at least) certain random combinations of arches that didn't work real well for cross building. -p On Tue, 3 Feb 2004, Peter Grehan wrote: > Date: Tue, 03 Feb 2004 22:51:04 +1000 > From: Peter Grehan > To: Frank Nobis > Cc: freebsd-ppc@freebsd.org > Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) > > Hi Frank, > > > I checked the cd image. That seems to be ok. I can reproducable reach the > > mountroot with "boot -sv" but not with "boot -s" > > Thanks for that. I haven't booted from CD for a while, so I'll > see if I can reproduce locally. > > later, > > Peter. > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 3 14:16:07 2004 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 1D90016A4CE for ; Tue, 3 Feb 2004 14:16:07 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A3B543D1D for ; Tue, 3 Feb 2004 14:15:51 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i13MFmZG062512; Wed, 4 Feb 2004 08:15:49 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40201E09.1070204@freebsd.org> Date: Wed, 04 Feb 2004 08:17:45 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter@larkowski.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Booting a 2nd rev 12" powerbook (1Ghz) 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: Tue, 03 Feb 2004 22:16:07 -0000 Hi Peter, > I thought I was seeing the same behavior when netbooting. It does seem > more likely to work with -v, but I have seen it not work with -v and once > it did work without -v, so now I'm not so sure what's going on. It seems > strange that there is a gem driver problem and a cdrom driver problem > simultaneously that are giving Frank and I the same issue for running > init. If packets are on the wire, then I'd say the GEM driver is OK and it is another problem. > On a semi related note, what's the status of the hard drive's ide > controller? Is it being worked on? How different is it from other > supported controllers on previous powerbooks/ibooks? Is it a lack of > hardware thing or just a newness of hardware thing? Just wondering. Lack of hardware. It seems to be a shift of the macio ATA controller to PCI, so it's not a standard PCI-ATA device. I'm not working on it, but would be happy to guide anyone who wanted to have a crack at it. > On a somewhat less related note, my sparc kernels are booting again after > another cvsup, so I have a -current cross build machine now. Has anyone > tested cross-building powerpc from FreeBSD/sparc64? I know with NetBSD > there are (or were at least) certain random combinations of arches that > didn't work real well for cross building. I've only done i386->ppc cross builds, but I don't think there would be any problems with a sparc64->ppc build. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 5 21:15:17 2004 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 9494216A4CE for ; Thu, 5 Feb 2004 21:15:17 -0800 (PST) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CF3D43D58 for ; Thu, 5 Feb 2004 21:15:16 -0800 (PST) (envelope-from refugee@segfaulted.com) Received: from vivi.cc.vt.edu (IDENT:mirapoint@evil-vivi [10.1.1.12]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id i165FGhx460536 for ; Fri, 6 Feb 2004 00:15:16 -0500 (EST) Received: from zZzZ.segfaulted.com (hc6524a8b.dhcp.vt.edu [198.82.74.139]) by vivi.cc.vt.edu (MOS 3.4.3-CR) with SMTP id AFQ62665; Fri, 6 Feb 2004 00:15:13 -0500 (EST) Date: Fri, 6 Feb 2004 00:15:15 -0500 From: Suleiman Souhlal To: freebsd-ppc@freebsd.org Message-Id: <20040206001515.301bcc3b@zZzZ.segfaulted.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Alu Powerbook 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, 06 Feb 2004 05:15:17 -0000 Hi, I've been trying to net-boot my alu powerbook, but without success. It hangs when trying to execute init at: start_init: trying /sbin/init However, the kernel still seems to be alive, as i can ping I also tried setting INIT_PATH to /bin/date, but the same thing happens. Similarly, booting from the cdrom made no difference. Any ideas? Suleiman Souhlal From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 5 22:32:21 2004 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 60A3516A4CF; Thu, 5 Feb 2004 22:32:21 -0800 (PST) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3F043D2F; Thu, 5 Feb 2004 22:32:19 -0800 (PST) (envelope-from refugee@segfaulted.com) Received: from dagger.cc.vt.edu (IDENT:mirapoint@evil-dagger [10.1.1.11]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id i166WJhx475620; Fri, 6 Feb 2004 01:32:19 -0500 (EST) Received: from zZzZ.segfaulted.com (hc6524a8b.dhcp.vt.edu [198.82.74.139]) by dagger.cc.vt.edu (MOS 3.4.3-CR) with SMTP id AFB75722; Fri, 6 Feb 2004 01:32:16 -0500 (EST) Date: Fri, 6 Feb 2004 01:32:18 -0500 From: Suleiman Souhlal To: Peter Grehan Message-Id: <20040206013218.4eb1cd37@zZzZ.segfaulted.com> In-Reply-To: <40232DA3.5090508@freebsd.org> References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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, 06 Feb 2004 06:32:21 -0000 Hi, On Fri, 06 Feb 2004 16:01:07 +1000 Peter Grehan wrote: > > Would you be able to capture a packet trace with tcpdump when > it's exec'ing init ? That might at least point to how far it gets > (e.g. reading /etc/malloc.conf etc) before the hang. Apparently, it doesn't even make it that far. You can find the packet capture at http://reffie.segfaulted.com/stuff/cap.txt Bye, Suleiman Souhlal From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 01:18:42 2004 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 AF8F916A4CE for ; Fri, 6 Feb 2004 01:18:42 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B8FC43D1D for ; Fri, 6 Feb 2004 01:18:41 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i169IbZG077617; Fri, 6 Feb 2004 19:18:37 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40235C60.9010509@freebsd.org> Date: Fri, 06 Feb 2004 19:20:32 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Suleiman Souhlal References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> In-Reply-To: <20040206013218.4eb1cd37@zZzZ.segfaulted.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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, 06 Feb 2004 09:18:42 -0000 Hi Suleiman, > Apparently, it doesn't even make it that far. > You can find the packet capture at > http://reffie.segfaulted.com/stuff/cap.txt Thanks for that. I just noticed that there wasn't 7457 support in powerpc/cpu.c - that could have an effect. Try: www.freebsd.org/~grehan/kernel.kauai ... and see if the CPU type is recognised. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 08:57:44 2004 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 58CB116A4CE; Fri, 6 Feb 2004 08:57:44 -0800 (PST) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161EE43D3F; Fri, 6 Feb 2004 08:57:43 -0800 (PST) (envelope-from refugee@segfaulted.com) Received: from zidane.cc.vt.edu (IDENT:mirapoint@evil-zidane [10.1.1.13]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id i16Gvghx110095; Fri, 6 Feb 2004 11:57:42 -0500 (EST) Received: from zZzZ.segfaulted.com (hc6524a8b.dhcp.vt.edu [198.82.74.139]) by zidane.cc.vt.edu (MOS 3.4.3-CR) with SMTP id AET14189; Fri, 6 Feb 2004 11:57:40 -0500 (EST) Date: Fri, 6 Feb 2004 11:57:43 -0500 From: Suleiman Souhlal To: Peter Grehan Message-Id: <20040206115743.2f6ad7af@zZzZ.segfaulted.com> In-Reply-To: <40235C60.9010509@freebsd.org> References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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, 06 Feb 2004 16:57:44 -0000 Hi, On Fri, 06 Feb 2004 19:20:32 +1000 Peter Grehan wrote: > Thanks for that. I just noticed that there wasn't 7457 support > in powerpc/cpu.c - that could have an effect. Try: > > www.freebsd.org/~grehan/kernel.kauai > > ... and see if the CPU type is recognised. Could you send me the patch to powerpc/cpu.c, as i don't have a usb keyboard and have the ROOTDEVNAME hard coded in the kernel? Thanks, Suleiman From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 18:41:14 2004 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 499B816A4CE for ; Fri, 6 Feb 2004 18:41:14 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E97043D41 for ; Fri, 6 Feb 2004 18:41:11 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i172f8ZG082112; Sat, 7 Feb 2004 12:41:09 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <402450B7.9030106@freebsd.org> Date: Sat, 07 Feb 2004 12:43:03 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Suleiman Souhlal References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> <20040206115743.2f6ad7af@zZzZ.segfaulted.com> In-Reply-To: <20040206115743.2f6ad7af@zZzZ.segfaulted.com> Content-Type: multipart/mixed; boundary="------------000408040005020106010808" cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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: Sat, 07 Feb 2004 02:41:14 -0000 This is a multi-part message in MIME format. --------------000408040005020106010808 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Suleiman, > Could you send me the patch to powerpc/cpu.c, as i don't have a usb > keyboard and have the ROOTDEVNAME hard coded in the kernel? Patch attached: let me know if it works and I'll commit it. Also, you can avoid hard-coding ROOTDEVNAME by forcing the root dev at the loader prompt: OK set vfs.root.mountfrom= where is what you would have typed at the mountroot> prompt. later, Peter. --------------000408040005020106010808 Content-Type: text/plain; name="7457.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="7457.txt" Index: include/spr.h =================================================================== RCS file: /home/ncvs/src/sys/powerpc/include/spr.h,v retrieving revision 1.3 diff -u -r1.3 spr.h --- include/spr.h 5 Feb 2003 12:04:29 -0000 1.3 +++ include/spr.h 6 Feb 2004 09:06:35 -0000 @@ -117,8 +117,10 @@ #define IBM405GP 0x4011 #define IBM405L 0x4161 #define IBM750FX 0x7000 +#define MPC745X_P(v) ((v & 0xFFFC) == 0x8000) #define MPC7450 0x8000 #define MPC7455 0x8001 +#define MPC7457 0x8002 #define MPC7410 0x800c #define MPC8245 0x8081 Index: powerpc/cpu.c =================================================================== RCS file: /home/ncvs/src/sys/powerpc/powerpc/cpu.c,v retrieving revision 1.3 diff -u -r1.3 cpu.c --- powerpc/cpu.c 26 Sep 2003 09:02:24 -0000 1.3 +++ powerpc/cpu.c 6 Feb 2004 09:08:33 -0000 @@ -92,6 +92,7 @@ { "Motorola PowerPC 7410", MPC7410, REVFMT_MAJMIN }, { "Motorola PowerPC 7450", MPC7450, REVFMT_MAJMIN }, { "Motorola PowerPC 7455", MPC7455, REVFMT_MAJMIN }, + { "Motorola PowerPC 7457", MPC7457, REVFMT_MAJMIN }, { "Motorola PowerPC 8240", MPC8240, REVFMT_MAJMIN }, { "Unknown PowerPC CPU", 0, REVFMT_HEX } }; @@ -173,6 +174,7 @@ #endif break; + case MPC7457: case MPC7455: case MPC7450: /* Disable BTIC on 7450 Rev 2.0 or earlier */ @@ -210,6 +212,7 @@ switch (vers) { case MPC7450: case MPC7455: + case MPC7457: bitmask = HID0_7450_BITMASK; break; default: @@ -224,6 +227,7 @@ case MPC7410: case MPC7450: case MPC7455: + case MPC7457: cpu_print_speed(); printf("\n"); cpu_config_l2cr(cpuid, vers); @@ -304,7 +308,9 @@ printf("cpu%d: ", cpuid); if (l2cr & L2CR_L2E) { - if (vers == MPC7450 || vers == MPC7455) { + if (vers == MPC7450 || + vers == MPC7455 || + vers == MPC7457) { u_int l3cr; printf("256KB L2 cache"); --------------000408040005020106010808-- From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 18:44:34 2004 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 B5C7216A4CE; Fri, 6 Feb 2004 18:44:34 -0800 (PST) Received: from decstation.larkowski.net (d60-65-37-214.col.wideopenwest.com [65.60.214.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FDB43D41; Fri, 6 Feb 2004 18:44:33 -0800 (PST) (envelope-from peter@larkowski.net) Received: from localhost (peter@localhost)i172ib629463; Fri, 6 Feb 2004 21:44:38 -0500 (EST) Date: Fri, 6 Feb 2004 21:44:35 -0500 (EST) From: peter@larkowski.net To: Peter Grehan In-Reply-To: <40235C60.9010509@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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: Sat, 07 Feb 2004 02:44:34 -0000 That kernel does little different from the previous one. It only gets to the mountroot prompt 1 out about every 4 times I boot. Here's the output of boot -v on a successful attempt however: ---Clip--- kauai0: mem 0xf5000000-0xf5007fff at device 13.0 on pci2 kauai0: could not allocate irq! ---Clip--- Also, here is a sample from further up: ---Clip--- Timecounter "decrementer" frequency 18432000 Hz quality 0 cpu0: revision cpu0: HID0 8410c09c real memory = 532676608 (508MB) ---Clip--- Let me know if you need anything else.... -p On Fri, 6 Feb 2004, Peter Grehan wrote: > Date: Fri, 06 Feb 2004 19:20:32 +1000 > From: Peter Grehan > To: Suleiman Souhlal > Cc: freebsd-ppc@freebsd.org > Subject: Re: Alu Powerbook > > Hi Suleiman, > > > Apparently, it doesn't even make it that far. > > You can find the packet capture at > > http://reffie.segfaulted.com/stuff/cap.txt > > Thanks for that. I just noticed that there wasn't 7457 support > in powerpc/cpu.c - that could have an effect. Try: > > www.freebsd.org/~grehan/kernel.kauai > > ... and see if the CPU type is recognised. > > later, > > Peter. > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 20:45:28 2004 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 0BEF516A4CF; Fri, 6 Feb 2004 20:45:28 -0800 (PST) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id D214E43D54; Fri, 6 Feb 2004 20:45:26 -0800 (PST) (envelope-from refugee@segfaulted.com) Received: from zidane.cc.vt.edu (IDENT:mirapoint@evil-zidane [10.1.1.13]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id i174jQhx304482; Fri, 6 Feb 2004 23:45:26 -0500 (EST) Received: from zZzZ.segfaulted.com (hc6524a8b.dhcp.vt.edu [198.82.74.139]) by zidane.cc.vt.edu (MOS 3.4.3-CR) with SMTP id AEU75309; Fri, 6 Feb 2004 23:45:24 -0500 (EST) Date: Fri, 6 Feb 2004 23:45:27 -0500 From: Suleiman Souhlal To: Peter Grehan Message-Id: <20040206234527.19aef784@zZzZ.segfaulted.com> In-Reply-To: <402450B7.9030106@freebsd.org> References: <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> <20040206115743.2f6ad7af@zZzZ.segfaulted.com> <402450B7.9030106@freebsd.org> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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: Sat, 07 Feb 2004 04:45:28 -0000 Hi, On Sat, 07 Feb 2004 12:43:03 +1000 Peter Grehan wrote: > > Patch attached: let me know if it works and I'll commit it. > The cpu now gets detected correctly as a 7457, however, the kernel still seems to hang at init. I have also noticed that if i enter DDB before it tries to execute init, the usb keyboard works, but when i enter DDB after, the keyboard doesn't work anymore. Suleiman From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 6 22:22:32 2004 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 1CF4D16A4CE for ; Fri, 6 Feb 2004 22:22:32 -0800 (PST) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8F0543D31 for ; Fri, 6 Feb 2004 22:22:30 -0800 (PST) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-4.dsl.onthenet.net [203.144.30.4]) i176MSZG082652; Sat, 7 Feb 2004 16:22:29 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40248497.6010805@freebsd.org> Date: Sat, 07 Feb 2004 16:24:23 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: peter@larkowski.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Alu Powerbook 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: Sat, 07 Feb 2004 06:22:32 -0000 > ---Clip--- > kauai0: mem 0xf5000000-0xf5007fff at > device 13.0 on pci2 > kauai0: could not allocate irq! > ---Clip--- Good, that's what I needed to know. I should be able to have a PIO-mode kauai driver soon. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 7 03:24:15 2004 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 9A47816A4CE; Sat, 7 Feb 2004 03:24:15 -0800 (PST) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5643F43D1F; Sat, 7 Feb 2004 03:24:15 -0800 (PST) (envelope-from des+tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D36C57303A; Sat, 7 Feb 2004 06:24:14 -0500 (EST) Sender: Tinderbox From: Tinderbox To: current@freebsd.org, powerpc@freebsd.org Precedence: bulk Message-Id: <20040207112414.D36C57303A@freebsd-current.sentex.ca> Date: Sat, 7 Feb 2004 06:24:14 -0500 (EST) X-Mailman-Approved-At: Sat, 07 Feb 2004 05:01:51 -0800 Subject: [current tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 11:24:15 -0000 TB --- 2004-02-07 11:03:04 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-02-07 11:03:04 - starting CURRENT tinderbox run for powerpc/powerpc TB --- 2004-02-07 11:03:04 - checking out the source tree TB --- cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-02-07 11:07:09 - building world TB --- cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -O -pipe -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/powerpc -D__DBINTERFACE_PRIVATE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../contrib/gdtoa -DINET6 -I/other/tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc -DPOSIX_MISTAKE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getifmaddrs.c cc -O -pipe -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/powerpc -D__DBINTERFACE_PRIVATE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../contrib/gdtoa -DINET6 -I/other/tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc -DPOSIX_MISTAKE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnameinfo.c cc -O -pipe -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../include -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/powerpc -D__DBINTERFACE_PRIVATE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/../../contrib/gdtoa -DINET6 -I/other/tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc -DPOSIX_MISTAKE -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c: In function `ipreverse': /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c:159: warning: control reaches end of non-void function /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c: In function `getnetanswer': /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c:172: warning: unused variable `i' /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc/net/getnetbydns.c:172: warning: unused variable `nchar' *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src/lib/libc. *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src/lib. *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src. *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src. *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src. *** Error code 1 Stop in /other/tinderbox/CURRENT/powerpc/powerpc/src. TB --- 2004-02-07 11:24:14 - TB --- /usr/bin/make returned exit code 1 TB --- 2004-02-07 11:24:14 - TB --- ERROR: failed to build world TB --- 2004-02-07 11:24:14 - tinderbox aborted