From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 1 11:07:25 2012 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 485A610656F3 for ; Mon, 1 Oct 2012 11:07:25 +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 3226D8FC08 for ; Mon, 1 Oct 2012 11:07:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q91B7Po3025064 for ; Mon, 1 Oct 2012 11:07:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q91B7OBW025062 for freebsd-ppc@FreeBSD.org; Mon, 1 Oct 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Oct 2012 11:07:24 GMT Message-Id: <201210011107.q91B7OBW025062@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, 01 Oct 2012 11:07:25 -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 -------------------------------------------------------------------------------- o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 2 20:56:38 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35D8F106564A for ; Tue, 2 Oct 2012 20:56:38 +0000 (UTC) (envelope-from mrezny@hexaneinc.com) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id 93FF78FC0C for ; Tue, 2 Oct 2012 20:56:36 +0000 (UTC) X-Originating-IP: 217.70.178.133 Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.133]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 9156AA80AD for ; Tue, 2 Oct 2012 22:56:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id eQYAS-GwxMBh for ; Tue, 2 Oct 2012 22:56:18 +0200 (CEST) X-Originating-IP: 89.24.3.97 Received: from 97-3.gprs.tmcz.cz (97-3.gprs.tmcz.cz [89.24.3.97]) (Authenticated sender: mrezny@hexaneinc.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5B15EA8076 for ; Tue, 2 Oct 2012 22:56:18 +0200 (CEST) From: Matthew Rezny Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 2 Oct 2012 22:56:16 +0200 Message-Id: <043DCE91-69E9-4E02-9DE3-54326327879F@hexaneinc.com> To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) Subject: FreeBSD9 running CPUs slow on PowerMac7,2 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, 02 Oct 2012 20:56:38 -0000 I have a first revision PowerMac G5 dual 2.0GHz. For some reason, it = boots up at 1.3Ghz under FreeBSD and I can't figure out why. Suggestions = are welcome. dmesg is included at the end of this message. I have had this machine since it was new, running OS X most of its life. = Early last year, I tested some ppc64 snapshot ISOs that Nathan helpfully = shared. It initially crashed on boot, but later versions improved and = eventually I installed some version of FreeBSD8 onto a spare disk. I was = loosely following 8-STABLE, recompiling about once a month to see what = the progress was. Early versions did not recognize all the memory or = some PCI cards, but later builds had all the essentially required and I = started to see sensor support, though fan control wasn't there yet. I = was not going further than testing with this machine at that time = because I couldn't get X.org to work so it wasn't much of a desktop. Eventually, I retired this machine from regular service and, after a = some months sitting off, had the time to try dedicating it to running = FreeBSD. Unfortunately, when I returned to it I found the spare disk I = had used was throwing SMART errors, so I started fresh. While replacing = the disk, I took the opportunity to tear down the machine and clean all = the years of dust out of the crevices, and also lubricate all the fan = bearings which meant I pulled the motherboard to get to the PSU. If I = swapped CPUs around I could have created a slight problem for myself, = but I was careful to put everything back exactly. I tried to boot the FreeBSD 9.0 Release PPC64 CD, and quickly found it = doesn't work using the C key but runs fine from OpenFirmware prompt. It = got about one screen of text past the copyright and then a panic that = keeps scrolling by. I found a post on the mailing list a couple months = ago from someone with the same generation hardware stating he got the = same crash unless all PCI cards were removed. Using the 9.1-RC1 CD = worked for him, so I tried it and found it works for me to. I went ahead = and did an install but noticed something odd in the dmesg on the next = reboot; CPU speed is shown as 1304Mhz instead of 2000MHz. I am certain = that when I was running 8-STABLE the CPU speed was shown as 2000MHz on = boot, but unfortunately I don't have any logs to confirm since that disk = is dead. I considered the possibility I messed up something on the motherboard, = maybe bumped the battery and cleared the settings. I know the = motherboard will runs the CPUs at a lowered speed if something is wrong, = and 1.3Ghz is the low speed point for a 2.0Ghz machine. However, booting = a OS X install DVD (tried both 10.4 and 10.5 at varies points) shows the = system running 2.0GHz in System Profiler. I ran Apple Hardware Test, = both normal and extended tests, off the original DVD and it found no = problems. I booted up Apple Service Diagnostic 2.5.8 (newest for the = machine) and ran through the full battery of tests with no errors. I = went to the Thermal Calibration in ASD (necessary when CPUs are = replaced/swapped) and it said calibration was NOT needed, but I told it = to run anyway. After all that, same result, FreeBSD 9.1-RC1 boots at = 1.3GHz. As one final check, I booted Yellow Dog Linux 5.0.2 (ancient, = but had it on DVD) and that shows 2000MHz CPU speed when booting. Also, = OpenFirmware says 2000MHz, AHT says 2000MHZ, ASD says low-point is = 1300Mhz, high-point 2000MHz, max 2000MHz. I saw recent mention on mailing list about PowerBook booting at half = speed and solution was to adjust the sysctl dev.cpu.0.freq, but that is = for a G4. I looked but I don't have any dev.cpu.X.freq sysctls. I = checked the cpufreq module to see the methods for G4 and G5 are = different, and for G5 it only attaches if the CPU found is 970FX, 970MP = or 970GX, not plain PPC970. I modified sys/powerpc/cpufreq/pcr.c to try = attaching on plain 970, but of course it fails and I still don't get the = sysctl. So, how is FreeBSD9 knocking the CPUs down to the low set-point when it = boots and how do I fix this? I'm at a loss. Before sending this message, = I checked out 9-STABLE and built a fresh GENERIC64 kernel but behavior = is the same. I touched the hardware same time I changed the software, = but I've done all I can think of to confirm the hardware is proper so = that leaves me to conclude something must have changed somewhere between = 8 and 9, but I've no idea what and when. The following dmesg is from the = fresh built kernel, but I got exactly the same with stock 9.1-RC1 = kernel. Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-PRERELEASE #1: Tue Oct 2 21:14:01 CEST 2012 root@juggernaut:/usr/obj/usr/src/sys/GENERIC64 powerpc cpu0: IBM PowerPC 970 revision 2.2, 1304.53 MHz cpu0: Features dc000000 cpu0: HID0 511081 real memory =3D 8572198912 (8175 MB) avail memory =3D 8122523648 (7746 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=3Dff887e10 (BSP) cpu1: dev=3Dff889150 kbd0 at kbdmux0 nexus0: cpulist0: on nexus0 cpu0: on cpulist0 cpu1: on cpulist0 powermac_nvram0: on nexus0 powermac_nvram0: bank0 generation 768, bank1 generation 767 unin0: on nexus0 unin0: Version 179 iichb0: mem 0xf8001000-0xf8001fff irq 42 on = unin0 iicbus0: on iichb0 iicbus0: at addr 0xca ds17750: at addr 0x94 on iicbus0 max66900: at addr 0x98 on iicbus0 max66901: at addr 0x9c on iicbus0 iicbus0: at addr 0xd2 fcu0: at addr 0x15e on iicbus0 iicbus0: at addr 0x30 ad74170: at addr 0x58 on iicbus0 ad74170: 5 sensors detected. iicbus0: at addr 0xa0 iicbus0: at addr 0x32 ad74171: at addr 0x5a on iicbus0 ad74171: 5 sensors detected. iicbus0: at addr 0xa2 iicbus0: at addr 0x1c0 htpic0: mem 0xf8040000-0xf807ffff irq 184 = on unin0 pcib0: on nexus0 pci0: on pcib0 vgapci0: port 0x400-0x4ff mem = 0xc0000000-0xcfffffff,0xb0000000-0xb000ffff irq 176 at device 16.0 on = pci0 agp0: on hostb0 pcib1: on nexus0 pcib1: 4 HT IRQs on device 1.0 pcib1: 4 HT IRQs on device 2.0 pcib1: 86 HT IRQs on device 3.0 pci1: on pcib1 pcib2: at device 1.0 on pci1 pci2: on pcib2 bge0: mem = 0x90020000-0x9002ffff irq 180 at device 2.0 on pci2 bge0: enabling MBOX workaround for AMD-8131 PCI-X Bridge bge0: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:10:18:01:a1:49 bge1: mem = 0x90010000-0x9001ffff irq 181 at device 3.0 on pci2 bge1: enabling MBOX workaround for AMD-8131 PCI-X Bridge bge1: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:10:18:0b:be:dd pcib3: at device 2.0 on pci1 pci3: on pcib3 mpt0: mem = 0xa0000000-0xa0003fff,0xa0010000-0xa001ffff irq 182 at device 4.0 on = pci3 mpt0: MPI Version=3D1.5.20.0 pcib4: at device 3.0 on pci1 pci4: on pcib4 macio0: mem 0x80000000-0x8007ffff at device = 7.0 on pci4 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x8a on macio0 scc0: mem = 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff = irq 150,133,134,151,135,136 on macio0 uart0: on scc0 uart1: on scc0 iichb1: mem 0x18000-0x18fff irq 154 on macio0 iicbus1: on iichb1 iicbus1: at addr 0x1c0 snapper0: at addr 0x6a on = iicbus1 pcm0: mem 0-0xfff,0-0xff,0x100-0x1ff irq = 158,129,130 on macio0 macio0: failed to reserve resource 0 - 0x1000 (0x1000) for pcm0 device_attach: pcm0 attach returned 6 pmu0: mem 0x16000-0x17fff irq 153 on macio0 ohci0: mem 0x80081000-0x80081fff irq 155 = at device 8.0 on pci4 usbus0 on ohci0 ohci1: mem 0x80080000-0x80080fff irq 156 = at device 9.0 on pci4 usbus1 on ohci1 pcib5: at device 4.0 on pci1 pci5: on pcib5 ohci2: mem 0x80102000-0x80102fff irq 191 = at device 11.0 on pci5 usbus2 on ohci2 ohci3: mem 0x80101000-0x80101fff irq 191 = at device 11.1 on pci5 usbus3 on ohci3 ehci0: mem 0x80100000-0x801000ff irq = 191 at device 11.2 on pci5 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib6: at device 5.0 on pci1 pci6: on pcib6 ata0: mem 0x80204000-0x80207fff irq 167 at = device 13.0 on pci6 fwohci0: <1394 Open Host Controller Interface> mem 0x80200000-0x80200fff = irq 168 at device 14.0 on pci6 fwohci0: OHCI version 1.0 (ROM=3D0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:0a:95:ff:fe:a6:ed:76 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:0a:95:a6:ed:76 fwe0: Ethernet address: 02:0a:95:a6:ed:76 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=3D0x00000000, SelfID Count=3D2, = CYCLEMASTER mode pcib7: at device 6.0 on pci1 pci7: on pcib7 gem0: mem 0x80400000-0x805fffff irq 169 at = device 15.0 on pci7 miibus2: on gem0 brgphy2: PHY 1 on miibus2 brgphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:0a:95:a6:ed:76 pcib8: at device 7.0 on pci1 pci8: on pcib8 atapci0: mem 0x80600000-0x80601fff = irq 128 at device 12.0 on pci8 pcib1: failed to reserve resource for pcib8 atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 ata4: at channel 2 on atapci0 ata5: at channel 3 on atapci0 atapci1: at device 12.1 on pci8 pcib1: failed to reserve resource for pcib8 atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). atapci1: unable to map interrupt device_attach: atapci1 attach returned 6 sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=3D0x300> Timecounter "timebase" frequency 33333333 Hz quality 0 Event timer "decrementer" frequency 33333333 Hz quality 1000 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <=3D 0 cable IRM irm(0) (me)=20 firewire0: bus manager 0=20 max66900: 2 sensors detected. max66901: 2 sensors detected. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 usbus4: 480Mbps High Speed USB v2.0 ugen4.1: at usbus4 uhub4: on usbus4 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 3 ports with 3 removable, self powered uhub3: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ukbd0: = on usbus0 kbd1 at ukbd0 ums0: = on usbus0 ums0: 5 buttons and [XY] coordinates ID=3D0 uhub4: 5 ports with 5 removable, self powered fcu0: FCU initialized, RPM shift: 3 fcu0: 7 fans detected! ugen3.2: at usbus3 ukbd1: on usbus3 kbd2 at ukbd1 ums1: on usbus3 ums1: 3 buttons and [XYZ] coordinates ID=3D1 ada0 at ata2 bus 0 scbus3 target 0 lun 0 ada0: ATA-7 SATA 1.x device ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada0: 286188MB (586114704 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 ada1 at ata3 bus 0 scbus4 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) ada1: 239372MB (490234752 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad1 cd0 at ata0 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1927744 x 2048 byte records] SMP: AP CPU #1 launched Trying to mount root from ufs:/dev/ada0s3 [rw]... From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 2 22:49:53 2012 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 AB38F106566C for ; Tue, 2 Oct 2012 22:49:53 +0000 (UTC) (envelope-from jwbacon@tds.net) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A2DC8FC08 for ; Tue, 2 Oct 2012 22:49:53 +0000 (UTC) Received: by ieak10 with SMTP id k10so14942629iea.13 for ; Tue, 02 Oct 2012 15:49:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=/SA0V1U2WHrNwKaDgBcy86axffMh2YIkP8w18XrYjKs=; b=XNZspmQ8WS89d0xvFHJz0tjbHXWiLlcoXMOZbaCj565JT2i4lUj0oMNz9LLOY69PbL ttHNuzlf0dQjoYP3DrhlFj23btrT+Cr3mokSD+VjpgmHNsb/kNx1zRR5IlARtcLVjETv J/4H20q30fxFYabgdnBqwKtBwIud8aXyZAxLEdgHjUBtO5RKsKWMsAW+IXMCP2zb5Qec f1zCTXXVSN1eEpRGZvnY20WghheuTU0tMWfmbIEMeM51VSzZpnoxzWA1o2IoBZpKWXQN uiQYVntFpedXwv+fhtrMc/7f9WpHYbvK3qdRYfpHR0g8OD6UQ5s/UP63AJSY43Iw+Uug LY2w== Received: by 10.50.51.225 with SMTP id n1mr238851igo.7.1349218192592; Tue, 02 Oct 2012 15:49:52 -0700 (PDT) Received: from [192.168.0.52] (h69-131-29-165.nwblwi.broadband.dynamic.tds.net. [69.131.29.165]) by mx.google.com with ESMTPS id uq6sm9815033igb.14.2012.10.02.15.49.47 (version=SSLv3 cipher=OTHER); Tue, 02 Oct 2012 15:49:51 -0700 (PDT) Message-ID: <506B6F8A.8000104@tds.net> Date: Tue, 02 Oct 2012 17:49:46 -0500 From: Jason bacon User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <043DCE91-69E9-4E02-9DE3-54326327879F@hexaneinc.com> In-Reply-To: <043DCE91-69E9-4E02-9DE3-54326327879F@hexaneinc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmoh3nt2I1nBkmn82GGj7DUxFyj99H9UlYOLjuTBOLWYYMoYSHd/ZkVW3sWcwobLX95VxbS Subject: Re: FreeBSD9 running CPUs slow on PowerMac7,2 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, 02 Oct 2012 22:49:53 -0000 Did you try enabling powerd? ( powerd_enable=3D"YES" in rc.conf, "man=20 powerd" ) I had this issue with an iBook some time ago, and Nathan W. pointed out=20 that Macs boot at the lower CPU freq, so you have to change it manually=20 with sysctl or run powerd to control it automatically. On 10/2/12 3:56 PM, Matthew Rezny wrote: > I have a first revision PowerMac G5 dual 2.0GHz. For some reason, it bo= ots up at 1.3Ghz under FreeBSD and I can't figure out why. Suggestions ar= e welcome. dmesg is included at the end of this message. > > I have had this machine since it was new, running OS X most of its life= =2E Early last year, I tested some ppc64 snapshot ISOs that Nathan helpfu= lly shared. It initially crashed on boot, but later versions improved and= eventually I installed some version of FreeBSD8 onto a spare disk. I was= loosely following 8-STABLE, recompiling about once a month to see what t= he progress was. Early versions did not recognize all the memory or some = PCI cards, but later builds had all the essentially required and I starte= d to see sensor support, though fan control wasn't there yet. I was not g= oing further than testing with this machine at that time because I couldn= 't get X.org to work so it wasn't much of a desktop. > > Eventually, I retired this machine from regular service and, after a so= me months sitting off, had the time to try dedicating it to running FreeB= SD. Unfortunately, when I returned to it I found the spare disk I had use= d was throwing SMART errors, so I started fresh. While replacing the disk= , I took the opportunity to tear down the machine and clean all the years= of dust out of the crevices, and also lubricate all the fan bearings whi= ch meant I pulled the motherboard to get to the PSU. If I swapped CPUs ar= ound I could have created a slight problem for myself, but I was careful = to put everything back exactly. > > I tried to boot the FreeBSD 9.0 Release PPC64 CD, and quickly found it = doesn't work using the C key but runs fine from OpenFirmware prompt. It g= ot about one screen of text past the copyright and then a panic that keep= s scrolling by. I found a post on the mailing list a couple months ago fr= om someone with the same generation hardware stating he got the same cras= h unless all PCI cards were removed. Using the 9.1-RC1 CD worked for him,= so I tried it and found it works for me to. I went ahead and did an inst= all but noticed something odd in the dmesg on the next reboot; CPU speed = is shown as 1304Mhz instead of 2000MHz. I am certain that when I was runn= ing 8-STABLE the CPU speed was shown as 2000MHz on boot, but unfortunatel= y I don't have any logs to confirm since that disk is dead. > > I considered the possibility I messed up something on the motherboard, = maybe bumped the battery and cleared the settings. I know the motherboard= will runs the CPUs at a lowered speed if something is wrong, and 1.3Ghz = is the low speed point for a 2.0Ghz machine. However, booting a OS X inst= all DVD (tried both 10.4 and 10.5 at varies points) shows the system runn= ing 2.0GHz in System Profiler. I ran Apple Hardware Test, both normal and= extended tests, off the original DVD and it found no problems. I booted = up Apple Service Diagnostic 2.5.8 (newest for the machine) and ran throug= h the full battery of tests with no errors. I went to the Thermal Calibra= tion in ASD (necessary when CPUs are replaced/swapped) and it said calibr= ation was NOT needed, but I told it to run anyway. After all that, same r= esult, FreeBSD 9.1-RC1 boots at 1.3GHz. As one final check, I booted Yell= ow Dog Linux 5.0.2 (ancient, but had it on DVD) and that shows 2000MHz CP= U speed when booting. Also, OpenFirmware says 2000MHz, AHT says 2000MHZ, = ASD says low-point is 1300Mhz, high-point 2000MHz, max 2000MHz. > > I saw recent mention on mailing list about PowerBook booting at half sp= eed and solution was to adjust the sysctl dev.cpu.0.freq, but that is for= a G4. I looked but I don't have any dev.cpu.X.freq sysctls. I checked th= e cpufreq module to see the methods for G4 and G5 are different, and for = G5 it only attaches if the CPU found is 970FX, 970MP or 970GX, not plain = PPC970. I modified sys/powerpc/cpufreq/pcr.c to try attaching on plain 97= 0, but of course it fails and I still don't get the sysctl. > > So, how is FreeBSD9 knocking the CPUs down to the low set-point when it= boots and how do I fix this? I'm at a loss. Before sending this message,= I checked out 9-STABLE and built a fresh GENERIC64 kernel but behavior i= s the same. I touched the hardware same time I changed the software, but = I've done all I can think of to confirm the hardware is proper so that le= aves me to conclude something must have changed somewhere between 8 and 9= , but I've no idea what and when. The following dmesg is from the fresh b= uilt kernel, but I got exactly the same with stock 9.1-RC1 kernel. > > > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 199= 4 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-PRERELEASE #1: Tue Oct 2 21:14:01 CEST 2012 > root@juggernaut:/usr/obj/usr/src/sys/GENERIC64 powerpc > cpu0: IBM PowerPC 970 revision 2.2, 1304.53 MHz > cpu0: Features dc000000 > cpu0: HID0 511081 > real memory =3D 8572198912 (8175 MB) > avail memory =3D 8122523648 (7746 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0: dev=3Dff887e10 (BSP) > cpu1: dev=3Dff889150 > kbd0 at kbdmux0 > nexus0: > cpulist0: on nexus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > powermac_nvram0: on nexus0 > powermac_nvram0: bank0 generation 768, bank1 generation 767 > unin0: on nexus0 > unin0: Version 179 > iichb0: mem 0xf8001000-0xf8001fff irq 42 on un= in0 > iicbus0: on iichb0 > iicbus0: at addr 0xca > ds17750: at addr 0x94 on iicbus0 > max66900: at addr 0x98 on iicbus0 > max66901: at addr 0x9c on iicbus0 > iicbus0: at addr 0xd2 > fcu0: at addr 0x15e on iicbus0 > iicbus0: at addr 0x30 > ad74170: at addr 0x58 on iicbus0 > ad74170: 5 sensors detected. > iicbus0: at addr 0xa0 > iicbus0: at addr 0x32 > ad74171: at addr 0x5a on iicbus0 > ad74171: 5 sensors detected. > iicbus0: at addr 0xa2 > iicbus0: at addr 0x1c0 > htpic0: mem 0xf8040000-0xf807ffff irq 18= 4 on unin0 > pcib0: on nexus0 > pci0: on pcib0 > vgapci0: port 0x400-0x4ff mem 0xc0000000-0xcff= fffff,0xb0000000-0xb000ffff irq 176 at device 16.0 on pci0 > agp0: on hostb0 > pcib1: on nexus0 > pcib1: 4 HT IRQs on device 1.0 > pcib1: 4 HT IRQs on device 2.0 > pcib1: 86 HT IRQs on device 3.0 > pci1: on pcib1 > pcib2: at device 1.0 on pci1 > pci2: on pcib2 > bge0: mem 0x90020000-0x9002ff= ff irq 180 at device 2.0 on pci2 > bge0: enabling MBOX workaround for AMD-8131 PCI-X Bridge > bge0: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 10= 00baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge0: Ethernet address: 00:10:18:01:a1:49 > bge1: mem 0x90010000-0x9001ff= ff irq 181 at device 3.0 on pci2 > bge1: enabling MBOX workaround for AMD-8131 PCI-X Bridge > bge1: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 10= 00baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > bge1: Ethernet address: 00:10:18:0b:be:dd > pcib3: at device 2.0 on pci1 > pci3: on pcib3 > mpt0: mem 0xa0000000-0xa0003fff,0xa0010000-= 0xa001ffff irq 182 at device 4.0 on pci3 > mpt0: MPI Version=3D1.5.20.0 > pcib4: at device 3.0 on pci1 > pci4: on pcib4 > macio0: mem 0x80000000-0x8007ffff at devic= e 7.0 on pci4 > openpic0: mem 0x40000-0x7ffff on macio0 > macgpio0: mem 0x50-0x8a on macio0 > scc0: mem 0x13000-0x13fff,0x8400-0x84ff,= 0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 150,133,134,151,135,136 on = macio0 > uart0: on scc0 > uart1: on scc0 > iichb1: mem 0x18000-0x18fff irq 154 on macio0 > iicbus1: on iichb1 > iicbus1: at addr 0x1c0 > snapper0: at addr 0x6a on iicbu= s1 > pcm0: mem 0-0xfff,0-0xff,0x100-0x1ff irq 1= 58,129,130 on macio0 > macio0: failed to reserve resource 0 - 0x1000 (0x1000) for pcm0 > device_attach: pcm0 attach returned 6 > pmu0: mem 0x16000-0x17fff irq 153 on macio0 > ohci0: mem 0x80081000-0x80081fff irq 15= 5 at device 8.0 on pci4 > usbus0 on ohci0 > ohci1: mem 0x80080000-0x80080fff irq 15= 6 at device 9.0 on pci4 > usbus1 on ohci1 > pcib5: at device 4.0 on pci1 > pci5: on pcib5 > ohci2: mem 0x80102000-0x80102fff irq 191 = at device 11.0 on pci5 > usbus2 on ohci2 > ohci3: mem 0x80101000-0x80101fff irq 191 = at device 11.1 on pci5 > usbus3 on ohci3 > ehci0: mem 0x80100000-0x801000ff ir= q 191 at device 11.2 on pci5 > usbus4: EHCI version 1.0 > usbus4 on ehci0 > pcib6: at device 5.0 on pci1 > pci6: on pcib6 > ata0: mem 0x80204000-0x80207fff irq 167 at de= vice 13.0 on pci6 > fwohci0:<1394 Open Host Controller Interface> mem 0x80200000-0x80200ff= f irq 168 at device 14.0 on pci6 > fwohci0: OHCI version 1.0 (ROM=3D0) > fwohci0: No. of Isochronous channels is 8. > fwohci0: EUI64 00:0a:95:ff:fe:a6:ed:76 > fwohci0: invalid speed 7 (fixed to 3). > fwohci0: Phy 1394a available S800, 3 ports. > fwohci0: Link S800, max_rec 4096 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:0a:95:a6:ed:76 > fwe0: Ethernet address: 02:0a:95:a6:ed:76 > sbp0: on firewire0 > fwohci0: Initiate bus reset > fwohci0: fwohci_intr_core: BUS reset > fwohci0: fwohci_intr_core: node_id=3D0x00000000, SelfID Count=3D2, CYCL= EMASTER mode > pcib7: at device 6.0 on pci1 > pci7: on pcib7 > gem0: mem 0x80400000-0x805fffff irq 169 at dev= ice 15.0 on pci7 > miibus2: on gem0 > brgphy2: PHY 1 on miibus2 > brgphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 10= 00baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow > gem0: 10kB RX FIFO, 4kB TX FIFO > gem0: Ethernet address: 00:0a:95:a6:ed:76 > pcib8: at device 7.0 on pci1 > pci8: on pcib8 > atapci0: mem 0x80600000-0x80601fff = irq 128 at device 12.0 on pci8 > pcib1: failed to reserve resource for pcib8 > atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). > ata2: at channel 0 on atapci0 > ata3: at channel 1 on atapci0 > ata4: at channel 2 on atapci0 > ata5: at channel 3 on atapci0 > atapci1: at device 12.1 on pci8 > pcib1: failed to reserve resource for pcib8 > atapci1: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). > atapci1: unable to map interrupt > device_attach: atapci1 attach returned 6 > sc0: on nexus0 > sc0: Unknown<16 virtual consoles, flags=3D0x300> > Timecounter "timebase" frequency 33333333 Hz quality 0 > Event timer "decrementer" frequency 33333333 Hz quality 1000 > Timecounters tick every 1.000 msec > firewire0: 1 nodes, maxhop<=3D 0 cable IRM irm(0) (me) > firewire0: bus manager 0 > max66900: 2 sensors detected. > max66901: 2 sensors detected. > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus= 0 > ugen1.1: at usbus1 > uhub1: on usbus= 1 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 12Mbps Full Speed USB v1.0 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > usbus4: 480Mbps High Speed USB v2.0 > ugen4.1: at usbus4 > uhub4: on usbus4 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 3 ports with 3 removable, self powered > uhub3: 2 ports with 2 removable, self powered > ugen0.2: at usbus0 > ukbd0:= on usbus0 > kbd1 at ukbd0 > ums0: = on usbus0 > ums0: 5 buttons and [XY] coordinates ID=3D0 > uhub4: 5 ports with 5 removable, self powered > fcu0: FCU initialized, RPM shift: 3 > fcu0: 7 fans detected! > ugen3.2: at usbus3 > ukbd1: on usbus3 > kbd2 at ukbd1 > ums1: on usbus3 > ums1: 3 buttons and [XYZ] coordinates ID=3D1 > ada0 at ata2 bus 0 scbus3 target 0 lun 0 > ada0: ATA-7 SATA 1.x device > ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) > ada0: 286188MB (586114704 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad0 > ada1 at ata3 bus 0 scbus4 target 0 lun 0 > ada1: ATA-8 SATA 2.x device > ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) > ada1: 239372MB (490234752 512 byte sectors: 16H 63S/T 16383C) > ada1: Previously was known as ad1 > cd0 at ata0 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [1927744 x 2048 byte records] > SMP: AP CPU #1 launched > Trying to mount root from ufs:/dev/ada0s3 [rw]... > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jason W. Bacon jwbacon@tds.net http://personalpages.tds.net/~jwbacon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 2 23:17:23 2012 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 055B1106564A for ; Tue, 2 Oct 2012 23:17:23 +0000 (UTC) (envelope-from mrezny@hexaneinc.com) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id AEF318FC16 for ; Tue, 2 Oct 2012 23:17:22 +0000 (UTC) X-Originating-IP: 217.70.178.144 Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 8CF6BA806E for ; Wed, 3 Oct 2012 01:17:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter16-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter16-d.gandi.net (mfilter16-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id ZdIJlFDaeUx3 for ; Wed, 3 Oct 2012 01:17:10 +0200 (CEST) X-Originating-IP: 89.24.3.97 Received: from 97-3.gprs.tmcz.cz (97-3.gprs.tmcz.cz [89.24.3.97]) (Authenticated sender: mrezny@hexaneinc.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 154E8A8077 for ; Wed, 3 Oct 2012 01:17:10 +0200 (CEST) From: Matthew Rezny Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 3 Oct 2012 01:17:08 +0200 Message-Id: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) Subject: FreeBSD9 running CPUs slow on PowerMac7,2 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, 02 Oct 2012 23:17:23 -0000 Tue Oct 2 22:49:53 UTC 2012 Jason bacon wrote: > Did you try enabling powerd? ( powerd_enable=3D"YES" in rc.conf, "man=20= > powerd" ) >=20 > I had this issue with an iBook some time ago, and Nathan W. pointed = out=20 > that Macs boot at the lower CPU freq, so you have to change it = manually=20 > with sysctl or run powerd to control it automatically. I do have that in rc.conf, but powerd has no way to control the = clockrate without cpufreq available. # powerd powerd: lookup freq: No such file or directory From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 3 02:41:30 2012 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 BFB70106566C for ; Wed, 3 Oct 2012 02:41:30 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 71E568FC15 for ; Wed, 3 Oct 2012 02:41:29 +0000 (UTC) Received: by qady23 with SMTP id y23so1248835qad.13 for ; Tue, 02 Oct 2012 19:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=2N+HcfbBPlTZrMh+YXz2Kc/XuTaspx18S2Px2Te4FOQ=; b=f3xf40zrKJgmzNmbs04KjnzKrdRBOiXUkDhdg6Sfy8nTGP4Y62s4ythh4Y1Twe40zC 0sTZ/KcMRoUg+8aCXeAETb8XKVsyUzRX57g59KtsapXpPRf1d3iekaDZlLfEkdBSvBYL BYj9EqlA91qDLWK/hw0JBr9H2hsqIEC0FtGFhxCtBxbGCoxUOb5Vf8VZbUSjcd3SCJom c9G9q0OQrObHGDJWXNV2r+iVMDzMqz9p72ad+nRUL03UU6IUArC4udYssc+4mrvb62OH 4AeweLLBDrQKGkCTaAKDLQSv2YqsO1ucBiSq1BOLzSVD5OvSX+VqhauDiKjx30375T0U XjHg== Received: by 10.49.5.9 with SMTP id o9mr9191345qeo.55.1349232083196; Tue, 02 Oct 2012 19:41:23 -0700 (PDT) Received: from narn.knownspace (pool-108-48-127-15.washdc.fios.verizon.net. [108.48.127.15]) by mx.google.com with ESMTPS id la6sm3912974qeb.8.2012.10.02.19.41.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 19:41:22 -0700 (PDT) Date: Tue, 2 Oct 2012 22:41:17 -0400 From: Justin Hibbits To: Matthew Rezny Message-ID: <20121002224117.339ac8b1@narn.knownspace> In-Reply-To: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> References: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD9 running CPUs slow on PowerMac7,2 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, 03 Oct 2012 02:41:30 -0000 On Wed, 3 Oct 2012 01:17:08 +0200 Matthew Rezny wrote: > Tue Oct 2 22:49:53 UTC 2012 Jason bacon wrote: > > Did you try enabling powerd? ( powerd_enable="YES" in rc.conf, > > "man powerd" ) > > > > I had this issue with an iBook some time ago, and Nathan W. pointed > > out that Macs boot at the lower CPU freq, so you have to change it > > manually with sysctl or run powerd to control it automatically. > > I do have that in rc.conf, but powerd has no way to control the > clockrate without cpufreq available. > > # powerd > powerd: lookup freq: No such file or directory > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" Andreas Tobler posted something related to this a while back on the list. His suggestion at the time was to autoboot to FreeBSD, and not boot via the Open Firmware prompt. If you're already doing that, I'm clueless. The relevant link I found is http://freebsd.1045724.n5.nabble.com/Fan-Power-controls-td4170991.html - Justin From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 3 04:27:02 2012 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 2577D106564A for ; Wed, 3 Oct 2012 04:27:02 +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 A7E468FC0C for ; Wed, 3 Oct 2012 04:27:00 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q934Qrxf050842; Wed, 3 Oct 2012 06:26:53 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <506BBE8C.5090404@fgznet.ch> Date: Wed, 03 Oct 2012 06:26:52 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Justin Hibbits , Matthew Rezny References: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> <20121002224117.339ac8b1@narn.knownspace> In-Reply-To: <20121002224117.339ac8b1@narn.knownspace> 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: FreeBSD9 running CPUs slow on PowerMac7,2 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, 03 Oct 2012 04:27:02 -0000 On 03.10.12 04:41, Justin Hibbits wrote: > On Wed, 3 Oct 2012 01:17:08 +0200 > Matthew Rezny wrote: > >> Tue Oct 2 22:49:53 UTC 2012 Jason bacon wrote: >>> Did you try enabling powerd? ( powerd_enable="YES" in rc.conf, >>> "man powerd" ) >>> >>> I had this issue with an iBook some time ago, and Nathan W. pointed >>> out that Macs boot at the lower CPU freq, so you have to change it >>> manually with sysctl or run powerd to control it automatically. >> >> I do have that in rc.conf, but powerd has no way to control the >> clockrate without cpufreq available. >> >> # powerd >> powerd: lookup freq: No such file or directory >> >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > > Andreas Tobler posted something related to this a while back on the > list. His suggestion at the time was to autoboot to FreeBSD, and not > boot via the Open Firmware prompt. If you're already doing that, I'm > clueless. > > The relevant link I found is > http://freebsd.1045724.n5.nabble.com/Fan-Power-controls-td4170991.html Justin is right here. The only option you have is autoboot to get the full CPU frequency. These machines have a complicated way to setup the full CPU frequency and I do not know if it is worth hacking here when one can get the value with autobooting. Here in the last section 'Booting into FreeBSD' you find how to do this. http://people.freebsd.org/~nwhitehorn/ppcinstall.txt Hope this helps. Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 3 08:34:11 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14F34106566B for ; Wed, 3 Oct 2012 08:34:11 +0000 (UTC) (envelope-from mrezny@hexaneinc.com) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id A3CBF8FC0C for ; Wed, 3 Oct 2012 08:34:10 +0000 (UTC) X-Originating-IP: 217.70.178.132 Received: from mfilter5-d.gandi.net (mfilter5-d.gandi.net [217.70.178.132]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 9470CA8068; Wed, 3 Oct 2012 10:33:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter5-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter5-d.gandi.net (mfilter5-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id WfDr6yaWYYTR; Wed, 3 Oct 2012 10:33:58 +0200 (CEST) X-Originating-IP: 89.24.3.97 Received: from 97-3.gprs.tmcz.cz (97-3.gprs.tmcz.cz [89.24.3.97]) (Authenticated sender: mrezny@hexaneinc.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9962AA807C; Wed, 3 Oct 2012 10:33:57 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Matthew Rezny In-Reply-To: <506BBE8C.5090404@fgznet.ch> Date: Wed, 3 Oct 2012 10:33:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> <20121002224117.339ac8b1@narn.knownspace> <506BBE8C.5090404@fgznet.ch> To: Andreas Tobler X-Mailer: Apple Mail (2.1085) Cc: Justin Hibbits , freebsd-ppc@freebsd.org Subject: Re: FreeBSD9 running CPUs slow on PowerMac7,2 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, 03 Oct 2012 08:34:11 -0000 Thank you very much Justin and Andreas! That would explains the problem, = and I just tested to confirm the system boots full speed when not = stopping at the OF prompt. Good to have this solved, though I hope to be = able to better solve it. When I was trying 8.x previous, the boot from CD with C worked. Once I = had an installed system, I could choose that disk as the startup disk in = OS X and reboot to FreeBSD temporarily. When I tried to boot the 9.0 CD, = something was read from the disk but then then half the colors go = inverse while it keeps flashing the missing boot folder icon. So, to get = the CD booted I had to do so from the OF prompt. I had left it stopping = at the prompt for now due to the difficulty in even getting to this = point. I don't have a Mac keyboard, nor do I have anything with a "Windows" key = to plug into it, so armed with a stack of true 101 key keyboard, I can't = invoke any boot time option that needs the cmd/apple key. This machine = also has the issue that the boot selector accessed by holding alt/option = simply does not work, never has since it was new. So, to get to an OF = prompt, I had to boot a OS X install DVD, bring up Terminal and use = nvram tool to set auto-boot?=3Dfalse. I was reluctant to change that = back since it took such effort to set it in the first place, but in = retrospect I guess I could have saved many hours of trying other things = had I even thought to change that. Is there any way to change OD = variable from FreeBSD as can be done under OS X with nvram command? That = would make it easier to get the prompt back when needed as long as the = system is still booting. Now I'm running at full speed, 2000.20Mhz according to dmesg. It also = seems my guess at the source of the issue is probably right, the loader = gets something screwed up before the kernel even starts and then the = kernel is helpless to fix it. The loader behaves different depending how = it's invoked, and that seems like a bug worth fixing. Unfortunately, I = know little about the loader and feel unprepared to tackle it since I = have only one machine such machine and thus no easy way to debug things = running from OpenFirmware. I had already looked at the loader code with = an eye to get ZFS booting and decided I'm not ready to tackle it yet. Having proper support in cpufreq for the SMU-less G5s would be = beneficial in that it would allow power control as well as give a way to = resolve this for cases where booting from the OF prompt may be = necessary. Also, I have enough experience on other platforms with GPIO = and I2C to feel confident messing with such things on this machine. I = noticed there is an assortment of GPIOs with no driver attached, and = numerous I2C devices also without drivers attached. I already made a = list of the chips on the I2C bus with the intent to look them up later. = The individual GPIO looks uninteresting for this going by the names = Apple uses. I think everything interesting is sitting on I2C. All the = monitoring chips are now supported, DS1775 and MAX6690 for temperature, = AD7417 for voltage and current. That leaves a few other chips to look at = and the labels Apple seems to confirm their purpose. There are two = called i2c-hwclock, cy2213 "High Frequency Programmable PECL Clock = Generator" and cy28508 "Power PC System Clock", which I suspect are = controlling both CPU and bus clocks. There is a pair of pca9556s labeled = i2c-cpu-voltage, which are basically GPIO expanders and I suspect are = controlling CPU voltage, one per chip. There are also a pair of serial = EEPROMs, labeled cpuid, which I think are on each CPU board and just = contain the parameters to identify the chip to the motherboard. There's = one more device labeled 'cereal' but I couldn't find a part number for = the chip. Is anyone working on these? On 3 Oct, 2012, at 6:26, Andreas Tobler wrote: > On 03.10.12 04:41, Justin Hibbits wrote: >> On Wed, 3 Oct 2012 01:17:08 +0200 >> Matthew Rezny wrote: >>=20 >>> Tue Oct 2 22:49:53 UTC 2012 Jason bacon wrote: >>>> Did you try enabling powerd? ( powerd_enable=3D"YES" in rc.conf, >>>> "man powerd" ) >>>>=20 >>>> I had this issue with an iBook some time ago, and Nathan W. pointed >>>> out that Macs boot at the lower CPU freq, so you have to change it >>>> manually with sysctl or run powerd to control it automatically. >>>=20 >>> I do have that in rc.conf, but powerd has no way to control the >>> clockrate without cpufreq available. >>>=20 >>> # powerd >>> powerd: lookup freq: No such file or directory >>>=20 >>> _______________________________________________ >>> freebsd-ppc@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to = "freebsd-ppc-unsubscribe@freebsd.org" >>=20 >> Andreas Tobler posted something related to this a while back on the >> list. His suggestion at the time was to autoboot to FreeBSD, and not >> boot via the Open Firmware prompt. If you're already doing that, I'm >> clueless. >>=20 >> The relevant link I found is >> = http://freebsd.1045724.n5.nabble.com/Fan-Power-controls-td4170991.html >=20 > Justin is right here. The only option you have is autoboot to get the = full CPU frequency. > These machines have a complicated way to setup the full CPU frequency = and I do not know if it is worth hacking here when one can get the value = with autobooting. >=20 > Here in the last section 'Booting into FreeBSD' you find how to do = this. >=20 > http://people.freebsd.org/~nwhitehorn/ppcinstall.txt >=20 > Hope this helps. > Andreas >=20 From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 3 20:14:18 2012 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 5176C1065674 for ; Wed, 3 Oct 2012 20:14:18 +0000 (UTC) (envelope-from aleksey.v.fedorov@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 00C4D8FC0A for ; Wed, 3 Oct 2012 20:14:17 +0000 (UTC) Received: by qcsl39 with SMTP id l39so7692434qcs.13 for ; Wed, 03 Oct 2012 13:14:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=aCIdqO+L2PQRbCPhjfZkDGDXFm6QNe2BcQDlpFgVph8=; b=nXvxNHRrP9YDa7vgPJ4Vhk456niF1CjI0+CJ0qEtZ3NN1JhcxIjLHrcjNqsYYIwtfo GdkPe3dhocqXDCK6LtjeCkbcr2TMgzHAz6FlIBipmnbZsVvc9ZyuqQ5BwRYred3mndw0 x2GjxA7vkYA1weJefHgqXG8/Qhzq59gBsB/eoBc/NlqDFSMRk4K00hBkOrs2pr0bvEve xRVl1eGnsnEIHMhufjmbAmZg7BlvyVVjVSmDF7GMP1KOwugO3KzhpGWozY1i5KvgKVWn z52ncutLEzq/QruCumJmcnrUjMY2YQKuYDjCxhOZtAnLSvbhAvVG3v2cYKMPdC0uY/9b o7NQ== MIME-Version: 1.0 Received: by 10.224.179.7 with SMTP id bo7mr9085394qab.96.1349295257254; Wed, 03 Oct 2012 13:14:17 -0700 (PDT) Received: by 10.49.27.105 with HTTP; Wed, 3 Oct 2012 13:14:16 -0700 (PDT) In-Reply-To: <764EEFAD-1730-466E-85C5-791A3A72BAD4@semihalf.com> References: <39077F2D-B518-4EE4-ACE0-E8EB804E245B@semihalf.com> <764EEFAD-1730-466E-85C5-791A3A72BAD4@semihalf.com> Date: Thu, 4 Oct 2012 00:14:16 +0400 Message-ID: From: Aleksey Fedorov To: Rafal Jaworowski Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ppc@freebsd.org Subject: Re: FreeBSD on e500mc 36bit physical addressing 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, 03 Oct 2012 20:14:18 -0000 Hi! 2012/9/27 Rafal Jaworowski : > We are supposed to be compatible with ePAPR spec of the device tree (so i= s Linux), so no special handling is needed. > > Regarding the error it might be caused by the recent import of changes fo= r ARM which affected FDT infrastructure code (http://svn.freebsd.org/change= set/base/239268). We had a side conversation with Marcel regarding DSI pani= c during localbus node processing, which seems similar to what you're seein= g. Can you try some older code base (prior to r239268) to see if it shows t= he same/related problem? > > Rafal > This changes in fdt_common.c help me to deal with "interrupt-parent": - if (OF_getprop(node, "interrupt-parent", &iph, sizeof(iph)) <=3D 0)= { + if (OF_searchprop(node, "interrupt-parent", &iph, sizeof(iph)) <=3D= 0) { Next waypoint is to bring up SMP APs. Now I have: Adding CPU 0, pir=3D0, awake=3D1 Waking up CPU 1 (dev=3D1) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 2 (dev=3D2) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 3 (dev=3D3) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 4 (dev=3D4) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 5 (dev=3D5) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 6 (dev=3D6) SMP: CPU 0 didn't wake up (trace code 0). Waking up CPU 7 (dev=3D7) SMP: CPU 0 didn't wake up (trace code 0). SMP: 8 CPUs found; 8 CPUs usable; 1 CPUs woken What is the right way to bring up cores in FreeBSD? Using ePAPR spinlocks or custom reset? From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 4 19:33:41 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E20D9106566B for ; Thu, 4 Oct 2012 19:33:41 +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 8434B8FC0A for ; Thu, 4 Oct 2012 19:33:40 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q94JXWwK064879; Thu, 4 Oct 2012 21:33:33 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <506DE48C.60000@fgznet.ch> Date: Thu, 04 Oct 2012 21:33:32 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Matthew Rezny References: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> <20121002224117.339ac8b1@narn.knownspace> <506BBE8C.5090404@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: Justin Hibbits , freebsd-ppc@freebsd.org Subject: Re: FreeBSD9 running CPUs slow on PowerMac7,2 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, 04 Oct 2012 19:33:42 -0000 On 03.10.12 10:33, Matthew Rezny wrote: > Thank you very much Justin and Andreas! That would explains the > problem, and I just tested to confirm the system boots full speed > when not stopping at the OF prompt. Good to have this solved, though > I hope to be able to better solve it. > > When I was trying 8.x previous, the boot from CD with C worked. Once > I had an installed system, I could choose that disk as the startup > disk in OS X and reboot to FreeBSD temporarily. When I tried to boot > the 9.0 CD, something was read from the disk but then then half the > colors go inverse while it keeps flashing the missing boot folder > icon. So, to get the CD booted I had to do so from the OF prompt. I > had left it stopping at the prompt for now due to the difficulty in > even getting to this point. > > I don't have a Mac keyboard, nor do I have anything with a "Windows" > key to plug into it, so armed with a stack of true 101 key keyboard, > I can't invoke any boot time option that needs the cmd/apple key. > This machine also has the issue that the boot selector accessed by > holding alt/option simply does not work, never has since it was new. > So, to get to an OF prompt, I had to boot a OS X install DVD, bring > up Terminal and use nvram tool to set auto-boot?=false. I was > reluctant to change that back since it took such effort to set it in > the first place, but in retrospect I guess I could have saved many > hours of trying other things had I even thought to change that. Is > there any way to change OD variable from FreeBSD as can be done under > OS X with nvram command? That would make it easier to get the prompt > back when needed as long as the system is still booting. Hm, I tried with some dell keyboards, but they all have a windows key. And it works to enter of with cmd/win-alt-o-f. Unfortunately I couldn't find a keyboard w/o windows key. It sounds a bit strange that the invocation of the alt key doesn't let you select the boot drive. Did you ever reset-all in OF? Also reset the PMU? (there is a button on the motherboard named 'Reset PMU'). No changes if you try this? > Now I'm running at full speed, 2000.20Mhz according to dmesg. It also > seems my guess at the source of the issue is probably right, the > loader gets something screwed up before the kernel even starts and > then the kernel is helpless to fix it. The loader behaves different > depending how it's invoked, and that seems like a bug worth fixing. > Unfortunately, I know little about the loader and feel unprepared to > tackle it since I have only one machine such machine and thus no easy > way to debug things running from OpenFirmware. I had already looked > at the loader code with an eye to get ZFS booting and decided I'm not > ready to tackle it yet. Here I can't follow, what exactly does not work with the loader? > Having proper support in cpufreq for the SMU-less G5s would be > beneficial in that it would allow power control as well as give a way > to resolve this for cases where booting from the OF prompt may be > necessary. Also, I have enough experience on other platforms with > GPIO and I2C to feel confident messing with such things on this > machine. I noticed there is an assortment of GPIOs with no driver > attached, and numerous I2C devices also without drivers attached. I > already made a list of the chips on the I2C bus with the intent to > look them up later. The individual GPIO looks uninteresting for this > going by the names Apple uses. I think everything interesting is > sitting on I2C. All the monitoring chips are now supported, DS1775 > and MAX6690 for temperature, AD7417 for voltage and current. That > leaves a few other chips to look at and the labels Apple seems to > confirm their purpose. There are two called i2c-hwclock, cy2213 "High > Frequency Programmable PECL Clock Generator" and cy28508 "Power PC > System Clock", which I suspect are controlling both CPU and bus > clocks. There is a pair of pca9556s labeled i2c-cpu-voltage, which > are basically GPIO expanders and I suspect are controlling CPU > voltage, one per chip. There are also a pair of serial EEPROMs, > labeled cpuid, which I think are on each CPU board and just contain > the parameters to identify the chip to the motherboard. There's one > more device labeled 'cereal' but I couldn't find a part number for > the chip. Is anyone working on these? I tried once, but I gave up. I was looking how the linux people did solve the issue and there I learned that they implemented some functionality which parses and calls the platform functions in OF to adjust the CPU frequency. Effort and win where not in balance for me. Iow a very big effort for adjusting the CPU freq in sw. But this is my personal view. You might be right with the chips you mentioned. They might be indeed used for controlling this kind of stuff but I do not know the fine details. And it could be that it is not that difficult to adjust the frequency this way, but as said, I didn't try. A look into the apple sources might enlight too? I'm not sure but I think the cereal chip is a modem. At least its device_type claims 'serial'. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 15:08:04 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D3DF1065670 for ; Sat, 6 Oct 2012 15:08:04 +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 2A96A8FC0A for ; Sat, 6 Oct 2012 15:08:03 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id q96F7sF2086422; Sat, 6 Oct 2012 17:07:55 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <5070494A.4040303@fgznet.ch> Date: Sat, 06 Oct 2012 17:07:54 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Matthew Rezny References: <823A5C42-D1B8-49BF-BDB8-F551167AC6C0@hexaneinc.com> <20121002224117.339ac8b1@narn.knownspace> <506BBE8C.5090404@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: Justin Hibbits , freebsd-ppc@freebsd.org Subject: Re: FreeBSD9 running CPUs slow on PowerMac7,2 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, 06 Oct 2012 15:08:04 -0000 On 03.10.12 10:33, Matthew Rezny wrote: > hours of trying other things had I even thought to change that. Is > there any way to change OD variable from FreeBSD as can be done under > OS X with nvram command? That would make it easier to get the prompt > back when needed as long as the system is still booting. I forgot to answer this one. In FreeBSD you can use nvram (see man nvram) to set variables in OF. To enable/disable auto-boot? you just do this: % nvram auto-boot\?=true % nvram auto-boot\?=false Important, do not forget the backslash to before the ?. % nvram -p shows the content of the nvram. You can also set the boot-device, here it is important to quote the two backslashes before :tbxi. E.g: % nvram boot-device=sd0:2,'\\':tbxi If something goes wrong, you can always do a 'reset-nvram' and 'reset-all' inside OF. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 19:37:37 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CF5D106566B for ; Sat, 6 Oct 2012 19:37:37 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id AFF618FC12 for ; Sat, 6 Oct 2012 19:37:35 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so4071652vcb.13 for ; Sat, 06 Oct 2012 12:37:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=csi0luMEHPja0s96EtcjCXnb6hLq3ZsWv+E8Wpspug4=; b=C25Awgeqoexqi9IrcFUVf/25+aWs8ffn/vB1YC4WEeWGy8qke0fCcjvMmrhuZrSfpu KLuIc6oHHgJTC/dKBARoHdcqXTiRyV508PR4cy605a8CA3YchotGoK+UVTaja+5e0A+W rKRXrc/eGviwipR9ZsCTEby+yK4D29XE/Q9wh+q0OsgRqdEd6oeMMaNwdyU9fguN5Iww R3kmfXopJGmFlVXcgyIzDjDqxHh3Q+Z+3sZ6FN5jPwGBDC65bhFcqvLXibJFlceqD0Ej /DXTcgh6FR5dJpjcp3sOxlW98GZ0OiKd35scIjJNgdikOm0rrLsEZkzsoS1OC9PNzx2F u/2Q== MIME-Version: 1.0 Received: by 10.52.73.104 with SMTP id k8mr5744377vdv.115.1349552254826; Sat, 06 Oct 2012 12:37:34 -0700 (PDT) Received: by 10.58.69.75 with HTTP; Sat, 6 Oct 2012 12:37:34 -0700 (PDT) X-Originating-IP: [98.231.6.79] Date: Sat, 6 Oct 2012 15:37:34 -0400 Message-ID: From: Michael Copeland To: freebsd-ppc@freebsd.org X-Gm-Message-State: ALoCoQmlyaZ0174o5E/tAE2dfkmSDh56wzQ19ULc1lgs1fzabM+nlMiINOXKnhjpQ3GWgH1msCl4 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" 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, 06 Oct 2012 19:37:37 -0000 Configure script fails when detecting $host_arch. guilty part is: # host's CPU/instruction set case "$(uname -m 2>&1)" in x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; macppc|ppc*|Power*) host_arch=ppc ;; uname -m gives us powerpc, this isn't here, so add it. # host's CPU/instruction set case "$(uname -m 2>&1)" in x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; macppc|ppc*|Power*|powerpc) host_arch=ppc ;; builds and installs now. From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 21:21:27 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72A35106564A for ; Sat, 6 Oct 2012 21:21:27 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 232608FC14 for ; Sat, 6 Oct 2012 21:21:26 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id y23so1232975qad.13 for ; Sat, 06 Oct 2012 14:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=qx2NkvOsfa43WSEiA96A1kWV+mCqanrl6pNl1/VD1Ag=; b=nmroa6Os0QJK3fbn+zG4eIYHxfRyTWnZFQ8U8rdRi8RQnpPHjqPTx+BhH7tcWUjuvw XNcSh1y7SSAnjGe7Px89T5bHNJsvfHJUjqj/SJVPal++uMzibEu31O9M0/IRyfjcYAu6 cxsQbGdtOrs1qohFZRsOnPugYoh7K4fMqwdczXicaJ357NzYgOBxRQM1ulU8JDLNV2Z+ KP1KLPzYcc9n9FfsvLFSgw97ThKbOgL41t6oG2Lrjpy60AtMZJ38gRHRvZfqZrWrc/tb s3ZeTrnBl83icvdWWoPiP1CWCGWdshwYHANTYcAfazVW09My2bobU4/mmWXHSx/S7Cox TdiQ== Received: by 10.224.199.132 with SMTP id es4mr22812056qab.43.1349558486270; Sat, 06 Oct 2012 14:21:26 -0700 (PDT) Received: from narn.knownspace (pool-108-48-127-15.washdc.fios.verizon.net. [108.48.127.15]) by mx.google.com with ESMTPS id fy1sm13619004qab.10.2012.10.06.14.21.25 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 14:21:26 -0700 (PDT) Date: Sat, 6 Oct 2012 17:21:11 -0400 From: Justin Hibbits To: Michael Copeland Message-ID: <20121006172111.2d81b737@narn.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" 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, 06 Oct 2012 21:21:27 -0000 On Sat, 6 Oct 2012 15:37:34 -0400 Michael Copeland wrote: > Configure script fails when detecting $host_arch. > > guilty part is: > > # host's CPU/instruction set > case "$(uname -m 2>&1)" in > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > host_arch=i386 ;; > ia64) host_arch=ia64 ;; > macppc|ppc*|Power*) host_arch=ppc ;; > > > uname -m gives us powerpc, this isn't here, so add it. > > > # host's CPU/instruction set > case "$(uname -m 2>&1)" in > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > host_arch=i386 ;; > ia64) host_arch=ia64 ;; > macppc|ppc*|Power*|powerpc) host_arch=ppc ;; > > > builds and installs now. > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" Can you file a PR for this? This way the ports team can see it and track it. - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 22:38:38 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86AD6106564A for ; Sat, 6 Oct 2012 22:38:38 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 38D078FC18 for ; Sat, 6 Oct 2012 22:38:37 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so4151520vcb.13 for ; Sat, 06 Oct 2012 15:38:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=KAgCG1yWbvdyCcbwg+Sp9F5jzOOr2j1iv2agVjmuing=; b=H64EAUYErKnHHGLRGOs2VdkK7gj0Z9G1DL7WIpd0aZ//NjoV6vNqOWX7ehfTMvCC8M dz5zATq4Vvt9azmuKoTQ3KCrwkRP1sNwLNgPQnVYf889Ry0YkHrkkq5uWRQxCwOZ+FZu 8Uvs7otOtTSBuAUpogLfGmix16o/lPsGKA2pvAPEC7tbg+D1NC3Q4dws4Q3O5LAd0Ed9 4wYNruK+6PJyM5UZ0pDh8HmYkts29Wb+gvoqokb+VH3p8jpjVp5YCphL9rYgiKl1GTu6 N4myyn58bnwGsNjvYS95I2OjBZ+skvQ7tabMHkq8wYNzi0AZuEhbNbffbC4m7RCUYFBZ BqBw== MIME-Version: 1.0 Received: by 10.58.94.109 with SMTP id db13mr7693020veb.39.1349563116900; Sat, 06 Oct 2012 15:38:36 -0700 (PDT) Received: by 10.58.69.75 with HTTP; Sat, 6 Oct 2012 15:38:36 -0700 (PDT) X-Originating-IP: [98.231.6.79] In-Reply-To: <20121006172111.2d81b737@narn.knownspace> References: <20121006172111.2d81b737@narn.knownspace> Date: Sat, 6 Oct 2012 18:38:36 -0400 Message-ID: From: Michael Copeland To: Justin Hibbits X-Gm-Message-State: ALoCoQmbdz+N+4Hgz+HNq9qu+wGfq+e+5tO3bmgLPCOWu9fgNd8TD9lzjhEqEOU6WjUdEYfUgueB Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" 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, 06 Oct 2012 22:38:38 -0000 Sure, I'll be glad to do it. Is there a certain format to follow? On Sat, Oct 6, 2012 at 5:21 PM, Justin Hibbits wrote: > On Sat, 6 Oct 2012 15:37:34 -0400 > Michael Copeland wrote: > > > Configure script fails when detecting $host_arch. > > > > guilty part is: > > > > # host's CPU/instruction set > > case "$(uname -m 2>&1)" in > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > host_arch=i386 ;; > > ia64) host_arch=ia64 ;; > > macppc|ppc*|Power*) host_arch=ppc ;; > > > > > > uname -m gives us powerpc, this isn't here, so add it. > > > > > > # host's CPU/instruction set > > case "$(uname -m 2>&1)" in > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > host_arch=i386 ;; > > ia64) host_arch=ia64 ;; > > macppc|ppc*|Power*|powerpc) host_arch=ppc ;; > > > > > > builds and installs now. > > _______________________________________________ > > freebsd-ppc@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > > Can you file a PR for this? This way the ports team can see it and > track it. > > - Justin > From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 22:43:12 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D9E9106566C for ; Sat, 6 Oct 2012 22:43:12 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 312998FC0A for ; Sat, 6 Oct 2012 22:43:12 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id l39so2449401qcs.13 for ; Sat, 06 Oct 2012 15:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=HTCXA3oU2AEc9QOmUWkUyyd0dRFk7IqECZibYotB1YE=; b=uo4Bh69duuVZ9aRbOHiJYFs+0v3lKbNUGfiazHXxXFMezAh0G/kJ8LH2da64mrX747 vn5RP69BouDvkSZVzb+3RdUhqRwR/PAT/ASYMfXysFYJoTxHk6zK1fjxyO8oJukp05yv MAHVbjE48P5gR/ctWSl7xefxqFXztNd6SuUpyvZgOAEPJkfmPAIwdeUBBP3vauwSaIwc //t+n/B6vICGzLAHf/6UNsfTK85bj41OI3fv85Ln5IVL1gQYORtkHerf3hml6Yn+p4cP qh/NPtnLPA4vear/Bu6SK8uOiLmAQWRtV4A6M4fc34BO+sgqkfEUWxs9TozFlQdGXQWH qVkw== Received: by 10.224.174.129 with SMTP id t1mr23128424qaz.16.1349563391441; Sat, 06 Oct 2012 15:43:11 -0700 (PDT) Received: from narn.knownspace (pool-108-48-127-15.washdc.fios.verizon.net. [108.48.127.15]) by mx.google.com with ESMTPS id ii18sm3685561qab.2.2012.10.06.15.43.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 15:43:11 -0700 (PDT) Date: Sat, 6 Oct 2012 18:43:09 -0400 From: Justin Hibbits To: Michael Copeland Message-ID: <20121006184309.0749c6d8@narn.knownspace> In-Reply-To: References: <20121006172111.2d81b737@narn.knownspace> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" 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, 06 Oct 2012 22:43:12 -0000 On Sat, 6 Oct 2012 18:38:36 -0400 Michael Copeland wrote: > Sure, I'll be glad to do it. Is there a certain format to follow? Not really, you can look at other PRs if you want some ideas. A patch to attach would be best, and set the category to ports since it's a bug in third-party software. You may also want to notify upstream, so it can be fixed in the original source. > > On Sat, Oct 6, 2012 at 5:21 PM, Justin Hibbits > wrote: > > > On Sat, 6 Oct 2012 15:37:34 -0400 > > Michael Copeland wrote: > > > > > Configure script fails when detecting $host_arch. > > > > > > guilty part is: > > > > > > # host's CPU/instruction set > > > case "$(uname -m 2>&1)" in > > > > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > > host_arch=i386 ;; > > > ia64) host_arch=ia64 ;; > > > macppc|ppc*|Power*) host_arch=ppc ;; > > > > > > > > > uname -m gives us powerpc, this isn't here, so add it. > > > > > > > > > # host's CPU/instruction set > > > case "$(uname -m 2>&1)" in > > > > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > > host_arch=i386 ;; > > > ia64) host_arch=ia64 ;; > > > macppc|ppc*|Power*|powerpc) host_arch=ppc ;; > > > > > > > > > builds and installs now. > > > _______________________________________________ > > > freebsd-ppc@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > > To unsubscribe, send any mail to > > > "freebsd-ppc-unsubscribe@freebsd.org" > > > > Can you file a PR for this? This way the ports team can see it and > > track it. > > > > - Justin > > - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 6 22:45:57 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B453A106566B for ; Sat, 6 Oct 2012 22:45:57 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 641DF8FC12 for ; Sat, 6 Oct 2012 22:45:56 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id v11so3914263vbm.13 for ; Sat, 06 Oct 2012 15:45:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=IktuBd6fhhpyQlZV3Sxq9sB/CFuU9VYsBaRxzWjgzdM=; b=hYZ7UBsODqj9Z7jwD4a7ORUaVYmUPTu4AYCPpbkBFWAu5gR4yj8BJy7i9017S5YhIL HINLj5/gqCV6qpajVmU8JQNiXqcKLqQvFB5hhO0amw0VUGLNABfXdmj99rPJsdoRWPh+ y9NJkJw0KeJgZ09MaanvcsA+pK1SmKTErupenk1dURkI/cIIL0KhWaxO1fEGWZJvZ3gt 4wy8oBDpct5RQHimGNKl2/YuU5Tw6z4TGCMQyTqPKRkX5xA5vaXyz/wjr+NHaQQQP8u2 XVzZQpPJD1g4LuWKM6L4X3nC23ZD23c9XfKWYfqXlhBTxoChkqbeZAVhI+fUacp5J5U6 7RVw== MIME-Version: 1.0 Received: by 10.220.221.72 with SMTP id ib8mr7280812vcb.25.1349563556181; Sat, 06 Oct 2012 15:45:56 -0700 (PDT) Received: by 10.58.69.75 with HTTP; Sat, 6 Oct 2012 15:45:56 -0700 (PDT) X-Originating-IP: [98.231.6.79] In-Reply-To: <20121006184309.0749c6d8@narn.knownspace> References: <20121006172111.2d81b737@narn.knownspace> <20121006184309.0749c6d8@narn.knownspace> Date: Sat, 6 Oct 2012 18:45:56 -0400 Message-ID: From: Michael Copeland To: Justin Hibbits X-Gm-Message-State: ALoCoQmqb75pdRpkQ3sVnIw6SAwzyTrQrbAPmRTU+a/mRahSN1gGW+NZiIDcHY9y6vpcd1K6NML4 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Building mplayer on 9.1-PRERELEASE host architecture "UNKNOWN" 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, 06 Oct 2012 22:45:57 -0000 I sent it. stated that simply running make install results in the architecture unknown error. for the fix section, i put this: edit configure script in work/mplayer-export-2012-07-21 find section # host's CPU/instruction set patch section macppc|ppc*|Power*) host_arch=ppc ;; with macppc|ppc*|Power*|powerpc) host_arch=ppc ;; changing system var UNAME_m to ppc would also work, but this may break other ports. On Sat, Oct 6, 2012 at 6:43 PM, Justin Hibbits wrote: > On Sat, 6 Oct 2012 18:38:36 -0400 > Michael Copeland wrote: > > > Sure, I'll be glad to do it. Is there a certain format to follow? > > Not really, you can look at other PRs if you want some ideas. A patch > to attach would be best, and set the category to ports since it's a > bug in third-party software. You may also want to notify upstream, so it > can be fixed in the original source. > > > > > On Sat, Oct 6, 2012 at 5:21 PM, Justin Hibbits > > wrote: > > > > > On Sat, 6 Oct 2012 15:37:34 -0400 > > > Michael Copeland wrote: > > > > > > > Configure script fails when detecting $host_arch. > > > > > > > > guilty part is: > > > > > > > > # host's CPU/instruction set > > > > case "$(uname -m 2>&1)" in > > > > > > > > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > > > host_arch=i386 ;; > > > > ia64) host_arch=ia64 ;; > > > > macppc|ppc*|Power*) host_arch=ppc ;; > > > > > > > > > > > > uname -m gives us powerpc, this isn't here, so add it. > > > > > > > > > > > > # host's CPU/instruction set > > > > case "$(uname -m 2>&1)" in > > > > > > > > > > > > x86_64|amd64|i[3-9]86*|i86pc|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) > > > > host_arch=i386 ;; > > > > ia64) host_arch=ia64 ;; > > > > macppc|ppc*|Power*|powerpc) host_arch=ppc ;; > > > > > > > > > > > > builds and installs now. > > > > _______________________________________________ > > > > freebsd-ppc@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > > > To unsubscribe, send any mail to > > > > "freebsd-ppc-unsubscribe@freebsd.org" > > > > > > Can you file a PR for this? This way the ports team can see it and > > > track it. > > > > > > - Justin > > > > > - Justin >