From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 10 11:06: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 0881510656AC for ; Mon, 10 Nov 2008 11:06:56 +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 E41048FC2C for ; Mon, 10 Nov 2008 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mAAB6ttC049817 for ; Mon, 10 Nov 2008 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mAAB6t8C049813 for freebsd-ppc@FreeBSD.org; Mon, 10 Nov 2008 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Nov 2008 11:06:55 GMT Message-Id: <200811101106.mAAB6t8C049813@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, 10 Nov 2008 11:06:56 -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 Wed Nov 12 16:28: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 0B4BD1065672 for ; Wed, 12 Nov 2008 16:28:20 +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 8E08E8FC0A for ; Wed, 12 Nov 2008 16:28:19 +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 mACGSHIq001022 for ; Thu, 13 Nov 2008 03:28:18 +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="=-QrtGQo4cgGnCZ5yCIwPs" Date: Thu, 13 Nov 2008 03:32:40 +1100 Message-Id: <1226507560.23132.56.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Another idea. 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, 12 Nov 2008 16:28:20 -0000 --=-QrtGQo4cgGnCZ5yCIwPs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ok, it's possible on x86 (iirc) to make FreeBSD boot directly into single-user mode, and not bother with /etc/rc.d and the like. Is it possible to feed a flag to the ofw bootloader to do something similar? It would help greatly. Thanks, -- Horst. --=-QrtGQo4cgGnCZ5yCIwPs 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) iEYEABECAAYFAkkbBSgACgkQRtTtv0BbTe6aMwCgnnlp3tEEVKw3MzJbRTSC0e+h r9cAoJtRv2f9PTccZ8T4SHGcdyAXwBfa =whie -----END PGP SIGNATURE----- --=-QrtGQo4cgGnCZ5yCIwPs-- From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 12 16:33: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 076121065679 for ; Wed, 12 Nov 2008 16:33:45 +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 D93428FC12 for ; Wed, 12 Nov 2008 16:33:44 +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.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 <0KA80084IBC89T00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 12 Nov 2008 10:33:44 -0600 (CST) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0KA80037LBC7CL50@smtpauth1.wiscmail.wisc.edu>; Wed, 12 Nov 2008 10:33:43 -0600 (CST) Date: Wed, 12 Nov 2008 10:34:35 -0600 From: Nathan Whitehorn In-reply-to: <1226507560.23132.56.camel@horst-tla> To: =?ISO-8859-1?Q?Horst_G=FCnther_Burkhardt_III?= Message-id: <491B059B.6060506@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.11.12.162220, SenderIP=99.154.3.101 References: <1226507560.23132.56.camel@horst-tla> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) Cc: FreeBSD PowerPC ML Subject: Re: Another idea. 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, 12 Nov 2008 16:33:45 -0000 Horst Günther Burkhardt III wrote: > Ok, it's possible on x86 (iirc) to make FreeBSD boot directly into > single-user mode, and not bother with /etc/rc.d and the like. > > Is it possible to feed a flag to the ofw bootloader to do something > similar? It would help greatly. > > Thanks, > -- Horst. boot -s at the loader prompt, just like on x86. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 12 17:12: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 6891E1065676; Wed, 12 Nov 2008 17:12:22 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5698FC1A; Wed, 12 Nov 2008 17:12:22 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id E64641923E; Wed, 12 Nov 2008 11:53:31 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from tau.draftnet (unknown [66.45.161.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 12 Nov 2008 11:53:31 -0500 (EST) Date: Wed, 12 Nov 2008 08:53:09 -0800 From: Bruce Cran To: Nathan Whitehorn Message-ID: <20081112085309.598a6fc1@tau.draftnet> In-Reply-To: <491B059B.6060506@freebsd.org> References: <1226507560.23132.56.camel@horst-tla> <491B059B.6060506@freebsd.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: Another idea. 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, 12 Nov 2008 17:12:22 -0000 On Wed, 12 Nov 2008 10:34:35 -0600 Nathan Whitehorn wrote: > Horst G__nther Burkhardt III wrote: > > Ok, it's possible on x86 (iirc) to make FreeBSD boot directly into > > single-user mode, and not bother with /etc/rc.d and the like. > > > > Is it possible to feed a flag to the ofw bootloader to do something > > similar? It would help greatly. > > > > Thanks, > > -- Horst. > > boot -s at the loader prompt, just like on x86. The boot process on powerpc is slightly different than on x86, because you don't get the nice boot screen where you press 6 to get to the prompt. Instead you get a message saying something like "Booting /boot/kernel/kernel in 10 seconds...". Press a key at that point and you get a prompt where you can enter "boot -s" to go to single-user mode. -- Bruce Cran From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 12 17:57: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 78DAD1065677 for ; Wed, 12 Nov 2008 17:57:13 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id 3CAF08FC0A for ; Wed, 12 Nov 2008 17:57:11 +0000 (UTC) (envelope-from ross@grinz.com) Received: from quine.local (cpe-66-69-170-128.sw.res.rr.com [66.69.170.128]) by mail.boomhaus.com (Postfix) with ESMTPSA id 268FE366 for ; Wed, 12 Nov 2008 11:27:19 -0600 (CST) Message-ID: <491B18F3.4010900@grinz.com> Date: Wed, 12 Nov 2008 11:57:07 -0600 From: Ross Gohlke User-Agent: Thunderbird 2.0.0.12 (X11/20080703) MIME-Version: 1.0 To: FreeBSD PowerPC References: <48DD91A4.2060306@freebsd.org> In-Reply-To: <48DD91A4.2060306@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: SMP success (sort of) on Xserve G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ross@grinz.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 17:57:13 -0000 I am new to -CURRENT and to synchronizing source, trying to parse conflicting instructions (mostly between Handbook and /usr/src/UPDATING). I still have some things to work out (server is remote, becomes unreachable periodically and has to be power-cycled), but my Xserve DP 1GHz G4 is using both processors. I'll try a UP kernel and may just go through the whole process again to see if errors go away. % dmesg Copyright (c) 1992-2008 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 8.0-CURRENT #0: Tue Nov 11 15:01:01 CST 2008 root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY.8 WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz cpu0: HID0 8450c0bc real memory = 2135240704 (2036 MB) avail memory = 2067062784 (1971 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=ff87f908 (BSP) cpu1: dev=ff880bc8 kbd0 at kbdmux0 nexus0: unin0: on nexus0 unin0: Version 36 pcib0: on nexus0 pci0: on pcib0 bge0: mem 0xa0000000-0xa000ffff irq 48 at device 16.0 on pci0 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:03:93:c0:50:fc bge0: [ITHREAD] pcib1: on nexus0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 macio0: mem 0x80000000-0x8007ffff at device 7.0 on pci2 openpic0: mem 0x40000-0x7ffff on macio0 macgpio0: mem 0x50-0x7f on macio0 pmuextint0: gpio 9 irq 47 on macgpio0 scc0: mem 0x13000-0x13fff,0x8400-0x84ff,0x8500-0x85ff,0x8600-0x86ff,0x8700-0x87ff irq 22,5,6,23,7,8 on macio0 scc0: [FILTER] scc0: [FILTER] uart0: on scc0 uart0: [FILTER] uart1: on scc0 uart1: [FILTER] pmu0: mem 0x16000-0x17fff irq 25 on macio0 pmu0: [ITHREAD] ata0 mem 0x1f000-0x1ffff,0x8a00-0x8aff irq 19,11 on macio0 ata0: [ITHREAD] ohci0: mem 0x80081000-0x80081fff irq 27 at device 8.0 on pci2 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0x80080000-0x80080fff irq 28 at device 9.0 on pci2 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pcib3: at device 17.0 on pci1 pci3: on pcib3 pcib1: failed to reserve resource for (null) vgapci0: mem 0x88000000-0x8fffffff,0x80100000-0x8010ffff irq 52 at device 2.0 on pci3 atapci0: port 0x1090-0x1097,0x1080-0x1083,0x1070-0x1077,0x1060-0x1063,0x1050-0x105f mem 0x90030000-0x9003ffff irq 58 at device 21.0 on pci1 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1040-0x1047,0x1030-0x1033,0x1020-0x1027,0x1010-0x1013,0x1000-0x100f mem 0x90010000-0x9001ffff irq 63 at device 27.0 on pci1 atapci1: [ITHREAD] ata4: on atapci1 ata4: [ITHREAD] ata5: on atapci1 ata5: [ITHREAD] pcib4: on nexus0 pci4: on pcib4 fwohci0: mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci4el fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:03:93:ff:fe:b5:d4:8e fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:03:93:b5:d4:8e fwe0: Ethernet address: 02:03:93:b5:d4:8e sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc1, gen=2, CYCLEMASTER mode gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci4 miibus1: on gem0 brgphy1: PHY 0 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto gem0: 10kB RX FIFO, 4kB TX FIFO gem0: Ethernet address: 00:03:93:b5:d4:8e gem0: [ITHREAD] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> uhub2: on uhub0 uhub2: 3 ports with 2 removable, bus powered ukbd0: on uhub2 kbd1 at ukbd0 ums0: on uhub2 ums0: 1 buttons. Timecounter "decrementer" frequency 33229775 Hz quality 0 Timecounters tick every 10.000 msec IP Filter: v4.1.28 initialized. Default = pass all, Logging = enabled firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: bus manager 1 (me) acd0: CDRW at ata0-master UDMA33 ad0: 117800MB at ata2-master UDMA100 ad1: 58644MB at ata3-master UDMA100 Waking up CPU 1 (dev=ff880bc8) WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ad0s3 WARNING: / was not properly dismounted lock order reversal: 1st 0xc44048 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 2nd 0xe0aafc ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe08cf930: at kdb_backtrace+0x4c 0xe08cf950: at _witness_debugger+0x3c 0xe08cf970: at witness_checkorder+0x8d0 0xe08cf9d0: at __lockmgr_args+0x23c 0xe08cfa50: at ffs_lock+0x9c 0xe08cfa80: at VOP_LOCK1_APV+0xec 0xe08cfaa0: at _vn_lock+0x84 0xe08cfaf0: at vget+0xdc 0xe08cfb30: at vnode_pager_lock+0x20c 0xe08cfb90: at vm_fault+0x218 0xe08cfca0: at trap_pfault+0x128 0xe08cfce0: at trap+0x1ac 0xe08cfda0: at powerpc_interrupt+0x15c 0xe08cfdd0: user ISI trap by 0x1818f4c: srr1=0x4000d032 r1=0x7fffded0 cr=0x24000048 xer=0 ctr=0 WARNING: /mnt/disk2 was not properly dismounted lock order reversal: 1st 0xd9d27400 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0xe41e00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:263 KDB: stack backtrace: 0xe50c1a20: at kdb_backtrace+0x4c 0xe50c1a40: at _witness_debugger+0x3c 0xe50c1a60: at witness_checkorder+0x8d0 0xe50c1ac0: at _sx_xlock+0x90 0xe50c1af0: at ufsdirhash_acquire+0x40 0xe50c1b10: at ufsdirhash_remove+0x2c 0xe50c1b40: at ufs_dirremove+0x100 0xe50c1b80: at ufs_remove+0x8c 0xe50c1bc0: at VOP_REMOVE_APV+0xe0 0xe50c1be0: at kern_unlinkat+0x1b4 0xe50c1ca0: at kern_unlink+0x24 0xe50c1cc0: at unlink+0x1c 0xe50c1ce0: at trap+0x460 0xe50c1da0: at powerpc_interrupt+0x15c 0xe50c1dd0: user SC trap by 0x21940288: srr1=0xd032 r1=0x7fffd570 cr=0x40000042 xer=0 ctr=0x21940280 lock order reversal: 1st 0x4181c0c ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1064 2nd 0x41896bc devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe510c7f0: at kdb_backtrace+0x4c 0xe510c810: at _witness_debugger+0x3c 0xe510c830: at witness_checkorder+0x8d0 0xe510c890: at __lockmgr_args+0xaf8 0xe510c910: at vop_stdlock+0x48 0xe510c930: at VOP_LOCK1_APV+0xec 0xe510c950: at _vn_lock+0x84 0xe510c9a0: at vget+0xdc 0xe510c9e0: at devfs_allocv+0x11c 0xe510ca20: at devfs_root+0x5c 0xe510ca60: at vfs_donmount+0x1458 0xe510cca0: at nmount+0xd8 0xe510cce0: at trap+0x460 0xe510cda0: at powerpc_interrupt+0x15c 0xe510cdd0: user SC trap by 0x218d2788: srr1=0xd032 r1=0x7fffcd10 cr=0x20000044 xer=0 ctr=0x218d2780 link_elf: symbol dev2unit undefined lock order reversal: 1st 0x88efd1c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:420 2nd 0xd9d5b118 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 3rd 0xf2c05c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:541 KDB: stack backtrace: 0xe511b5b0: at kdb_backtrace+0x4c 0xe511b5d0: at _witness_debugger+0x3c 0xe511b5f0: at witness_checkorder+0x8d0 0xe511b650: at __lockmgr_args+0xaf8 0xe511b6d0: at ffs_lock+0x9c 0xe511b700: at VOP_LOCK1_APV+0xec 0xe511b720: at _vn_lock+0x84 0xe511b770: at ffs_snapshot+0x12ec 0xe511b970: at ffs_mount+0x10a4 0xe511ba60: at vfs_donmount+0x108c 0xe511bca0: at nmount+0xd8 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 lock order reversal: 1st 0xd9d5b118 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0x8923b9c snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:790 KDB: stack backtrace: 0xe511b5b0: at kdb_backtrace+0x4c 0xe511b5d0: at _witness_debugger+0x3c 0xe511b5f0: at witness_checkorder+0x8d0 0xe511b650: at __lockmgr_args+0xaf8 0xe511b6d0: at ffs_lock+0x9c 0xe511b700: at VOP_LOCK1_APV+0xec 0xe511b720: at _vn_lock+0x84 0xe511b770: at ffs_snapshot+0x22f8 0xe511b970: at ffs_mount+0x10a4 0xe511ba60: at vfs_donmount+0x108c 0xe511bca0: at nmount+0xd8 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 lock order reversal: 1st 0x8923b9c snaplk (snaplk) @ /usr/src/sys/kern/vfs_vnops.c:293 2nd 0x88efd1c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:1584 KDB: stack backtrace: 0xe511b880: at kdb_backtrace+0x4c 0xe511b8a0: at _witness_debugger+0x3c 0xe511b8c0: at witness_checkorder+0x8d0 0xe511b920: at __lockmgr_args+0xaf8 0xe511b9a0: at ffs_snapremove+0x148 0xe511ba10: at softdep_releasefile+0x54 0xe511ba40: at ufs_inactive+0x1c8 0xe511ba80: at VOP_INACTIVE_APV+0xe0 0xe511baa0: at vinactive+0x98 0xe511bae0: at vput+0x21c 0xe511bb30: at vn_close+0x10c 0xe511bb80: at vn_closefile+0x114 0xe511bbf0: at _fdrop+0x60 0xe511bc10: at closef+0x2f8 0xe511bc90: at kern_close+0x144 0xe511bcc0: at close+0x18 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x2197f088: srr1=0xf032 r1=0x7fffdb60 cr=0x22004028 xer=0 ctr=0x2197f080 lock order reversal: 1st 0x4181c0c ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1207 2nd 0x41895ac syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2147 KDB: stack backtrace: 0xe5206a70: at kdb_backtrace+0x4c 0xe5206a90: at _witness_debugger+0x3c 0xe5206ab0: at witness_checkorder+0x8d0 0xe5206b10: at __lockmgr_args+0xaf8 0xe5206b90: at vop_stdlock+0x48 0xe5206bb0: at VOP_LOCK1_APV+0xec 0xe5206bd0: at _vn_lock+0x84 0xe5206c20: at vrele+0x158 0xe5206c60: at dounmount+0x3b0 0xe5206ca0: at unmount+0x2e4 0xe5206ce0: at trap+0x460 0xe5206da0: at powerpc_interrupt+0x15c 0xe5206dd0: user SC trap by 0x218b1e38: srr1=0xd032 r1=0x7fffd540 cr=0x20004082 xer=0 ctr=0x218b1e30 % sysctl kern.smp kern.smp.forward_roundrobin_enabled: 1 kern.smp.forward_signal_enabled: 1 kern.smp.topology: 0 kern.smp.cpus: 2 kern.smp.disabled: 0 kern.smp.active: 1 kern.smp.maxcpus: 2 kern.smp.maxid: 1 % vmstat -ia interrupt total rate irq48: bge0 66399 0 irq22: scc0 0 0 irq23: scc0 0 0 irq47: pmu0 0 0 irq19: ata0 35 0 irq27: ohci0 4 0 irq28: ohci1 1 0 irq58: atapci0 1796238 26 irq63: atapci1 0 0 irq40: fwohci0 2 0 irq41: gem0 237728 3 irq64: IPI 7734095 114 Total 9834502 146 From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 12 19:50:24 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 B795610656A7 for ; Wed, 12 Nov 2008 19:50:24 +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 54F618FC1C for ; Wed, 12 Nov 2008 19:50:23 +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 mACJoLNB095165 for ; Wed, 12 Nov 2008 20:50:21 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <491B337D.5010901@fgznet.ch> Date: Wed, 12 Nov 2008 20:50:21 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: FreeBSD PowerPC ML 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: ppc float.h 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, 12 Nov 2008 19:50:24 -0000 Hello, can somebody explain why we have these defines in sys/powerpc/include/float.h ? #define LDBL_MANT_DIG DBL_MANT_DIG #define LDBL_EPSILON DBL_EPSILON #define LDBL_DIG DBL_DIG #define LDBL_MIN_EXP DBL_MIN_EXP #define LDBL_MIN DBL_MIN #define LDBL_MIN_10_EXP DBL_MIN_10_EXP #define LDBL_MAX_EXP DBL_MAX_EXP #define LDBL_MAX DBL_MAX #define LDBL_MAX_10_EXP DBL_MAX_10_EXP I mean, why do we use the DBL_* for the LDBL instead of defining them like this: #define LDBL_MANT_DIG 64 #define LDBL_EPSILON 1.0842021724855044340E-19L #define LDBL_DIG 18 #define LDBL_MIN_EXP (-16381) #define LDBL_MIN 3.3621031431120935063E-4932L #define LDBL_MIN_10_EXP (-4931) #define LDBL_MAX_EXP 16384 #define LDBL_MAX 1.1897314953572317650E+4932L #define LDBL_MAX_10_EXP 4932 The float.h itself states that it is derived from: from: FreeBSD: src/sys/i386/include/float.h,v 1.8 1999/08/28 00:44:11 Having a look into src/sys/i386/include/float.h shows that the LDBL_* are defined as the above. Are there missing issues in libc or so? TIA, Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 12 21:18:34 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 4BE0B1065677 for ; Wed, 12 Nov 2008 21:18:34 +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 DA1F38FC16 for ; Wed, 12 Nov 2008 21:18:33 +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 mACLIVOB025171 for ; Thu, 13 Nov 2008 08:18:32 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: FreeBSD PowerPC ML In-Reply-To: <20081112085309.598a6fc1@tau.draftnet> References: <1226507560.23132.56.camel@horst-tla> <491B059B.6060506@freebsd.org> <20081112085309.598a6fc1@tau.draftnet> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-p/RBSIrw6gzUDOdiC//W" Date: Thu, 13 Nov 2008 08:22:56 +1100 Message-Id: <1226524976.23132.59.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Subject: Re: Another idea. 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, 12 Nov 2008 21:18:34 -0000 --=-p/RBSIrw6gzUDOdiC//W Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-11-12 at 08:53 -0800, Bruce Cran wrote: > On Wed, 12 Nov 2008 10:34:35 -0600 > Nathan Whitehorn wrote: >=20 > > Horst G__nther Burkhardt III wrote: > > > Ok, it's possible on x86 (iirc) to make FreeBSD boot directly into > > > single-user mode, and not bother with /etc/rc.d and the like. > > >=20 > > > Is it possible to feed a flag to the ofw bootloader to do something > > > similar? It would help greatly. > > >=20 > > > Thanks, > > > -- Horst. > >=20 > > boot -s at the loader prompt, just like on x86. >=20 > The boot process on powerpc is slightly different than on x86, because > you don't get the nice boot screen where you press 6 to get to the > prompt. Instead you get a message saying something like > "Booting /boot/kernel/kernel in 10 seconds...". Press a key at that > point and you get a prompt where you can enter "boot -s" to go to > single-user mode. Thanks, both of you - i knew about the boot ofw thingy, but basically just forgot the manual params to bypass multiuser. The computer is fixed now and i don't need to reinstall - yay =3D) --Horst --=-p/RBSIrw6gzUDOdiC//W 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) iEYEABECAAYFAkkbSTAACgkQRtTtv0BbTe7QIQCbBs4Um1MGPWKIK6D7dyQUh9Qc jrkAn0K7iFPNdIzFSkeraGTZjWQKFzj5 =E0cM -----END PGP SIGNATURE----- --=-p/RBSIrw6gzUDOdiC//W-- From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 01:00: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 9E7DB106568D for ; Thu, 13 Nov 2008 01:00:11 +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 5E5528FC08 for ; Thu, 13 Nov 2008 01:00:10 +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 B704911844; Thu, 13 Nov 2008 11:00:08 +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 ELO26264 (AUTH peterg@ptree32.com.au); Thu, 13 Nov 2008 10:59:26 +1000 (EST) From: Peter Grehan To: Andreas Tobler , FreeBSD PowerPC ML 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: <20081113105926.ELO26264@dommail.onthenet.com.au> Date: Thu, 13 Nov 2008 10:59:26 +1000 (EST) X-Mailman-Approved-At: Thu, 13 Nov 2008 03:49:12 +0000 Cc: Subject: Re: ppc float.h 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, 13 Nov 2008 01:00:11 -0000 Hi Andreas, >can somebody explain why we have these defines in >sys/powerpc/include/float.h ? Have a look at http://svn.freebsd.org/viewvc/base?view=revision&revision=132421 Basically, the ABI was switched from 128 bit long doubles to 64. Not exactly SVR4 compliant but then no-one else is. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 04:24: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 B84781065670 for ; Thu, 13 Nov 2008 04:24:17 +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 A01438FC13 for ; Thu, 13 Nov 2008 04:24:17 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.95] (209-128-86-226.bayarea.net [209.128.86.226]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KA9006HL5GBSP40@asmtp018.mac.com> for freebsd-ppc@freebsd.org; Wed, 12 Nov 2008 19:24:12 -0800 (PST) Message-id: <46B90E82-B28B-42BB-8D33-49F5C012262A@mac.com> From: Marcel Moolenaar To: Andreas Tobler In-reply-to: <491B337D.5010901@fgznet.ch> Date: Wed, 12 Nov 2008 19:24:10 -0800 References: <491B337D.5010901@fgznet.ch> X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD PowerPC ML Subject: Re: ppc float.h 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, 13 Nov 2008 04:24:17 -0000 On Nov 12, 2008, at 11:50 AM, Andreas Tobler wrote: > Hello, > > can somebody explain why we have these defines in sys/powerpc/ > include/float.h ? > > #define LDBL_MANT_DIG DBL_MANT_DIG > #define LDBL_EPSILON DBL_EPSILON > #define LDBL_DIG DBL_DIG > #define LDBL_MIN_EXP DBL_MIN_EXP > #define LDBL_MIN DBL_MIN > #define LDBL_MIN_10_EXP DBL_MIN_10_EXP > #define LDBL_MAX_EXP DBL_MAX_EXP > #define LDBL_MAX DBL_MAX > #define LDBL_MAX_10_EXP DBL_MAX_10_EXP Because "long double" on PowerPC is the same as "double". This is dictated by the compiler: mini-g4% gcc -E -dM -xc /dev/null | grep DBL | grep DIG #define __DBL_DIG__ 15 #define __LDBL_DIG__ 15 #define __LDBL_MANT_DIG__ 53 #define __DBL_MANT_DIG__ 53 -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 18:39:23 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 C72FB1065674 for ; Thu, 13 Nov 2008 18:39:23 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8D68FC16 for ; Thu, 13 Nov 2008 18:39:23 +0000 (UTC) (envelope-from ross@grinz.com) Received: from quine.local (cpe-66-69-170-128.sw.res.rr.com [66.69.170.128]) by mail.boomhaus.com (Postfix) with ESMTPSA id 2C2531BE for ; Thu, 13 Nov 2008 12:09:18 -0600 (CST) Message-ID: <491C7459.5030609@grinz.com> Date: Thu, 13 Nov 2008 12:39:21 -0600 From: Ross Gohlke User-Agent: Thunderbird 2.0.0.12 (X11/20080703) MIME-Version: 1.0 To: FreeBSD PowerPC References: <48DD91A4.2060306@freebsd.org> In-Reply-To: <48DD91A4.2060306@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: kernel panic on Xserve G4 -CURRENT X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ross@grinz.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2008 18:39:23 -0000 panic: mutex vm page queue mutex not owned at /usr/src/powerpc/a... cpuid = 0 KDB: enter: panic [thread pic 48347 tid 100099 ] Stopped at 0x2cc194: addi r0, r0, 0x0 db> Unfortunately I don't get to see the rest of the panic line. Next directory has to be aim, don't know past that. I have resynched my source, rebuilt/reinstalled the kernel, reinstalled world, deinstalled ports with kernel modules (fusefs-kmod) and reinstalled via ports all software configured to run with rc.d/. link_elf: symbol dev2unit undefined This error went away with deinstallation of fusefs-*. Below are results for both SMP and UP kernels (older). ## SMP % dmesg Copyright (c) 1992-2008 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 8.0-CURRENT #0: Thu Nov 13 07:22:29 CST 2008 root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY.8 WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz cpu0: HID0 8450c0bc real memory = 2135232512 (2036 MB) avail memory = 2067054592 (1971 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=ff87f908 (BSP) cpu1: dev=ff880bc8 ... lock order reversal: 1st 0xc44048 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 2nd 0xe1cafc ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe08cf930: at kdb_backtrace+0x4c 0xe08cf950: at _witness_debugger+0x3c 0xe08cf970: at witness_checkorder+0x8d0 0xe08cf9d0: at __lockmgr_args+0x23c 0xe08cfa50: at ffs_lock+0x9c 0xe08cfa80: at VOP_LOCK1_APV+0xec 0xe08cfaa0: at _vn_lock+0x84 0xe08cfaf0: at vget+0xdc 0xe08cfb30: at vnode_pager_lock+0x20c 0xe08cfb90: at vm_fault+0x218 0xe08cfca0: at trap_pfault+0x128 0xe08cfce0: at trap+0x1ac 0xe08cfda0: at powerpc_interrupt+0x15c 0xe08cfdd0: user ISI trap by 0x1818f4c: srr1=0x4000d032 r1=0x7fffded0 cr=0x24000048 xer=0 ctr=0 WARNING: /mnt/disk2 was not properly dismounted lock order reversal: 1st 0xd9d27558 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0xe59800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:263 KDB: stack backtrace: 0xe50ada20: at kdb_backtrace+0x4c 0xe50ada40: at _witness_debugger+0x3c 0xe50ada60: at witness_checkorder+0x8d0 0xe50adac0: at _sx_xlock+0x90 0xe50adaf0: at ufsdirhash_acquire+0x40 0xe50adb10: at ufsdirhash_remove+0x2c 0xe50adb40: at ufs_dirremove+0x100 0xe50adb80: at ufs_remove+0x8c 0xe50adbc0: at VOP_REMOVE_APV+0xe0 0xe50adbe0: at kern_unlinkat+0x1b4 0xe50adca0: at kern_unlink+0x24 0xe50adcc0: at unlink+0x1c 0xe50adce0: at trap+0x460 0xe50adda0: at powerpc_interrupt+0x15c 0xe50addd0: user SC trap by 0x21940198: srr1=0xd032 r1=0x7fffd570 cr=0x40000042 xer=0 ctr=0x21940190 lock order reversal: 1st 0x41866bc ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1064 2nd 0x418438c devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe50ad7f0: at kdb_backtrace+0x4c 0xe50ad810: at _witness_debugger+0x3c 0xe50ad830: at witness_checkorder+0x8d0 0xe50ad890: at __lockmgr_args+0xaf8 0xe50ad910: at vop_stdlock+0x48 0xe50ad930: at VOP_LOCK1_APV+0xec 0xe50ad950: at _vn_lock+0x84 0xe50ad9a0: at vget+0xdc 0xe50ad9e0: at devfs_allocv+0x11c 0xe50ada20: at devfs_root+0x5c 0xe50ada60: at vfs_donmount+0x1458 0xe50adca0: at nmount+0xd8 0xe50adce0: at trap+0x460 0xe50adda0: at powerpc_interrupt+0x15c 0xe50addd0: user SC trap by 0x218d2788: srr1=0xd032 r1=0x7fffcd10 cr=0x20000044 xer=0 ctr=0x218d2780 lock order reversal: 1st 0x783be2c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:420 2nd 0xd9e4aad0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 3rd 0xf719ec ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:541 KDB: stack backtrace: 0xe50c65b0: at kdb_backtrace+0x4c 0xe50c65d0: at _witness_debugger+0x3c 0xe50c65f0: at witness_checkorder+0x8d0 0xe50c6650: at __lockmgr_args+0xaf8 0xe50c66d0: at ffs_lock+0x9c 0xe50c6700: at VOP_LOCK1_APV+0xec 0xe50c6720: at _vn_lock+0x84 0xe50c6770: at ffs_snapshot+0x12ec 0xe50c6970: at ffs_mount+0x10a4 0xe50c6a60: at vfs_donmount+0x108c 0xe50c6ca0: at nmount+0xd8 0xe50c6ce0: at trap+0x460 0xe50c6da0: at powerpc_interrupt+0x15c 0xe50c6dd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 lock order reversal: 1st 0xd9e4aad0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0x799ad5c snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:790 KDB: stack backtrace: 0xe50c65b0: at kdb_backtrace+0x4c 0xe50c65d0: at _witness_debugger+0x3c 0xe50c65f0: at witness_checkorder+0x8d0 0xe50c6650: at __lockmgr_args+0xaf8 0xe50c66d0: at ffs_lock+0x9c 0xe50c6700: at VOP_LOCK1_APV+0xec 0xe50c6720: at _vn_lock+0x84 0xe50c6770: at ffs_snapshot+0x22f8 0xe50c6970: at ffs_mount+0x10a4 0xe50c6a60: at vfs_donmount+0x108c 0xe50c6ca0: at nmount+0xd8 0xe50c6ce0: at trap+0x460 0xe50c6da0: at powerpc_interrupt+0x15c 0xe50c6dd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 ## UP % dmesg FreeBSD 8.0-CURRENT #0: Tue Nov 11 15:01:01 CST 2008 root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY.8 WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz cpu0: HID0 8450c0bc real memory = 2135240704 (2036 MB) avail memory = 2067062784 (1971 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=ff87f908 (BSP) cpu1: dev=ff880bc8 ... lock order reversal: 1st 0xc44048 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 2nd 0xe0aafc ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe08cf930: at kdb_backtrace+0x4c 0xe08cf950: at _witness_debugger+0x3c 0xe08cf970: at witness_checkorder+0x8d0 0xe08cf9d0: at __lockmgr_args+0x23c 0xe08cfa50: at ffs_lock+0x9c 0xe08cfa80: at VOP_LOCK1_APV+0xec 0xe08cfaa0: at _vn_lock+0x84 0xe08cfaf0: at vget+0xdc 0xe08cfb30: at vnode_pager_lock+0x20c 0xe08cfb90: at vm_fault+0x218 0xe08cfca0: at trap_pfault+0x128 0xe08cfce0: at trap+0x1ac 0xe08cfda0: at powerpc_interrupt+0x15c 0xe08cfdd0: user ISI trap by 0x1818f4c: srr1=0x4000d032 r1=0x7fffded0 cr=0x24000048 xer=0 ctr=0 WARNING: /mnt/disk2 was not properly dismounted lock order reversal: 1st 0xd9d27400 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0xe41e00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:263 KDB: stack backtrace: 0xe50c1a20: at kdb_backtrace+0x4c 0xe50c1a40: at _witness_debugger+0x3c 0xe50c1a20: at kdb_backtrace+0x4c 0xe50c1a40: at _witness_debugger+0x3c 0xe50c1a60: at witness_checkorder+0x8d0 0xe50c1ac0: at _sx_xlock+0x90 0xe50c1af0: at ufsdirhash_acquire+0x40 0xe50c1b10: at ufsdirhash_remove+0x2c 0xe50c1b40: at ufs_dirremove+0x100 0xe50c1b80: at ufs_remove+0x8c 0xe50c1bc0: at VOP_REMOVE_APV+0xe0 0xe50c1be0: at kern_unlinkat+0x1b4 0xe50c1ca0: at kern_unlink+0x24 0xe50c1cc0: at unlink+0x1c 0xe50c1ce0: at trap+0x460 0xe50c1da0: at powerpc_interrupt+0x15c 0xe50c1dd0: user SC trap by 0x21940288: srr1=0xd032 r1=0x7fffd570 cr=0x40000042 xer=0 ctr=0x21940280 lock order reversal: 1st 0x4181c0c ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1064 2nd 0x41896bc devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe510c7f0: at kdb_backtrace+0x4c 0xe510c810: at _witness_debugger+0x3c 0xe510c830: at witness_checkorder+0x8d0 0xe510c890: at __lockmgr_args+0xaf8 0xe510c910: at vop_stdlock+0x48 0xe510c930: at VOP_LOCK1_APV+0xec 0xe510c950: at _vn_lock+0x84 0xe510c9a0: at vget+0xdc 0xe510c9e0: at devfs_allocv+0x11c 0xe510ca20: at devfs_root+0x5c 0xe510ca60: at vfs_donmount+0x1458 0xe510cca0: at nmount+0xd8 0xe510cce0: at trap+0x460 0xe510cda0: at powerpc_interrupt+0x15c 0xe510cdd0: user SC trap by 0x218d2788: srr1=0xd032 r1=0x7fffcd10 cr=0x20000044 xer=0 ctr=0x218d2780 link_elf: symbol dev2unit undefined lock order reversal: link_elf: symbol dev2unit undefined lock order reversal: 1st 0x88efd1c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:420 2nd 0xd9d5b118 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 3rd 0xf2c05c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:541 KDB: stack backtrace: 0xe511b5b0: at kdb_backtrace+0x4c 0xe511b5d0: at _witness_debugger+0x3c 0xe511b5f0: at witness_checkorder+0x8d0 0xe511b650: at __lockmgr_args+0xaf8 0xe511b6d0: at ffs_lock+0x9c 0xe511b700: at VOP_LOCK1_APV+0xec 0xe511b720: at _vn_lock+0x84 0xe511b770: at ffs_snapshot+0x12ec 0xe511b970: at ffs_mount+0x10a4 0xe511ba60: at vfs_donmount+0x108c 0xe511bca0: at nmount+0xd8 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 lock order reversal: 1st 0xd9d5b118 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0x8923b9c snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:790 KDB: stack backtrace: 0xe511b5b0: at kdb_backtrace+0x4c 0xe511b5d0: at _witness_debugger+0x3c 0xe511b5f0: at witness_checkorder+0x8d0 0xe511b650: at __lockmgr_args+0xaf8 0xe511b6d0: at ffs_lock+0x9c 0xe511b700: at VOP_LOCK1_APV+0xec 0xe511b720: at _vn_lock+0x84 0xe511b770: at ffs_snapshot+0x22f8 0xe511b970: at ffs_mount+0x10a4 0xe511ba60: at vfs_donmount+0x108c 0xe511bca0: at nmount+0xd8 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x218d8788: srr1=0xf032 r1=0x7fffdb90 cr=0x20004044 xer=0 ctr=0x218d8780 lock order reversal: 1st 0x8923b9c snaplk (snaplk) @ /usr/src/sys/kern/vfs_vnops.c:293 2nd 0x88efd1c ufs (ufs) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:1584 KDB: stack backtrace: 0xe511b880: at kdb_backtrace+0x4c 0xe511b8a0: at _witness_debugger+0x3c 0xe511b8c0: at witness_checkorder+0x8d0 0xe511b920: at __lockmgr_args+0xaf8 0xe511b9a0: at ffs_snapremove+0x148 0xe511ba10: at softdep_releasefile+0x54 0xe511ba40: at ufs_inactive+0x1c8 0xe511ba80: at VOP_INACTIVE_APV+0xe0 0xe511baa0: at vinactive+0x98 0xe511bae0: at vput+0x21c 0xe511bb30: at vn_close+0x10c 0xe511bb80: at vn_closefile+0x114 0xe511bbf0: at _fdrop+0x60 0xe511bc10: at closef+0x2f8 0xe511bc90: at kern_close+0x144 0xe511bcc0: at close+0x18 0xe511bce0: at trap+0x460 0xe511bda0: at powerpc_interrupt+0x15c 0xe511bdd0: user SC trap by 0x2197f088: srr1=0xf032 r1=0x7fffdb60 cr=0x22004028 xer=0 ctr=0x2197f080 lock order reversal: 1st 0x4181c0c ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1207 2nd 0x41895ac syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2147 KDB: stack backtrace: 0xe5206a70: at kdb_backtrace+0x4c 0xe5206a90: at _witness_debugger+0x3c 0xe5206ab0: at witness_checkorder+0x8d0 0xe5206b10: at __lockmgr_args+0xaf8 0xe5206b90: at vop_stdlock+0x48 0xe5206bb0: at VOP_LOCK1_APV+0xec 0xe5206b90: at vop_stdlock+0x48 0xe5206bb0: at VOP_LOCK1_APV+0xec 0xe5206bd0: at _vn_lock+0x84 0xe5206c20: at vrele+0x158 0xe5206c60: at dounmount+0x3b0 0xe5206ca0: at unmount+0x2e4 0xe5206ce0: at trap+0x460 0xe5206da0: at powerpc_interrupt+0x15c 0xe5206dd0: user SC trap by 0x218b1e38: srr1=0xd032 r1=0x7fffd540 cr=0x20004082 xer=0 ctr=0x218b1e30 From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 19:13:15 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 96B021065676; Thu, 13 Nov 2008 19:13:15 +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 1FDFE8FC14; Thu, 13 Nov 2008 19:13:14 +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 mADJDBSN022788; Thu, 13 Nov 2008 20:13:12 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <491C7C47.8080803@fgznet.ch> Date: Thu, 13 Nov 2008 20:13:11 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Peter Grehan References: <20081113105926.ELO26264@dommail.onthenet.com.au> In-Reply-To: <20081113105926.ELO26264@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 PowerPC ML Subject: Re: ppc float.h 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, 13 Nov 2008 19:13:15 -0000 Hi Peter, Peter Grehan wrote: >> can somebody explain why we have these defines in >> sys/powerpc/include/float.h ? > > Have a look at > > http://svn.freebsd.org/viewvc/base?view=revision&revision=132421 Hm, meanwhile OS-X has 128-bit long double... > Basically, the ABI was switched from 128 bit long doubles to > 64. Not exactly SVR4 compliant but then no-one else is. And there is no need to go back to 128-bit? No benefit? What would have to be done? Libc? I know the compiler issue. Would this break too much? Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 19:14: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 73CE51065692 for ; Thu, 13 Nov 2008 19:14: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 F1BF38FC12 for ; Thu, 13 Nov 2008 19:14:34 +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 mADJEXXe024957; Thu, 13 Nov 2008 20:14:33 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <491C7C99.2080204@fgznet.ch> Date: Thu, 13 Nov 2008 20:14:33 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marcel Moolenaar References: <491B337D.5010901@fgznet.ch> <46B90E82-B28B-42BB-8D33-49F5C012262A@mac.com> In-Reply-To: <46B90E82-B28B-42BB-8D33-49F5C012262A@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: FreeBSD PowerPC ML Subject: Re: ppc float.h 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, 13 Nov 2008 19:14:35 -0000 Hi Marcel, Marcel Moolenaar wrote: > > Because "long double" on PowerPC is the same as "double". > This is dictated by the compiler: Ok, right now it is, but I think I can dictate the compiler what he has to do :) > mini-g4% gcc -E -dM -xc /dev/null | grep DBL | grep DIG > #define __DBL_DIG__ 15 > #define __LDBL_DIG__ 15 > #define __LDBL_MANT_DIG__ 53 > #define __DBL_MANT_DIG__ 53 Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 19:19: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 EA24A1065673 for ; Thu, 13 Nov 2008 19:19:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id DC88F8FC14 for ; Thu, 13 Nov 2008 19:19:16 +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 macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAA00EV6DO1UN90@asmtp020.mac.com> for freebsd-ppc@FreeBSD.org; Thu, 13 Nov 2008 11:19:13 -0800 (PST) Message-id: <03CBC5E0-7696-45BA-832E-1FD3002ECEE0@mac.com> From: Marcel Moolenaar To: ross@grinz.com In-reply-to: <491C7459.5030609@grinz.com> Date: Thu, 13 Nov 2008 11:19:12 -0800 References: <48DD91A4.2060306@freebsd.org> <491C7459.5030609@grinz.com> X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD PowerPC Subject: Re: kernel panic on Xserve G4 -CURRENT 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, 13 Nov 2008 19:19:17 -0000 On Nov 13, 2008, at 10:39 AM, Ross Gohlke wrote: > ## UP > % dmesg > FreeBSD 8.0-CURRENT #0: Tue Nov 11 15:01:01 CST 2008 > root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY.8 > WARNING: WITNESS option enabled, expect reduced performance. > cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz > cpu0: HID0 8450c0bc > real memory = 2135240704 (2036 MB) > avail memory = 2067062784 (1971 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0: dev=ff87f908 (BSP) > cpu1: dev=ff880bc8 Hmmm, this is not an UP kernel. UP kernels don't count CPUs and don't announce themselves with/as FreeBSD/SMP. You need to remove the SMP option from your configuration in order to create an UP kernel. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 13 21:10: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 BC6541065689 for ; Thu, 13 Nov 2008 21:10:32 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id 357DC8FC19 for ; Thu, 13 Nov 2008 21:10:32 +0000 (UTC) (envelope-from ross@grinz.com) Received: from quine.local (cpe-66-69-170-128.sw.res.rr.com [66.69.170.128]) by mail.boomhaus.com (Postfix) with ESMTPSA id 3E7321BE for ; Thu, 13 Nov 2008 14:40:25 -0600 (CST) Message-ID: <491C97C4.6030008@grinz.com> Date: Thu, 13 Nov 2008 15:10:28 -0600 From: Ross Gohlke User-Agent: Thunderbird 2.0.0.12 (X11/20080703) MIME-Version: 1.0 To: FreeBSD PowerPC References: <48DD91A4.2060306@freebsd.org> <491C7459.5030609@grinz.com> <03CBC5E0-7696-45BA-832E-1FD3002ECEE0@mac.com> In-Reply-To: <03CBC5E0-7696-45BA-832E-1FD3002ECEE0@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: kernel panic on Xserve G4 -CURRENT 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, 13 Nov 2008 21:10:32 -0000 Sorry about that. Here it is. %dmesg FreeBSD 8.0-CURRENT #0: Thu Nov 13 14:33:29 CST 2008 root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY WARNING: WITNESS option enabled, expect reduced performance. cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz cpu0: HID0 8450c0bc real memory = 2135265280 (2036 MB) avail memory = 2067099648 (1971 MB) ... lock order reversal: 1st 0xc41048 user map (user map) @ /usr/src/sys/vm/vm_map.c:3115 2nd 0xdfd7cc ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe08cf930: at kdb_backtrace+0x4c 0xe08cf950: at _witness_debugger+0x3c 0xe08cf970: at witness_checkorder+0x8d0 0xe08cf9d0: at __lockmgr_args+0x23c 0xe08cfa50: at ffs_lock+0x9c 0xe08cfa80: at VOP_LOCK1_APV+0xec 0xe08cfaa0: at _vn_lock+0x84 0xe08cfaf0: at vget+0xdc 0xe08cfb30: at vnode_pager_lock+0x20c 0xe08cfb90: at vm_fault+0x218 0xe08cfca0: at trap_pfault+0x128 0xe08cfce0: at trap+0x1ac 0xe08cfda0: at powerpc_interrupt+0x15c 0xe08cfdd0: user ISI trap by 0x1818f4c: srr1=0x4000d032 r1=0x7fffded0 cr=0x24000048 xer=0 ctr=0 lock order reversal: 1st 0xd9d16df8 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 2nd 0xe38800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:263 KDB: stack backtrace: 0xe5077a20: at kdb_backtrace+0x4c 0xe5077a40: at _witness_debugger+0x3c 0xe5077a60: at witness_checkorder+0x8d0 0xe5077ac0: at _sx_xlock+0x90 0xe5077af0: at ufsdirhash_acquire+0x40 0xe5077b10: at ufsdirhash_remove+0x2c 0xe5077b40: at ufs_dirremove+0x100 0xe5077b80: at ufs_remove+0x8c 0xe5077bc0: at VOP_REMOVE_APV+0xe0 0xe5077be0: at kern_unlinkat+0x1b4 0xe5077ca0: at kern_unlink+0x24 0xe5077cc0: at unlink+0x1c 0xe5077ce0: at trap+0x460 0xe5077da0: at powerpc_interrupt+0x15c 0xe5077dd0: user SC trap by 0x21940198: srr1=0xd032 r1=0x7fffd570 cr=0x40000042 xer=0 ctr=0x21940190 lock order reversal: 1st 0x18d716c ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1064 2nd 0x18f438c devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2047 KDB: stack backtrace: 0xe50727f0: at kdb_backtrace+0x4c 0xe5072810: at _witness_debugger+0x3c 0xe5072830: at witness_checkorder+0x8d0 0xe5072890: at __lockmgr_args+0xaf8 0xe5072910: at vop_stdlock+0x48 0xe5072930: at VOP_LOCK1_APV+0xec 0xe5072950: at _vn_lock+0x84 0xe50729a0: at vget+0xdc 0xe50729e0: at devfs_allocv+0x11c 0xe5072a20: at devfs_root+0x5c 0xe5072a60: at vfs_donmount+0x1458 0xe5072ca0: at nmount+0xd8 0xe5072ce0: at trap+0x460 0xe5072da0: at powerpc_interrupt+0x15c 0xe5072dd0: user SC trap by 0x218d2788: srr1=0xd032 r1=0x7fffcd10 cr=0x20000044 xer=0 ctr=0x218d2780 Marcel Moolenaar wrote: > > On Nov 13, 2008, at 10:39 AM, Ross Gohlke wrote: > >> ## UP >> % dmesg >> FreeBSD 8.0-CURRENT #0: Tue Nov 11 15:01:01 CST 2008 >> root@rorty.grinz.com:/usr/obj/usr/src/sys/RORTY.8 >> WARNING: WITNESS option enabled, expect reduced performance. >> cpu0: Motorola PowerPC 7455 revision 2.1, 1000.00 MHz >> cpu0: HID0 8450c0bc >> real memory = 2135240704 (2036 MB) >> avail memory = 2067062784 (1971 MB) >> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >> cpu0: dev=ff87f908 (BSP) >> cpu1: dev=ff880bc8 > > Hmmm, this is not an UP kernel. UP kernels don't count CPUs > and don't announce themselves with/as FreeBSD/SMP. > > You need to remove the SMP option from your configuration > in order to create an UP kernel. > > FYI, > -- Ross Gohlke > http://www.GRINZ.com (P) 901.276.9750 (Memphis) / 310.356.6906 (Los Angeles) (FAX/HOTLINE) 877.806.0861 AIM: grinzie GIZMO/SKYPE: rossgohlke JABBER: ross@chat.grinz.com 111 S. Highland St. #424, Memphis, TN 38111 | Always up. | From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 14 12:37: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 7EB7E1065676 for ; Fri, 14 Nov 2008 12:37:45 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-gx0-f13.google.com (mail-gx0-f13.google.com [209.85.217.13]) by mx1.freebsd.org (Postfix) with ESMTP id 37FED8FC12 for ; Fri, 14 Nov 2008 12:37:45 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by gxk6 with SMTP id 6so142525gxk.19 for ; Fri, 14 Nov 2008 04:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject :message-id:mime-version:content-type:content-disposition:user-agent :organization:x-operation-sytem:from; bh=ZfbFCQxZKMr3iUDqXnmw3bnqfqeeO6CiUdFkk5l0d9g=; b=xwdWooEtVTP7JPGmutpSg0KNSz5mamNCA/E0nFSTJwcnty1BCok/Rk1w+obRvWaYgo hSRarAtzL8xjP3CD6qPkNf6inIhcJPJXdD+SnCb4YqDVbbArdEAP/VFJ6onf/AmWlUSK eSyXYuwgLzi8BhzTJ1pCUwOLv+5ReNcuF/4ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem:from; b=WdCCkwgBqq1bafbfACwhYYQBMWvUTV1I/s+daR8PeImQNsE8J2arI3fLCTKWqRb+KZ XB7zFJT08mo9/+CgXODC96aJWqRrg1SSGrTR2YLJfcwek65j4ednRHwijzMfSw1hJfBX OEiXJCFqgmUtAnNvl8H69ftlj/uLM7np5MRy4= Received: by 10.142.229.5 with SMTP id b5mr387031wfh.8.1226664729283; Fri, 14 Nov 2008 04:12:09 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id 28sm1080484wfg.8.2008.11.14.04.12.05 (version=SSLv3 cipher=RC4-MD5); Fri, 14 Nov 2008 04:12:08 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Fri, 14 Nov 2008 21:12:24 +0900 Date: Fri, 14 Nov 2008 21:12:24 +0900 To: freebsd-ppc@freebsd.org Message-ID: <20081114121224.GG36226@freebsd.weongyo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Subject: my problem using iBook 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: Fri, 14 Nov 2008 12:37:45 -0000 Hello, I have a iBook G4 laptop but it has a problem when booting like as follows: http://weongyo.org/project/freebsd/images/20081114.jpg My booting steps are: 1. press