From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 16 19:02: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 B9BC3106564A; Sun, 16 Nov 2008 19:02: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 5A3608FC12; Sun, 16 Nov 2008 19:02: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 mAGJ2CTo015905; Sun, 16 Nov 2008 20:02:12 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49206E33.1010407@fgznet.ch> Date: Sun, 16 Nov 2008 20:02:11 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Peter Grehan References: <20081115084319.ELQ11380@dommail.onthenet.com.au> In-Reply-To: <20081115084319.ELQ11380@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: Sun, 16 Nov 2008 19:02:15 -0000 Hi Peter, Peter Grehan wrote: >> Coming back to myself. Doesn't matter if going to 128-bit > long double or >> not. The LDBL_MIN/MAX/EPSILON definitions in float.h are wrong. >> >> If you do a printf ("%Lf\n", LDBL_EPSILON); you run into a > compiler warning: >> warning: format '%Lf' expects type 'long double', but > argument 2 has >> type 'double' >> >> So to fix that I propose the appended patch. >> >> Thanks, >> Andreas >> >> P.S, making the compiler work with 128-bit long-double is > still possible. > > I'm way out of my depth here. You probably want to speak to > David Schulz (das@freebsd.org) - he's the floating point goto guy. Did so. You have the answer as well. quote : ---- Yes, I think you're right, except it might be cleaner just to say: #define LDBL_EPSILON (long double)DBL_EPSILON and similarly for the other values. ---- quote end This is the tested patch. Is this the right place to send it to? Thanks, Andreas --- float.h.orig 2008-11-15 19:03:12.000000000 +0100 +++ float.h 2008-11-16 19:57:40.000000000 +0100 @@ -72,13 +72,13 @@ #define DBL_MAX_10_EXP 308 #define LDBL_MANT_DIG DBL_MANT_DIG -#define LDBL_EPSILON DBL_EPSILON +#define LDBL_EPSILON (long double)DBL_EPSILON #define LDBL_DIG DBL_DIG #define LDBL_MIN_EXP DBL_MIN_EXP -#define LDBL_MIN DBL_MIN +#define LDBL_MIN (long double)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 (long double)DBL_MAX #define LDBL_MAX_10_EXP DBL_MAX_10_EXP #endif /* _MACHINE_FLOAT_H_ */ From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 16 19:06: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 97EB81065675 for ; Sun, 16 Nov 2008 19:06:11 +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 386FD8FC19 for ; Sun, 16 Nov 2008 19:06:10 +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 mAGJ69u0021826; Sun, 16 Nov 2008 20:06:09 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49206F20.7010409@fgznet.ch> Date: Sun, 16 Nov 2008 20:06:08 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Marco Trillo References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: FreeBSD PowerPC ML Subject: Re: aoa driver X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 19:06:11 -0000 Hi Marco, Marco Trillo wrote: > I've uploaded a tarball with the new version of the 'aoa' (apple > onboard audio) driver. This version makes use of the new "aoagpio" > device available in -current, replacing the ad-hoc GPIO routines of > the previous version. Also the debug printfs are disabled. Otherwise > it is the same as the previous version. > > The tarball: > An additional patch for some PowerBooks: > > > The supported devices are Burgundy, Screamer, Tumbler, and Snapper. > Thanks to everyone who tested the previous versions! > > Some missing stuff (hardware which I don't have, or features I'm not > interested in adding at the moment): > > - Recording is not supported. > - The 'Onyx' codec (found mainly on G5 machines and some PowerBooks) > is not supported. It should be easy to add, as it is just another I2S > codec. > - The 'Daca' found on the clamshell iBooks is not supported. > - The Mac Mini should be supported but without volume control (always > full-scale output). The Mac Mini does not have hardware with analog > volume support. The FreeBSD sound framework supports digital volume > control, but the current driver does not enable it if no hardware > support is available. Same AluBook: aoagpio0: gpio 5 on macgpio0 aoagpio1: gpio 6 on macgpio0 aoagpio2: gpio 11 on macgpio0 aoagpio3: extint-gpio 15 irq 61 on macgpio0 aoagpio3: [ITHREAD] .... pcm0: codec: at address 6Ah on kiic0 0a: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0d: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 18: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 19: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01: 60 43: 02 02: 01 00 00 00 00 00 04: 00 00 00 00 00 00 05: 72 06: 72 07: 10 00 00 00 00 00 00 00 00 08: 10 00 00 00 00 00 00 00 00 21: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23: 00 00 00 24: 00 00 00 40: c2 Is the above still debug or do you always intend to dump these addresses? Working fine here, with the patch you mentioned above. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 16 19:21:39 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBA89106567A for ; Sun, 16 Nov 2008 19:21:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id CC39A8FC0C for ; Sun, 16 Nov 2008 19:21:39 +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 [192.168.1.95] (209-128-86-226.BAYAREA.NET [209.128.86.226]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAF00BEDXRFGZ30@asmtp013.mac.com>; Sun, 16 Nov 2008 11:21:16 -0800 (PST) Message-id: <5266CA95-845B-40E3-A354-F74A796C23FD@mac.com> From: Marcel Moolenaar To: Andreas Tobler In-reply-to: <49206E33.1010407@fgznet.ch> Date: Sun, 16 Nov 2008 11:21:15 -0800 References: <20081115084319.ELQ11380@dommail.onthenet.com.au> <49206E33.1010407@fgznet.ch> X-Mailer: Apple Mail (2.929.2) Cc: Peter Grehan , 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: Sun, 16 Nov 2008 19:21:40 -0000 On Nov 16, 2008, at 11:02 AM, Andreas Tobler wrote: > Did so. You have the answer as well. > > quote : > ---- > Yes, I think you're right, except it might be cleaner just to say: > > #define LDBL_EPSILON (long double)DBL_EPSILON > > and similarly for the other values. > ---- > quote end > > This is the tested patch. Is this the right place to send it to? Yup. Committed. Thanks, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 16 20:52:04 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 630571065679 for ; Sun, 16 Nov 2008 20:52:04 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id 39EF88FC14 for ; Sun, 16 Nov 2008 20:52:03 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so1166904wag.27 for ; Sun, 16 Nov 2008 12:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nNl++ss3DbGmGh5jaxCk/TzZyUYmfZ8018ZZkk+LMgc=; b=DXzGJ6IEnssxuSH0l57WoQyTASSKFKHCrYlJjJ649YzQgURKx2ERaSaTFEH6C7Xwyu 8H3gj1c70yBB15l0321InQyKr0IZ9WOgCwzSrbZ/YgugW8qsxJQzu/lYde0AiuUftnSs eVBWnbIcw4EuPl76NNRj0I7UrB7WlSORVLI8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JpXt4WT3qxFMAhnt5IatdPZs5sUP4X1MeXzTd+p4edpAVrQ56sbSj3aAAmVn6QwjI5 0DyYC8VMJ9gXD9Tb1LL86DgOlYL+xdcq3U0TSJVJAxtTfkSX5nfDTp9KvfgCm7CGKOvB dF/OpRhrgYl7a4CDhks2V8ejrC4mbJ4RtZJE0= Received: by 10.114.181.6 with SMTP id d6mr2047514waf.94.1226868723750; Sun, 16 Nov 2008 12:52:03 -0800 (PST) Received: by 10.114.168.3 with HTTP; Sun, 16 Nov 2008 12:52:03 -0800 (PST) Message-ID: Date: Sun, 16 Nov 2008 21:52:03 +0100 From: "Marco Trillo" To: "Andreas Tobler" In-Reply-To: <49206F20.7010409@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49206F20.7010409@fgznet.ch> Cc: FreeBSD PowerPC ML Subject: Re: aoa driver X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2008 20:52:04 -0000 Hi, On Sun, Nov 16, 2008 at 8:06 PM, Andreas Tobler wrote: > Same AluBook: > aoagpio0: gpio 5 on macgpio0 > aoagpio1: gpio 6 on macgpio0 > aoagpio2: gpio 11 on macgpio0 > aoagpio3: extint-gpio 15 irq 61 on macgpio0 > aoagpio3: [ITHREAD] > .... > pcm0: codec: at address 6Ah on kiic0 > 0a: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 0b: 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > [...] > 40: c2 > > Is the above still debug or do you always intend to dump these addresses? Oops, I forgot to comment out those dumps... they were only intended for debugging. I just modified the tarball in-place to remove these printf's, and also to include the PowerBook patch. Thank you for testing the new version! Marco From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 17 11:06:55 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 798641065672 for ; Mon, 17 Nov 2008 11:06:55 +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 68E698FC26 for ; Mon, 17 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 mAHB6tTC082623 for ; Mon, 17 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 mAHB6siq082619 for freebsd-ppc@FreeBSD.org; Mon, 17 Nov 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Nov 2008 11:06:54 GMT Message-Id: <200811171106.mAHB6siq082619@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, 17 Nov 2008 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- a power/121407 ppc [panic] Won't boot up; strange error message. o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 4 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 17 14:46:40 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D2E71065672 for ; Mon, 17 Nov 2008 14:46:40 +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 6491A8FC18 for ; Mon, 17 Nov 2008 14:46:39 +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 925487C for ; Mon, 17 Nov 2008 08:15:41 -0600 (CST) Message-ID: <492183CC.7040907@grinz.com> Date: Mon, 17 Nov 2008 08:46:36 -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> <491C97C4.6030008@grinz.com> In-Reply-To: <491C97C4.6030008@grinz.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: Mon, 17 Nov 2008 14:46:40 -0000 The UP kernel ran continuously for over 48 hours with no kernel panics or other problems reported. My kernel configuration looked like this: include GENERIC options IPFILTER option IPFILTER_LOG # SYSV For PostgreSQL options SHMMAXPGS=65536 options SEMMNI=40 options SEMMNS=240 options SEMUME=40 options SEMMNU=120 I replaced IPFilter firewall with PF and removed IPFilter options from kernel. I moved remaining kernel options to sysctl.conf / loader.conf. I recompiled kernel with GENERIC + options SMP. I started getting READ_DMA errors, as reported on Oct. 26: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2008/freebsd-ppc/20081102.freebsd-ppc Nov 16 16:16:58 rorty kernel: ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=154658944 Some time last night the box went down, I'm waiting for a hard reboot now. Next I will run UP GENERIC kernel and confirm there are no DMA errors. Finally I will start a support group called Kernel Addicts Anonymous... > 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 Mon Nov 17 16:10:10 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 CA62F106564A for ; Mon, 17 Nov 2008 16:10:10 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id B2CE58FC0C for ; Mon, 17 Nov 2008 16:10:10 +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 asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAH00DJDJKXWH30@asmtp017.mac.com> for freebsd-ppc@FreeBSD.org; Mon, 17 Nov 2008 08:10:10 -0800 (PST) Message-id: <91FE1568-9159-449F-888F-3999100A10ED@mac.com> From: Marcel Moolenaar To: Ross Gohlke In-reply-to: <492183CC.7040907@grinz.com> Date: Mon, 17 Nov 2008 08:10:08 -0800 References: <48DD91A4.2060306@freebsd.org> <491C7459.5030609@grinz.com> <03CBC5E0-7696-45BA-832E-1FD3002ECEE0@mac.com> <491C97C4.6030008@grinz.com> <492183CC.7040907@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: Mon, 17 Nov 2008 16:10:10 -0000 On Nov 17, 2008, at 6:46 AM, Ross Gohlke wrote: > I replaced IPFilter firewall with PF and removed IPFilter options > from kernel. > I moved remaining kernel options to sysctl.conf / loader.conf. Could you elaborate as to which options? I think option SMP is by far the most suspect. Could you try changing your working UP configuration by only adding option SMP. > Finally I will start a support group called Kernel Addicts > Anonymous... :-) -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 19 10:33:09 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 B7B291065675 for ; Wed, 19 Nov 2008 10:33:09 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.hoerhavegaard.dk [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id 734C38FC0A for ; Wed, 19 Nov 2008 10:33:09 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.delfi-konsult.com (Postfix) with ESMTP id 7512C5D805 for ; Wed, 19 Nov 2008 11:24:30 +0100 (CET) Message-Id: <74AF3049-84FA-4335-9DCD-D9EA18E2810E@delfi-konsult.com> From: "Niels S. Eliasen" To: freebsd-ppc@freebsd.org X-Custom-Header: Yo! this is my X-Face Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 19 Nov 2008 11:24:29 +0100 X-Mailer: Apple Mail (2.929.2) Subject: Weird issue after upgrading to 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: Wed, 19 Nov 2008 10:33:09 -0000 hi guys Having used FreeBSD 7.0 a while on my trusty Titanium 400Mhz I upgraded some 8-10 days a go to current.... using the following: > #!/bin/sh > make installkernel > shutdown -r now > mount -a -t ufs > mergemaster -p > cd /usr/src > make installworld > mergemaster > reboot I'm getting some strange errors with both Xvnc from "vnc" and from "tightvnc" .... either SIGNAL 11, or strange colours ... Have tried both the obvious changing the "fontpath" and "colorpath" .. but no real luck with any of that..... and having also recompiled Xvnc after the upgrade..... any ideas ? regards niels From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 20 00:10:36 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D09301065670; Thu, 20 Nov 2008 00:10:36 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id BCB828FC13; Thu, 20 Nov 2008 00:10:36 +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 macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KAL008KPV5NMV60@asmtp016.mac.com>; Wed, 19 Nov 2008 16:10:36 -0800 (PST) Message-id: From: Marcel Moolenaar To: Weongyo Jeong In-reply-to: <20081115080915.GA61939@freebsd.weongyo.org> Date: Wed, 19 Nov 2008 16:10:35 -0800 References: <20081114121224.GG36226@freebsd.weongyo.org> <491D964E.1080401@freebsd.org> <491D986E.5020701@freebsd.org> <20081115080915.GA61939@freebsd.weongyo.org> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-ppc@freebsd.org Subject: Re: 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: Thu, 20 Nov 2008 00:10:36 -0000 On Nov 15, 2008, at 12:09 AM, Weongyo Jeong wrote: > On Fri, Nov 14, 2008 at 09:25:34AM -0600, Nathan Whitehorn wrote: >> Nathan Whitehorn wrote: >>> Weongyo Jeong wrote: >>>> 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