From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 5 13:42:45 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 134D71065688 for ; Sun, 5 Oct 2008 13:42:45 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id B9F068FC15 for ; Sun, 5 Oct 2008 13:42:44 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.140.221.138]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Sun, 05 Oct 2008 09:31:47 -0400 id 000AC326.48E8C1C3.000035E6 Date: Sun, 5 Oct 2008 09:31:19 -0400 From: Justin Hibbits To: freebsd-ppc@freebsd.org Message-ID: <20081005133119.GA64232@narn.knownspace> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Apple Burgundy Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 13:42:45 -0000 On Sat, Oct 04, 2008 at 08:25:49PM +0200, Marco Trillo wrote: > Hi all, > > I've implemented output support for the Apple "Burgundy" audio device, > in addition to the "Screamer" one which I mentioned in my earlier > message (both of these use same DAVbus-style controller). > > These are the new-world machines wich this chip: > > - "PowerMac1,1" PowerMac G3 Blue&White > - "PowerMac1,2" PowerMac G4 PCI graphics (Yikes) > - "iMac,1" original iMac rev. A-D > > Anyone with one of these machines interested in testing it? > > Thanks, > Marco. I don't have either of these, but I do have a "Snapper" audio controller. How hard would it be to write that driver, either by extending your existing driver, or porting the one from NetBSD? - Justin From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 5 14:00:57 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161CB106568F for ; Sun, 5 Oct 2008 14:00:57 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6441F8FC1E for ; Sun, 5 Oct 2008 14:00:56 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2247245wfg.7 for ; Sun, 05 Oct 2008 07:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HXY6wYCwb0MJwXRjtfR0oCSuBkaY31tbiG/g2SGPYzw=; b=ccxA3kJdKFPjvFrcJ3UNQDfJU6TBHpWFfeXylJVpmvBlda+BYsEL6A3W9Y8ZjMdqT6 KFlJfz6D0To4dy181sSSo3vvQhwbxQ883B6dx162dT/GgsTKsrR2VSMuFgW/8iwfh0nx AVKxrwZyRJWrbmieMxkAnskrj/qK1VphsU1zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NbqPwucXoDH9By703Y8asVfMKIbO9tUlUZMZhRnu5jZtFJha9Lxz45tWdRL2bkVCtl ODAIiDbsY3E25WUVyQ63hXS1pWsgEtZGkwV25CXZYEvA0dU05EEaEGG2kzysvcZMQ0Im iqQw16z/WUkmsEsR0BmY18zlG9D8s1Rn0RoDA= Received: by 10.142.11.2 with SMTP id 2mr1359500wfk.307.1223215255886; Sun, 05 Oct 2008 07:00:55 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Sun, 5 Oct 2008 07:00:55 -0700 (PDT) Message-ID: Date: Sun, 5 Oct 2008 16:00:55 +0200 From: "Marco Trillo" To: "Justin Hibbits" In-Reply-To: <20081005133119.GA64232@narn.knownspace> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081005133119.GA64232@narn.knownspace> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Burgundy Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 14:00:57 -0000 Hi, On Sun, Oct 5, 2008 at 3:31 PM, Justin Hibbits wrote: > On Sat, Oct 04, 2008 at 08:25:49PM +0200, Marco Trillo wrote: >> I've implemented output support for the Apple "Burgundy" audio device, >> in addition to the "Screamer" one which I mentioned in my earlier >> message (both of these use same DAVbus-style controller). >> >> These are the new-world machines wich this chip: >> >> - "PowerMac1,1" PowerMac G3 Blue&White >> - "PowerMac1,2" PowerMac G4 PCI graphics (Yikes) >> - "iMac,1" original iMac rev. A-D >> >> Anyone with one of these machines interested in testing it? >> >> Thanks, >> Marco. > > I don't have either of these, but I do have a "Snapper" audio controller. How > hard would it be to write that driver, either by extending your existing driver, > or porting the one from NetBSD? Support for the "Snapper" and "Tumbler" codecs is next on my todo list -- in fact I already have support for the I2S controller used there -- and it's almost ready. I'll post another message when I have it finished. Thanks! Marco. From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 5 21:00:22 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54F1710656A8 for ; Sun, 5 Oct 2008 21:00:22 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id F1C908FC5E for ; Sun, 5 Oct 2008 21:00:21 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m95L0IjK042368; Sun, 5 Oct 2008 23:00:18 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48E92AE2.108@fgznet.ch> Date: Sun, 05 Oct 2008 23:00:18 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marcel Moolenaar , Nathan Whitehorn References: <48D389EE.9000207@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> <48DA4037.9000508@freebsd.org> <48DBD6C0.5070005@freebsd.org> <48DD2DF7.2020901@freebsd.org> <48DDAC14.9070604@freebsd.org> <48DE7C93.5050506@freebsd.org> <0D5AE023-0D54-43BA-A325-0E1BEEC39D28@mac.com> In-Reply-To: <0D5AE023-0D54-43BA-A325-0E1BEEC39D28@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: grehan@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: Call for testers: Apple ATA DMA X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 21:00:22 -0000 Marcel Moolenaar wrote: > > On Sep 27, 2008, at 11:33 AM, Nathan Whitehorn wrote: > >> Peter Grehan wrote: >>> Hi Nathan, >>> > If I can get positive reports from a few more people who were >>>> having trouble, I'll drop this in the tree. >>> The imac's ata-4 is working solidly at UDMA-66. The difference in CPU >>> usage and i/o with dd at 32k block size is stunning: 2MB/7% idle >>> before, 18MB/75% idle with your patch. >> >> I guess DMA is a useful technology :) >> >> Thanks for testing -- I've committed the patch. I'll revisit it when >> Marcel tests it on Monday and it erases his hard drive... > > Good and bad news. > > The good: my Xserve is working fine and acd0 is now using UDMA33 > instead of BIOSPIO. > > The bad: my Mac Mini G4 is still having the same problems. This > is ad0 at UDMA66 and acd0 at UDMA33. I'll experiment with it a > bit later... I'll pick up here. Here I have a imac slot-loading, don't know which revision offhand. It's a 500MHz piece w/o fan. ad0: 78167MB at ata0-master UDMA66 acd0: DVDR at ata0-slave UDMA33 GEOM_LABEL: Label for provider acd0 is iso9660/CDROM. WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0s10 lock order reversal: 1st 0xe19000 vfslock (vfslock) @ /usr/src/sys/kern/vfs_subr.c:372 2nd 0xdcce2c devfs (devfs) @ /usr/src/sys/kern/vfs_lookup.c:428 3rd 0xe18d48 vfslock (vfslock) @ /usr/src/sys/kern/vfs_subr.c:372 KDB: stack backtrace: 0xdf2cc898: at kdb_backtrace+0x4c 0xdf2cc8a8: at _witness_debugger+0x3c 0xdf2cc8c8: at witness_checkorder+0x878 0xdf2cc928: at __lockmgr_args+0x23c 0xdf2cc9a8: at vfs_busy+0x19c 0xdf2cc9c8: at vfs_mount_alloc+0x80 0xdf2cc9f8: at vfs_donmount+0xfe0 0xdf2ccba8: at kernel_mount+0x98 0xdf2ccbe8: at kernel_vmount+0xdc 0xdf2ccc28: at vfs_mountroot_try+0x110 0xdf2cccd8: at vfs_mountroot+0x424 0xdf2ccd38: at start_init+0x88 0xdf2ccd98: at fork_exit+0xf0 0xdf2ccdc8: at fork_trampoline+0xc lock order reversal: 1st 0xdcc9ec ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2051 2nd 0xe19000 vfslock (vfslock) @ /usr/src/sys/kern/vfs_subr.c:372 KDB: stack backtrace: 0xdf2cc928: at kdb_backtrace+0x4c 0xdf2cc938: at _witness_debugger+0x3c 0xdf2cc958: at witness_checkorder+0x878 0xdf2cc9b8: at __lockmgr_args+0x23c 0xdf2cca38: at vfs_busy+0x19c 0xdf2cca58: at lookup+0x86c 0xdf2ccae8: at namei+0x4a8 0xdf2ccb68: at kern_unlinkat+0x98 0xdf2ccc18: at kern_unlink+0x24 0xdf2ccc28: at vfs_mountroot_try+0x434 0xdf2cccd8: at vfs_mountroot+0x424 0xdf2ccd38: at start_init+0x88 0xdf2ccd98: at fork_exit+0xf0 0xdf2ccdc8: at fork_trampoline+0xc lock order reversal: 1st 0xc41048 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 2nd 0xdcc7cc ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2051 KDB: stack backtrace: 0xdf2cc960: at kdb_backtrace+0x4c 0xdf2cc970: at _witness_debugger+0x3c 0xdf2cc990: at witness_checkorder+0x878 0xdf2cc9f0: at __lockmgr_args+0x23c 0xdf2cca70: at ffs_lock+0x9c 0xdf2ccaa0: at VOP_LOCK1_APV+0xec 0xdf2ccac0: at _vn_lock+0x84 0xdf2ccb10: at vget+0xdc 0xdf2ccb50: at vnode_pager_lock+0x20c 0xdf2ccba0: at vm_fault+0x218 0xdf2cccb0: at trap_pfault+0x128 0xdf2ccce0: at trap+0x1ac 0xdf2ccda0: at powerpc_interrupt+0x15c 0xdf2ccdd0: user ISI trap by 0x1818714: srr1=0x4000d032 r1=0x7fffdee0 cr=0x24000048 xer=0 ctr=0 lock order reversal: 1st 0xd871c708 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0xff32800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:254 KDB: stack backtrace: 0xe1748780: at kdb_backtrace+0x4c 0xe1748790: at _witness_debugger+0x3c 0xe17487b0: at witness_checkorder+0x878 0xe1748810: at _sx_xlock+0x90 0xe1748840: at ufsdirhash_acquire+0x40 0xe1748860: at ufsdirhash_add+0x30 0xe1748880: at ufs_direnter+0x6d4 0xe17488f0: at ufs_makeinode+0x498 0xe1748a50: at ufs_create+0x44 0xe1748a60: at VOP_CREATE_APV+0xe0 0xe1748a80: at vn_open_cred+0x208 0xe1748b70: at vn_open+0x20 0xe1748b80: at kern_openat+0x11c 0xe1748cc0: at kern_open+0x34 0xe1748cd0: at open+0x28 0xe1748ce0: at trap+0x460 0xe1748da0: at powerpc_interrupt+0x15c 0xe1748dd0: user SC trap by 0x21b17df8: srr1=0xd032 r1=0x7f8f8dc0 cr=0x44002022 xer=0 ctr=0x21a08290 I did an upgrade from 7.0 with csup since the snapshots do not boot. After that I tried a buildworld with several hassles, after all I managed to install the whole stuff and the only thing which makes me curious is the one above, the LOR's. Do I have to worry about? @ Nathan, hat off, it feels snappier with your DMA stuff, THANKS! I'd like to help testing, especially the work from Nathan and Marco. Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 02:02:57 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26982106568D for ; Mon, 6 Oct 2008 02:02:57 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id CB61F8FC0C for ; Mon, 6 Oct 2008 02:02:56 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.140.221.138]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Sun, 05 Oct 2008 22:02:55 -0400 id 000AC52D.48E971CF.000066DD Date: Sun, 5 Oct 2008 22:02:51 -0400 From: Justin Hibbits To: freebsd-ppc@freebsd.org Message-ID: <20081006020251.GA1128@narn.knownspace> References: <1222945436.15248.103.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1222945436.15248.103.camel@horst-tla> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Extreme difficulty with partitioning on mac powerpc g4. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 02:02:57 -0000 On Thu, Oct 02, 2008 at 09:03:56PM +1000, Horst Günther Burkhardt III wrote: > a) Is there a known workaround? > ` - b) If there is, why are there no docs anywhere on the internet? > ` - c) If (following either assistance or dumb luck) I get it > working, would a "walkthrough" be welcomed? (see lack of docs) > |- d) If no known workaround, are there any suggestions from the ppc > devs and users on this ML? > > Extra info: this is a Power Mac G4 (ADC/Gigabit Ethernet) with two > harddrives: one 40GB and one 60GB. > > My intended partition layout is: > > /---------------- > IDE0 Master: 40GB > ----------------- > Partition 0: (smallest amount possible) (whatever's needed to allow > autoboot into FreeBSD, I've > nuked OS X) > > Partition 1: (the remainder) FreeBSD UFS2, mountpoint / > > > > IDE0 Slave : 60GB > ----------------- > Partition 0: 2GB FreeBSD swap > Partition 1: 58GB FreeBSD UFS2, mountpoint /usr > \---------------- I don't think partitioning is supported on ppc yet. Better to use the OS X Disk Utility, or another PPC partitioner before installing FreeBSD. > --Horst. - Justin From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 04:15:05 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D93851065692 for ; Mon, 6 Oct 2008 04:15:05 +0000 (UTC) (envelope-from www@banshee.munuc.org) Received: from banshee.munuc.org (unknown [IPv6:2001:4978:11f:d600::d610]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8208FC12 for ; Mon, 6 Oct 2008 04:15:05 +0000 (UTC) (envelope-from www@banshee.munuc.org) Received: from www by banshee.munuc.org with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KmhUt-000BQz-55; Sun, 05 Oct 2008 23:15:03 -0500 To: Andreas Tobler , freebsd-ppc@freebsd.org MIME-Version: 1.0 Date: Sun, 05 Oct 2008 23:15:03 -0500 From: Nathan Whitehorn In-Reply-To: <48E92AE2.108@fgznet.ch> References: <48D389EE.9000207@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> <48DA4037.9000508@freebsd.org> <48DBD6C0.5070005@freebsd.org> <48DD2DF7.2020901@freebsd.org> <48DDAC14.9070604@freebsd.org> <48DE7C93.5050506@freebsd.org> <0D5AE023-0D54-43BA-A325-0E1BEEC39D28@mac.com> <48E92AE2.108@fgznet.ch> Message-ID: X-Sender: nwhitehorn@freebsd.org User-Agent: RoundCube Webmail/0.1b Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Sender: World Wide Web Owner X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: www@banshee.munuc.org X-SA-Exim-Scanned: No (on banshee.munuc.org); SAEximRunCond expanded to false Cc: Subject: Re: Call for testers: Apple ATA DMA X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 04:15:05 -0000 On Sun, 05 Oct 2008 23:00:18 +0200, Andreas Tobler wrote: > Marcel Moolenaar wrote: >> >> On Sep 27, 2008, at 11:33 AM, Nathan Whitehorn wrote: >> >>> Peter Grehan wrote: >>>> Hi Nathan, >>>> > If I can get positive reports from a few more people who were >>>>> having trouble, I'll drop this in the tree. >>>> The imac's ata-4 is working solidly at UDMA-66. The difference in CPU >>>> usage and i/o with dd at 32k block size is stunning: 2MB/7% idle >>>> before, 18MB/75% idle with your patch. >>> >>> I guess DMA is a useful technology :) >>> >>> Thanks for testing -- I've committed the patch. I'll revisit it when >>> Marcel tests it on Monday and it erases his hard drive... >> >> Good and bad news. >> >> The good: my Xserve is working fine and acd0 is now using UDMA33 >> instead of BIOSPIO. >> >> The bad: my Mac Mini G4 is still having the same problems. This >> is ad0 at UDMA66 and acd0 at UDMA33. I'll experiment with it a >> bit later... > > I'll pick up here. > > Here I have a imac slot-loading, don't know which revision offhand. It's > a 500MHz piece w/o fan. > > [snipped dmesg] > > I did an upgrade from 7.0 with csup since the snapshots do not boot. The not booting is a bad sign. I know netbooting is broken for me on some machines with the current loader, due to changes in how it opens the network device which marius reverted for sparc64. > After that I tried a buildworld with several hassles, after all I > managed to install the whole stuff and the only thing which makes me > curious is the one above, the LOR's. > > Do I have to worry about? Nope. This is standard at the moment, and will get cleaned up eventually. I'd suggest turning off WITNESS and INVARIANTS in your kernel config, unless you are debugging something. It should speed up your system nicely. > @ Nathan, hat off, it feels snappier with your DMA stuff, THANKS! Glad to hear it! -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 11:07:00 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A660106568A for ; Mon, 6 Oct 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 190BF8FC14 for ; Mon, 6 Oct 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m96B6xAW035577 for ; Mon, 6 Oct 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m96B6x07035573 for freebsd-ppc@FreeBSD.org; Mon, 6 Oct 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Oct 2008 11:06:59 GMT Message-Id: <200810061106.m96B6x07035573@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- a power/121407 ppc [panic] Won't boot up; strange error message. o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 4 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 14:01:37 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B957B1065686 for ; Mon, 6 Oct 2008 14:01:37 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4F28FC0C for ; Mon, 6 Oct 2008 14:01:36 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m96E1YdT073228; Mon, 6 Oct 2008 16:01:34 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EA1A3D.3010607@fgznet.ch> Date: Mon, 06 Oct 2008 16:01:33 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 14:01:37 -0000 Hi Marco, Marco Trillo wrote: > - "PowerMac2,2" iMac DV ('00) (screamer, Device ID 11) This is one I own and it runs with CURRENT now. Tell me what to do. I picked the aoa.c from one your recent mails plus the dbma patch. Is there something else needed? TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 15:48:27 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316651065688 for ; Mon, 6 Oct 2008 15:48:27 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id DE3208FC08 for ; Mon, 6 Oct 2008 15:48:26 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so458399yxb.13 for ; Mon, 06 Oct 2008 08:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+NW+9um6/10s+oLkNMWfXuchLaJBiG2ehmYcrXUP8Aw=; b=LjpTRxV7VEPbiE1K/rZ8me/kzk5moZNKyDVmXw6LX+3Igjs+c6S5S9NW3tRNDzxvCo OCB+xd7avcYIpLE8grG3dfDHIzZZVEnT0smVmGMl8SZIP4lffcv4TA8pZlmtDov2E26u Kj1jguX3K8+tkWXVzt0y68Aq4Puk3qK/P/pZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JQc6bSC/RBfbyKl7fZnLaOwpdF7flEEDMomsn9KOnbNOro7k1icLYagKWlY7rUchgn 4GqkCkHgtuKxsjn6Q3cXo0jooDBe2aPa3sW5e615sgVX2zlTWEwd2ZTg7Vn3XdU1Cbja ZLddgguRG7uiu4UItj5XnWAGJir1I+eI8aFzo= Received: by 10.142.187.8 with SMTP id k8mr2054237wff.199.1223308105525; Mon, 06 Oct 2008 08:48:25 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Mon, 6 Oct 2008 08:48:25 -0700 (PDT) Message-ID: Date: Mon, 6 Oct 2008 17:48:25 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EA1A3D.3010607@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 15:48:27 -0000 Hi, On Mon, Oct 6, 2008 at 4:01 PM, Andreas Tobler wrote: >> - "PowerMac2,2" iMac DV ('00) (screamer, Device ID 11) > > This is one I own and it runs with CURRENT now. > > Tell me what to do. I picked the aoa.c from one your recent mails plus the > dbma patch. Is there something else needed? Thank you for the interest! Just put the aoa.c file in sys/powerpc/powermac and enable the aoa.c driver in the kernel config, as in the following patch, and compile the kernel: --- conf/files.powerpc.orig 2008-10-04 17:12:47.000000000 +0000 +++ conf/files.powerpc 2008-10-04 17:13:09.000000000 +0000 @@ -107,6 +107,7 @@ powerpc/ofw/ofw_pci.c optional pci aim powerpc/ofw/ofw_pcib_pci.c optional pci aim powerpc/ofw/ofw_syscons.c optional sc aim +powerpc/powermac/aoa.c optional powermac pci aoa powerpc/powermac/ata_kauai.c optional powermac ata powerpc/powermac/ata_macio.c optional powermac ata powerpc/powermac/ata_dbdma.c optional powermac ata --- powerpc/conf/GENERIC 2008-08-20 08:31:58.000000000 +0000 +++ powerpc/conf/GENERIC 2008-10-04 17:14:19.000000000 +0000 @@ -79,6 +79,10 @@ # Standard busses device pci +# Sound devices +device sound +device aoa # Apple Onboard Audio (AOA) + # ATA and ATAPI devices device ata device atadisk # ATA disk drives Hope it works fine for you, Marco. From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 19:54:39 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08DC61065687 for ; Mon, 6 Oct 2008 19:54:39 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 8048C8FC14 for ; Mon, 6 Oct 2008 19:54:37 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m96JsZEu037318 for ; Mon, 6 Oct 2008 21:54:36 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EA6CFB.8090002@fgznet.ch> Date: Mon, 06 Oct 2008 21:54:35 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Subject: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 19:54:39 -0000 Hi there, is there an upper physical memory size limitation on ppc? I play on a G3 imac with 1GB memory. On CURRENT. I often get SIGSEGV and a rebuild on that component succeeds. So, for me it seems strange. I'll change some DIMM's and see how far I get. But nevertheless, I remember back in 05, I had to reduce hw.physmem to 512MB. Is this still needed, Peter? TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 20:39:41 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A1C91065694 for ; Mon, 6 Oct 2008 20:39:41 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE038FC17 for ; Mon, 6 Oct 2008 20:39:41 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id D0EB111908; Tue, 7 Oct 2008 06:39:38 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EJV27136 (AUTH peterg@ptree32.com.au); Tue, 7 Oct 2008 06:38:57 +1000 (EST) From: Peter Grehan To: Andreas Tobler , freebsd-ppc@freebsd.org X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20081007063857.EJV27136@dommail.onthenet.com.au> Date: Tue, 7 Oct 2008 06:38:57 +1000 (EST) Cc: Subject: Re: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:39:41 -0000 Hi Andreas, >is there an upper physical memory size limitation on ppc? For an AIM system (G3/4/5) which is essentially Apple h/w, it's 2GB since Apple like to memory-map i/o above that. >I play on a G3 imac with 1GB memory. On CURRENT. I often >get SIGSEGV and a rebuild on that component succeeds. >So, for me it seems strange. I'll change some DIMM's and >see how far I get. I've not had that much RAM in a G3, but certainly have had 1GB in a number of G4's without problems. I'm guessing it's a VM bug rather than bad memory. Was the component you were building using a lot of VM ? (e.g. KDE) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 20:54:55 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4BB0106568F; Mon, 6 Oct 2008 20:54:55 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6928FC16; Mon, 6 Oct 2008 20:54:54 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m96Kspn7028759; Mon, 6 Oct 2008 22:54:52 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EA7B1B.9050006@fgznet.ch> Date: Mon, 06 Oct 2008 22:54:51 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Peter Grehan References: <20081007063857.EJV27136@dommail.onthenet.com.au> In-Reply-To: <20081007063857.EJV27136@dommail.onthenet.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:54:55 -0000 Hi Peter, Peter Grehan wrote: >> is there an upper physical memory size limitation on ppc? > > For an AIM system (G3/4/5) which is essentially Apple h/w, > it's 2GB since Apple like to memory-map i/o above that. Fortunately I have no more slots to fill :) >> I play on a G3 imac with 1GB memory. On CURRENT. I often >> get SIGSEGV and a rebuild on that component succeeds. >> So, for me it seems strange. I'll change some DIMM's and >> see how far I get. > > I've not had that much RAM in a G3, but certainly have had > 1GB in a number of G4's without problems. I'm guessing it's a > VM bug rather than bad memory. Was the component you were > building using a lot of VM ? (e.g. KDE) I remember back in 05 we had a similar issue when I tried 'buildworld' on a G4 alu book. Then you suggested to me to reduce hw.physmem to 512MB. Right now the failing parts are sporadic, during buildworld or buildkernel. For example, kerberos5 or openssl. Also nfs in buildkernel. You see somehow not predictable. A run over the failing part solves the 11. I'll reduce/replace the memory and see how it behaves. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 21:02:16 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 869CB1065688 for ; Mon, 6 Oct 2008 21:02:16 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id DC86F8FC17 for ; Mon, 6 Oct 2008 21:02:15 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m96L2DYf040070; Mon, 6 Oct 2008 23:02:13 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EA7CD4.7040404@fgznet.ch> Date: Mon, 06 Oct 2008 23:02:12 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 21:02:16 -0000 Hi Marco, Marco Trillo wrote: > On Mon, Oct 6, 2008 at 4:01 PM, Andreas Tobler wrote: >>> - "PowerMac2,2" iMac DV ('00) (screamer, Device ID 11) >> This is one I own and it runs with CURRENT now. >> >> Tell me what to do. I picked the aoa.c from one your recent mails plus the >> dbma patch. Is there something else needed? > > Thank you for the interest! [snip] > Hope it works fine for you, Unfortunately, no. Silence. But this might be due to the fact that I do something wrong. I do not have the aifftools, so I simply tried the cdcontrol and there nothing happens, silence. Here the lines from dmesg: Oct 5 22:38:46 imacb kernel: pcm0: mem 0x14000- 0x14fff,0x8800-0x88ff,0x8900-0x89ff irq 24,9,10 on macio0 Oct 5 22:38:46 imacb kernel: interrupting at irq 9 Oct 5 22:38:46 imacb kernel: pcm0: [ITHREAD] Oct 5 22:38:46 imacb kernel: pcm0: codec: Oct 5 22:38:46 imacb kernel: pcm0: [ITHREAD] Oct 5 22:38:46 imacb kernel: Enabled outputs: SPEAKER Oct 5 22:38:46 imacb kernel: volume 3 3 Oct 5 22:38:46 imacb kernel: pcm_getbuffersize returned 65536 Oct 5 22:38:46 imacb kernel: aoa_dma_setprd: addr = 31064064, 32 slots Oct 5 22:38:46 imacb kernel: aoa_chan_setformat: format = 268435488 Oct 5 22:38:46 imacb kernel: aoa_chan_setspeed: speed = 44100 Oct 5 22:38:46 imacb kernel: aoa_chan_setformat: format = 268435488 Oct 5 22:38:46 imacb kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 5 22:38:46 imacb kernel: aoa_chan_setspeed: speed = 44100 Oct 5 22:38:46 imacb kernel: aoa_chan_setformat: format = 268435488 Oct 5 22:38:46 imacb kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 5 22:38:46 imacb kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 Oct 5 22:38:46 imacb kernel: aoa_chan_setspeed: speed = 44100 Oct 5 22:38:46 imacb kernel: aoa_chan_setformat: format = 268435488 Oct 5 22:38:46 imacb kernel: aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 I tried to plug/unplug headphones and I see on the stdout the detection of my action. But still no sound. Neither speaker nor headphones. Do you have an advice on how to test this feature? I tried to find the aifftools but the sf link seems broken. TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 6 22:13:32 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87EC2106568F for ; Mon, 6 Oct 2008 22:13:32 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 4182A8FC12 for ; Mon, 6 Oct 2008 22:13:32 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so899644rne.12 for ; Mon, 06 Oct 2008 15:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zaWYTBF9Evcp1nyQopN1Cix6ce1NLMEshM4OjMZ4ECM=; b=a07qbNPxej3ISPR5gyLXHb7Rlu5HoQN6cH/oRVUIqoLR97AlqtTNAnNtxcl5bMqANZ OsutKGG2bAp9yOTgp4sfHFhMNdIeji9fihrNLNRNi8iRVg08Gkg9fR4Ddbd4ucrtEpVF eYwycfujzmef+rY7lM9BNx868fx6WKLQ5Yfio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Vs8j5Y+EoCzo3Ml1TSdaVLc32XvgXOi0WSffdfvAMWEpVE24cv94ufwqxB0auDR8Td yVdg27ycopONALzNHkzRl8UMUBBCa8VwF36xj/DDcZkTfbkV3tZyxj/WUxbzifzphMMN foXgx8AUYy/j9Zhr9Wzj5x8caR5kAjP55RZGA= Received: by 10.142.162.5 with SMTP id k5mr2239889wfe.145.1223331210823; Mon, 06 Oct 2008 15:13:30 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Mon, 6 Oct 2008 15:13:30 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 00:13:30 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EA7CD4.7040404@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 22:13:32 -0000 Hi, On Mon, Oct 6, 2008 at 11:02 PM, Andreas Tobler wrote: >> On Mon, Oct 6, 2008 at 4:01 PM, Andreas Tobler >> wrote: >>>> >>>> - "PowerMac2,2" iMac DV ('00) (screamer, Device ID 11) >>> >>> This is one I own and it runs with CURRENT now. >>> >>> Tell me what to do. I picked the aoa.c from one your recent mails plus >>> the >>> dbma patch. Is there something else needed? >> >> Thank you for the interest! > > [snip] > > >> Hope it works fine for you, > > Unfortunately, no. Silence. But this might be due to the fact that I do > something wrong. > I do not have the aifftools, so I simply tried the cdcontrol and there > nothing happens, silence. The 'cdcontrol' utility uses the CD drive itself to play the CD, it does not use the system digital audio device -- in fact it does not need sound support at all. To use the system audio device you can use a digital player -- many are available from the ports collection, for example "mpg321" for MP3 files. To play CDs you can rip the tracks from the CD with a tool such as "cdda2wav", "cdparanoia" or others, and then play the digital files with an audio player . The "aiffopen" utility is an example of such a player which reads AIFF files only. Thanks! Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 02:00:04 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D87E8106569A; Tue, 7 Oct 2008 02:00:04 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id B33328FC0A; Tue, 7 Oct 2008 02:00:04 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from nhanigal-lt.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8C000LBIV2YH90@asmtp018.mac.com>; Mon, 06 Oct 2008 18:59:41 -0700 (PDT) Message-id: <87398D41-9E76-4694-969C-43D7006DC73D@mac.com> From: Marcel Moolenaar To: Nathan Whitehorn In-reply-to: <48D92D44.6080807@freebsd.org> Date: Mon, 06 Oct 2008 18:59:04 -0700 References: "b9c23c9f0809100322n1659cb36oa05acf2f13f3c7e1@mail.gmail.com" <48D389EE.9000207@FreeBSD.org> <48D3AD50.8070505@freebsd.org> <48D69679.1080701@freebsd.org> <48D7F437.1040603@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-ppc@FreeBSD.org Subject: Re: Call for testers: Apple ATA DMA X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 02:00:05 -0000 On Sep 23, 2008, at 10:54 AM, Nathan Whitehorn wrote: > Marcel Moolenaar wrote: *snip* >>>> Interesting. My G4 Mac Mini 1.5Ghz is hanging hard: >>>> : >>>> ad0: 76319MB at ata1-master UDMA100 >>>> acd0: DVDR at ata1-slave UDMA33 >>>> *hang* >>>> Could be related... *snip* > Ways to check if this is the problem: > 1) Limit devices to UDMA33. > 2) Disable DMA on acd0. I finally got some time to play around with it: o When I set hw.ata.ata_dma=0 & hw.ata.atapi_dma=0 at the loader prompt and boot, everything is fine and working in PIO4. o I can use atacontrol and change the mode of ad0 to udma4/udma66. o I can use atacontrol and change the mode of acd0 to udma2/udma33. o I can then change the mode of ad0 to udma5/udma100. Apparently udma100+udma33 can work, just not when it's configured automatically or directly... Could it make a difference if we first configure pio4 before we switch to udma? -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 04:04:43 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 985EA1065690 for ; Tue, 7 Oct 2008 04:04:43 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB2F8FC17 for ; Tue, 7 Oct 2008 04:04:43 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 8B1C2114B6; Tue, 7 Oct 2008 14:04:40 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EJV63125 (AUTH peterg@ptree32.com.au); Tue, 7 Oct 2008 14:03:59 +1000 (EST) From: Peter Grehan To: Andreas Tobler X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20081007140359.EJV63125@dommail.onthenet.com.au> Date: Tue, 7 Oct 2008 14:03:59 +1000 (EST) Cc: freebsd-ppc@freebsd.org Subject: Re: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 04:04:43 -0000 Hi Andreas, >I remember back in 05 we had a similar issue when I tried >'buildworld' on a G4 alu book. Then you suggested to me >to reduce hw.physmem to 512MB. Indeed, and I'm certain those problems were fixed in r1.115 of mmu_oea.c where the secondary PTEG hash was corrected. >I'll reduce/replace the memory and see how it behaves. OK, let us know how it goes. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:24:12 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDE041065689 for ; Tue, 7 Oct 2008 15:24:12 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 71F488FC15 for ; Tue, 7 Oct 2008 15:24:12 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97FOANp028035 for ; Wed, 8 Oct 2008 02:24:11 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SGv5tusImaoSoq6xPYMj" Date: Wed, 08 Oct 2008 02:24:33 +1100 Message-Id: <1223393073.15248.151.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:24:13 -0000 --=-SGv5tusImaoSoq6xPYMj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I have installed FreeBSD, thanks to Richard for suggesting Finnix for partitioning, it did the job brilliantly. =20 ... Where the hell is the bootloader? I can't find it anywhere, and thus don't know what to do with the 64MB HFS+ i set aside for it. :( Any help would be appreciated. Once again.=20 My apologies for being horridly noobish here. -- Horst. --=-SGv5tusImaoSoq6xPYMj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrfzEACgkQRtTtv0BbTe6unwCeONV7mHcOCNduRCNkdO+YNB4H xAEAoLpDnx5vcDpTYb12rxTTn78a5yl0 =5YUU -----END PGP SIGNATURE----- --=-SGv5tusImaoSoq6xPYMj-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:32:21 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0210106568E for ; Tue, 7 Oct 2008 15:32:21 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 743EC8FC16 for ; Tue, 7 Oct 2008 15:32:21 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K8D00G0KKHW2S00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 07 Oct 2008 10:32:20 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-76-204-100-161.dsl.mdsnwi.sbcglobal.net [76.204.100.161]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K8D006RNKHTJ980@smtpauth2.wiscmail.wisc.edu>; Tue, 07 Oct 2008 10:32:18 -0500 (CDT) Date: Tue, 07 Oct 2008 10:36:59 -0500 From: Nathan Whitehorn In-reply-to: <1223393073.15248.151.camel@horst-tla> To: =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= Message-id: <48EB821B.80503@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.204.100.161 X-Spam-PmxInfo: Server=avs-13, Version=5.4.2.344556, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.7.151017, SenderIP=76.204.100.161 References: <1223393073.15248.151.camel@horst-tla> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:32:21 -0000 Horst Günther Burkhardt III wrote: > I have installed FreeBSD, thanks to Richard for suggesting Finnix for > partitioning, it did the job brilliantly. > > ... Where the hell is the bootloader? I can't find it anywhere, and thus > don't know what to do with the 64MB HFS+ i set aside for it. :( > > Any help would be appreciated. Once again. > > My apologies for being horridly noobish here. > -- Horst. It is /boot/loader. There is a boot.tbxi that you can install too (and find in /usr/src/release/powerpc) that will let you use the OF boot menu to select FreeBSD if you are dual-booting. We really need to make installation work better. Can we include a port of Apple's HFS implementation in base? I know APSL1 was impossible, but are there any thoughts on APSL2 now? Having HFS support should also be valuable on x86 with more people dual-booting FreeBSD/OS X now. I suppose that writing a simple write-only HFS implementation should not be too hard, either. Maybe this could be hooked into gpart bootcode? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:33:07 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0CC71065688 for ; Tue, 7 Oct 2008 15:33:07 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1E48FC14 for ; Tue, 7 Oct 2008 15:33:07 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by gxk14 with SMTP id 14so6557201gxk.19 for ; Tue, 07 Oct 2008 08:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cwO6YbFuUTYqbH9nxbRSvpO/5mUqbK0L4VOZAyqYsXw=; b=GxH+P6WmeN5fagI5VYRdR2pvJ2kWWKzBNEs8TjQ5uaGteG95ca6VFoqROOkVCEOL0k jOu6L3vCJuN5LRRGJcgbgVQU2whVLyiCochoBgU7ZBN7WkIN8Jugz+nVfxa27l90JIT0 AEfP5rgZNR5CqA8IRcsdC5R5l2DKhsvLdvk+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VhDelhAbrLjo4VUUxKvBqpKGVJ13HQjytmZ9rX0LEQVZvykCEMUju0iz+NqJU6T9c2 dxTot5iQldr4EgCLxf9zL+wOVWiyZMVTdThgpwuCPM5NXsZZ4NX/Otd4C0yNV3jGm7ab eDWuNORHk47+xEv8e/xtCYY0Am1ZWsd1McRdg= Received: by 10.142.254.6 with SMTP id b6mr2759334wfi.286.1223393586411; Tue, 07 Oct 2008 08:33:06 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 08:33:06 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 17:33:06 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223393073.15248.151.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:33:07 -0000 Hi, On Tue, Oct 7, 2008 at 5:24 PM, Horst G=FCnther Burkhardt III wrote: > I have installed FreeBSD, thanks to Richard for suggesting Finnix for > partitioning, it did the job brilliantly. > > ... Where the hell is the bootloader? I can't find it anywhere, and thus > don't know what to do with the 64MB HFS+ i set aside for it. :( Assuming you installed FreeBSD from CD, the loader is in the CD, in the directory. Simply copy the file in that directory to the root of your HFS partition (using Mac OS) and then you can boot from that partition. For example if the HFS partition is number X and your FreeBSD root partition is number Y, the following command will do it: 0> boot hd:X,loader hd:Y Hope that helps, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:37:20 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3284E1065688 for ; Tue, 7 Oct 2008 15:37:20 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id E09BA8FC24 for ; Tue, 7 Oct 2008 15:37:19 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so574594yxb.13 for ; Tue, 07 Oct 2008 08:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ss9b0PiTDs2O/Ixj+y0fjqdWzJoHBHQzz7wl97Lsfhg=; b=qxgtmZAOineS5uGi54vxdwWYegVjjzDIeyZlT8cWnIHeGM27HmUCX4VAtCA/wyJ+ci 5hjf8kffQirxuhj6KDMvwqpW+hbMbNYfy6dBHXMMG+4trPhWvY2ivRG4SeKmIM0lma4v 3J7JP6N+bqJ5TivazH4uOn9Ciqbr0sx2/Xang= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DHgTK5SUuyK+NUhmNx/h8M4PDVSZTjVbmvyOcmtLd294xTaABeQoS/YnLSwaoJZyB6 r2Ec8WYL8rfTaybmbKm9Cp4b4uZCKTEUHmzeMBmmLDl8HHVtOINASIQW8kfa/O10p9aZ RPEfaU9p3bBwpPTMyFWvj+CQ4AjKl501o2TNU= Received: by 10.142.188.4 with SMTP id l4mr2768194wff.183.1223393838467; Tue, 07 Oct 2008 08:37:18 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 08:37:18 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 17:37:18 +0200 From: "Marco Trillo" To: "Nathan Whitehorn" In-Reply-To: <48EB821B.80503@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <48EB821B.80503@freebsd.org> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:37:20 -0000 Hi, On Tue, Oct 7, 2008 at 5:36 PM, Nathan Whitehorn wrote: > I suppose that writing a simple write-only HFS implementation should not be > too hard, either. Maybe this could be hooked into gpart bootcode? The "hfsutils" package is very useful to format HFS partitions and copy the loader to it from within FreeBSD itself, without needing Mac OS. Regards, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:43:37 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79B61065686 for ; Tue, 7 Oct 2008 15:43:37 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 729A08FC25 for ; Tue, 7 Oct 2008 15:43:36 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97FhZSt007649 for ; Wed, 8 Oct 2008 02:43:35 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: References: <1223393073.15248.151.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8bndHhUaqbT/SgRw3z6v" Date: Wed, 08 Oct 2008 02:43:58 +1100 Message-Id: <1223394238.15248.161.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:43:37 -0000 --=-8bndHhUaqbT/SgRw3z6v Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 17:33 +0200, Marco Trillo wrote: > Hi, > Assuming you installed FreeBSD from CD, the loader is in the CD, in > the directory. >=20 > Simply copy the file in that directory to the root of your > HFS partition (using Mac OS) and then you can boot from that > partition. For example if the HFS partition is number X and your > FreeBSD root partition is number Y, the following command will do it: >=20 > 0> boot hd:X,loader hd:Y >=20 > Hope that helps, > Marco. Most helpful. There's also a parameter in OF that allows autoboot, correct? (I don't intend to go back from FreeBSD if you get my drift.) Also, as I don't any longer have OS X there, can I boot into the freebsd that is on the hard disk, using the cd, from OF somehow, just until I install the loader?=20 Another question, does the loader have to reside in the same place as the /boot directory? or can I leave /boot on the / UFS2 partition andmerely use the loader? On Tue, 2008-10-07 at 10:36 -0500, Nathan Whitehorn wrote: > We really need to make installation work better. Can we include a=20 > port of Apple's HFS implementation in base? I know APSL1 was > impossible, but are there any thoughts on APSL2 now? Having HFS > support should also be valuable on x86 with more people dual-booting > FreeBSD/OS X now. >=20 > I suppose that writing a simple write-only HFS implementation should=20 > not be too hard, either. Maybe this could be hooked into gpart > bootcode? > -Nathan Hear hear about the installer. I think especially now that OS X is moving to the x86 platform, a lot of old ppc boxes will be left without maintained software - and to be honest despite some exceptional cases like the Finnix CD and most of Debian, hardware support in Linux is just shocking on many PPC macs. Hence FreeBSD having a fully viable PPC port will (from my standpoint anyway) be an asset to the community.=20 If there's anything useful I can do (i can't code unfortunately) I'll be happy to try, by the way. I'm already thinking of writing some documentation on how to get FreeBSD installed painlessly, so that others don't go through the hell I've had here. Thanks. :) --Horst. --=-8bndHhUaqbT/SgRw3z6v Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrg74ACgkQRtTtv0BbTe7kOQCggLbcotnHa/7bt3rInmN28z5/ A2MAn2jnlnfZDlmfKoLUqWkcTAV6+Rj2 =GD6I -----END PGP SIGNATURE----- --=-8bndHhUaqbT/SgRw3z6v-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 15:51:49 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0F91065686 for ; Tue, 7 Oct 2008 15:51:49 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id C39CE8FC2F for ; Tue, 7 Oct 2008 15:51:48 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by gxk14 with SMTP id 14so6590206gxk.19 for ; Tue, 07 Oct 2008 08:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LJd2wIJhNvlObfdBa1h7GdoZtKFvwt2HyGk6AA/O2p8=; b=RdfGBDlolmPkb3E5+TKEV4BtoTwzCZmhfWGaMV92e5PPOFnPPKDw4zJUqLwnFLzAOc zrTOSP7NhFPmG+ibghat6MYXM1Ynbb16MdATA8pqx6PMq1wLVm5IL7KJfb7UpuPtfoJB vwxL8lvx4lHg6qaT6uSND1mozdGiuCMWs89Kg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=shVIOdkn//F656UCYh1d8n/ojXdS/cDn+KpcDj5xEm0ch6LDmvfd7r9h3z0QqqY4l2 yyccSmXknSEOgutmyuuKfpsijdnQo8DyO8lSA90F9qemPUdqRCw4cOk0CLojC45peZjt Bl14Zv1yR1m4C94zApKcfKj2nhHuY0v8EjCcQ= Received: by 10.142.222.21 with SMTP id u21mr2771937wfg.323.1223394707308; Tue, 07 Oct 2008 08:51:47 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 08:51:47 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 17:51:47 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223394238.15248.161.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:51:49 -0000 Hi, On Tue, Oct 7, 2008 at 5:43 PM, Horst G=FCnther Burkhardt III wrote: > There's also a parameter in OF that allows autoboot, > correct? (I don't intend to go back from FreeBSD if you get my drift.) Yes. You can configure OF to autoboot FreeBSD using the loader, but I think if you use the "boot.tbxi" file Nathan mentioned, OF will boot it automatically if it doesn't find Mac OS. > > Also, as I don't any longer have OS X there, can I boot into the freebsd > that is on the hard disk, using the cd, from OF somehow, just until I > install the loader? Sure. Just use "boot cd:0,\boot\loader hd:Y" where Y is the FreeBSD partition number. You can also install the loader from FreeBSD using "hfsutils". > > Another question, does the loader have to reside in the same place as > the /boot directory? or can I leave /boot on the / UFS2 partition > andmerely use the loader? > The loader resides in a HFS partition, which is not the /boot partition. You do not need a /boot partition, you can leave /boot in the / partition. Hope that helps, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 16:05:06 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE869106568A; Tue, 7 Oct 2008 16:05:06 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFE48FC16; Tue, 7 Oct 2008 16:05:06 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 4B5E8118AB; Wed, 8 Oct 2008 02:05:04 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EJX00000 (AUTH peterg@ptree32.com.au); Wed, 8 Oct 2008 02:00:39 +1000 (EST) From: Peter Grehan To: Nathan Whitehorn , =?iso-8859-1?Q?=20Horst=20G=FCnther=20Burkhardt=20III?= X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-Id: <20081008020039.EJX00000@dommail.onthenet.com.au> Date: Wed, 8 Oct 2008 02:00:39 +1000 (EST) Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:05:06 -0000 Hi Nathan, >We really need to make installation work better. Yep. >Can we include a port of Apple's HFS implementation >in base? I know APSL1 was impossible, but are there any >thoughts on APSL2 now? Having HFS support should also be >valuable on x86 with more people dual-booting >FreeBSD/OS X now. ZFS shows how to incorporate a piece of s/w that may even have an unfriendly license. The ppc loader can do a boot-time module load so the same trick can be applied. I would imagine a port of Apple HFS code to be a "big job" with differences in the o/s maybe harder to mask out than with ZFS/Solaris since the OSX and FreeBSD have significant incompatible overlap. >I suppose that writing a simple write-only HFS >implementation should not be too hard, either. >Maybe this could be hooked into gpart bootcode? As Marco mentioned, there is hfsutils. Also, NetBSD had a Google SoC project to implement HFS, that at least produced some usable code: http://netbsd-soc.sourceforge.net/projects/hfs/ I don't know that the status is in NetBSD proper. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 16:11:11 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8604C1065690 for ; Tue, 7 Oct 2008 16:11:11 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id 1F51F8FC2D for ; Tue, 7 Oct 2008 16:11:10 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97GB8Ab020552 for ; Wed, 8 Oct 2008 03:11:09 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ONd7wiBKrzlaJttTpBuG" Date: Wed, 08 Oct 2008 03:11:32 +1100 Message-Id: <1223395892.15248.167.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:11:11 -0000 --=-ONd7wiBKrzlaJttTpBuG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 17:51 +0200, Marco Trillo wrote: > Hi, >=20 > On Tue, Oct 7, 2008 at 5:43 PM, Horst G=C3=BCnther Burkhardt III > wrote: > > Also, as I don't any longer have OS X there, can I boot into the freebs= d > > that is on the hard disk, using the cd, from OF somehow, just until I > > install the loader? >=20 > Sure. Just use "boot cd:0,\boot\loader hd:Y" where Y is the FreeBSD > partition number. >=20 > You can also install the loader from FreeBSD using "hfsutils". This is a problem. doing this from the OF console (btw, it's partition number 11 on disk 0 (disk0s11)) results in the following:=20 DISK-LABEL: LOAD (noninterposed) not supportedload-size=3D0 adler32=3D1 LOAD-SIZE is too small ok 0 >=20 ... I've tried all numbers after hd up to 16. Should I be specifying the device to read too? (the physical medium?) If so, how? (disk0s10 : HFS+ 64MB) txbi?=20 (disk0s11 : UFS2 40GB) / (disk1s10 : SWAP 4GB)=20 (disk1s11 : UFS2 56GB) /usr=20 > > > > Another question, does the loader have to reside in the same place as > > the /boot directory? or can I leave /boot on the / UFS2 partition > > andmerely use the loader? > > >=20 > The loader resides in a HFS partition, which is not the /boot > partition. You do not need a /boot partition, you can leave /boot in > the / partition. >=20 > Hope that helps, > Marco. Thanks, most helpful. Unfortunately as said above it didn't quite go off without a hitch. :( --=-ONd7wiBKrzlaJttTpBuG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrijQACgkQRtTtv0BbTe73VQCgusczWroR/BoQUYWDJTtdTfY0 LmUAoIGXZNnoTcPWErI2pKngFMmE0134 =V9CG -----END PGP SIGNATURE----- --=-ONd7wiBKrzlaJttTpBuG-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 16:15:26 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 858F21065691 for ; Tue, 7 Oct 2008 16:15:26 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id 39F748FC2A for ; Tue, 7 Oct 2008 16:15:25 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so759991wxc.7 for ; Tue, 07 Oct 2008 09:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1GvK5qlI6Y6lbgSxP27mTGmIdlKliwKNpORhORsPRDk=; b=VEHb33PK6qZsLTvoesVlHMfSCjcJ76V9ukApH03z/Ei5RSRWayihbrL2Cx6TiNucgK JBnKfMhhTH0h14KteiijYTHtTnvM5rde7O+YV2FgmQgMLuYWWsz0ePDKscK2n1V1zl7O fvsSmwcO5IWuEkygpnrTVlpkH2kHYxQblMYzs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JXhICZ4VnmQOCTxUqKM9+XPALOKi8jQLrIB0cRTreZQSnWti2g3lFSJDna9rQMvgnB PEqWrFkt8JndTHlbNn03F5em943ZLhwjIDQHR3Ct31KdH9hcfXSASKrVrZBnwb9fn5bT /N4bxtb9CrZvIY5apYDLhMI8C/80qtjpBIgwE= Received: by 10.142.128.6 with SMTP id a6mr2805660wfd.10.1223396124726; Tue, 07 Oct 2008 09:15:24 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 09:15:24 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 18:15:24 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223395892.15248.167.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:15:26 -0000 Hi, On Tue, Oct 7, 2008 at 6:11 PM, Horst G=FCnther Burkhardt III wrote: > On Tue, 2008-10-07 at 17:51 +0200, Marco Trillo wrote: >> On Tue, Oct 7, 2008 at 5:43 PM, Horst G=FCnther Burkhardt III >> wrote: >> > Also, as I don't any longer have OS X there, can I boot into the freeb= sd >> > that is on the hard disk, using the cd, from OF somehow, just until I >> > install the loader? >> >> Sure. Just use "boot cd:0,\boot\loader hd:Y" where Y is the FreeBSD >> partition number. >> >> You can also install the loader from FreeBSD using "hfsutils". > > This is a problem. doing this from the OF console (btw, it's partition > number 11 on disk 0 (disk0s11)) results in the following: > > DISK-LABEL: LOAD (noninterposed) not supportedload-size=3D0 adler32=3D1 > > LOAD-SIZE is too small > ok > 0 > > Try "boot cd:,\boot\loader hd:11", without the "0". Hope that helps, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 16:23:18 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CD7A106568B for ; Tue, 7 Oct 2008 16:23:18 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.freebsd.org (Postfix) with ESMTP id D083A8FC1F for ; Tue, 7 Oct 2008 16:23:17 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97GNGj9005760 for ; Wed, 8 Oct 2008 03:23:16 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-m16GroPBBMujEJPHBX06" Date: Wed, 08 Oct 2008 03:23:39 +1100 Message-Id: <1223396619.15248.170.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:23:18 -0000 --=-m16GroPBBMujEJPHBX06 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 18:15 +0200, Marco Trillo wrote: > Hi, > Try "boot cd:,\boot\loader hd:11", without the "0". >=20 > Hope that helps, > Marco. That's one hurdle gone, thanks. Next thing is "can't load =C2=B4kernel=C2= =B4." And then i'm stuck in the bootloader with no way to figure out what's needed. (isn't the kernel called "GENERIC" and not "kernel"?)=20 Thanks for all the help so far :) -- Horst. --=-m16GroPBBMujEJPHBX06 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrjQsACgkQRtTtv0BbTe6AugCfZ+6Z7y8KFOLwHbYCWrQux2sJ SJAAoLPlyspuKaIOqnO7JUydt4wmxH6e =JaLH -----END PGP SIGNATURE----- --=-m16GroPBBMujEJPHBX06-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 16:31:31 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE0A1065729 for ; Tue, 7 Oct 2008 16:31:31 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 251508FC17 for ; Tue, 7 Oct 2008 16:31:31 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by gxk14 with SMTP id 14so6661278gxk.19 for ; Tue, 07 Oct 2008 09:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vljFA2dnue6lwBssNli/oPnLZn/L5iNyBkm2R4i0kf8=; b=U0gNG4IW86Ezql8t8ymaZrxDUkp+Pitsu04AGdqDqi6eRKyyQJeUOWfYDB44QRnZfM JqpYzRGSRRuZJi7FvDdm3K3LEpxQi+oWml50DMWJXPOZhRAc8g6IuZ3C9E5elqJ+Zibs 3IvONYzrMjPILAVazyPQy/1OKeDg717UG2rVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=shk1lBvijIlUeDlQU/SLj7YkWtNeuLezUq46y5XHjbjHpG1EBUz/tA5GPvNBtUqK7z oUkZNjTjqwDaWH8yO6sLTemmpixpkB72qSHtJMK0/lyNCNlp9dfKYlx5LliZnCB6Jmq0 aZ5kVpSOSEPLInFioC7dwj7biUAD4dp/qJCFg= Received: by 10.142.223.20 with SMTP id v20mr2813615wfg.81.1223397089892; Tue, 07 Oct 2008 09:31:29 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 09:31:29 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 18:31:29 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223396619.15248.170.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <1223396619.15248.170.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 16:31:31 -0000 Hi, On Tue, Oct 7, 2008 at 6:23 PM, Horst G=FCnther Burkhardt III wrote: > On Tue, 2008-10-07 at 18:15 +0200, Marco Trillo wrote: >> Hi, >> Try "boot cd:,\boot\loader hd:11", without the "0". >> >> Hope that helps, >> Marco. > > That's one hurdle gone, thanks. Next thing is "can't load =B4kernel=B4." > > And then i'm stuck in the bootloader with no way to figure out what's > needed. (isn't the kernel called "GENERIC" and not "kernel"?) Hmm... since you listed "disk1" and "disk0" before, do you have two hard disks? If so, it is possible that the "hd" OF alias is not picking the correct disk where you installed FreeBSD. What is the output of the "devalias hd" command in OF, and what type of disks are "disk0" and "disk1" (ATA, USB, etc.) ? Regards, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:09:45 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EBED1065699 for ; Tue, 7 Oct 2008 17:09:45 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id DA96A8FC08 for ; Tue, 7 Oct 2008 17:09:44 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97H9hML011844 for ; Wed, 8 Oct 2008 04:09:43 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <1223396619.15248.170.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-mrhZnJtwLHr/qT2FRFkd" Date: Wed, 08 Oct 2008 04:10:07 +1100 Message-Id: <1223399407.15248.175.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:09:45 -0000 --=-mrhZnJtwLHr/qT2FRFkd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 18:31 +0200, Marco Trillo wrote: > Hi, >=20 > Hmm... since you listed "disk1" and "disk0" before, do you have two > hard disks? If so, it is possible that the "hd" OF alias is not > picking the correct disk where you installed FreeBSD. Yes, I have two hard disks. the 'hd' alias looks right, but I'm not familiar enough with OF to tell.=20 0 > devalias hd=20 /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0 ok 0 > > What is the output of the "devalias hd" command in OF, and what type > of disks are "disk0" and "disk1" (ATA, USB, etc.) ? Both disks are UDMA100, on the ATA bus. Internal, naturally. > Regards, > Marco. Is there any chance we could speak in realtime, such as on the ppc chatroom on freenode? (if you're on freenode, i'm PeanutHorst) I ask merely because it may be ... easier. --=-mrhZnJtwLHr/qT2FRFkd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrl+8ACgkQRtTtv0BbTe7G1ACdElWhiWEcSYoW2IR+aT0pOKWm /UkAmgKV8nRMMEchTbKv+pVEnBAb4k5d =ijKr -----END PGP SIGNATURE----- --=-mrhZnJtwLHr/qT2FRFkd-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:25:54 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE1E61065687 for ; Tue, 7 Oct 2008 17:25:54 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1048FC08 for ; Tue, 7 Oct 2008 17:25:54 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by gxk14 with SMTP id 14so6758242gxk.19 for ; Tue, 07 Oct 2008 10:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=M2BW/zoztMLV3z604Pk39E6K/lBG0/dft1aq+RvnZBQ=; b=KehQ7xuWr2UHLfQXgjQ+5uyY5XEogbD5LxUfDXyklgZuUtONemTKeFszSYwzIJ7c90 Evy2q9RKeE0Vo+dp0iMXz9PNnTdcih9h3Pj5c72gwUkZaW0rz5fX9Io4IMHCM6A42P2/ x7zgoN+mD58YRzE+d9evOPc+BH+V2R68aqGM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OtJj9Rr2Cd+Z8T4ETy9SsQwuS7gUcZNci2NM261E4lcqYDMjiL9rzMrirZxI0LjIPr z9Dpa0UoeR9qRDJiQx4h672kBv/OsHpgAWSyHyuUCJAm5iMg3z2FJ46C24LYpMLh2QoK Rhw3f566xJBosJ8RJn3c7B0TkODG7e8XpJXyw= Received: by 10.142.107.1 with SMTP id f1mr2834244wfc.267.1223400353376; Tue, 07 Oct 2008 10:25:53 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 10:25:53 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 19:25:53 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223399407.15248.175.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <1223396619.15248.170.camel@horst-tla> <1223399407.15248.175.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:25:54 -0000 Hi, On Tue, Oct 7, 2008 at 7:10 PM, Horst G=FCnther Burkhardt III wrote: > On Tue, 2008-10-07 at 18:31 +0200, Marco Trillo wrote: >> Hi, >> >> Hmm... since you listed "disk1" and "disk0" before, do you have two >> hard disks? If so, it is possible that the "hd" OF alias is not >> picking the correct disk where you installed FreeBSD. > > Yes, I have two hard disks. the 'hd' alias looks right, but I'm not > familiar enough with OF to tell. > > 0 > devalias hd > /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0 ok > 0 > > >> What is the output of the "devalias hd" command in OF, and what type >> of disks are "disk0" and "disk1" (ATA, USB, etc.) ? > > Both disks are UDMA100, on the ATA bus. Internal, naturally. OK. Then try with the aliases "ultra0" and "ultra1" (or maybe "ultra2") for the first and second hard disk drives, for example: 0> boot cd:,\boot\loader ultra1:11 If the above aliases do not work, you can also specify the full path. For example, for the second hard drive: 0> boot cd:\boot\loader /pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@1:11 (use "disk@Z" for the Z hard disk on that particular ATA bus). Hope that's helpful, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:28:12 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2883810656E2 for ; Tue, 7 Oct 2008 17:28:12 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF9A8FC5D for ; Tue, 7 Oct 2008 17:28:11 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97HS9Hu008097 for ; Wed, 8 Oct 2008 04:28:10 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <48EB9A89.80609@ShaneWare.Biz> References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <48EB9A89.80609@ShaneWare.Biz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7oMv0lD8mW5T12ujgGpN" Date: Wed, 08 Oct 2008 04:28:33 +1100 Message-Id: <1223400513.15248.179.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:28:12 -0000 --=-7oMv0lD8mW5T12ujgGpN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-10-08 at 03:51 +1030, Shane Ambler wrote: > What machine is this on, an old beige G3? >=20 > Is your problem the 8GB limit? Try having the kernel in a partition that=20 > is completely inside the first 8GB. GOD NO. It's a ppc7400. Graphite Power Mac G4 400MHz ADC/GigE model.=20 Using hd0:11 as the target allows the bootloader to Do Something (tm) but I have found the next glitch:=20 0 > boot cd:,\boot\loader hd0:11, load-size=3D39748 adler32=3Dbb45cad1 Loading ELF CLAIM failed ok 0 > ^^ What the fsck?! --=-7oMv0lD8mW5T12ujgGpN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrnEEACgkQRtTtv0BbTe6lZQCgxXykYwNxrW86/Y/g9B149XmS tncAoI8HLSr3MpZ41sFTNYtFVfs3IYwy =DUm1 -----END PGP SIGNATURE----- --=-7oMv0lD8mW5T12ujgGpN-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:30:35 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE70A1065688 for ; Tue, 7 Oct 2008 17:30:35 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (ice.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id B1C798FC21 for ; Tue, 7 Oct 2008 17:30:35 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id CE96386CB1; Tue, 7 Oct 2008 12:30:34 -0500 (CDT) Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (ice.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 31790-06; Tue, 7 Oct 2008 12:30:34 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-165.icecube.wisc.edu [172.16.55.165]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 1462486B19; Tue, 7 Oct 2008 12:30:33 -0500 (CDT) Message-ID: <48EB9CAF.9080401@freebsd.org> Date: Tue, 07 Oct 2008 12:30:23 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <48EB9A89.80609@ShaneWare.Biz> <1223400513.15248.179.camel@horst-tla> In-Reply-To: <1223400513.15248.179.camel@horst-tla> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at ice.icecube.wisc.edu Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:30:35 -0000 Horst Günther Burkhardt III wrote: > On Wed, 2008-10-08 at 03:51 +1030, Shane Ambler wrote: > >> What machine is this on, an old beige G3? >> >> Is your problem the 8GB limit? Try having the kernel in a partition that >> is completely inside the first 8GB. >> > > GOD NO. > > It's a ppc7400. Graphite Power Mac G4 400MHz ADC/GigE model. > > Using hd0:11 as the target allows the bootloader to Do Something (tm) > but I have found the next glitch: > > 0 > boot cd:,\boot\loader hd0:11, load-size=39748 adler32=bb45cad1 > > Loading ELF > > > CLAIM failed > ok > 0 > > Well, this is why we need a better system (thanks for your persistence). I'm assuming you tried several commands, and then that one worked? OF sometimes needs you to reboot after a failed boot (reset-all, or hit the power button). If you don't, it gets itself into a bad state, and gives this message. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:36:31 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 897C6106568F for ; Tue, 7 Oct 2008 17:36:31 +0000 (UTC) (envelope-from FreeBSD@ShaneWare.Biz) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8DF8FC14 for ; Tue, 7 Oct 2008 17:36:30 +0000 (UTC) (envelope-from FreeBSD@ShaneWare.Biz) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQFALg160jLevdH/2dsb2JhbACBcr0vgWo X-IronPort-AV: E=Sophos;i="4.33,373,1220193000"; d="scan'208";a="206667122" Received: from ppp247-71.static.internode.on.net (HELO DevBox.local) ([203.122.247.71]) by ipmail01.adl6.internode.on.net with ESMTP; 08 Oct 2008 03:51:15 +1030 Message-ID: <48EB9A89.80609@ShaneWare.Biz> Date: Wed, 08 Oct 2008 03:51:13 +1030 From: Shane Ambler User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> In-Reply-To: <1223395892.15248.167.camel@horst-tla> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:36:31 -0000 Horst Günther Burkhardt III wrote: > (disk0s10 : HFS+ 64MB) txbi? > (disk0s11 : UFS2 40GB) / > (disk1s10 : SWAP 4GB) > (disk1s11 : UFS2 56GB) /usr What machine is this on, an old beige G3? Is your problem the 8GB limit? Try having the kernel in a partition that is completely inside the first 8GB. -- Shane Ambler FreeBSD (at) ShaneWare (dot) Biz http://ShaneWare.Biz From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:38:26 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B5AB1065687 for ; Tue, 7 Oct 2008 17:38:26 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 22F848FC1A for ; Tue, 7 Oct 2008 17:38:25 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97HcOhh022170 for ; Wed, 8 Oct 2008 04:38:25 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <48EB9CAF.9080401@freebsd.org> References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <48EB9A89.80609@ShaneWare.Biz> <1223400513.15248.179.camel@horst-tla> <48EB9CAF.9080401@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-sfK8ceP4WiZuLjrFclAw" Date: Wed, 08 Oct 2008 04:38:48 +1100 Message-Id: <1223401128.15248.184.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:38:26 -0000 --=-sfK8ceP4WiZuLjrFclAw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 12:30 -0500, Nathan Whitehorn wrote: > Well, this is why we need a better system (thanks for your persistence).=20 > I'm assuming you tried several commands, and then that one worked? OF=20 > sometimes needs you to reboot after a failed boot (reset-all, or hit the=20 > power button). If you don't, it gets itself into a bad state, and gives=20 > this message. > -Nathan I'll be damned if I let a few glitches keep between me and my new shiny BSD box. Also, any help I can provide to you is the least I can do for you guys making and peddling such an excellent OS. Anyhow, after that, and using the line that works, we're back to the FreeBSD bootstrap loader. All goes well and then the line : can't load =C2=B4kernel=C2=B4 ... and then it drops me into the equivalent of a GrUB shell with the prompt:=20 OK _ I'm really not understanding this. -- Horst. --=-sfK8ceP4WiZuLjrFclAw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrnqgACgkQRtTtv0BbTe4JFgCgpmN/Y4SDPOL0eYpYGTGNUqM7 btQAn2FySBoJPS+J/e2fe9pQMLDYUJoW =LV+v -----END PGP SIGNATURE----- --=-sfK8ceP4WiZuLjrFclAw-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 17:45:02 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED951065699 for ; Tue, 7 Oct 2008 17:45:02 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id C6FF28FC0A for ; Tue, 7 Oct 2008 17:45:01 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1057803rne.12 for ; Tue, 07 Oct 2008 10:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=00+Sx9o3mRTIjDb7y8BfWKyXSdXAZ84EJoFSMo4wRcM=; b=YvhGhcilgskn6yc5+auvSp2IaZp1wbrA+/DYhlFZGZqPBpwsT+dVGWZ5FTzzsuIqKx ELtgX3nsKMgelOv83xaiIfybvS5yjvGacBOgrXbkLFeo8lOZDdZNiIOy0pDw4lwAbrfy CV0Rm+4tHfjRg12IPgrOphMY165tHwv4XGeqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=viy/QynzJw+fbFbeCn8hluF7sZgrcTJew3qmywhv/Lddp+Cui3CFJ2M1p0Sg1QTjjg H2bRYifUc+ABFC63PHymhV5OJMZ1HUL1iA9OfXYYLMMtM5cIwYEPblcIwj7RKFjmL9XJ qzKNiys4gKx/zOrpajH09ZgdXcBbBg2UlY5Ug= Received: by 10.142.240.9 with SMTP id n9mr2861046wfh.79.1223401500425; Tue, 07 Oct 2008 10:45:00 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 10:45:00 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 19:45:00 +0200 From: "Marco Trillo" To: "=?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?=" In-Reply-To: <1223401128.15248.184.camel@horst-tla> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <48EB9A89.80609@ShaneWare.Biz> <1223400513.15248.179.camel@horst-tla> <48EB9CAF.9080401@freebsd.org> <1223401128.15248.184.camel@horst-tla> Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 17:45:02 -0000 Hi, On Tue, Oct 7, 2008 at 7:38 PM, Horst G=FCnther Burkhardt III wrote: > I'll be damned if I let a few glitches keep between me and my new shiny > BSD box. > > Also, any help I can provide to you is the least I can do for you guys > making and peddling such an excellent OS. > > Anyhow, after that, and using the line that works, we're back to the > FreeBSD bootstrap loader. > > All goes well and then the line : > > can't load =B4kernel=B4 That's because the "loading ELF" message is from the OF trying to load the loader, not from the loader trying to load the kernel. Can you try booting with the "ultra0" and "ultra1" aliases which I mentioned in my previous mail, to select one or the other hard disk? Do a "reset-all" if a boot attempt failed to avoid the "CLAIM failed" messages. Thanks, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 18:02:07 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAB8F106568B for ; Tue, 7 Oct 2008 18:02:07 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 413AD8FC1F for ; Tue, 7 Oct 2008 18:02:06 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m97I25Xn017806 for ; Wed, 8 Oct 2008 05:02:05 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: References: <1223393073.15248.151.camel@horst-tla> <1223394238.15248.161.camel@horst-tla> <1223395892.15248.167.camel@horst-tla> <48EB9A89.80609@ShaneWare.Biz> <1223400513.15248.179.camel@horst-tla> <48EB9CAF.9080401@freebsd.org> <1223401128.15248.184.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-W2akJIDPyiu9VaVl5xnX" Date: Wed, 08 Oct 2008 05:02:29 +1100 Message-Id: <1223402549.15248.189.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:02:07 -0000 --=-W2akJIDPyiu9VaVl5xnX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 2008-10-07 at 19:45 +0200, Marco Trillo wrote: > Hi, >=20 > On Tue, Oct 7, 2008 at 7:38 PM, Horst G=C3=BCnther Burkhardt III > wrote: > > All goes well and then the line : > > > > can't load =C2=B4kernel=C2=B4 >=20 > That's because the "loading ELF" message is from the OF trying to load > the loader, not from the loader trying to load the kernel. >=20 > Can you try booting with the "ultra0" and "ultra1" aliases which I > mentioned in my previous mail, to select one or the other hard disk? > Do a "reset-all" if a boot attempt failed to avoid the "CLAIM failed" > messages. >=20 > Thanks, > Marco. Done and done. Still the same issue. I'm chatting on IRC with Nathan Whitehall about it, and we found a fix. In the bootloader, it is necessary to set currdev=3Dultra0:10 (in OF parlance this is ultra0:11 which leaves us up a certain creek without a certain implement) ... and then boot.=20 I'm now in my comfy little root ttyv0 ready to get things rolling. Anything more I should be aware of? :) Thanks again for all your help. All of you. --=-W2akJIDPyiu9VaVl5xnX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjrpDUACgkQRtTtv0BbTe4hygCePnK9go5nKmMfV/K/MhN9hRNd /JEAmwUo/19Pl4q14f/cJ/EDqUMz+YHR =Qc09 -----END PGP SIGNATURE----- --=-W2akJIDPyiu9VaVl5xnX-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 18:50:48 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9071065689 for ; Tue, 7 Oct 2008 18:50:48 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4329B8FC24 for ; Tue, 7 Oct 2008 18:50:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m97Ioi2B062687; Tue, 7 Oct 2008 20:50:45 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EBAF84.2090001@fgznet.ch> Date: Tue, 07 Oct 2008 20:50:44 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:50:48 -0000 Hi, Marco Trillo wrote: >> Unfortunately, no. Silence. But this might be due to the fact that I do >> something wrong. >> I do not have the aifftools, so I simply tried the cdcontrol and there >> nothing happens, silence. > > The 'cdcontrol' utility uses the CD drive itself to play the CD, it > does not use the system digital audio device -- in fact it does not > need sound support at all. > > To use the system audio device you can use a digital player -- many > are available from the ports collection, for example "mpg321" for MP3 > files. To play CDs you can rip the tracks from the CD with a tool such > as "cdda2wav", "cdparanoia" or others, and then play the digital > files with an audio player . > The "aiffopen" utility is an example of such a player which reads AIFF > files only. Thanks for telling me. I'm not used to play with sound on my machines :) Ok, still building mpg321, was missing qt stuff etc. But nevertheless, I tried to play a bit around and I feel I have some basic issues which do not work. You say cdcontrol does not need sound support at all, do I expect correctly that I should get some sound out of my box then? Well, I do not get anything out of it right now. I followed the handbook's advices and cat'ed a file to /dev/dsp, nothing. Sorry, may I have missed a basic issue then? Do I need to setup something additional? As said, newbie here, only wanted to test. TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 18:55:57 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2FEF1065692; Tue, 7 Oct 2008 18:55:57 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4E08FC1C; Tue, 7 Oct 2008 18:55:56 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m97Itsl7070659; Tue, 7 Oct 2008 20:55:55 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EBB0BA.70403@fgznet.ch> Date: Tue, 07 Oct 2008 20:55:54 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Peter Grehan References: <20081007140359.EJV63125@dommail.onthenet.com.au> In-Reply-To: <20081007140359.EJV63125@dommail.onthenet.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:55:57 -0000 Hi Peter, Peter Grehan wrote: >> I remember back in 05 we had a similar issue when I tried >> 'buildworld' on a G4 alu book. Then you suggested to me >> to reduce hw.physmem to 512MB. > > Indeed, and I'm certain those problems were fixed in r1.115 > of mmu_oea.c where the secondary PTEG hash was corrected. Ok, then I trust you :) >> I'll reduce/replace the memory and see how it behaves. > > OK, let us know how it goes. First step passed, I reduced to one 512MB DIMM and a full buildworld with parallel qt build passed. I'll try overnight with the other DIMM to exclude single DIMM failures. But still, I have some more possibilities then, slot1/2 is defect, DIMM 1 does not like co'op with DIMM 2, ECC vs. non ECC (one is marked with ECC support, the other isn't). Will take some hours to find out. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 19:52:46 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9AE31065691 for ; Tue, 7 Oct 2008 19:52:46 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0D08FC0C for ; Tue, 7 Oct 2008 19:52:45 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m97Jqh6a062168; Tue, 7 Oct 2008 21:52:43 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EBBE0B.8040009@fgznet.ch> Date: Tue, 07 Oct 2008 21:52:43 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> In-Reply-To: <48EBAF84.2090001@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:52:46 -0000 Hi again, Andreas Tobler wrote: > Thanks for telling me. I'm not used to play with sound on my machines :) > > Ok, still building mpg321, was missing qt stuff etc. > > But nevertheless, I tried to play a bit around and I feel I have some > basic issues which do not work. > You say cdcontrol does not need sound support at all, do I expect > correctly that I should get some sound out of my box then? > Well, I do not get anything out of it right now. I followed the > handbook's advices and cat'ed a file to /dev/dsp, nothing. Just fyi, I discovered that I have three plugs to plugin headphones, two on the front side and one at the right side where all other plugs are located. (enet, usb, etc.) As said it's an imac. If I plug my headphones in on the right side and cat a 'file' to /dev/dsp I get some noise. I do not get noise on speaker nor on the other plugs. Still waiting for mpg321 for finishing... Does this ring something? TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 20:13:11 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 433A1106568F; Tue, 7 Oct 2008 20:13:11 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by mx1.freebsd.org (Postfix) with ESMTP id E39E88FC1B; Tue, 7 Oct 2008 20:13:10 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K8D00BMDW3X65A0@mta-2.ms.rz.RWTH-Aachen.de>; Tue, 07 Oct 2008 21:43:09 +0200 (CEST) Received: from smarthost-2.ms.rz.rwth-aachen.de (HELO smarthost.rwth-aachen.de) ([134.130.7.90]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Tue, 07 Oct 2008 21:43:09 +0200 Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.8+Sun/8.13.8/1) with ESMTP id m97Jh94V017268; Tue, 07 Oct 2008 21:43:09 +0200 (CEST) Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KnISa-0007R9-W6; Tue, 07 Oct 2008 21:43:09 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id ABFC83F433; Tue, 07 Oct 2008 21:43:08 +0200 (CEST) Date: Tue, 07 Oct 2008 21:43:08 +0200 From: Christian Brueffer In-reply-to: <48EB821B.80503@freebsd.org> To: Nathan Whitehorn Message-id: <20081007194308.GA1268@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=zYM0uCDKw75PZbzx Content-disposition: inline X-IronPort-AV: E=Sophos;i="4.33,374,1220220000"; d="scan'208";a="85618316" X-Operating-System: FreeBSD 6.4-PRERELEASE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <1223393073.15248.151.camel@horst-tla> <48EB821B.80503@freebsd.org> User-Agent: Mutt/1.5.11 Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:13:11 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 07, 2008 at 10:36:59AM -0500, Nathan Whitehorn wrote: > Horst G=FCnther Burkhardt III wrote: > >I have installed FreeBSD, thanks to Richard for suggesting Finnix for > >partitioning, it did the job brilliantly. > >=20 > >... Where the hell is the bootloader? I can't find it anywhere, and thus > >don't know what to do with the 64MB HFS+ i set aside for it. :( > > > >Any help would be appreciated. Once again.=20 > > > >My apologies for being horridly noobish here. > > -- Horst. >=20 > It is /boot/loader. There is a boot.tbxi that you can install too (and=20 > find in /usr/src/release/powerpc) that will let you use the OF boot menu= =20 > to select FreeBSD if you are dual-booting. >=20 > We really need to make installation work better. Can we include a port=20 > of Apple's HFS implementation in base? I know APSL1 was impossible, but= =20 > are there any thoughts on APSL2 now? Having HFS support should also be=20 > valuable on x86 with more people dual-booting FreeBSD/OS X now. >=20 > I suppose that writing a simple write-only HFS implementation should not= =20 > be too hard, either. Maybe this could be hooked into gpart bootcode? > -Nathan > _______________________________________________ Take a look at http://people.freebsd.org/~yar for an old hfs port from the 5.x days. Unfortunately it never made it into the base system, maybe someone here would like to pick it up? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFI67vMbHYXjKDtmC0RApuIAKDYURtUGC5apqxun4VpzrSeXdYaeACfV2mS NAfWUMZCT3B+JLsmo/iaEEw= =xpDr -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 20:47:39 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B7A0106568C for ; Tue, 7 Oct 2008 20:47:39 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6168FC2F for ; Tue, 7 Oct 2008 20:47:39 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3442704wfg.7 for ; Tue, 07 Oct 2008 13:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pYc/8Gr8PiWBlVQAbOcgK0B/d/nbnLzmy9CX7DOLM/s=; b=la0s3sC1ZGCsDMHyvJS4vgV0/+kUydvKFZ80cp1W+xecLzwQ6k82twVxyVNOVC6zSu F3Xe77EQpeCKQd1g+iLz0C71hv4of1wQ0ip6dMG9zZAtx0xf4NBcmFY1Zb9RYG6U/Q8A bSdQqVn4obaFAnbW2r5vHYRpOZEE0cEf0JNFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QAifIBiy7OJwt5URvdOq5RL+8t935XgwPobL1d8HA4nVqwndhKm8bAVyogHMzzqxkk k+XrE0QJdcWuMllXd2Yocj3CG+17ZT3m6JXM7yuRvqFIFJFeEWoXQhun/rqbylY0VXXP d9STtxAB44H5xfx46GVglF9VND4w8JzrhNIv0= Received: by 10.142.226.3 with SMTP id y3mr2964192wfg.96.1223412458773; Tue, 07 Oct 2008 13:47:38 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 13:47:38 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 22:47:38 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EBAF84.2090001@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:47:39 -0000 Hi, On Tue, Oct 7, 2008 at 8:50 PM, Andreas Tobler wrote: >>> Unfortunately, no. Silence. But this might be due to the fact that I do >>> something wrong. >>> I do not have the aifftools, so I simply tried the cdcontrol and there >>> nothing happens, silence. >> >> The 'cdcontrol' utility uses the CD drive itself to play the CD, it >> does not use the system digital audio device -- in fact it does not >> need sound support at all. >> >> To use the system audio device you can use a digital player -- many >> are available from the ports collection, for example "mpg321" for MP3 >> files. To play CDs you can rip the tracks from the CD with a tool such >> as "cdda2wav", "cdparanoia" or others, and then play the digital >> files with an audio player . >> The "aiffopen" utility is an example of such a player which reads AIFF >> files only. > > Thanks for telling me. I'm not used to play with sound on my machines :) Thank you for testing it and for your patience ... > Ok, still building mpg321, was missing qt stuff etc. Hmm... I find odd that mpg321 depends on qt stuff... :-( . > But nevertheless, I tried to play a bit around and I feel I have some basic > issues which do not work. > You say cdcontrol does not need sound support at all, do I expect correctly > that I should get some sound out of my box then? Yes, the CD analog output is connected to the sound device and can be mixed with the normal output -- this also applies to the modem for example. The current driver does not make this mixing configurable yet. However I think you get better results by playing the CD in digital mode using the system's device. Mac OS X for example does this. > Well, I do not get anything out of it right now. I followed the handbook's advices and > cat'ed a file to /dev/dsp, nothing. > Just fyi, I discovered that I have three plugs to plugin headphones, two on the front > side and one at the right side where all other plugs are located. (enet, usb, etc.) > As said it's an imac. > If I plug my headphones in on the right side and cat a 'file' to /dev/dsp I get some > noise. I do not get noise on speaker nor on the other plugs. The port on the right side is a line-out jack for use with an amplifier. Do you get any "Enabled outputs: ___" messages on the console when you plug and unplug the headphones on the left and right front ports? Thanks, Marco. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 20:56:55 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65BF5106569C for ; Tue, 7 Oct 2008 20:56:55 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (ice.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 31D5D8FC1B for ; Tue, 7 Oct 2008 20:56:54 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 9280286D61; Tue, 7 Oct 2008 15:56:54 -0500 (CDT) Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (ice.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 04993-04; Tue, 7 Oct 2008 15:56:54 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-165.icecube.wisc.edu [172.16.55.165]) by mail.icecube.wisc.edu (Postfix) with ESMTP id AAF7786B19; Tue, 7 Oct 2008 15:56:53 -0500 (CDT) Message-ID: <48EBCD0A.9000807@freebsd.org> Date: Tue, 07 Oct 2008 15:56:42 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Christian Brueffer References: <1223393073.15248.151.camel@horst-tla> <48EB821B.80503@freebsd.org> <20081007194308.GA1268@haakonia.hitnet.RWTH-Aachen.DE> In-Reply-To: <20081007194308.GA1268@haakonia.hitnet.RWTH-Aachen.DE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ice.icecube.wisc.edu Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 20:56:55 -0000 Christian Brueffer wrote: >> >> We really need to make installation work better. Can we include a port >> of Apple's HFS implementation in base? I know APSL1 was impossible, but >> are there any thoughts on APSL2 now? Having HFS support should also be >> valuable on x86 with more people dual-booting FreeBSD/OS X now. >> >> I suppose that writing a simple write-only HFS implementation should not >> be too hard, either. Maybe this could be hooked into gpart bootcode? >> -Nathan >> _______________________________________________ >> > > Take a look at http://people.freebsd.org/~yar for an old hfs port from > the 5.x days. Unfortunately it never made it into the base system, > maybe someone here would like to pick it up? > I used that on 5.3. It worked great. But the HFS code, the license, and the VFS layer have all changed a lot since then. I think it would be best to restart it from scratch. I asked about the license because the APSL was why it never made it into the tree in the first place. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 21:04:16 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E4291065689 for ; Tue, 7 Oct 2008 21:04:16 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id A8EB48FC0C for ; Tue, 7 Oct 2008 21:04:15 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m97L4Cub080877; Tue, 7 Oct 2008 23:04:13 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EBCECC.4020802@fgznet.ch> Date: Tue, 07 Oct 2008 23:04:12 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:04:16 -0000 Hiya, Marco Trillo wrote: > Thank you for testing it and for your patience ... Never ending until I reach the goal :) >> Ok, still building mpg321, was missing qt stuff etc. > > Hmm... I find odd that mpg321 depends on qt stuff... :-( . Hm, seems so. np so far, but having finished this build it will not get some success so far. My expectation. >> But nevertheless, I tried to play a bit around and I feel I have some basic >> issues which do not work. >> You say cdcontrol does not need sound support at all, do I expect correctly >> that I should get some sound out of my box then? > > Yes, the CD analog output is connected to the sound device and can be > mixed with the normal output -- this also applies to the modem for > example. The current driver does not make this mixing configurable > yet. > However I think you get better results by playing the CD in digital > mode using the system's device. Mac OS X for example does this. system's device? Which one? >> Well, I do not get anything out of it right now. I followed the handbook's advices and >> cat'ed a file to /dev/dsp, nothing. >> Just fyi, I discovered that I have three plugs to plugin headphones, two on the front >> side and one at the right side where all other plugs are located. (enet, usb, etc.) >> As said it's an imac. >> If I plug my headphones in on the right side and cat a 'file' to /dev/dsp I get some >> noise. I do not get noise on speaker nor on the other plugs. > > The port on the right side is a line-out jack for use with an amplifier. > > Do you get any "Enabled outputs: ___" messages on the console when you > plug and unplug the headphones on the left and right front ports? I see on all ports the activity I do, means, I see when I plugin/out a jack, on all three. Enabled outputs: Headphones/Speaker in the order I plug unplug the piece. If I cat something to /dev/dsp I even see the aoa_chan_setblocksize msg's on stdout. Thanks to your patience, Andreas From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 7 22:15:13 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3A3D1065693 for ; Tue, 7 Oct 2008 22:15:13 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 861398FC19 for ; Tue, 7 Oct 2008 22:15:13 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3496049wfg.7 for ; Tue, 07 Oct 2008 15:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=357wvCOf7Av+++3fSRQS++FGOAZlmYRMG2OvK5pAhBw=; b=widTqqQmzX5Sx7SFRJ3atQMqkBtJfcC/mqJUWWSG4nsb95S5Z2DAg0GSANvcU0PP3A jMglVuMXwusiB2QdNr40XcXvu25QCfLOKUTrdmrrosG3EyNdrFA8LL6PGIWF0j7LH6Cm fcVfDd0uQWHISD6FeIZhQE4qm/5fvjk9ZLu38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VfHFzce6HxhS1Su5xlQmdv4i7QmklzKsSGSdykphc0TYxg/a9XWlodePR8jABhJLoK 0A2JS8CeNkjKgnVVSJSuV5sERm27GuDAVLjcPTMXkw/Mf9rH8V5RccZzIuGp8ZIzmVDh 4WgRW3RK0wTngA05oESMt2k8pOP7o6//ye05w= Received: by 10.143.4.16 with SMTP id g16mr2998296wfi.289.1223417711801; Tue, 07 Oct 2008 15:15:11 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Tue, 7 Oct 2008 15:15:11 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 00:15:11 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EBCECC.4020802@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> <48EBCECC.4020802@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 22:15:14 -0000 Hi, On Tue, Oct 7, 2008 at 11:04 PM, Andreas Tobler wrote: >>> Ok, still building mpg321, was missing qt stuff etc. >> >> Hmm... I find odd that mpg321 depends on qt stuff... :-( . > > Hm, seems so. np so far, but having finished this build it will not get some > success so far. My expectation. Hmm... if you have finished the mpg321 build, can you try applying the following patch for aoa.c ? --- aoa.c.orig 2008-10-07 23:33:14.000000000 +0200 +++ aoa.c 2008-10-07 23:52:25.000000000 +0200 @@ -661,10 +661,20 @@ DPRINTF(("\n")); - if (d->device_id == 5) { + if (d->device_id == 5 || d->device_id == 11) { DPRINTF(("Enabling programmable output.\n")); x |= SCREAMER_PROG_OUTPUT0; - } + } + + if (d->device_id == 8 || d->device_id == 11) { + + /* iMac DV. */ + DPRINTF(("iMac DV.\n")); + + x &= ~SCREAMER_MUTE_SPEAKER; + if (mask & (1 << 0)) + x |= SCREAMER_PROG_OUTPUT1; /* enable speaker. */ + } Screamer_write_locked(d, SCREAMER_CODEC_ADDR1, x); d->output_mask = mask; I hope that it improves things with the iMac DV. These "programmable output" bits are another thing that is very machine-specific :-( . > >>> But nevertheless, I tried to play a bit around and I feel I have some >>> basic >>> issues which do not work. >>> You say cdcontrol does not need sound support at all, do I expect >>> correctly >>> that I should get some sound out of my box then? >> >> Yes, the CD analog output is connected to the sound device and can be >> mixed with the normal output -- this also applies to the modem for >> example. The current driver does not make this mixing configurable >> yet. >> However I think you get better results by playing the CD in digital >> mode using the system's device. Mac OS X for example does this. > > system's device? Which one? The computer's built-in audio device, in this case the "Screamer" chip, in contrast with the chip on the CD unit. > >>> Well, I do not get anything out of it right now. I followed the >>> handbook's advices and >>> cat'ed a file to /dev/dsp, nothing. >>> Just fyi, I discovered that I have three plugs to plugin headphones, two >>> on the front >>> side and one at the right side where all other plugs are located. (enet, >>> usb, etc.) >>> As said it's an imac. >>> If I plug my headphones in on the right side and cat a 'file' to /dev/dsp >>> I get some >>> noise. I do not get noise on speaker nor on the other plugs. >> >> The port on the right side is a line-out jack for use with an amplifier. >> >> Do you get any "Enabled outputs: ___" messages on the console when you >> plug and unplug the headphones on the left and right front ports? > > I see on all ports the activity I do, means, I see when I plugin/out a jack, > on all three. > Enabled outputs: Headphones/Speaker in the order I plug unplug the piece. Well, at least the port detection is working. Once again thanks for your patience, Marco. From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 8 10:04:21 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E21106568A for ; Wed, 8 Oct 2008 10:04:21 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 2CBC98FC15 for ; Wed, 8 Oct 2008 10:04:20 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m98A4Hq4031734; Wed, 8 Oct 2008 12:04:18 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EC85A1.90005@fgznet.ch> Date: Wed, 08 Oct 2008 12:04:17 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> <48EBCECC.4020802@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 10:04:21 -0000 Hi, Marco Trillo wrote: > Hi, > > On Tue, Oct 7, 2008 at 11:04 PM, Andreas Tobler wrote: >>>> Ok, still building mpg321, was missing qt stuff etc. >>> Hmm... I find odd that mpg321 depends on qt stuff... :-( . >> Hm, seems so. np so far, but having finished this build it will not get some >> success so far. My expectation. This mpg321 was for nothing! I changed to mpg123, easier and enough for my purpose. > Hmm... if you have finished the mpg321 build, can you try applying the > following patch for aoa.c ? [snip] Done, and now I'm happy :) !!! > I hope that it improves things with the iMac DV. These "programmable > output" bits are another thing that is very machine-specific :-( . Yeah. >> system's device? Which one? > > The computer's built-in audio device, in this case the "Screamer" > chip, in contrast with the chip on the CD unit. Ok. >> Enabled outputs: Headphones/Speaker in the order I plug unplug the piece. > > Well, at least the port detection is working. And now even playing mp3 is working. The only thing I did not find out is how to play cd's, but that's not that important to me. > Once again thanks for your patience, Thank you for your work! Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 8 13:17:28 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1EA31065695 for ; Wed, 8 Oct 2008 13:17:28 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id A5D708FC2B for ; Wed, 8 Oct 2008 13:17:28 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so666833yxb.13 for ; Wed, 08 Oct 2008 06:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LKJb9H52QnNhlXK8Cfe+U2JQuctLGd2hRIaECQo7Dro=; b=SHdzoCBapt/EMSpr5+yAT0gAy9KCTWc5gly/y8m/lRS152Idox7Gd6WOK15OpjONVb rYtOZxnntPyLA6PQWSkvLkem6AVXnhJj4s+HBYqa6dc7V3wG3LGeskZmJtDgoqRlQJ9Z agUjIe7Kp/jhJr9EgnL+4ReZKUbNuTrTLQRhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LWiomO1tHStk48mKyGJR1vktiIW33MZEQYSkxAt47HEsSkh+RDohv7CoxgCUjBT/fm 8tUbfYX/YxY3yX3BkOleRgf6mu9GhsymYETTv2Ooj+NG36iOav9bGOV4KlhIzh1vo1s2 EvDU93gsUUUTLv7rPd4RwqtD2bbeKpHIIPgx8= Received: by 10.142.70.11 with SMTP id s11mr3413246wfa.293.1223471847548; Wed, 08 Oct 2008 06:17:27 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Wed, 8 Oct 2008 06:17:27 -0700 (PDT) Message-ID: Date: Wed, 8 Oct 2008 15:17:27 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48EC85A1.90005@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> <48EBCECC.4020802@fgznet.ch> <48EC85A1.90005@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 13:17:29 -0000 Hi, On Wed, Oct 8, 2008 at 12:04 PM, Andreas Tobler wrote: >> On Tue, Oct 7, 2008 at 11:04 PM, Andreas Tobler >> wrote: >>>>> >>>>> Ok, still building mpg321, was missing qt stuff etc. >>>> >>>> Hmm... I find odd that mpg321 depends on qt stuff... :-( . >>> >>> Hm, seems so. np so far, but having finished this build it will not get >>> some >>> success so far. My expectation. > > This mpg321 was for nothing! I changed to mpg123, easier and enough for my > purpose. I'm sorry you compiled all of that for nothing, "mpg321" was a bad example in that respect :-( > >> Hmm... if you have finished the mpg321 build, can you try applying the >> following patch for aoa.c ? > > [snip] > > Done, and now I'm happy :) !!! Very nice! :-) Thanks a lot for testing it, so the final version will work out of the box for (hopefully) all iMac DVs! [...] >>> Enabled outputs: Headphones/Speaker in the order I plug unplug the piece. >> >> Well, at least the port detection is working. > > And now even playing mp3 is working. > The only thing I did not find out is how to play cd's, but that's not that > important to me. You can use a tool such as "cdda2wav" (distributed as part of "cdrtools"), which has the ability to play CDs in 'live' but in digital mode; in addition, of course, it can rip the tracks to files in the hard disk... Thanks ! Marco. From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 8 18:49:16 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B93A1065691; Wed, 8 Oct 2008 18:49:16 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id 23BBC8FC28; Wed, 8 Oct 2008 18:49:15 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id m98HcU9F030181; Wed, 8 Oct 2008 13:38:31 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <48EB821B.80503@freebsd.org> References: <1223393073.15248.151.camel@horst-tla> <48EB821B.80503@freebsd.org> Date: Wed, 8 Oct 2008 13:38:29 -0400 To: Nathan Whitehorn , Horst =?iso-8859-1?Q?G=FCnther_Burkhardt_III?= From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.00 () [Hold at 20.00] 22490(-25) X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: FreeBSD PowerPC ML Subject: Re: bootloader installation X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 18:49:16 -0000 [Hmm. I could have sworn I posted this yesterday, but I don't see it anywhere. Apologies if this is a duplicate] At 10:36 AM -0500 10/7/08, Nathan Whitehorn wrote: > >We really need to make installation work better. Can we include a >port of Apple's HFS implementation in base? I know APSL1 was >impossible, but are there any thoughts on APSL2 now? Having HFS >support should also be valuable on x86 with more people dual-booting >FreeBSD/OS X now. It seems to me that we could get away without any implementation of HFS. All we need is a sample HFS partition, with a large area on it reserved as a fake HFS file. Then have something which knows how to write the boot loader to that area. Note that this doesn't have to be a full implementation of HFS, just something that knows where the first byte of the reserved area is, and knows how to write to the raw disk. Make the reserved area two or three times the current size of the boot loader, or have two or three reserved areas (each being a separate fake HFS file). The reason for extra areas is so you could keep three different versions of the bootloader available. -- 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 Wed Oct 8 19:23:35 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76C4510656A1; Wed, 8 Oct 2008 19:23:35 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 2A9E98FC26; Wed, 8 Oct 2008 19:23:33 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m98JNU4P038881; Wed, 8 Oct 2008 21:23:31 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48ED08B2.2080700@fgznet.ch> Date: Wed, 08 Oct 2008 21:23:30 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Peter Grehan References: <20081007140359.EJV63125@dommail.onthenet.com.au> <48EBB0BA.70403@fgznet.ch> In-Reply-To: <48EBB0BA.70403@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: physical memory limit? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 19:23:35 -0000 Hi Peter, Andreas Tobler wrote: > Peter Grehan wrote: > >>> I remember back in 05 we had a similar issue when I tried >>> 'buildworld' on a G4 alu book. Then you suggested to me >>> to reduce hw.physmem to 512MB. >> >> Indeed, and I'm certain those problems were fixed in r1.115 >> of mmu_oea.c where the secondary PTEG hash was corrected. > > Ok, then I trust you :) Hm, I just read the commit log: --- Remove bogus increment of re-hashed PTEG index. This snuck in with r1.12 of pmap.c, and is potentially the cause of hangs reported on machines with a small amount of memory. On machines with sufficient RAM, and without a lot of processes running, this situation would probably never occur. --- Irritating issue is the part with 'hangs reported on machines with a small amount of memory'. I do not have small amount of ram, neither did I have hangs. I had 11 at that time. Now I have 11 again, but maybe due to other issues. Well on OS-X the machine does not complain. Even memtest doen't complain during the one hour period I let it run. Also, it might be that this needs a looong run of memtest to uncover something. Anyway. >>> I'll reduce/replace the memory and see how it behaves. >> >> OK, let us know how it goes. > > First step passed, I reduced to one 512MB DIMM and a full buildworld > with parallel qt build passed. > I'll try overnight with the other DIMM to exclude single DIMM failures. > But still, I have some more possibilities then, slot1/2 is defect, DIMM > 1 does not like co'op with DIMM 2, ECC vs. non ECC (one is marked with > ECC support, the other isn't). > Will take some hours to find out. Continued and found that both DIMM's seem to work in the first bank. Running a buildworld with a DIMM in the second bank failed for both, ECC/non ECC. So it seems it might be a problem with my HW. :( I even bought a new, non ECC DIMM and I seem to have the same pattern. Right now I try with 768MB (512MB/256MB ECC). Let you know about findings. Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 8 19:41:25 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D753710656A1 for ; Wed, 8 Oct 2008 19:41:25 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4E08FC15 for ; Wed, 8 Oct 2008 19:41:24 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m98JfMGu069750; Wed, 8 Oct 2008 21:41:23 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48ED0CE2.1060006@fgznet.ch> Date: Wed, 08 Oct 2008 21:41:22 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: <48EA1A3D.3010607@fgznet.ch> <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> <48EBCECC.4020802@fgznet.ch> <48EC85A1.90005@fgznet.ch> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 19:41:25 -0000 Hi, Marco Trillo wrote: > I'm sorry you compiled all of that for nothing, "mpg321" was a bad > example in that respect :-( No worry. It's not the only machine I'm sitting in front of ;) > Very nice! :-) Thanks a lot for testing it, so the final version > will work out of the box for (hopefully) all iMac DVs! Hopefully yes. As I see from the cvs commits the dbdma part is already in, right? The aoa.c on your page is not yet updated with the fix you proposed me to test, is that coming soon work? Also, I'm just curious, how do you proceed to get this into sys/powerpc/powermac? > [...] >>>> Enabled outputs: Headphones/Speaker in the order I plug unplug the piece. >>> Well, at least the port detection is working. >> And now even playing mp3 is working. >> The only thing I did not find out is how to play cd's, but that's not that >> important to me. > > You can use a tool such as "cdda2wav" (distributed as part of > "cdrtools"), which has the ability to play CDs in 'live' but in > digital mode; in addition, of course, it can rip the tracks to files > in the hard disk... cdda2wav only seems to work with scsi drives? I ripped my cd's on OS-X to get a test mp3. > Thanks ! Thank you Marco! Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 01:28:33 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2323710656A3 for ; Thu, 9 Oct 2008 01:28:33 +0000 (UTC) (envelope-from ncoleman@internode.on.net) Received: from mail.internode.on.net (bld-mail09.adl2.internode.on.net [203.16.214.73]) by mx1.freebsd.org (Postfix) with ESMTP id 625378FC18 for ; Thu, 9 Oct 2008 01:28:31 +0000 (UTC) (envelope-from ncoleman@internode.on.net) Received: from [192.168.13.1] (unverified [121.45.73.38]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 45085485-1927428 for ; Thu, 09 Oct 2008 11:43:24 +1030 (CDT) Message-ID: <48ED5ABC.4040605@internode.on.net> Date: Thu, 09 Oct 2008 09:13:32 +0800 From: Nick Coleman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Console ScrollBack on G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 01:28:33 -0000 I've just installed 7.0 on an old G4 iMac I was given. It was quite an experience as I've never used a Mac or FreeBSD before, so I had to learn about two new environments at the same time. Talk about the blind leading the blind :). (Many thanks to Peter Grehan's notes on the PPC install, couldn't have done it without them.) Anyway, I'm compiling a bunch of stuff on ports right now. I take it there are no binaries for Xorg? My question is: how do you scroll back the console buffer (sysconsole) with a Mac keyboard, since there isn't a Pause key. Many thanks, Nick From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 03:01:41 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D25091065695 for ; Thu, 9 Oct 2008 03:01:41 +0000 (UTC) (envelope-from ncoleman@internode.on.net) Received: from mail.internode.on.net (bld-mail08.adl2.internode.on.net [203.16.214.72]) by mx1.freebsd.org (Postfix) with ESMTP id 231A28FC1A for ; Thu, 9 Oct 2008 03:01:40 +0000 (UTC) (envelope-from ncoleman@internode.on.net) Received: from [192.168.13.1] (unverified [121.45.73.38]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 31072835-1927428 for ; Thu, 09 Oct 2008 13:31:38 +1030 (CDT) Message-ID: <48ED741B.3000203@internode.on.net> Date: Thu, 09 Oct 2008 11:01:47 +0800 From: Nick Coleman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: re: Extreme difficulty with partitioning on mac powerpc g4 [long] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 03:01:42 -0000 > Good evening. > > I'm having some significant trouble using the install.iso for ppc. This > trouble being (with both 7.0-RELEASE and 7.1-BETA) that the installer > insists on doing its partitioning with fdisk. I have used linux fdisk to > make the partition tables up, and failing this attempted some semblance > of partitioning with Mac OS X Disk Utility (an idea taken from OpenBSD > install docs for ppc). I also attempted to use GParted, and none of > these attempts at partitioning are being picked up. FWIW, I'm brand new to FreeBSD and Mac, so none of this is gospel, just what worked for me. It took me about 4 or 5 attempts before I got it to work. This is for 7.0 by the way. I ended up spending quite a few days reading various sites to get it to work, but successfully in the end. I found the netBSD instructions for the PPC to be quite helpful, and Peter Grehan's instructions too. I will go into a fair bit of detail for those reading this later, might save a few days of research. This is what I did: From what I understand, you need to use mac-fdisk (Debian, Mac OS X; I think it might even just be a frontend to parted) or parted. I used parted for a PPC build, in a Ubuntu live CD session. Ubuntu's latest releases don't support PPC, but their 6.x build is still maintained and does support it. I downloaded the live CD (700MB just to run parted!). Perhaps you could do it easier with a smaller build of a live CD, but I have a fast connection and by that point (tearing out hair!) couldn't be bothered faffing around to find something else. (BTW, does Gparted support ppc? I didn't think it did, so I didn't explore it any further other than reading their website intro.) I booted the Ubuntu live CD, opened a terminal session, ran parted, and created all the partitions. You need to create all the partitions now, so plan ahead on how many partitions and their sizing. I believe you can't create just one partition hoping to use sysinstall in FreeBSD later to subdivide it into the various partitions, you need to create them all now. Note the partition (slice) numbers and sizes for later. I then booted into the FreeBSD install CD. In my experience, you must use the boot iso and not the disk1 iso. For some reason, sysinstall was never successful in installing the packages if I had booted from disk1. In sysinstall, I [C]reated the partitions by using the existing ones I had already set up. I set it to rewrite file systems and swap. Do this even if you have a half-finished install already in the partitions. I was never successful at completing a previously failed install, so gave up and rewrote the file systems, thereby losing everything I had done in previous sessions. After I tried this method, it worked. Previously it failed every time at the point of installing packages (write error -1, couldn't write to ...etc) after downloading them. I installed packages with FTP to a local mirror. Several times it failed with "couldn't find packages/INDEX". Timeout bug? Again, if this happens, bite the bullet and start again, rewriting the file system in the partitions. I was never successful at restarting a failed install. Ha, I probably downloaded the entire distro about 5 times, lucky my ISP quota was unusually empty this month. So that's it. I ended up doing a minimum install because I got sick of downloading all those packages just for the install to fail. I ended up with a minimum just so I could get to a shell after rebooting. On a side note, by this stage, Open Firmware and I have quite a close relationship. :). Open Firmware is my bro'. > > It all comes back to me hitting "custom install" as I always do, and the > damned partitioner, and me trying to do _anything_ results in a SIG11 > (Segmentation Violation i believe). > > a) Is there a known workaround? > ` - b) If there is, why are there no docs anywhere on the internet? > ` - c) If (following either assistance or dumb luck) I get it > working, would a "walkthrough" be welcomed? (see lack of docs) > |- d) If no known workaround, are there any suggestions from the ppc > devs and users on this ML? > To be honest, I was surprised at how little info there is out on the net. I found only 3 (!) sites with good practical info. I wonder if it is just that there are very few people actually installing FreeBSD for the first time on a G4. Perhaps just you and me... :) -- Nick From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 05:12:05 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E5C11065686 for ; Thu, 9 Oct 2008 05:12:05 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3C31F8FC13 for ; Thu, 9 Oct 2008 05:12:04 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m995BxpG010871; Thu, 9 Oct 2008 16:12:00 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Nick Coleman In-Reply-To: <48ED741B.3000203@internode.on.net> References: <48ED741B.3000203@internode.on.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pdX/IZ69LyL+iurpvoXS" Date: Thu, 09 Oct 2008 16:12:33 +1100 Message-Id: <1223529153.15248.200.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: FreeBSD PowerPC ML Subject: re: Extreme difficulty with partitioning on mac powerpc g4 [long] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 05:12:05 -0000 --=-pdX/IZ69LyL+iurpvoXS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-09 at 11:01 +0800, Nick Coleman wrote: > FWIW, I'm brand new to FreeBSD and Mac, so none of this is gospel, just=20 > what worked for me. It took me about 4 or 5 attempts before I got it to=20 > work. This is for 7.0 by the way. Welcome to FreeBSD, and welcome to Macintosh. > I ended up spending quite a few days reading various sites to get it to=20 > work, but successfully in the end. I found the netBSD instructions for=20 > the PPC to be quite helpful, and Peter Grehan's instructions too. That's odd, I found them to be a tad skeleton. > I will go into a fair bit of detail for those reading this later, might=20 > save a few days of research. This is what I did: >=20 > From what I understand, you need to use mac-fdisk (Debian, Mac OS X; I=20 > think it might even just be a frontend to parted) or parted. I used=20 > parted for a PPC build, in a Ubuntu live CD session. Ubuntu's latest=20 > releases don't support PPC, but their 6.x build is still maintained and=20 > does support it. I downloaded the live CD (700MB just to run parted!).=20 > Perhaps you could do it easier with a smaller build of a live CD, but=20 > I have a fast connection and by that point (tearing out hair!) couldn't=20 > be bothered faffing around to find something else. (BTW, does Gparted=20 > support ppc? I didn't think it did, so I didn't explore it any further=20 > other than reading their website intro.) I eventually used Finnix for this at the suggestion of Richard DeLaurell. > So that's it. I ended up doing a minimum install because I got sick of=20 > downloading all those packages just for the install to fail. I ended up=20 > with a minimum just so I could get to a shell after rebooting. >=20 > On a side note, by this stage, Open Firmware and I have quite a close=20 > relationship. :). Open Firmware is my bro'. > To be honest, I was surprised at how little info there is out on the=20 > net. I found only 3 (!) sites with good practical info. I wonder if=20 > it is just that there are very few people actually installing FreeBSD=20 > for the first time on a G4. Perhaps just you and me... :) You and Me Against The World comes to mind. Would you be interested in improving the PowerPC port page on the FreeBSD wiki with this information, with me ? :) It would definitely help other newcomers. -- Horst. --=-pdX/IZ69LyL+iurpvoXS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjtksEACgkQRtTtv0BbTe5PwwCfW3bY0S2mIhzIVFUZpxu5S9NW yiwAoKOarrlxekYlCqI3oe2m3SLgld5B =uN2i -----END PGP SIGNATURE----- --=-pdX/IZ69LyL+iurpvoXS-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 08:04:04 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39080106568A for ; Thu, 9 Oct 2008 08:04:04 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBFC8FC0A for ; Thu, 9 Oct 2008 08:04:03 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4325955wfg.7 for ; Thu, 09 Oct 2008 01:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GCB5FtWKKcGT3VEbcdRoCKJWfN+DXP8xCv9mj/8KwVI=; b=bHWXyHHdCHR++RyfdmQTFU6lIbNsiK444kpMgABwszgZlS90DYcXUJx1+nQSMSPlTj LPIPY8x6sVtjIjBBDDpa8+0kBpUa18+OPmuRg0jhIOj3xdhPlyIyFtMXJBG3T3mOiBtb Ktz8nYI9nn19FR81ZDSTUttuw62Le3SIBDMbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qMXXhI6gOXEo+PmPByRmJWW20EdcOBhhGh5WVHFrFeAzkDJelAjQ+8ZiPHdAzInFKF jnrkrjYtkuOucWMYqdIug+qkbFeGljhrZtx+EjJfD60lWhWWkg1cumgdUlUsqMC8kr9y ukiFqbwITjXjQh4VvO1z3YP2HB1Sl2hdGv5Fw= Received: by 10.143.19.16 with SMTP id w16mr4159219wfi.223.1223539443703; Thu, 09 Oct 2008 01:04:03 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Thu, 9 Oct 2008 01:04:03 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 10:04:03 +0200 From: "Marco Trillo" To: "Nick Coleman" In-Reply-To: <48ED741B.3000203@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48ED741B.3000203@internode.on.net> Cc: freebsd-ppc@freebsd.org Subject: Re: Extreme difficulty with partitioning on mac powerpc g4 [long] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 08:04:04 -0000 Hi, On Thu, Oct 9, 2008 at 5:01 AM, Nick Coleman wrote: > From what I understand, you need to use mac-fdisk (Debian, Mac OS X; I think > it might even just be a frontend to parted) or parted. Actually the tool is called "pdisk", "mac-fdisk" is just a Debian rename for it (I don't know why). > PPC build, in a Ubuntu live CD session. Ubuntu's latest releases don't > support PPC, but their 6.x build is still maintained and does support it. > I downloaded the live CD (700MB just to run parted!). Hmm... an easier option is booting from the Mac OS X installation media. It contains a "Disk Utility" application that can be opened from the menu and can be used to create all the partitions -- and the tool is entirely graphical. It requires that the partitions be initially formated in either HFS (the Mac OS filesystem) or UFS; for the FreeBSD partition(s) either format can be used as they will be reformated later by sysinst using FreeBSD's own filesystems. For older Macs which come with Mac OS 9 media, a similar tool called "Drive setup" can be used. > [...] > On a side note, by this stage, Open Firmware and I have quite a close > relationship. :). Open Firmware is my bro'. :-) . Regards, Marco. From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 08:18:00 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 999C1106564A for ; Thu, 9 Oct 2008 08:18:00 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6686E8FC21 for ; Thu, 9 Oct 2008 08:18:00 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4331054wfg.7 for ; Thu, 09 Oct 2008 01:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0SWsMZi5PrGYLXWBTRFxvzsWT9Lj55c8uuS7iKZVUzA=; b=L9eusdn5OUtngdB6wHygDLn3t9tAl2rV+NMQKxgaQmVlLzkxmmwJE6qSerVi6SrpIY SVxUXsC/VuSP2mD1XSd0IDU/2n0FsMWRXdnqxPJ8Kkyc5H5WWTmNIDAyumwND+WrNDTN pPYYlQUkJx0WvcwKMkaAQJFTJJes7fMw0h0g0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=S5jK3CXFS6nVHZ7dp6Xun5JUgEnWsJWOKmtjjzx5h2MDOdU9nyEiJbcyK9hEq+S2Xi svZ7mxdii5djwanpnv56Q2PjkaokKC+qx/u2N/bQt47aDB3uJboNrw8ZaDM/tRI747W7 XznLIyuNWrNxm4AhW0XU0KliD4Hn9vqyZWqfk= Received: by 10.142.188.4 with SMTP id l4mr4169801wff.151.1223540279833; Thu, 09 Oct 2008 01:17:59 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Thu, 9 Oct 2008 01:17:59 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 10:17:59 +0200 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <48ED0CE2.1060006@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48EA7CD4.7040404@fgznet.ch> <48EBAF84.2090001@fgznet.ch> <48EBCECC.4020802@fgznet.ch> <48EC85A1.90005@fgznet.ch> <48ED0CE2.1060006@fgznet.ch> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Screamer Audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 08:18:00 -0000 Hi, On Wed, Oct 8, 2008 at 9:41 PM, Andreas Tobler wrote: >> Very nice! :-) Thanks a lot for testing it, so the final version >> will work out of the box for (hopefully) all iMac DVs! > > Hopefully yes. As I see from the cvs commits the dbdma part is already in, > right? Yes, an improved version of the extensions for the dbdma API is already in thanks to Nathan. > The aoa.c on your page is not yet updated with the fix you proposed me to > test, is that coming soon work? > Also, I'm just curious, how do you proceed to get this into > sys/powerpc/powermac? Actually I have split the "aoa.c" file in different files for the different audio controllers, intended to go into the "sys/dev/sound/macio" directory, which is where all the other sound drivers for other platforms reside, instead of "sys/powerpc/powermac". The new, splitted version of the driver will of course include the fix :-) . >>> And now even playing mp3 is working. >>> The only thing I did not find out is how to play cd's, but that's not >>> that >>> important to me. >> >> You can use a tool such as "cdda2wav" (distributed as part of >> "cdrtools"), which has the ability to play CDs in 'live' but in >> digital mode; in addition, of course, it can rip the tracks to files >> in the hard disk... > > cdda2wav only seems to work with scsi drives? I ripped my cd's on OS-X to > get a test mp3. It also works with ATAPI drives if the kernel is compiled with ATAPI/CAM support -- just like the "cdrecord" utility. Regards, Marco. From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 09:40:56 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BD0106568F for ; Thu, 9 Oct 2008 09:40:56 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2F48FC0C for ; Thu, 9 Oct 2008 09:40:56 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4362812wfg.7 for ; Thu, 09 Oct 2008 02:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=gvBIyH2VPQPxqfAtWXqcHxbWn2FjPMahWyC5rMCnnds=; b=Bh8PQCLuY4PWgMa9wLyPu86QyyihnfINNVT5/tTmawslbIT3XoBQcTNR6b+F01hwjd K+HkXV6ZjZ9v1Y5bXwlppvXxVi2C9zR+bfmwJuoOfEfGjpQ/m98pLuylpC6Q8nfwnx1G m+63674evf4aAyVOZJPhazkUw8vcwd2SgGv1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=KyH0WLW8y7DbkDL2M7AXMF0j4x190NoDMvsrDqaJ0hxjn2cz2U9HR8tgg60H/3m27K /ZwBV/wa3eSNZJsKk6fr2QOjf/7IkLRT5+oQ1BERExJoSIvpIGx5P6JAw0pYKadxpjtS 2hlDVyS/9VM+R6Ym9qR2IScB+5jtLeGOBrliA= Received: by 10.142.14.18 with SMTP id 18mr4217631wfn.62.1223545255804; Thu, 09 Oct 2008 02:40:55 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Thu, 9 Oct 2008 02:40:55 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 11:40:55 +0200 From: "Marco Trillo" To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 09:40:56 -0000 Hi all, I've implemented audio output for the "Tumbler" and "Snapper" Apple I2S-based audio devices. The machine I have is a eMac G4, but these devices are found on a lot of G3 and G4 systems. In particular, all iMac G4's, all eMacs, all iBook G4's and most of PowerBook G4's have either "Tumbler" or "Snapper". The following is a more detailed list. Anyone interested in testing it? Below is more information on how to obtain it. Thanks a lot! iMacs: - "PowerMac4,2" iMac G4 (2002) [tumbler] - "PowerMac4,5" iMac G4 17'' [tumbler] - "PowerMac6,1" iMac G4 17'' (2003) [tumbler?] - "PowerMac6,3" iMac G4 20'' (Nov 2003) [snapper?] eMacs: - "PowerMac4,4" eMac G4 (2002, 2003) [snapper] - "PowerMac6,4" eMac G4 (2004, 2005) [snapper] iBooks: - "PowerBook4,1" iBook G3 (May 2001) [tumbler] - "PowerBook4,2" iBook G3 [tumbler?] - "PowerBook4,3" iBook G3 (2002, 2003) [tumbler] - "PowerBook6,3" iBook G4 (2003) [snapper] - "PowerBook6,5" iBook G4 (2004) [snapper] - "PowerBook6,7" iBook G4 (2005) [snapper] PowerMacs: - "PowerMac3,4" PowerMac G4 "Digital audio" [tumbler] - "PowerMac3,5" PowerMac G4 "QuickSilver" [tumbler] - "PowerMac3,6" PowerMac G4 "Mirrored drive doors" [snapper] PowerBooks: - "PowerBook3,3" PowerBook G4 "Gigabit ethernet" [tumbler] - "PowerBook3,4" PowerBook G4 "DVI" [snapper] - "PowerBook3,5" PowerBook G4 [snapper] - "PowerBook5,1" PowerBook G4 [snapper] - "PowerBook5,2" PowerBook G4 [snapper] - "PowerBook5,3" PowerBook G4 [snapper] - "PowerBook5,4" PowerBook G4 [snapper] - "PowerBook5,5" PowerBook G4 [snapper] - "PowerBook5,6" PowerBook G4 [snapper] - "PowerBook5,7" PowerBook G4 [snapper?] - "PowerBook6,1" PowerBook G4 [snapper] - "PowerBook6,2" PowerBook G4 [snapper] - "PowerBook6,4" PowerBook G4 [snapper] - "PowerBook6,7" PowerBook G4 [snapper] - "PowerBook6,8" PowerBook G4 [snapper] The driver can be obtained in the following tarball: It includes the "sound/" and "powermac/" subdirectories to include in the kernel, something like this: $ cp -R sound/macio /usr/src/sys/dev/sound/macio $ cp powermac/* /usr/src/sys/powerpc/powermac/ In addition, the "patches/" subdirectory contains the following patches: - macio.patch to apply in /usr/src/sys/powerpc/powermac - files.patch to apply in /usr/src/sys/conf - generic.patch to apply in /usr/src/sys/powerpc/conf, for the GENERIC kernel. If you don't use the GENERIC kernel you can also enable it manually by including the following lines: device sound device davbus device i2s And of course, some dmesg output from my machine. It's very verbose due to debug being enabled: pcm0: mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 30,1,2,31,3,4 on macio0 interrupting at irq 1 pcm0: [ITHREAD] GPIO : addr 0x6f GPIO : addr 0x70 GPIO : addr 0x75 interrupting at irq 61 pcm0: [ITHREAD] GPIO : addr 0x67 enabled outputs: SPEAKER resetting codec [...] kiic0: mem 0x18000-0x18fff irq 26 on macio0 [...] pcm0: codec: at address 6Ah on kiic0 $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) Installed devices: pcm0: at i2s [GIANT] (1p:1v/0r:0v channels default) Thanks and regards! Marco From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 09:53:57 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D5D510656A6 for ; Thu, 9 Oct 2008 09:53:57 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0928FC4C for ; Thu, 9 Oct 2008 09:53:57 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so4367468wfg.7 for ; Thu, 09 Oct 2008 02:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uCBUpVEUwyDuZlxNehZ9Hxo/9Ql1ROw9ICtZWI0OOq4=; b=u0HUgmzl5o4WvPnSj3OjMJsWD/pSp74wftY4xpnLzE2O+ivZIN3ojvzVX9NG3h3eiR mNHZ9tKPhsnZLRmF5cdG055pfx50F2nXcUDfaWMo0EFE6uMLa2siWlmn3ZOZ17nwFJVn U7orUVN3SH5zts3qYaYfJABLIlrlWJ/BZIXUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pq4tmy+xAuG+R9wHn2YSRrJSLbohFEEprh7onzvZ50IMS0qmWn2ZnY2d4P3keINjUR PJfQ/sZcld871S5xIKjIf/TC7Bv6uB71urx6PwEbBdSvj+O1ygmBpCC+PUO9aidhhArU 0SfNItb+3D1Q8QEXGwF3R0XoBgqf6tXrC8tNs= Received: by 10.142.185.13 with SMTP id i13mr4210363wff.219.1223546036930; Thu, 09 Oct 2008 02:53:56 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Thu, 9 Oct 2008 02:53:56 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 11:53:56 +0200 From: "Marco Trillo" To: freebsd-ppc@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 09:53:57 -0000 Hi, On Thu, Oct 9, 2008 at 11:40 AM, Marco Trillo wrote: > In particular, all iMac G4's, all eMacs, all iBook G4's and most of > PowerBook G4's have either "Tumbler" or "Snapper". ... and some PowerMacs, as detailed in the list. Oops, I forgot to mention that the volume defaults to 0 and that it can be changed with the mixer(8) utility. For example: $ mixer vol 93 Setting the mixer vol from XX:XX to 93:93. The output port is also changed automatically when something is plugged or unplugged to / from the headphone and line-out jacks. Thanks, Marco. From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 14:21:27 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADBB310656A9 for ; Thu, 9 Oct 2008 14:21:27 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [211.29.132.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3125B8FC24 for ; Thu, 9 Oct 2008 14:21:26 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail01.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m99ELPjl029164 for ; Fri, 10 Oct 2008 01:21:25 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MwAMWyi1tHHUKYTNchG0" Date: Fri, 10 Oct 2008 01:22:01 +1100 Message-Id: <1223562121.15248.213.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: The only box that can't mount its own install media. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 14:21:27 -0000 --=-MwAMWyi1tHHUKYTNchG0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I realise that this email may sound like a bad joke. Believe me it is not.=20 I would like to know i can boot into BSD without needing a CD to boot from, before I start building my world.=20 To this end I attempted to set up the bootloader as instructed earlier (boot.tbxi) by simply copying it to the root of the HFS partition. It would appear however that my computer will have none of that. So, next thing to try is copying /boot/loader from the CD to /loader on the HFS partition, as i was also instructed by another ML user.=20 ... The FreeBSD cd won't mount. It just says : invalid argument=20 when I try to specify a mountpoint, as such:=20 # mount /dev/acd0 /mnt/cdrom=20 Please forgive me if I'm Doing It Wrong.=20 if the command=20 # mount /dev/acd0 is used, the box simply does nothing, but on the otehr hand doesn't report an error. quaint, no? Also, to whoever shouted out earlier about improved UDMA support in the kernel, can I have links to the relevant downloads? I'm going to rebuild this thing anyhow so I may as well use the niceties :) Cheers.=20 -- Horst. --=-MwAMWyi1tHHUKYTNchG0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjuE4kACgkQRtTtv0BbTe6LfACeJDKKZ7zHTIukx3k2TBczh21d +PgAn2j7P4cIDbQQ3Zx7cmsAPA3Pk+Nl =lyuW -----END PGP SIGNATURE----- --=-MwAMWyi1tHHUKYTNchG0-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 15:01:14 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8B5A106569C for ; Thu, 9 Oct 2008 15:01:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9DB8FC14 for ; Thu, 9 Oct 2008 15:01:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K8H00M088E17500@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 09 Oct 2008 10:01:13 -0500 (CDT) Received: from trantor.tachypleus.net (ppp-70-226-171-21.dsl.mdsnwi.ameritech.net [70.226.171.21]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K8H00HGL8DY8D40@smtpauth2.wiscmail.wisc.edu>; Thu, 09 Oct 2008 10:01:11 -0500 (CDT) Date: Thu, 09 Oct 2008 10:05:56 -0500 From: Nathan Whitehorn In-reply-to: <1223562121.15248.213.camel@horst-tla> To: =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= Message-id: <48EE1DD4.8010906@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=70.226.171.21 X-Spam-PmxInfo: Server=avs-13, Version=5.4.2.344556, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.9.144312, SenderIP=70.226.171.21 References: <1223562121.15248.213.camel@horst-tla> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: The only box that can't mount its own install media. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 15:01:14 -0000 Horst Günther Burkhardt III wrote: > I realise that this email may sound like a bad joke. Believe me it is > not. > > I would like to know i can boot into BSD without needing a CD to boot > from, before I start building my world. > > To this end I attempted to set up the bootloader as instructed earlier > (boot.tbxi) by simply copying it to the root of the HFS partition. It > would appear however that my computer will have none of that. You need both boot.tbxi and loader on the HFS partition. > So, next thing to try is copying /boot/loader from the CD to /loader on > the HFS partition, as i was also instructed by another ML user. > > ... The FreeBSD cd won't mount. It just says : > > invalid argument > > when I try to specify a mountpoint, as such: > > # mount /dev/acd0 /mnt/cdrom This is because the file system is wrong (hence invalid argument). mount defaults to UFS, and the CD is not a UFS file system. You want mount -t cd9660 /dev/acd0 /cdrom. I'd suggest reading the handbook or the mount manpage for this kind of thing, since it is not PowerPC-specific. > if the command > > # mount /dev/acd0 > > is used, the box simply does nothing, but on the otehr hand doesn't > report an error. quaint, no? If the device is listed in /etc/fstab, you want to use the mountpoint instead of the device name. E.g. mount /cdrom. > Also, to whoever shouted out earlier about improved UDMA support in the > kernel, can I have links to the relevant downloads? I'm going to rebuild > this thing anyhow so I may as well use the niceties :) It is in -CURRENT right now, waiting on some residual bugs to be merged into 7-STABLE. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 15:19:46 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D191106564A for ; Thu, 9 Oct 2008 15:19:46 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.freebsd.org (Postfix) with ESMTP id A8CF78FC18 for ; Thu, 9 Oct 2008 15:19:45 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail04.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m99FJhOL016218 for ; Fri, 10 Oct 2008 02:19:44 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <1223562121.15248.213.camel@horst-tla> References: <1223562121.15248.213.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nuS2j/MwYm7tY+4t6q60" Date: Fri, 10 Oct 2008 02:20:20 +1100 Message-Id: <1223565620.15248.218.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: The only box that can't mount its own install media. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 15:19:46 -0000 --=-nuS2j/MwYm7tY+4t6q60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-10 at 01:22 +1100, Horst G=C3=BCnther Burkhardt III wrote: > I realise that this email may sound like a bad joke. Believe me it is > not.=20 >=20 > I would like to know i can boot into BSD without needing a CD to boot > from, before I start building my world.=20 >=20 > To this end I attempted to set up the bootloader as instructed earlier > (boot.tbxi) by simply copying it to the root of the HFS partition. It > would appear however that my computer will have none of that. >=20 > So, next thing to try is copying /boot/loader from the CD to /loader on > the HFS partition, as i was also instructed by another ML user.=20 [...] > Also, to whoever shouted out earlier about improved UDMA support in the > kernel, can I have links to the relevant downloads? I'm going to rebuild > this thing anyhow so I may as well use the niceties :) >=20 > Cheers.=20 >=20 > -- Horst. Disregard that, i suck ... CD spindles.=20 I figured out the mount problem.=20 media's mounted, now I need to figure out how the loader works. Any volunteers to explain what drops where? (i'm using hfsutils, i have no os x anymore)=20 Also, is there any more "elegant" bootloader for PPC that could be used?=20 --=-nuS2j/MwYm7tY+4t6q60 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjuITQACgkQRtTtv0BbTe4ooQCfe174jYL9UipmxmSIaWmBiToD PMwAn2ANhcTPV9Ftd6Bv6tV6woV3IMe4 =ec/+ -----END PGP SIGNATURE----- --=-nuS2j/MwYm7tY+4t6q60-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 15:29:31 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 086B7106568F for ; Thu, 9 Oct 2008 15:29:31 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7F5288FC17 for ; Thu, 9 Oct 2008 15:29:30 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m99FTS47012819 for ; Fri, 10 Oct 2008 02:29:29 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <1223565620.15248.218.camel@horst-tla> References: <1223562121.15248.213.camel@horst-tla> <1223565620.15248.218.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-KyfO+VSG8V84cNBt548g" Date: Fri, 10 Oct 2008 02:30:05 +1100 Message-Id: <1223566205.15248.224.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Apologies for failing. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 15:29:31 -0000 --=-KyfO+VSG8V84cNBt548g Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Update:=20 I got the loader installed. So far, so hoopy. Now I just need to remember the hackery to auto-boot FreeBSD (something to do with setting the loader parameters in openfirmware) and she'll ride.=20 Next tasks:=20 - Compile better kernel - Set dhclient to run automatically on startup - Get X - Get Xfce - Get SXEmacs - Try and get the AIX/PPC binaries for Netscape Communicator 4 to run ;) (Note: The last point is purely "for the lulz", I don't actually intend to use it as my main browser.) Also, re Nathan Whitehorn: Was there not a way to get the UDMA support before it gets into -STABLE? I recall a patch.=20 At any rate i'm running -BETA so it's not as though I care if a few tiny things are slightly imperfect :P=20 Thanks again for all the help: -- Horst. --=-KyfO+VSG8V84cNBt548g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkjuI3wACgkQRtTtv0BbTe69bwCfcqab9KiR26HO05opD4wzLagW dzYAoJOqZTebEOPKtP79LufjQ0mijWLD =HNfR -----END PGP SIGNATURE----- --=-KyfO+VSG8V84cNBt548g-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 15:46:48 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1409B10657A3; Thu, 9 Oct 2008 15:46:48 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id A24E68FC23; Thu, 9 Oct 2008 15:46:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m99FkiJU055421; Thu, 9 Oct 2008 17:46:44 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EE2764.6070208@fgznet.ch> Date: Thu, 09 Oct 2008 17:46:44 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <46171.83.233.155.226.1222694615.squirrel@webmail.student.lth.se> <48E0DDE6.5030909@freebsd.org> In-Reply-To: <48E0DDE6.5030909@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: ADB support? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 15:46:48 -0000 Hi Nathan, Nathan Whitehorn wrote: >> I'm wondering how the ADB keyboard support is coming along? >> The last thing I've seen on this list is from July. > > I've been stymied by a lack of hardware. It works great on my PowerMac > G3, but that has a different controller chip (CUDA) than the one > everybody wants support for (PMU, found in laptops). My current work is > here: > > http://people.freebsd.org/~nwhitehorn/adb.diff > > It has a PMU driver, which may just work. Of course, it more likely > won't... Motivated people are welcome to hack it, and I'd appreciate any > reports. To add this support, apply the patch to sys on a recent > -CURRENT, add the following to your kernel config, and recompile: > > device cuda > device pmu > device adb I guess 'device adb' only, is ok, right? Btw, do you have the viareg.h somewhere? I miss it while building the above patch. TIA, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 16:28:24 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 322FB1065687; Thu, 9 Oct 2008 16:28:24 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 090F78FC0C; Thu, 9 Oct 2008 16:28:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id m99GSLiM086774; Thu, 9 Oct 2008 12:28:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id m99GSL2k051961; Thu, 9 Oct 2008 12:28:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D947173039; Thu, 9 Oct 2008 12:28:20 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081009162820.D947173039@freebsd-current.sentex.ca> Date: Thu, 9 Oct 2008 12:28:20 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94/8394/Wed Oct 8 00:15:25 2008 clamav-milter version 0.94 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 16:28:24 -0000 TB --- 2008-10-09 15:11:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-09 15:11:01 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-09 15:11:01 - cleaning the object tree TB --- 2008-10-09 15:11:34 - cvsupping the source tree TB --- 2008-10-09 15:11:34 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-09 15:11:41 - building world (CFLAGS=-O -pipe) TB --- 2008-10-09 15:11:41 - cd /src TB --- 2008-10-09 15:11:41 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 9 15:11:43 UTC 2008 >>> 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 >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Oct 9 16:20:26 UTC 2008 TB --- 2008-10-09 16:20:26 - generating LINT kernel config TB --- 2008-10-09 16:20:26 - cd /src/sys/powerpc/conf TB --- 2008-10-09 16:20:26 - /usr/bin/make -B LINT TB --- 2008-10-09 16:20:26 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-09 16:20:26 - cd /src TB --- 2008-10-09 16:20:26 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Oct 9 16:20:26 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:163: warning: nested extern declaration of 'ata_atapi' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c: In function 'ata_acard_86X_setmode': /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:202: warning: implicit declaration of function 'ata_check_80pin' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:202: warning: nested extern declaration of 'ata_check_80pin' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c: At top level: /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: data definition has no type or storage class /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: type defaults to 'int' in declaration of 'ATA_DECLARE_DRIVER' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: parameter names (without types) in function declaration *** Error code 1 Stop in /src/sys/modules/ata/atapci/chipsets/ataacard. *** Error code 1 Stop in /src/sys/modules/ata/atapci/chipsets. *** Error code 1 Stop in /src/sys/modules/ata/atapci. *** Error code 1 Stop in /src/sys/modules/ata. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-09 16:28:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-09 16:28:20 - ERROR: failed to build lint kernel TB --- 2008-10-09 16:28:20 - tinderbox aborted TB --- 3466.34 user 404.30 system 4639.48 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 18:53:26 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CA591065687 for ; Thu, 9 Oct 2008 18:53:26 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id BCA428FC30 for ; Thu, 9 Oct 2008 18:53:25 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m99IrMAV058046; Thu, 9 Oct 2008 20:53:23 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EE5322.8030708@fgznet.ch> Date: Thu, 09 Oct 2008 20:53:22 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 18:53:26 -0000 Hi Marco, Marco Trillo wrote: > I've implemented audio output for the "Tumbler" and "Snapper" Apple > I2S-based audio devices. > > The machine I have is a eMac G4, but these devices are found on a lot > of G3 and G4 systems. > In particular, all iMac G4's, all eMacs, all iBook G4's and most of > PowerBook G4's have either "Tumbler" or "Snapper". > > The following is a more detailed list. Anyone interested in testing > it? Below is more information on how to obtain it. I tested the package on my iMac DV. Thanks! Works fine. The test on my Alu G4 book is outstanding. I wanted to include the adb.diff from Nathan as well. But unfortunately I seem to miss a file, viareg.h for/from his patch. If I get this file soon I can continue building, otherwise I'll build w/o adb support. (Somehow important since I do not like to attach a USB kbd to my G4 Alu Book.) Let you know about the outcome. Thanks again, Andreas imacb# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) Installed devices: pcm0: at davbus [GIANT] (1p:1v/0r:0v channels default) pcm0: mem 0x14000-0x14fff,0x8800-0x88ff,0x8900-0x89ff irq 24,9,10 on macio0 interrupting at irq 9 pcm0: [ITHREAD] pcm0: codec: . . . kiic0: mem 0x18000-0x18fff irq 26 on macio0 From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 19:13:46 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 859481065698 for ; Thu, 9 Oct 2008 19:13:46 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (ice.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDFA8FC0A for ; Thu, 9 Oct 2008 19:13:46 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 6A3D286CB1; Thu, 9 Oct 2008 14:13:45 -0500 (CDT) Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (ice.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 24687-10; Thu, 9 Oct 2008 14:13:45 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-165.icecube.wisc.edu [172.16.55.165]) by mail.icecube.wisc.edu (Postfix) with ESMTP id AB7F486CB0; Thu, 9 Oct 2008 14:13:44 -0500 (CDT) Message-ID: <48EE57DD.8030202@freebsd.org> Date: Thu, 09 Oct 2008 14:13:33 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Andreas Tobler References: <48EE5322.8030708@fgznet.ch> In-Reply-To: <48EE5322.8030708@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ice.icecube.wisc.edu Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 19:13:46 -0000 Andreas Tobler wrote: > Hi Marco, > > Marco Trillo wrote: > >> I've implemented audio output for the "Tumbler" and "Snapper" Apple >> I2S-based audio devices. >> >> The machine I have is a eMac G4, but these devices are found on a lot >> of G3 and G4 systems. >> In particular, all iMac G4's, all eMacs, all iBook G4's and most of >> PowerBook G4's have either "Tumbler" or "Snapper". >> >> The following is a more detailed list. Anyone interested in testing >> it? Below is more information on how to obtain it. > > I tested the package on my iMac DV. Thanks! > > Works fine. > > The test on my Alu G4 book is outstanding. I wanted to include the > adb.diff from Nathan as well. But unfortunately I seem to miss a file, > viareg.h for/from his patch. If I get this file soon I can continue > building, otherwise I'll build w/o adb support. (Somehow important > since I do not like to attach a USB kbd to my G4 Alu Book.) Sorry about that: http://people.freebsd.org/~nwhitehorn/viareg.h -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 19:52:30 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA945106568A for ; Thu, 9 Oct 2008 19:52:30 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB448FC0C for ; Thu, 9 Oct 2008 19:52:30 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 551F911C54; Fri, 10 Oct 2008 05:52:28 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EJZ19410 (AUTH peterg@ptree32.com.au); Fri, 10 Oct 2008 05:51:47 +1000 (EST) From: Peter Grehan To: =?iso-8859-1?Q?Horst=20G=FCnther=20Burkhardt=20III?= , FreeBSD PowerPC ML X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-Id: <20081010055147.EJZ19410@dommail.onthenet.com.au> Date: Fri, 10 Oct 2008 05:51:47 +1000 (EST) Cc: Subject: Re: The only box that can't mount its own install media. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 19:52:30 -0000 Hi Horst, >I need to figure out how the loader works. Any >volunteers to explain what drops where? (i'm using >hfsutils, i have no os x anymore) You'll want to copy the loader, and also a "tbxi" text file to the root directory of the HFS partition. The contents of the tbxi file can be derived from a couple of places - the FreeBSD release CD uses one: http://svn.freebsd.org/viewvc/base/head/release/powerpc/boot.tbxi?revision=133950&view=markup .. and replace the boot line with the partition that your kernel is on. Then, in OpenFirmware, set auto-boot? to true, boot-device to the disk, partition and file e.g. 0 > setenv boot-device hd:9,\boot.tbxi (after doing a test boot with 'boot hd:9,\boot.tbxi :) 0 > reset-all ... will save the env var and hopefully autoboot into FreeBSD. >Also, is there any more "elegant" bootloader for PPC that >could be used? I'd like to hope that Oliver Fromme's graphical loader work could be ported to the ppc/ofw loader. Here's a screen shot: http://www.secnetix.de/olli/FreeBSD/vloader/screenshot.png later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 19:55:16 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9895A1065687 for ; Thu, 9 Oct 2008 19:55:16 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5788FC3A for ; Thu, 9 Oct 2008 19:55:16 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 43F281174C; Fri, 10 Oct 2008 05:55:15 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EJZ19575 (AUTH peterg@ptree32.com.au); Fri, 10 Oct 2008 05:54:34 +1000 (EST) From: Peter Grehan To: =?iso-8859-1?Q?Horst=20G=FCnther=20Burkhardt=20III?= , FreeBSD PowerPC ML X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-Id: <20081010055434.EJZ19575@dommail.onthenet.com.au> Date: Fri, 10 Oct 2008 05:54:34 +1000 (EST) Cc: Subject: Re: Apologies for failing. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 19:55:16 -0000 Hi Horst, >- Get X >- Get Xfce You'll have to build these from source. Best to leave overnight. Configuring the Xorg server is a bit of an adventure, though there are a few NetBSD configs out there to copy from. >- Get SXEmacs I'd love to see that running on PPC :) Last time I looked at Emacs, there was quite a bit of build glue to get it going. Too complicated for my patience at the time. >- Try and get the AIX/PPC binaries for Netscape Communicator 4 to run ;) Firefox doesn't built at the moment: it requires a cut'n'paste of the Net/OpenBSD ppc asm glue in XPCOM. Now, doing an AIX binary emulation for FreeBSD is certainly a large task :) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 21:09:20 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9674F106568E; Thu, 9 Oct 2008 21:09:20 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4268FC1B; Thu, 9 Oct 2008 21:09:19 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m99L9GKr071871; Thu, 9 Oct 2008 23:09:17 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EE72FC.8010502@fgznet.ch> Date: Thu, 09 Oct 2008 23:09:16 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Nathan Whitehorn References: <48EE5322.8030708@fgznet.ch> <48EE57DD.8030202@freebsd.org> In-Reply-To: <48EE57DD.8030202@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 21:09:20 -0000 Hi Nathan, Nathan Whitehorn wrote: >> The test on my Alu G4 book is outstanding. I wanted to include the >> adb.diff from Nathan as well. But unfortunately I seem to miss a file, >> viareg.h for/from his patch. If I get this file soon I can continue >> building, otherwise I'll build w/o adb support. (Somehow important >> since I do not like to attach a USB kbd to my G4 Alu Book.) > Sorry about that: > http://people.freebsd.org/~nwhitehorn/viareg.h Thanks, locking hard while booting after detecting adb mouse (touchpad?) No abd mouse attached. More details later. Bedtime. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 22:03:03 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47B2D1065692; Thu, 9 Oct 2008 22:03:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2AF8FC13; Thu, 9 Oct 2008 22:03:02 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id m99M30C5053602; Thu, 9 Oct 2008 18:03:00 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id m99M30A0091640; Thu, 9 Oct 2008 18:03:00 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2CA7A73039; Thu, 9 Oct 2008 18:03:00 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081009220300.2CA7A73039@freebsd-current.sentex.ca> Date: Thu, 9 Oct 2008 18:03:00 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94/8399/Thu Oct 9 08:27:14 2008 clamav-milter version 0.94 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 22:03:03 -0000 TB --- 2008-10-09 20:46:41 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-09 20:46:41 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-09 20:46:42 - cleaning the object tree TB --- 2008-10-09 20:47:08 - cvsupping the source tree TB --- 2008-10-09 20:47:08 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-09 20:47:16 - building world (CFLAGS=-O -pipe) TB --- 2008-10-09 20:47:16 - cd /src TB --- 2008-10-09 20:47:16 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 9 20:47:18 UTC 2008 >>> 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 >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Oct 9 21:55:04 UTC 2008 TB --- 2008-10-09 21:55:04 - generating LINT kernel config TB --- 2008-10-09 21:55:04 - cd /src/sys/powerpc/conf TB --- 2008-10-09 21:55:04 - /usr/bin/make -B LINT TB --- 2008-10-09 21:55:04 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-09 21:55:04 - cd /src TB --- 2008-10-09 21:55:04 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Oct 9 21:55:04 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:163: warning: nested extern declaration of 'ata_atapi' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c: In function 'ata_acard_86X_setmode': /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:202: warning: implicit declaration of function 'ata_check_80pin' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:202: warning: nested extern declaration of 'ata_check_80pin' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c: At top level: /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: data definition has no type or storage class /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: type defaults to 'int' in declaration of 'ATA_DECLARE_DRIVER' /src/sys/modules/ata/atapci/chipsets/ataacard/../../../../../dev/ata/chipsets/ata-acard.c:285: warning: parameter names (without types) in function declaration *** Error code 1 Stop in /src/sys/modules/ata/atapci/chipsets/ataacard. *** Error code 1 Stop in /src/sys/modules/ata/atapci/chipsets. *** Error code 1 Stop in /src/sys/modules/ata/atapci. *** Error code 1 Stop in /src/sys/modules/ata. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-09 22:03:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-09 22:03:00 - ERROR: failed to build lint kernel TB --- 2008-10-09 22:03:00 - tinderbox aborted TB --- 3465.15 user 403.02 system 4578.05 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 9 22:44:53 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 049EB1065692 for ; Thu, 9 Oct 2008 22:44:53 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id D02AB8FC14 for ; Thu, 9 Oct 2008 22:44:52 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.140.221.138]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Thu, 09 Oct 2008 18:03:56 -0400 id 000ACBA8.48EE7FCD.000047C5 Date: Thu, 9 Oct 2008 18:03:52 -0400 From: Justin Hibbits To: freebsd-ppc@freebsd.org Message-ID: <20081009220352.GA1138@narn.knownspace> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 22:44:53 -0000 Marco, On Thu, Oct 09, 2008 at 11:40:55AM +0200, Marco Trillo wrote: > Hi all, > > I've implemented audio output for the "Tumbler" and "Snapper" Apple > I2S-based audio devices. > > The machine I have is a eMac G4, but these devices are found on a lot > of G3 and G4 systems. > In particular, all iMac G4's, all eMacs, all iBook G4's and most of > PowerBook G4's have either "Tumbler" or "Snapper". > > The following is a more detailed list. Anyone interested in testing > it? Below is more information on how to obtain it. > > Thanks a lot! > PowerMacs: > - "PowerMac3,4" PowerMac G4 "Digital audio" [tumbler] > - "PowerMac3,5" PowerMac G4 "QuickSilver" [tumbler] > - "PowerMac3,6" PowerMac G4 "Mirrored drive doors" [snapper] > > The driver can be obtained in the following tarball: > > > It includes the "sound/" and "powermac/" subdirectories to include in > the kernel, something like this: > $ cp -R sound/macio /usr/src/sys/dev/sound/macio > $ cp powermac/* /usr/src/sys/powerpc/powermac/ > > In addition, the "patches/" subdirectory contains the following patches: > - macio.patch to apply in /usr/src/sys/powerpc/powermac > - files.patch to apply in /usr/src/sys/conf > - generic.patch to apply in /usr/src/sys/powerpc/conf, for the GENERIC kernel. > > If you don't use the GENERIC kernel you can also enable it manually by > including the following lines: > > device sound > device davbus > device i2s I applied the patch, and got all the same output on my MDD as in your email, but there is no /dev/pcm0. I do have a /dev/sndstat, and /dev/mixer0. The following is the output of /dev/sndstat: FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) Installed devices: pcm0: at i2s [GIANT] (1p:1v/0r:0v channels default) And my dmesg: pcm0: mem 0x10000-0x10fff,0x8000-0x80ff,0x8100-0x81ff irq 30,1,2 on macio0 interrupting at irq 1 pcm0: [ITHREAD] GPIO : addr 0x6f interrupting at irq 61 pcm0: [ITHREAD] GPIO : addr 0x67 GPIO : addr 0x70 interrupting at irq 60 pcm0: [ITHREAD] GPIO : addr 0x66 GPIO : addr 0x75 enabled outputs: SPEAKER resetting codec tumbler_write called without I2C? pcm_getbuffersize returned 65536 aoa_dma_setprd: addr = 13434880, 32 slots aoa_chan_setformat: format = 268435488 aoa_chan_setspeed: speed = 44100 aoa_chan_setformat: format = 268435488 aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 aoa_chan_setspeed: speed = 44100 aoa_chan_setformat: format = 268435488 aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 aoa_chan_setspeed: speed = 44100 aoa_chan_setformat: format = 268435488 aoa_chan_setblocksize: blocksz = 2048, dma->blksz = 2048 kiic0: mem 0x18000-0x18fff irq 26 on macio0 pcm0: codec: at address 6Ah on kiic0 0a: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01: 60 43: 02 02: 01 00 00 00 00 00 04: 00 00 00 00 00 00 05: 72 06: 72 07: 10 00 00 00 00 00 00 00 00 08: 10 00 00 00 00 00 00 00 00 21: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23: 00 00 00 24: 00 00 00 40: c2 04: 00 5a d5 00 5a d5 Anything else you need to diagnose this? - Justin From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 03:06:17 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8CDE106568A for ; Fri, 10 Oct 2008 03:06:17 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id 576AD8FC27 for ; Fri, 10 Oct 2008 03:06:17 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.140.221.138]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Thu, 09 Oct 2008 23:06:16 -0400 id 000050D0.48EEC6A8.00001C8A Date: Thu, 9 Oct 2008 23:06:12 -0400 From: Justin Hibbits To: freebsd-ppc@freebsd.org Message-ID: <20081010030612.GB1138@narn.knownspace> References: <20081009220352.GA1138@narn.knownspace> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20081009220352.GA1138@narn.knownspace> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:06:17 -0000 On Thu, Oct 09, 2008 at 06:03:52PM -0400, Justin Hibbits wrote: > I applied the patch, and got all the same output on my MDD as in your email, but > there is no /dev/pcm0. I do have a /dev/sndstat, and /dev/mixer0. The What's really odd is that I don't have any /dev/pcm*. I kldload'd snd_uaudio, which showed in the dmesg output as creating pcm1, but there is no /dev/pcm1 either. Any ideas why I wouldn't have a pcm device show up in /dev, but is created in the kernel? - Justin From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 03:10:25 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B799106568C for ; Fri, 10 Oct 2008 03:10:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id E35C58FC16 for ; Fri, 10 Oct 2008 03:10:24 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K8I0060665C8Z00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 09 Oct 2008 22:10:24 -0500 (CDT) Received: from trantor.tachypleus.net (ppp-70-226-171-21.dsl.mdsnwi.ameritech.net [70.226.171.21]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K8I002UE65B6S10@smtpauth1.wiscmail.wisc.edu>; Thu, 09 Oct 2008 22:10:24 -0500 (CDT) Date: Thu, 09 Oct 2008 22:15:07 -0500 From: Nathan Whitehorn In-reply-to: <20081010030612.GB1138@narn.knownspace> To: Justin Hibbits Message-id: <48EEC8BB.50802@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=70.226.171.21 X-Spam-PmxInfo: Server=avs-9, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.10.25206, SenderIP=70.226.171.21 References: <20081009220352.GA1138@narn.knownspace> <20081010030612.GB1138@narn.knownspace> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:10:25 -0000 Justin Hibbits wrote: > On Thu, Oct 09, 2008 at 06:03:52PM -0400, Justin Hibbits wrote: >> I applied the patch, and got all the same output on my MDD as in your email, but >> there is no /dev/pcm0. I do have a /dev/sndstat, and /dev/mixer0. The > > What's really odd is that I don't have any /dev/pcm*. I kldload'd snd_uaudio, > which showed in the dmesg output as creating pcm1, but there is no /dev/pcm1 > either. Any ideas why I wouldn't have a pcm device show up in /dev, but is > created in the kernel? Sound devices on FreeBSD show up as /dev/audio and /dev/dsp, not /dev/pcm*. It may or may not show up in a directory listing. A good way to test your sound is to cat an au file (like this one: http://playground.sun.com/pub/p1275/misc/ofwsong.au) to /dev/audio. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 03:32:34 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0E01065686; Fri, 10 Oct 2008 03:32:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 466EE8FC13; Fri, 10 Oct 2008 03:32:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id m9A3WVtl075680; Thu, 9 Oct 2008 23:32:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id m9A3WVI7096596; Thu, 9 Oct 2008 23:32:31 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 0781973039; Thu, 9 Oct 2008 23:32:31 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20081010033231.0781973039@freebsd-current.sentex.ca> Date: Thu, 9 Oct 2008 23:32:31 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94/8264/Tue Sep 16 14:01:22 2008 clamav-milter version 0.94 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 03:32:34 -0000 TB --- 2008-10-10 02:19:29 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-10-10 02:19:29 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-10-10 02:19:29 - cleaning the object tree TB --- 2008-10-10 02:19:46 - cvsupping the source tree TB --- 2008-10-10 02:19:46 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-10-10 02:19:53 - building world (CFLAGS=-O -pipe) TB --- 2008-10-10 02:19:53 - cd /src TB --- 2008-10-10 02:19:53 - /usr/bin/make -B buildworld >>> World build started on Fri Oct 10 02:19:56 UTC 2008 >>> 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 >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Oct 10 03:27:38 UTC 2008 TB --- 2008-10-10 03:27:38 - generating LINT kernel config TB --- 2008-10-10 03:27:38 - cd /src/sys/powerpc/conf TB --- 2008-10-10 03:27:38 - /usr/bin/make -B LINT TB --- 2008-10-10 03:27:38 - building LINT kernel (COPTFLAGS=) TB --- 2008-10-10 03:27:38 - cd /src TB --- 2008-10-10 03:27:38 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Oct 10 03:27:39 UTC 2008 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/ohci_pci.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/sl811hs.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/slhci_pccard.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/uark.c cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/dev/usb/u3g.c /src/sys/dev/usb/u3g.c: In function 'u3g_attach': /src/sys/dev/usb/u3g.c:169: error: 'struct u3g_softc' has no member named 'sc_intr_number' /src/sys/dev/usb/u3g.c:170: error: 'struct u3g_softc' has no member named 'sc_intr_pipe' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-10-10 03:32:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-10-10 03:32:30 - ERROR: failed to build lint kernel TB --- 2008-10-10 03:32:30 - tinderbox aborted TB --- 3318.81 user 389.25 system 4381.20 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 05:50:03 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A9BF10656A4 for ; Fri, 10 Oct 2008 05:50:03 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id BDCB38FC21 for ; Fri, 10 Oct 2008 05:50:02 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9A5nxhA022140 for ; Fri, 10 Oct 2008 16:50:00 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <20081010055434.EJZ19575@dommail.onthenet.com.au> References: <20081010055434.EJZ19575@dommail.onthenet.com.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3RjTx4cAUTTIF0CZJ5d+" Date: Fri, 10 Oct 2008 16:50:39 +1100 Message-Id: <1223617839.15248.231.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: Apologies for failing. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 05:50:03 -0000 --=-3RjTx4cAUTTIF0CZJ5d+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-10 at 05:54 +1000, Peter Grehan wrote: > Hi Horst, >=20 > >- Get X > >- Get Xfce >=20 > You'll have to build these from source. Best to leave > overnight. Configuring the Xorg server is a bit of an > adventure, though there are a few NetBSD configs out there to > copy from. I've never had trouble with X.Org configurations thankfully. Also I'm starting to wish I had a more powerful PPC box - srsly I should not have to build ViM of all things ;) (i want my modeline back too btw) > >- Get SXEmacs >=20 > I'd love to see that running on PPC :) Last time I looked at > Emacs, there was quite a bit of build glue to get it going. > Too complicated for my patience at the time. I'm your man then. I work with the SXEmacs project. We already boast support for building on PPC/Darwin so given how much has been shared between the two it's not a huge leap to assume it can be made to work on PPC/FreeBSD relatively easily. :) Also, our build system is standard autotooled - aclocal, autoconf, configure, make, make install. It also has a Gentoo ebuild which I wrote (and which the project lead thought was impractical to do, but i proved him wrong haha) so theoretically it could even end up in ports if I figure out how to make a port. > >- Try and get the AIX/PPC binaries for Netscape Communicator > 4 to run ;) > Now, doing an AIX binary emulation for FreeBSD is certainly a > large task :) FreeBSD should already have AIX binary emulation layers ...=20 If not, anywhere else I can get Netscape Communicator in a PPC binary form that will run on FreeBSD? It's important that it's Communicator and not say Mozilla or one of the opensourced forks.=20 > later, >=20 > Peter. Thanks.=20 --=-3RjTx4cAUTTIF0CZJ5d+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkju7S8ACgkQRtTtv0BbTe6UEgCcCgI0MCWWsRhnUoOo7RuD9PpW +psAn0OP2ZL0Xl7zgUTgxEUPSBnZcd2J =v7El -----END PGP SIGNATURE----- --=-3RjTx4cAUTTIF0CZJ5d+-- From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 08:23:36 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 215DA106568E for ; Fri, 10 Oct 2008 08:23:36 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id E84F28FC13 for ; Fri, 10 Oct 2008 08:23:35 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so472316wfg.7 for ; Fri, 10 Oct 2008 01:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qphyxdyHKHlycE1iph+Ez826aUGkyVZSDq3+j29g+lM=; b=Szt6iCSz7oLPFnaUyQgaJMIqjG2GmQHh4QEDmUr7ms9bxMZOjXXRDS6ksLa+nW8I7E eWNBAafXG5UqpiKqsHA3G3gOrazntKHCQop2hHcBu4zb8gRhi3L5AN9dGLIecOGPw9rG X+CaKaYYV9Fm3W78Rz0QAATKzwCmcBgHhCzzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pglCciykBkcpAkyATJmnCjzuHMNPrPltxxoW+hrddKSJ3devLc7/dhxwCXivPivyH8 IaDPu2j2Tr8Hq+ug8M1sax7U04aiybyaG1CnHV2gt4ERwo0Jtgs5HnuutUUdYnHYn7dA jM2nm+sV89SFPdN1DuzVg4zY5Jkl1r7Wot+nI= Received: by 10.142.128.6 with SMTP id a6mr595940wfd.205.1223627014976; Fri, 10 Oct 2008 01:23:34 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Fri, 10 Oct 2008 01:23:34 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 10:23:34 +0200 From: "Marco Trillo" To: "Justin Hibbits" In-Reply-To: <20081009220352.GA1138@narn.knownspace> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009220352.GA1138@narn.knownspace> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 08:23:36 -0000 Hi, On Fri, Oct 10, 2008 at 12:03 AM, Justin Hibbits wrote: > I applied the patch, and got all the same output on my MDD as in your email, but > there is no /dev/pcm0. I do have a /dev/sndstat, and /dev/mixer0. The > following is the output of /dev/sndstat: Thanks for testing it! As Nathan commented, the pcm drivers "create" various /dev/dsp and /dev/audio device nodes. They are created "on demand" using devfs, so they will not appear when doing a ls in the /dev directory until they are opened for the first time, in this case by an audio player. Thanks, Marco. From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 12:48:58 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5101B1065689 for ; Fri, 10 Oct 2008 12:48:58 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id F1F0D8FC0C for ; Fri, 10 Oct 2008 12:48:57 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.140.221.138]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Fri, 10 Oct 2008 08:48:56 -0400 id 00005BF5.48EF4F39.0000291D Date: Fri, 10 Oct 2008 08:48:53 -0400 From: Justin Hibbits To: Marco Trillo Message-ID: <20081010124853.GC1138@narn.knownspace> References: <20081009220352.GA1138@narn.knownspace> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 12:48:58 -0000 On Fri, Oct 10, 2008 at 10:23:34AM +0200, Marco Trillo wrote: > Hi, > > On Fri, Oct 10, 2008 at 12:03 AM, Justin Hibbits wrote: > > I applied the patch, and got all the same output on my MDD as in your email, but > > there is no /dev/pcm0. I do have a /dev/sndstat, and /dev/mixer0. The > > following is the output of /dev/sndstat: > > Thanks for testing it! > > As Nathan commented, the pcm drivers "create" various /dev/dsp and > /dev/audio device nodes. They are created "on demand" using devfs, so > they will not appear when doing a ls in the /dev directory until they > are opened for the first time, in this case by an audio player. > > Thanks, > Marco. I had meant /dev/dsp*, not /dev/pcm, was a typo. When did they start getting created on demand? A kernel from roughly 2 months ago created /dev/dsp0 at load time, instead of access time, so I was confused this time around. Running an actual test, with ogg123, worked. I don't have speaker output, but I do have line-out output. I think the speaker output is a different issue, because I don't even get the startup chime through the speaker anymore. Guess long story short, it works well. Now I just need to get my ass in gear and get the altivec code done, then my G4 will be nearly 100% complete. - Justin From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 14:00:30 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF77C1065687 for ; Fri, 10 Oct 2008 14:00:30 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 28F248FC1C for ; Fri, 10 Oct 2008 14:00:29 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 7707811A56; Sat, 11 Oct 2008 00:00:23 +1000 (EST) Received: (from dommail.onthenet.com.au [192.100.104.17]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id EKA04750 (AUTH peterg@ptree32.com.au); Fri, 10 Oct 2008 23:59:44 +1000 (EST) From: Peter Grehan To: =?iso-8859-1?Q?Horst=20G=FCnther=20Burkhardt=20III?= , FreeBSD PowerPC ML X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Message-Id: <20081010235944.EKA04750@dommail.onthenet.com.au> Date: Fri, 10 Oct 2008 23:59:44 +1000 (EST) Cc: Subject: Re: Apologies for failing. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 14:00:30 -0000 Hi Horst, >> >- Get SXEmacs >> >> I'd love to see that running on PPC :) Last time I looked at >> Emacs, there was quite a bit of build glue to get it going. >> Too complicated for my patience at the time. > >I'm your man then. I work with the SXEmacs project. We already boast >support for building on PPC/Darwin so given how much has been shared >between the two it's not a huge leap to assume it can be made to work on >PPC/FreeBSD relatively easily. :) Excellent. >Also, our build system is standard autotooled - aclocal, autoconf, >configure, make, make install. > >It also has a Gentoo ebuild which I wrote (and which the project lead >thought was impractical to do, but i proved him wrong haha) so >theoretically it could even end up in ports if I figure out how to make >a port. There's always the xemacs port to start from. >FreeBSD should already have AIX binary emulation layers ... There's a difference between should and does :) Even NetBSD doesn't have that. >If not, anywhere else I can get Netscape Communicator in a >PPC binary form that will run on FreeBSD? Not possible at this point. If Linux emulation existed, that would be the path to go down. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 16:24:41 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C716A1065688 for ; Fri, 10 Oct 2008 16:24:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 8C41C8FC19 for ; Fri, 10 Oct 2008 16:24:41 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 2A3EA170E5; Fri, 10 Oct 2008 15:59:04 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id m9AFx3d3071107; Fri, 10 Oct 2008 15:59:03 GMT (envelope-from phk@critter.freebsd.dk) To: Justin Hibbits From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 10 Oct 2008 08:48:53 -0400." <20081010124853.GC1138@narn.knownspace> Date: Fri, 10 Oct 2008 15:59:03 +0000 Message-ID: <71106.1223654343@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 16:24:41 -0000 Cultural question: Did apple name their audio stuff after an atomic bomb testseries, or does "Tumbler Snapper" have a older reference that I am not aware off ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 10 18:13:47 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDBDE1065687; Fri, 10 Oct 2008 18:13:47 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9228FC08; Fri, 10 Oct 2008 18:13:46 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id m9AIDi43012760; Fri, 10 Oct 2008 20:13:45 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <48EF9B58.3050208@fgznet.ch> Date: Fri, 10 Oct 2008 20:13:44 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: freebsd-ppc@freebsd.org, Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Subject: adb feedback X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 18:13:48 -0000 Hi Nathan, in my first try I wanted to combine too much. Now I applied your patch only and built a kernel on my Aluminium G4 PowerBook. What a feeling to type on the PowerBook's own keyboard!!! Thanks a lot! Oct 10 15:16:50 wolfram kernel: pmu0: mem 0x16000-0x17fff irq 25 on macio0 Oct 10 15:16:50 wolfram kernel: pmu0: [ITHREAD] Oct 10 15:16:50 wolfram kernel: adb0: on pmu0 Oct 10 15:16:50 wolfram kernel: akbd0: at device 2 on adb0 Oct 10 15:16:50 wolfram kernel: kbd1 at akbd0 Oct 10 15:16:50 wolfram kernel: ams0: at device 3 on adb0 Oct 10 15:16:50 wolfram kernel: ams0: 4-button 400-dpi Unknown Pointing Device In my first try I wanted to combine the adb patch plus the work from Marco regarding sound. I need to find out what exactly blocked booting. After ams0: at device 3 on adb0 the machine hanged. Had to reboot hard. Might be a i2c vs. pmu interaction? Don't know yet. I first will find out if the sound patch works on it's own. Thanks a lot for this work! Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 11 09:18:40 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35BBD1065687 for ; Sat, 11 Oct 2008 09:18:40 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 07A098FC16 for ; Sat, 11 Oct 2008 09:18:39 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so907465wfg.7 for ; Sat, 11 Oct 2008 02:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aXaU5cTFqAQgBn8c8aOpSA+fZ+d0etoHEydWkuoKRtY=; b=aC7TCyjEqpxVg6Gnf3mesBB+u9rdbofOalz1k9NtPekvH4JRqJRR3VaRtQbKNo7kd7 efBNV6LwxMDCXWn/orfdoNekYi3+XkpIOW59Dih1EQU5E1fyfQ82qfYV6neLXQQfdxuT l8bn0s8GF1AFgGn4ntjgdrp8V4KAB5QoheoSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jzi3w2y4g0COWQsL0Q6GMDThausM9C9rzeTPWAAu8FE8dg+uD2iMCIlkFT5qY0Bt52 HI7QzSFoVLav1KZD1dT2tMe/REQDGcsMB6kBzm3gpmUuQier290j1hDLiNiOt+4CiIxQ Td84lCjHqOAJVBK3VufUf1zldrzRZGF+CZwQc= Received: by 10.142.229.5 with SMTP id b5mr1348536wfh.50.1223716719467; Sat, 11 Oct 2008 02:18:39 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sat, 11 Oct 2008 02:18:39 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 11:18:39 +0200 From: "Marco Trillo" To: "Justin Hibbits" In-Reply-To: <20081010124853.GC1138@narn.knownspace> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009220352.GA1138@narn.knownspace> <20081010124853.GC1138@narn.knownspace> Cc: freebsd-ppc@freebsd.org Subject: Re: Apple Tumbler and Snapper audio: looking for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 09:18:40 -0000 Hi, On Fri, Oct 10, 2008 at 2:48 PM, Justin Hibbits wrote: > I had meant /dev/dsp*, not /dev/pcm, was a typo. When did they start getting > created on demand? A kernel from roughly 2 months ago created /dev/dsp0 at load > time, instead of access time, so I was confused this time around. >From a quick look at CVS, it seems this was changed in revision 1.103 of sound/pcm/dsp.c (and corresponding revision 1.51 of man/man4/pcm.4). > Running an > actual test, with ogg123, worked. I don't have speaker output, but I do have > line-out output. I think the speaker output is a different issue, because I > don't even get the startup chime through the speaker anymore. Hmm.. the lack of startup chime through the speaker could be due to PRAM volume being set to muted, but this should not affect the driver at all, as it does not read the PRAM volume. Also I think the PRAM volume is global to all outputs, so it would affect the line-out as well. > > Guess long story short, it works well. Now I just need to get my ass in gear > and get the altivec code done, then my G4 will be nearly 100% complete. > Nice... Many thanks for testing it! Regards, Marco From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 11 14:56:27 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 627FD1065693 for ; Sat, 11 Oct 2008 14:56:27 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.hoerhavegaard.dk [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id 26D178FC23 for ; Sat, 11 Oct 2008 14:56:27 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.delfi-konsult.com (Postfix) with ESMTP id 9DF935D805 for ; Sat, 11 Oct 2008 16:51:07 +0200 (CEST) Message-Id: <44F997E3-8142-4B53-A81D-934105F823E9@delfi-konsult.com> From: "Niels S. Eliasen" To: freebsd-ppc@freebsd.org X-Custom-Header: Yo! this is my X-Face Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sat, 11 Oct 2008 16:51:06 +0200 X-Mailer: Apple Mail (2.929.2) Subject: cvsup nogo for powerpc ?? what then ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:56:27 -0000 hi guys as cvsup is not intended for powerpc(ahem!) > ===> cvsup-without-gui-16.1h_4 is only for alpha amd64 i386 > sparc64, while you are running powerpc. > what do people use for updating the /usr/src tree ?? kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 11 14:58:02 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 014001065688 for ; Sat, 11 Oct 2008 14:58:02 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id CDCB78FC21 for ; Sat, 11 Oct 2008 14:58:01 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1001112wfg.7 for ; Sat, 11 Oct 2008 07:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=I8CZ1t38KuHMVS5rXlgbrA3e9ki8BuIU5DB5uL79wng=; b=f0ZFXB0nkOnmcJgPZm9YjEab9W0H52gE4mKziIjkijfGDbgyaN8ECpkizxxytUXpw/ SBXJoPfBE+6WJOVjstMDT9ZM9icP8xuKjC+MusZJ4W+pOK/zvxwl1H4RYmVEk4dOgskw nDasoVSsaQ2711PfzDMr7YOntnlKf68LLVZFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=n9ojHG6WxsYzJ8MjHTtxI3zZ+YSTU2LmzdzpqrVAVuJt2XD3vqvrjxjtG5mfX4CQIZ nMOy+C5iFl353vp1l2Ji0M1ne6UzOSsaH7GWMbqcTVl7uGi+CGRYLGa+mmGSwjaIrrwD y9lzcmYz79snWH7Ip3fX4G7ptkkpJpmdZqxP4= Received: by 10.143.5.7 with SMTP id h7mr1463176wfi.319.1223737081301; Sat, 11 Oct 2008 07:58:01 -0700 (PDT) Received: by 10.142.89.18 with HTTP; Sat, 11 Oct 2008 07:58:01 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 16:58:01 +0200 From: "Marco Trillo" To: "Niels S. Eliasen" In-Reply-To: <44F997E3-8142-4B53-A81D-934105F823E9@delfi-konsult.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44F997E3-8142-4B53-A81D-934105F823E9@delfi-konsult.com> Cc: freebsd-ppc@freebsd.org Subject: Re: cvsup nogo for powerpc ?? what then ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:58:02 -0000 Hi, On Sat, Oct 11, 2008 at 4:51 PM, Niels S. Eliasen wrote: > hi guys > > as cvsup is not intended for powerpc(ahem!) > >> ===> cvsup-without-gui-16.1h_4 is only for alpha amd64 i386 sparc64, >> while you are running powerpc. >> > what do people use for updating the /usr/src tree ?? I use the "csup" utility that comes with the base system. It works fine on powerpc. Regards, Marco.