From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 23 14:02:44 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5990216A4CE for ; Sun, 23 Jan 2005 14:02:44 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B24343D2D for ; Sun, 23 Jan 2005 14:02:43 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0NE2enP030361; Mon, 24 Jan 2005 00:02:41 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F3AFBD.60505@freebsd.org> Date: Mon, 24 Jan 2005 00:07:57 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD 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, 23 Jan 2005 14:02:44 -0000 Hi Garance, > Close, very close! Bummer, thanks for giving it a try. > I repartitioned my disk (using the Apple Disk Utility), leaving one > partition for FreeBSD, and one for FreeBSD-swap. I booted up the > most-recent FreeBSD/PPC install CD (by holding down the 'C' key while > rebooting), and it works fine. I get all the way to where I should > select installation media. I select "Install from a FreeBSD CD/DVD", > and it says... > > No CD/DVD devices found! > > (even though it's running off of it!) The loader uses OpenFirmware calls to load the kernel (and ramdisk), so it's always possible for a kernel to be booted from media that the kernel doesn't understand, but the ROM does. > I don't know what would be the best way to work around that, but I > have to head for home right about now. (We're about to get hit with > a major blizzard, according to the weather reports). Should I copy > some of the files off the install-cd to one of my other freebsd boxes, > and then point to that as an "ftp site" for install? I tried to say > "use an existing filesystem", but that didn't get very far. I just had a scan of the NetBSD dmesg and OpenFirmware dump that Matt Thomas posted: http://mail-index.netbsd.org/port-macppc/2005/01/20/0014.html It's definitely an Intrepid-based system, pretty much identical to my PowerBook G4. There are two ATA controllers. The hard drive is on the 'Kauai' controller, which should show up in the boot log similar to: ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 The optical drive is the macio controller, which is a cell built into Apple's south-bridge equivalent. It should show up very early in the boot sequence: macio0: mem 0x80000000-0x8007ffff ..... .... ata0 mem 0x8700-0x87ff,0x8600-0x86ff ..... (lots of extra addrs here) And at the end of the boot, just before the screen switches over to the sysinstall menu, you should see the disks being probed e.g. Timecounters tick every 10.000 msec acd0: DVDR at ata0-master BIOSPIO ad0: 57231MB [116280/16/63] at ata1-master BIOSPIO If you're having trouble with lines scrolling off the screen, you can switch to a micro syscons font at the loader prompt: OK set hw.syscons.fsize=8 later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 01:47:32 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98C7916A4CE; Mon, 24 Jan 2005 01:47:32 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0971943D3F; Mon, 24 Jan 2005 01:47:32 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O1lURV021787; Sun, 23 Jan 2005 20:47:31 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F3AFBD.60505@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> Date: Sun, 23 Jan 2005 20:47:29 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 01:47:32 -0000 At 12:07 AM +1000 1/24/05, Peter Grehan wrote: >Hi Garance, > >>Close, very close! > > Bummer, thanks for giving it a try. Heh. Well, it isn't a bummer yet! I wasn't giving up at that point, I just had to head home due to the storm. After futzing around for a few hours, I have the following in /var/run/dmesg.boot in a partition on my mini-Mac. I bought the faster model (1.42 GHz PowerPC G4). I have it setup in a multi-boot situation, between MacOS 10 and FreeBSD/PPC. I'm still futzing around with it, and I may not have it set up quite right yet, but FreeBSD/PPC is up and running on it! - - - - - - - - - - - - - - - - - - - - - Copyright (c) 1992-2004 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 6.0-20041229-SNAP #0: Wed Dec 29 16:03:05 UTC 2004 root@emacfbsd.ptree32.com.au:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. Timecounter "decrementer" frequency 41620997 Hz quality 0 cpu0: revision cpu0: HID0 8410c0bc real memory = 264175616 (251 MB) avail memory = 245633024 (234 MB) nexus0: openpic0: on nexus0 unin0: on nexus0 unin0: Version 210 pcib0: on nexus0 pci0: on pcib0 pci0: at device 16.0 (no driver attached) pcib1: on nexus0 pci1: on pcib1 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 zs0: [FAST] zs0: [FAST] zstty0: on zs0 zstty1: on zs0 ata0 mem 0x8800-0x88ff,0x20000-0x20fff irq 24 on macio0 ohci0: irq 0 at device 24.0 on pci1 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: irq 0 at device 25.0 on pci1 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ohci2: mem 0x80083000-0x80083fff irq 29 at device 26.0 on pci1 ohci2: [GIANT-LOCKED] usb2: OHCI version 1.0, legacy support usb2: on ohci2 usb2: USB revision 1.0 uhub2: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ohci3: mem 0x80082000-0x80082fff irq 63 at device 27.0 on pci1 ohci3: [GIANT-LOCKED] usb3: OHCI version 1.0 usb3: on ohci3 usb3: USB revision 1.0 uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 3 ports with 3 removable, self powered uhub4: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.00, addr 2 uhub4: 3 ports with 2 removable, bus powered ums0: Logitech USB Mouse, rev 1.10/6.10, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.00, addr 4, iclass 3/1 uhid0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.00, addr 4, iclass 3/1 ohci4: mem 0x80081000-0x80081fff irq 63 at device 27.1 on pci1 ohci4: [GIANT-LOCKED] usb4: OHCI version 1.0 usb4: on ohci4 usb4: USB revision 1.0 uhub5: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub5: 2 ports with 2 removable, self powered ehci0: mem 0x80080000-0x800800ff irq 63 at device 27.2 on pci1 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb3 ehci_pci_attach: companion usb4 usb5: EHCI version 1.0 usb5: companion controllers, 3 ports each: usb3 usb4 usb5: on ehci0 usb5: USB revision 2.0 uhub6: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub6: single transaction translator uhub6: 5 ports with 5 removable, self powered pcib2: on nexus0 pci2: on pcib2 ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0d:93:ff:fe:4a:b5:16 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 sbp0: on firewire0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0d:93:4a:b5:16 fwe0: Ethernet address: 02:0d:93:4a:b5:16 fwe0: if_start running deferred for Giant fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci2 miibus0: on gem0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0d:93:4a:b5:16 gem0: if_start running deferred for Giant gem0: [GIANT-LOCKED] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> Timecounters tick every 10.000 msec md0: Preloaded image 4194304 bytes at 0x55d0bc ad0: 76319MB [155061/16/63] at ata1-master BIOSPIO uhub4: at uhub3 port 1 (addr 2) disconnected ums0: at uhub4 port 1 (addr 3) disconnected ums0: detached ukbd0: at uhub4 port 3 (addr 4) disconnected ukbd0: detached uhid0: at uhub4 port 3 (addr 4) disconnected uhid0: detached uhub4: detached uhub4: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/4.00, addr 2 uhub4: 3 ports with 2 removable, bus powered ums0: Logitech USB Mouse, rev 1.10/6.10, addr 3, iclass 3/1 ums0: 3 buttons and Z dir. ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.00, addr 4, iclass 3/1 uhid0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/4.00, addr 4, iclass 3/1 Trying to mount root from ufs:/dev/ad0s5 -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 03:55:06 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D53016A4CF for ; Mon, 24 Jan 2005 03:55:06 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C496B43D31 for ; Mon, 24 Jan 2005 03:55:05 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O3t1Ba012023; Sun, 23 Jan 2005 22:55:03 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <41F170F1.2010701@finnovative.net> Date: Sun, 23 Jan 2005 22:55:00 -0500 To: Joaquin Menchaca , freebsd-ppc@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 03:55:06 -0000 At 5:29 PM -0500 1/21/05, Garance A Drosihn wrote: > >I can use a Mac-mini for other purposes if it does not work out with >FreeBSD/PPC, so I'm going to try to get up early tomorrow to see if >I can get to the local Apple Store early enough to pick one up. If I >succeed at that, I'll let people on this list know how well I make >out with FreeBSD/PPC on it. Well, I did get it going. There are a lot of things that I am tempted to do with it, but I thought I should first jot down a few notes while I still remember some of the details. I started with the ISO image that Peter Grehan recently created: http://people.freebsd.org/~grehan/miniinst.iso It happens that I do all my cd-burning on MacOS 10, and for some reason the Disk_Utility app on MacOS 10 crashes with that ISO image. I bought a copy of "Toast 6 Titanium", and that was able to burn the CD without any problems. I bought the Mac-mini which has a 1.42GHz G4 processor, and an "80-gig" hard disk (it's really about 74.5 gig). The first thing I did was to boot up off the MacOS 10 installer disk, and use the disk utility on that (which is a menu item in the MacOS 10 installer program) to re-partition the disk. I created one 15-gig partition which would be '/' for FreeBSD, and one 5-gig one which would be swap for freebsd, and a few others for the things I want to do with MacOS 10 itself. Note that the MacOS 10 Disk Utility has some bugs in it when you start playing around with multiple partitions and changing their sizes. Depending on what you do, and what order you do it in, the program will end up "losing" a few gigabytes of the disk. I guess I should bug Apple about that... I made a point of picking different sizes for the various partitions that I created, so that it would be easy to recognize which-was-which when I would see them in disklabel during the install process. When I tried to do the FreeBSD install, it could boot up off the CD fine, but when it came time to select an "install media", it could not recognize the CD/DVD drive. So, before doing the install, I used 'tar' to duplicate the contents of the CD to ~ftp/pub/ppc on one of my other FreeBSD machines (a machine which was already set up to do anonymous FTP). The root of the CD includes a symlink to itself, so you don't want to do a simple 'cp -rp' to duplicate it... At that point, I'm ready to try the install. I put the CD into the Mac-mini, and rebooted the machine. I held down the 'C' key while the machine was starting up, and it booted right up into the FreeBSD installer. I did a standard install. I found the partition which I had created for FreeBSD (in my case it was 'ad0s5'), and created a partition there, naming it '/'. I found the partition I had created for swap, and told disklabel to use that for swap. I then 'q'uit out of that. When asked what packages I wanted to install, I selected 'Developer'. It asked me if I wanted the ports collection. Apparently the CD does not have the ports collection on it, so you might as well say 'no' there. It asked for the installation media. I selected 'FTP', and then selected 'my own host' (or whatever the option is), where you type in a URL. So, I wanted a URL something like: ftp://myhost.rpi.edu/pub/ppc However, I found that if I typed in the real hostname for that URL, then the whole installation process would later hang up while trying to look up that hostname. So, I found that I had to type in the IP address there, instead of the hostname. After you type in the URL, the install process wants to initialize an ethernet interface. It gave me a list with the following options: fwe0 - FireWire Ethernet emulation gem0 - pflog0 - While that "unknown interface type" looks scary, it turns out that what you want to select is "gem0". I said 'no' when asked if I wanted to configure it for IPv6, and 'yes' when asked if I wanted to try a DHCP config. The DCHP config seemed to work okay, except that field for the hostname was not filed in. (everything else was, including the correct information for the domain name). I looked up the correct hostname for the IP address that it had gotten (*), and then okay'ed that configuration. It downloaded the files, installed everything, and I could reboot the system. Further information on what you might want to do at that point are described in: http://people.freebsd.org/~grehan/miniinst.txt [ * - each time I tried this, the machine would get a different IP address from DHCP. What hostname did it happen to get for the attempt were everything worked? "lucky.dynamic.rpi.edu"... ] -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 03:55:51 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAC4716A4CE for ; Mon, 24 Jan 2005 03:55:51 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECB3D43D58 for ; Mon, 24 Jan 2005 03:55:50 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O3tlnP032816; Mon, 24 Jan 2005 13:55:49 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F47300.3050406@freebsd.org> Date: Mon, 24 Jan 2005 14:01:04 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 03:55:51 -0000 Hi Garance, > Heh. Well, it isn't a bummer yet! I wasn't giving up at that > point, I just had to head home due to the storm. > > After futzing around for a few hours, I have the following in > /var/run/dmesg.boot in a partition on my mini-Mac. I bought > the faster model (1.42 GHz PowerPC G4). I have it setup in a > multi-boot situation, between MacOS 10 and FreeBSD/PPC. I'm > still futzing around with it, and I may not have it set up quite > right yet, but FreeBSD/PPC is up and running on it! Good to hear. Did you have to work around the problem with disks not being found ? > cpu0: revision > cpu0: HID0 8410c0bc Ah yes, that has to be fixed. The CPU in the mac-mini is a 7447a, so it isn't recognised properly by the miniinst. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 04:14:53 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5261716A4CE; Mon, 24 Jan 2005 04:14:53 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACD943D1F; Mon, 24 Jan 2005 04:14:52 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O4EpYr011073; Sun, 23 Jan 2005 23:14:52 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F47300.3050406@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> Date: Sun, 23 Jan 2005 23:14:50 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 04:14:53 -0000 At 2:01 PM +1000 1/24/05, Peter Grehan wrote: >Hi Garance, > >>Heh. Well, it isn't a bummer yet! I wasn't giving up at that >>point, I just had to head home due to the storm. >> >>After futzing around for a few hours, I have the following in >>/var/run/dmesg.boot in a partition on my mini-Mac. I bought >>the faster model (1.42 GHz PowerPC G4). I have it setup in a >>multi-boot situation, between MacOS 10 and FreeBSD/PPC. I'm >>still futzing around with it, and I may not have it set up quite >>right yet, but FreeBSD/PPC is up and running on it! > > Good to hear. Did you have to work around the problem with >disks not being found ? Just in case my earlier message was confusing, note that it was only the CD/DVD drive that the installer could not find, or at least it could not recognize. It had no problem finding the hard disk. I wrote up most of the tricks I had to use in a separate message, with the subject of "Mac mini and FreeBSD - some initial details"... It's possible that I will reformat the disk and redo all of these installs, so I could try to write up more details if it's needed. Oh, one more thing I noticed. When I reboot back into MacOS 10, it still shows the two freebsd partitions, and it claims they are formatted as "MacOS Extended (Journalled)". I am *pretty* sure that I originally had DiskUtility format them as "Unix File System", so I find that a little odd. However, I did repartition the disk several times, so maybe I created those partitions as HFS+ on my final time. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 04:34:43 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD4916A4CE for ; Mon, 24 Jan 2005 04:34:43 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAE4A43D1F for ; Mon, 24 Jan 2005 04:34:42 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O4YenP033041; Mon, 24 Jan 2005 14:34:40 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F47C1C.2060608@freebsd.org> Date: Mon, 24 Jan 2005 14:39:56 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 04:34:43 -0000 > I wrote up most of the tricks I had to use in a separate message, > with the subject of "Mac mini and FreeBSD - some initial details"... Got that one - our messages crossed. So: >Well, I did get it going. There are a lot of things that I am >tempted to do with it, Let us in on your plans! At the moment I'm trying to get the latest Xorg server port running. >I made a point of picking different sizes for the various partitions >that I created, so that it would be easy to recognize which-was-which >when I would see them in disklabel during the install process. That is a bit of a problem. I might try and print the partition type and maybe the name in the sysinstall menu so it's easier to figure out what's going on. >Apparently the CD does >not have the ports collection on it, so you might as well say 'no' >there. I'll make sure that's on the next miniinst ISO. > gem0 - That will be fixed :) > Oh, one more thing I noticed. When I reboot back into MacOS 10, it > still shows the two freebsd partitions, and it claims they are > formatted as "MacOS Extended (Journalled)". I am *pretty* sure > that I originally had DiskUtility format them as "Unix File System", > so I find that a little odd. However, I did repartition the disk > several times, so maybe I created those partitions as HFS+ on my > final time. It shouldn't matter too much. FreeBSD ignores the partition type and doesn't change it. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 04:55:29 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A1F816A4CF for ; Mon, 24 Jan 2005 04:55:29 +0000 (GMT) Received: from priv-edtnes56.telusplanet.net (outbound01.telus.net [199.185.220.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8948A43D31 for ; Mon, 24 Jan 2005 04:55:07 +0000 (GMT) (envelope-from mcepeda@ualberta.ca) Received: from [192.168.0.100] (really [142.59.231.163]) by priv-edtnes56.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20050124045506.SIKK568.priv-edtnes56.telusplanet.net@[192.168.0.100]> for ; Sun, 23 Jan 2005 21:55:06 -0700 From: Mauro To: freebsd-ppc@freebsd.org Content-Type: text/plain Date: Sun, 23 Jan 2005 21:53:37 -0700 Message-Id: <1106542417.29481.168.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Subject: airport estreme with Freebsd 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, 24 Jan 2005 04:55:29 -0000 It seems there are some bsd people messing around with airport extreme. I'm wondering if freebsd macppc will be able to make use of this. Are you guys aware of this? How far is this along? Usable? Please email me back o my address. I might sign up to the list just to keep abreast but I'm not signed up yet. I found the following interesting: Second see: http://www.monkey.org/openbsd/archi...2/msg01000.html "Has anyone looked into porting over the changes made to NetBSD (and subsequently FreeBSD) that allow Airport Extreme cards in the newer Apple notebooks (and possibly other 802.11g equipment) to connect to HostAP systems? Apparently, they fail to con"nect properly because the 802.11g cards advertise bit rates higher than the standard 802.11b ones, and just cut the connection, resulting in a association failure. I'm willing to do any testing necessary to get this working Thanks, Ben -- It is ok to be ignorant in some areas, but some people abuse the privileg" and http://www.monkey.org/openbsd/archi...7/msg00807.html "It worked with the older airport extreme firmware but not with the current firmware. Here's a workaround: Index: if_wi_hostap.c ================================================== ================= RCS file: /cvs/src/sys/dev/ic/if_wi_hostap.c,v retrieving revision 1.25 diff -u -r1.25 if_wi_hostap.c --- sys/dev/ic/if_wi_hostap.c 16 May 2003 02:30:40 -0000 1.25 +++ sys/dev/ic/if_wi_hostap.c 1 Jul 2003 22:29:25 -0000 @@ -570,9 +570,11 @@ seq = take_hword(&pkt, &len); status = take_hword(&pkt, &len); challenge_len = 0; +#if 0 if (len > 0 && (challenge_len = take_tlv(&pkt, &len, IEEE80211_ELEMID_CHALLENGE, challenge, sizeof(challenge))) < 0) return; +#endif if (sc->sc_arpcom.ac_if.if_flags & IFF_DEBUG) printf("wihap_auth_req: station %s algo=0x%x seq=0x%x\n"," From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:03:31 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 628EE16A4CE for ; Mon, 24 Jan 2005 05:03:31 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D842F43D41 for ; Mon, 24 Jan 2005 05:03:30 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O53SVX021673 for ; Mon, 24 Jan 2005 00:03:30 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <41F170F1.2010701@finnovative.net> Date: Mon, 24 Jan 2005 00:03:27 -0500 To: freebsd-ppc@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 05:03:31 -0000 At 10:55 PM -0500 1/23/05, Garance A Drosihn wrote: > >It downloaded the files, installed everything, and I could reboot >the system. Further information on what you might want to do at that >point are described in: > > http://people.freebsd.org/~grehan/miniinst.txt The instructions in this file includes the section: a) leave the CD in the drive, break into OpenFirmware at boot, and 0 > boot cd:,\boot\loader hd:11 (or hd:X, where X is the partition number that FreeBSD was installed on) or b) Boot into OSX and copy /boot/loader from the miniinst CD into / on OSX. Reboot, break into OpenFirmware, and 0 > boot hd:loader hd:11 I couldn't get the second one to work for me. In my case, I have a MacOS 10 install on hd #9, with freebsd on hd #5. The following did seem to work: 0 > boot hd:9,loader hd:5 in fact, I copied the /boot/loader file into a file called /fbsd_loader on that MacOS 10 installation, just so it'd be more obvious the file had nothing to do with MacOS 10. So, I use 'fbsd_loader' instead of 'loader' in the above. I have tried to come up with some kind of trick where I could select a MacOS 10 partition, and have the machine boot up the freebsd boot loader instead of the MacOS 10 kernel, but none of those tricks have worked... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:22:24 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01F7716A4CE; Mon, 24 Jan 2005 05:22:24 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93CD643D41; Mon, 24 Jan 2005 05:22:23 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O5MLKw003307; Mon, 24 Jan 2005 00:22:22 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F47C1C.2060608@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> Date: Mon, 24 Jan 2005 00:22:19 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 05:22:24 -0000 At 2:39 PM +1000 1/24/05, Peter Grehan wrote: > > > Well, I did get it going. There are a lot of things that I > > am tempted to do with it, > > Let us in on your plans! At the moment I'm trying to get the >latest Xorg server port running. Nothing too exciting. Now that I know I *can* install it, I might re-parition the whole thing to have multiple FreeBSD installs. That has saved me several times when developing on i386 and sparc64! And I want to set up some of my "standard programs" (which doesn't include X...), like bash, rsync, and subversion. And there's some other changes I'm working on, where I would like to at least test-compile on PPC before I do anything with them. I'd also like to try OpenBSD/macppc on it, just to see how close that comes to working. And of course, I also have some MacOS-related things to test. This Mac-mini is in my office, and if it works out well then I'll probably buy another one to replace a G4 cube that I am still using for some things at home. >>Oh, one more thing I noticed. When I reboot back into MacOS 10, >>it still shows the two freebsd partitions, and it claims they >>are formatted as "MacOS Extended (Journalled)". [...] > > It shouldn't matter too much. FreeBSD ignores the partition >type and doesn't change it. Actually, what I'm the most worried about is that the MacOS 10 side thinks that is a perfectly nice, empty, usable partition. Is there any good way to hide those partitions from MacOS 10? (I guess I could just unmount them at startup). -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:28:36 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26D6416A4CF for ; Mon, 24 Jan 2005 05:28:36 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E2543D46 for ; Mon, 24 Jan 2005 05:28:35 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O5SYHZ003880 for ; Mon, 24 Jan 2005 00:28:34 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <41F170F1.2010701@finnovative.net> Date: Mon, 24 Jan 2005 00:28:33 -0500 To: freebsd-ppc@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 05:28:36 -0000 At 10:55 PM -0500 1/23/05, Garance A Drosihn wrote: > >I bought the Mac-mini which has a 1.42GHz G4 processor, and an >"80-gig" hard disk (it's really about 74.5 gig). In order to get one on the first day, I had to take a standard config. So, I don't have bluetooth or airport extreme on this Mac-mini. I have no idea what FreeBSD might do with those. > [... In disklabel:] I found the partition which I >had created for FreeBSD (in my case it was 'ad0s5'), and >created a partition there, naming it '/'. Oh, and since I only have one partition for *everything* in FreeBSD, I turned on softupdates for the '/' partition. I don't know if anyone else has been running softupdates on PPC... (I would like it for doing dump/restore copies, if nothing else) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:37:25 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDAA916A4CE for ; Mon, 24 Jan 2005 05:37:25 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B3C543D45 for ; Mon, 24 Jan 2005 05:37:25 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O5bNnP033406; Mon, 24 Jan 2005 15:37:23 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F48ACF.1050209@freebsd.org> Date: Mon, 24 Jan 2005 15:42:39 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 05:37:25 -0000 Hi Garance, > b) Boot into OSX and copy /boot/loader from the miniinst CD > into / on OSX. Reboot, break into OpenFirmware, and > > 0 > boot hd:loader hd:11 > > I couldn't get the second one to work for me. In my case, I have > a MacOS 10 install on hd #9, with freebsd on hd #5. The following > did seem to work: > > 0 > boot hd:9,loader hd:5 The "hd:" without a partition number signifies the default bootable partition on the drive. The value can be seen at the OFW prompt with 0 > printenv boot-volume .. and the contents found with: 0 > dir hd: Also, try: 0 > printenv boot-device On my Powerbook, this is "hd:,\\:tbxi", which means to go to the default directory ('\\') on the default partition, and load the file of type 'tbxi'. > I have tried to come up with some kind of trick where I could select > a MacOS 10 partition, and have the machine boot up the freebsd boot > loader instead of the MacOS 10 kernel, but none of those tricks have > worked... I haven't mucked around too much with this, but I suspect you need a Forth script similar to src/release/powerpc/boot.tbxi which would live on the default boot partition. Then, you could setenv the 'boot-command' variable in OpenFirmware to boot with this file. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 05:41:20 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD58216A4CE for ; Mon, 24 Jan 2005 05:41:20 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2944B43D31 for ; Mon, 24 Jan 2005 05:41:20 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O5fJnP033425; Mon, 24 Jan 2005 15:41:19 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F48BBB.3080708@freebsd.org> Date: Mon, 24 Jan 2005 15:46:35 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - dmesg.boot! 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, 24 Jan 2005 05:41:20 -0000 > Nothing too exciting. Now that I know I *can* install it, I > might re-parition the whole thing to have multiple FreeBSD > installs. That has saved me several times when developing on > i386 and sparc64! And I want to set up some of my "standard > programs" (which doesn't include X...), like bash, rsync, and > subversion. And there's some other changes I'm working on, where > I would like to at least test-compile on PPC before I do anything > with them. I'm very happy to see it getting some normal use :) > I'd also like to try OpenBSD/macppc on it, just to see how > close that comes to working. NetBSD definitely runs on it, and I'm pretty sure Open would as well. >> It shouldn't matter too much. FreeBSD ignores the partition >> type and doesn't change it. > > > Actually, what I'm the most worried about is that the MacOS 10 > side thinks that is a perfectly nice, empty, usable partition. > Is there any good way to hide those partitions from MacOS 10? > (I guess I could just unmount them at startup). The best way is to have a partition type that OSX doesn't understand, but as you've seen Apple have dumbed down the disk utility so you can't set the type to other than HFS+ or UFS. At some point I'll bring the pdisk utility into the tree, and that could be used to change partition types from a bootable CD. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 06:00:36 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B0E016A4CF; Mon, 24 Jan 2005 06:00:36 +0000 (GMT) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA82343D45; Mon, 24 Jan 2005 06:00:35 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0O60XUx007504; Mon, 24 Jan 2005 01:00:34 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F48ACF.1050209@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F48ACF.1050209@freebsd.org> Date: Mon, 24 Jan 2005 01:00:32 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 06:00:36 -0000 At 3:42 PM +1000 1/24/05, Peter Grehan wrote: >Hi Garance, Hello again.. thanks for all the quick replies! :-) >>I couldn't get the second one to work for me. In my case, I have >>a MacOS 10 install on hd #9, with freebsd on hd #5. The following >>did seem to work: >> >> 0 > boot hd:9,loader hd:5 > > The "hd:" without a partition number signifies the default bootable >partition on the drive. The value can be seen at the OFW prompt with > >0 > printenv boot-volume Mine seems to be partition 3. I do have another install of MacOS on partition 3, but the default-one (as set by "Startup Disk") was pointing at the one on partition 9. It is probably true that I installed MacOS on partition 3 before partition 9. Note that partition 3 is a stripped-down install, so maybe it's missing something. partition 9 is the full-install of MacOS. > .. and the contents found with: > >0 > dir hd: This tells me "dir hd: DIR method failed" > Also, try: > >0 > printenv boot-device Mine is: pci2/ata-6@D/@0:9,\\:tbxi hd:,\\:tbxi >>I have tried to come up with some kind of trick where I could select >>a MacOS 10 partition, and have the machine boot up the freebsd boot >>loader instead of the MacOS 10 kernel, but none of those tricks have >>worked... > > I haven't mucked around too much with this, but I suspect you need >a Forth script similar to src/release/powerpc/boot.tbxi which would >live on the default boot partition. Then, you could setenv the >'boot-command' variable in OpenFirmware to boot with this file. Hmm. Is there somewhere which would document what openfirmware commands I might have to play with? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 06:03:34 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF11716A4CE for ; Mon, 24 Jan 2005 06:03:34 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0798B43D46 for ; Mon, 24 Jan 2005 06:03:34 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O63WnP033514; Mon, 24 Jan 2005 16:03:32 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F490F0.9020901@freebsd.org> Date: Mon, 24 Jan 2005 16:08:48 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - some initial details 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, 24 Jan 2005 06:03:34 -0000 > In order to get one on the first day, I had to take a standard > config. So, I don't have bluetooth or airport extreme on this > Mac-mini. I have no idea what FreeBSD might do with those. Nothing yet. Maybe never :-( They're both Broadcom parts with no public documentation. I've used external Bluetooth USB dongles successfully on FreeBSD/PPC. >> [... In disklabel:] I found the partition which I >> had created for FreeBSD (in my case it was 'ad0s5'), and >> created a partition there, naming it '/'. > > > Oh, and since I only have one partition for *everything* in > FreeBSD, I turned on softupdates for the '/' partition. I don't > know if anyone else has been running softupdates on PPC... > > (I would like it for doing dump/restore copies, if nothing else) I haven't tried that, so let us know how it goes. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 24 08:06:35 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 078D716A4CE for ; Mon, 24 Jan 2005 08:06:35 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48ADB43D2D for ; Mon, 24 Jan 2005 08:06:34 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0O86UnP034345; Mon, 24 Jan 2005 18:06:32 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F4ADC1.8070201@freebsd.org> Date: Mon, 24 Jan 2005 18:11:45 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mauro References: <1106542417.29481.168.camel@localhost.localdomain> In-Reply-To: <1106542417.29481.168.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: airport estreme with Freebsd 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, 24 Jan 2005 08:06:35 -0000 Hi Mauro, > It seems there are some bsd people messing around with airport extreme. > I'm wondering if freebsd macppc will be able to make use of this. > Are you guys aware of this? How far is this along? Usable? I'm quite sure the airport-extreme hardware in recent notebooks can't be supported by open source o/s's because Broadcom hasn't released the documentation and firmware required to write drivers. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 03:36:22 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CB416A4CE; Thu, 27 Jan 2005 03:36:22 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80ECE43D48; Thu, 27 Jan 2005 03:36:21 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0R3aJfc006583; Wed, 26 Jan 2005 22:36:19 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41F48BBB.3080708@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> Date: Wed, 26 Jan 2005 22:36:18 -0500 To: Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 03:36:22 -0000 At 3:46 PM +1000 1/24/05, Peter Grehan wrote: >>Nothing too exciting. Now that I know I *can* install it, I >>might re-parition the whole thing to have multiple FreeBSD >>installs. That has saved me several times when developing on >>i386 and sparc64! And I want to set up some of my "standard >>programs" (which doesn't include X...), like bash, rsync, and >>subversion. ... > > I'm very happy to see it getting some normal use :) Heh. Give me a few weeks of asking dumb questions, and you'll probably be avoiding your in-box... I built many of the ports I was interested in, and that seemed to go fairly well. I tried to do a buildworld of the latest /usr/src, and that dies while trying to build libasn1 in kerberos5, with an 'Abort trap (core dumped)' in cc. However, I was able to do a complete build/install cycle if I started with the snapshot of /usr/src which was installed by the CD. It looks like that /usr/src might include a few important changes which haven't been committed yet. Also, I was wondering if there's a way to "window-back" on a console session, like one does on i386 using scroll-lock. Hmm. And after running this for a few days without any problem, including a few buildworld attempts, the machine just locked up on me. Is there some key sequence which would trigger a dump? Would a dump be of any use? (the hang might be due to something I did. I was typing at the time, and I may have hit some combination of the option or command-key with some other keys, when I meant to be hitting the control-key with them). -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 03:56:04 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 877D816A4CE for ; Thu, 27 Jan 2005 03:56:04 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3C4143D1D for ; Thu, 27 Jan 2005 03:56:03 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R3txnP043762; Thu, 27 Jan 2005 13:55:59 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F8678A.5020005@freebsd.org> Date: Thu, 27 Jan 2005 14:01:14 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 03:56:04 -0000 Hi Garance, > Heh. Give me a few weeks of asking dumb questions, and you'll > probably be avoiding your in-box... I'm happy to have > 0 users, so ask all the questions you want :) > I tried to do a buildworld of the latest /usr/src, and that dies > while trying to build libasn1 in kerberos5, with an > 'Abort trap (core dumped)' > in cc. However, I was able to do a complete build/install cycle > if I started with the snapshot of /usr/src which was installed by > the CD. It looks like that /usr/src might include a few important > changes which haven't been committed yet. Yes: the main one is the toolchain patch: www.freebsd.org/~grehan/sysv4.h.diff Half of this patch is in gcc source: not sure what's happening with the __PIC__ portion since I haven't been able to raise David O'Brien on that matter. There's another one for module support: www.freebsd.org/~grehan/rs6000.c.diff .. but that won't stop a successful build. There's a minor sysinstall diff, but no major ones I can think of. > Also, I was wondering if there's a way to "window-back" on a > console session, like one does on i386 using scroll-lock. Do you know if the USB kbd code translates F14 to scroll-lock ? If it does, then there should be no reason why this wouldn't work. I'll look into it. > Hmm. And after running this for a few days without any problem, > including a few buildworld attempts, the machine just locked up > on me. Is there some key sequence which would trigger a dump? > Would a dump be of any use? (the hang might be due to something > I did. I was typing at the time, and I may have hit some > combination of the option or command-key with some other keys, > when I meant to be hitting the control-key with them). If it doesn't respond to outside pings, I'd say it's hung. There's no easy way to generate an NMI on Mac platforms, so it's time to reboot :( later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:06:51 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71BE516A4CE; Thu, 27 Jan 2005 04:06:51 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B85743D41; Thu, 27 Jan 2005 04:06:51 +0000 (GMT) (envelope-from leimy2k@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146])j0R46oRQ007093; Wed, 26 Jan 2005 20:06:51 -0800 (PST) Received: from [192.168.1.100] (c-24-17-100-138.client.comcast.net [24.17.100.138]) (authenticated bits=0)j0R46kVu028223; Wed, 26 Jan 2005 20:06:47 -0800 (PST) In-Reply-To: <41F8678A.5020005@freebsd.org> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> Content-Transfer-Encoding: 7bit From: David Leimbach Date: Wed, 26 Jan 2005 20:06:43 -0800 To: Peter Grehan X-Mailer: Apple Mail (2.619.2) cc: Garance A Drosihn cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 04:06:51 -0000 > > If it doesn't respond to outside pings, I'd say it's hung. There's > no easy way to generate an NMI on Mac platforms, so it's time to > reboot :( > Command-Power on powerbooks does an NMI IIRC. > 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 Thu Jan 27 04:07:08 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43A6716A4CE for ; Thu, 27 Jan 2005 04:07:08 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FDFF43D31 for ; Thu, 27 Jan 2005 04:07:07 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R476nP043814; Thu, 27 Jan 2005 14:07:06 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F86A24.4030800@freebsd.org> Date: Thu, 27 Jan 2005 14:12:20 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F48ACF.1050209@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - some initial details 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: Thu, 27 Jan 2005 04:07:08 -0000 Hi Garance, Oops, meant to respond to this: >> I haven't mucked around too much with this, but I suspect you need >> a Forth script similar to src/release/powerpc/boot.tbxi which would >> live on the default boot partition. Then, you could setenv the >> 'boot-command' variable in OpenFirmware to boot with this file. > > Hmm. Is there somewhere which would document what openfirmware > commands I might have to play with? No real documentation, but you can modify the CD boot script without much trouble. e.g. Copy /boot/boot.tbxi to the OSX root dir, and change the lines from: " screen" output boot cd:,\boot\loader cd:0 to " screen" output boot hd:9,\loader hd:5 ... assuming that OSX is on partition 9 and FreeBSD is on 5. At this point, you can boot from the OpenFirmware prompt with 0 > boot hd:9,\boot.tbxi and, you can set up an automatic boot with 0 > setenv boot-device hd:9,\boot.tbxi 0 > reset-all ... which will then reboot. This doesn't work on my eMac, but then, CD auto-boot doesn't either. But, since it worked OK on the mini I'm confident the above will also work there. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:12:53 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF48116A4CE for ; Thu, 27 Jan 2005 04:12:53 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19E6043D31 for ; Thu, 27 Jan 2005 04:12:53 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R4CpnP043849; Thu, 27 Jan 2005 14:12:51 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F86B7E.3030006@freebsd.org> Date: Thu, 27 Jan 2005 14:18:06 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Leimbach References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> In-Reply-To: <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 04:12:53 -0000 David Leimbach wrote: >> >> If it doesn't respond to outside pings, I'd say it's hung. There's >> no easy way to generate an NMI on Mac platforms, so it's time to >> reboot :( >> > > Command-Power on powerbooks does an NMI IIRC. It's not *really* an NMI, since AFIK and looking at Darwin source, the external PMU generates an external interrupt in this case. These can be masked on PPC by clearing the PSL_EE bit in the machine status register. There are times when FreeBSD might be stuck in a loop with PSL_EE cleared, and you still want to break in, for example by generating a RESET interrupt and not an external interrupt. It would still be useful to support the PMU-generated Command-Power interrupt however :) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:15:18 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B28416A4CE; Thu, 27 Jan 2005 04:15:18 +0000 (GMT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C148B43D31; Thu, 27 Jan 2005 04:15:17 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0R4FFPN011531; Wed, 26 Jan 2005 23:15:16 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> Date: Wed, 26 Jan 2005 23:15:14 -0500 To: David Leimbach , Peter Grehan From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 04:15:18 -0000 At 8:06 PM -0800 1/26/05, David Leimbach wrote: >> If it doesn't respond to outside pings, I'd say it's hung. >>There's no easy way to generate an NMI on Mac platforms, so >>it's time to reboot :( >> > >Command-Power on powerbooks does an NMI IIRC. Heh. I was wondering about that, but the USB keyboard that I have does not include a power-on key... My mac was not responding to anything on the keyboard, and attempts to ssh into the box were timing out, so I held down the power button on the back of the Mac-mini for a few (10?) seconds. That successfully powered it down, and then I powered it back up. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 04:17:54 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C5E516A4CE for ; Thu, 27 Jan 2005 04:17:54 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B68443D54 for ; Thu, 27 Jan 2005 04:17:53 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.31.113] (CPE-31-113.dsl.onthenet.net [203.144.31.113]) j0R4HpnP043881; Thu, 27 Jan 2005 14:17:52 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41F86CAA.1070007@freebsd.org> Date: Thu, 27 Jan 2005 14:23:06 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garance A Drosihn References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> <41F8678A.5020005@freebsd.org> <4d31b98a8d4f2abc19afd42edf17bf68@mac.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 04:17:54 -0000 >> Command-Power on powerbooks does an NMI IIRC. > > > Heh. I was wondering about that, but the USB keyboard that I have > does not include a power-on key... > > My mac was not responding to anything on the keyboard, and attempts to > ssh into the box were timing out, so I held down the power button on > the back of the Mac-mini for a few (10?) seconds. That successfully > powered it down, and then I powered it back up. That's the equivalent for machines that don't have a programmer's switch (e.g. eMac, G5 powermacs) since the external PMU microcontroller handles the power switch and can be programmed to either cycle the power or generate the 'nmi' interrupt. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 27 06:32:06 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E320D16A4CE for ; Thu, 27 Jan 2005 06:32:06 +0000 (GMT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8697B43D4C for ; Thu, 27 Jan 2005 06:32:06 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j0R6W2GL003811 for ; Thu, 27 Jan 2005 01:32:04 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> Date: Thu, 27 Jan 2005 01:32:01 -0500 To: freebsd-ppc@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Mac mini and FreeBSD - buildworld 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: Thu, 27 Jan 2005 06:32:07 -0000 At 10:36 PM -0500 1/26/05, Garance A Drosihn wrote: > >Hmm. And after running this for a few days without any problem, >including a few buildworld attempts, the machine just locked up >on me. Well, it came up with a 'partially-truncated inode', and I had to run `fsck' manually. Note that while I am running with softupdates turned on for the /-partition, I also have background_fsck="NO" set in /etc/rc.conf, so the fsck has to succeed before the system comes completely up. So it went into single-user mode, I did the 'fsck -y', rebooted, and it seems to have recovered okay. (I just wanted to mention the background_fsck="NO" part, in case anyone else is thinking of running with softupdates turned on...) -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 29 16:29:02 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D2F16A4CE for ; Sat, 29 Jan 2005 16:29:02 +0000 (GMT) Received: from mail.finnovative.net (mail.finnovative.net [204.247.59.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66DDF43D3F for ; Sat, 29 Jan 2005 16:29:02 +0000 (GMT) (envelope-from linuxuser@finnovative.net) Received: from [192.168.1.124] ([192.168.55.1]) by mail.finnovative.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Sat, 29 Jan 2005 08:29:01 -0800 Message-ID: <41FBB9C2.2000308@finnovative.net> Date: Sat, 29 Jan 2005 08:28:50 -0800 From: Joaquin Menchaca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <41F170F1.2010701@finnovative.net> <5AE2178E-6C08-11D9-9DB7-000A959815C2@mac.com> In-Reply-To: <5AE2178E-6C08-11D9-9DB7-000A959815C2@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Jan 2005 16:29:01.0325 (UTC) FILETIME=[A3E31BD0:01C5061F] Subject: Re: Mac mini and FreeBSD 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, 29 Jan 2005 16:29:02 -0000 David Leimbach wrote: > And once you have FreeBSD PPC... you can do weird stuff like this: > > http://www.macminicolo.net/faq.html > I cannot find the link. Is the this a registered DNS name? From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 29 16:33:06 2005 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B29516A4D0 for ; Sat, 29 Jan 2005 16:33:06 +0000 (GMT) Received: from mail.finnovative.net (mail.finnovative.net [204.247.59.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05A6543D54 for ; Sat, 29 Jan 2005 16:33:06 +0000 (GMT) (envelope-from linuxuser@finnovative.net) Received: from [192.168.1.124] ([192.168.55.1]) by mail.finnovative.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Sat, 29 Jan 2005 08:33:05 -0800 Message-ID: <41FBBABF.3070709@finnovative.net> Date: Sat, 29 Jan 2005 08:33:03 -0800 From: Joaquin Menchaca User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <41F170F1.2010701@finnovative.net> <41F3AFBD.60505@freebsd.org> <41F47300.3050406@freebsd.org> <41F47C1C.2060608@freebsd.org> <41F48BBB.3080708@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Jan 2005 16:33:05.0569 (UTC) FILETIME=[3577C910:01C50620] Subject: Re: Mac mini and FreeBSD - buildworld 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, 29 Jan 2005 16:33:06 -0000 >> >> I'm very happy to see it getting some normal use :) No problem here. I am a newbie, and I just got a Mac-Mini. I want to install FreeBSD on it. - joaquin