From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 02:08:01 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9678316A418 for ; Sun, 18 Nov 2007 02:08:01 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id B8D2013C442 for ; Sun, 18 Nov 2007 02:08:00 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id B5F462461C7; Sun, 18 Nov 2007 03:07:47 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id lAI25YK3058208; Sun, 18 Nov 2007 03:05:34 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id lAI25YMi058207; Sun, 18 Nov 2007 03:05:34 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 18 Nov 2007 03:05:33 +0100 To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20071118020533.GA57425@saturn.kn-bremen.de> Mail-Followup-To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: double panic, and whats apic_cmd? (kqemu crash...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 02:08:01 -0000 Ok I finally have an amd64 smp box here that i can play with, and tried to reproduce http://www.freebsd.org/cgi/query-pr.cgi?pr=113430 - and I got the following crash: iapetus# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: <0> Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x1 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804e4fa2 stack pointer = 0x10:0xffffffff9fd27530 frame pointer = 0x10:0xffffffff9fd276a0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 43 (acpi_thermal) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap_pfault() at trap_pfault+0x22d trap() at trap+0x300 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804e4fa2, rsp = 0xffffffff9fd27530, rbp = 0xffffffff9fd276a0 --- strlen() at strlen+0x2 dmapbase() at 0xffffff00020e6ca8 Uptime: 9m41s Physical memory: 986 MB Dumping 114 MB: 99 83 67 51 35 19 3 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff8046572f in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80465b47 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff806bc0bf in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff806bc43d in trap_pfault (frame=0xffffffff9fd27480, usermode=0) at ../../../amd64/amd64/trap.c:614 #5 0xffffffff806bcd30 in trap (frame=0xffffffff9fd27480) at ../../../amd64/amd64/trap.c:383 #6 0xffffffff806a371e in calltrap () at ../../../amd64/amd64/exception.S:169 #7 0xffffffff804e4fa2 in strlen (str=0x1
) at ../../../libkern/strlen.c:41 #8 0xffffffff8048c5f5 in kvprintf ( fmt=0xffffffff807aee73 " while in %s mode\n", func=0xffffffff8048d000 , arg=0xffffffff9fd276b0, radix=10, ap=Variable "ap" is not available. ) at ../../../kern/subr_prf.c:750 #9 0xffffff00020e6ca8 in ?? () #10 0x0000000000000008 in ?? () #11 0x0000000000000153 in ?? () #12 0xffffffff807add18 in apic_cmd () #13 0x0000000000000000 in ?? () #14 0xffffffff9fd27700 in ?? () #15 0xffffffff8045c28f in _mtx_lock_flags (m=0xffffffff8049668b, ---Type to continue, or q to quit--- opts=36477624, file=0xffffffff9fd276d0 "", line=-2137032800) at ../../../kern/kern_mutex.c:189 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit " while in %s mode\n" seems to come from /sys/amd64/amd64/trap.c so it's a double panic, but what is apic_cmd? And what does one do with a double panic? :) For anyone who wants to reproduce it (you need an amd64 smp box, mine runs 7.0beta2), I installed the qemu-devel port with kqemu selected in config and then ran it in X like qemu -cdrom sidux.iso -m 256 , booted its grub, quickly switched to a texconsole, just in time for the panic (sidux is a linux livecd but I guess almost any guest will do, probably also a freebsd install iso... and maybe if you don't have X you can get away with a qemu built with sdl/x deselected and then running that with -nographic. Of course you won't see guest output then so it will have to boot by itslef, unless it talks to a serial console...) Btw, to get meaningful backtraces on amd64 I think you need to rebuild the debug kernel with ddb compiled in, otherwise stuff is left built with -fomit-frame-pointer which makes gdb unhappy. (shouldn't -fomit-frame-pointer be disabled for any kind of debug kernel because of that?) Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 03:39:25 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6395C16A418 for ; Sun, 18 Nov 2007 03:39:25 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id 807C413C447 for ; Sun, 18 Nov 2007 03:39:24 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id 5B630DAD1F; Sun, 18 Nov 2007 09:10:15 +0600 (NOVT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.kash.tomsk.ru (Postfix) with ESMTP id 6B6BBDACE3 for ; Sun, 18 Nov 2007 09:10:13 +0600 (NOVT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A8E8619C52; Sun, 18 Nov 2007 03:09:19 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C66A016A554; Sun, 18 Nov 2007 03:09:15 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3AC16A417 for ; Sun, 18 Nov 2007 03:05:43 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id EBE6D13C45B for ; Sun, 18 Nov 2007 03:05:42 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id B5F462461C7; Sun, 18 Nov 2007 03:07:47 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id lAI25YK3058208; Sun, 18 Nov 2007 03:05:34 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id lAI25YMi058207; Sun, 18 Nov 2007 03:05:34 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 18 Nov 2007 03:05:33 +0100 To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20071118020533.GA57425@saturn.kn-bremen.de> Mail-Followup-To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Mailman-Approved-At: Sun, 18 Nov 2007 03:09:09 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 18 09:10:15 2007 X-DSPAM-Confidence: 0.9987 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 473fad17191321102126974 X-DSPAM-Factors: 27, List-Post* List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 03:39:25 -0000 Ok I finally have an amd64 smp box here that i can play with, and tried to reproduce http://www.freebsd.org/cgi/query-pr.cgi?pr=113430 - and I got the following crash: iapetus# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: <0> Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x1 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804e4fa2 stack pointer = 0x10:0xffffffff9fd27530 frame pointer = 0x10:0xffffffff9fd276a0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 43 (acpi_thermal) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap_pfault() at trap_pfault+0x22d trap() at trap+0x300 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804e4fa2, rsp = 0xffffffff9fd27530, rbp = 0xffffffff9fd276a0 --- strlen() at strlen+0x2 dmapbase() at 0xffffff00020e6ca8 Uptime: 9m41s Physical memory: 986 MB Dumping 114 MB: 99 83 67 51 35 19 3 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff8046572f in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80465b47 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff806bc0bf in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff806bc43d in trap_pfault (frame=0xffffffff9fd27480, usermode=0) at ../../../amd64/amd64/trap.c:614 #5 0xffffffff806bcd30 in trap (frame=0xffffffff9fd27480) at ../../../amd64/amd64/trap.c:383 #6 0xffffffff806a371e in calltrap () at ../../../amd64/amd64/exception.S:169 #7 0xffffffff804e4fa2 in strlen (str=0x1
) at ../../../libkern/strlen.c:41 #8 0xffffffff8048c5f5 in kvprintf ( fmt=0xffffffff807aee73 " while in %s mode\n", func=0xffffffff8048d000 , arg=0xffffffff9fd276b0, radix=10, ap=Variable "ap" is not available. ) at ../../../kern/subr_prf.c:750 #9 0xffffff00020e6ca8 in ?? () #10 0x0000000000000008 in ?? () #11 0x0000000000000153 in ?? () #12 0xffffffff807add18 in apic_cmd () #13 0x0000000000000000 in ?? () #14 0xffffffff9fd27700 in ?? () #15 0xffffffff8045c28f in _mtx_lock_flags (m=0xffffffff8049668b, ---Type to continue, or q to quit--- opts=36477624, file=0xffffffff9fd276d0 "", line=-2137032800) at ../../../kern/kern_mutex.c:189 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit " while in %s mode\n" seems to come from /sys/amd64/amd64/trap.c so it's a double panic, but what is apic_cmd? And what does one do with a double panic? :) For anyone who wants to reproduce it (you need an amd64 smp box, mine runs 7.0beta2), I installed the qemu-devel port with kqemu selected in config and then ran it in X like qemu -cdrom sidux.iso -m 256 , booted its grub, quickly switched to a texconsole, just in time for the panic (sidux is a linux livecd but I guess almost any guest will do, probably also a freebsd install iso... and maybe if you don't have X you can get away with a qemu built with sdl/x deselected and then running that with -nographic. Of course you won't see guest output then so it will have to boot by itslef, unless it talks to a serial console...) Btw, to get meaningful backtraces on amd64 I think you need to rebuild the debug kernel with ddb compiled in, otherwise stuff is left built with -fomit-frame-pointer which makes gdb unhappy. (shouldn't -fomit-frame-pointer be disabled for any kind of debug kernel because of that?) Thanx, Juergen _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 04:21:50 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C87616A468 for ; Sun, 18 Nov 2007 04:21:50 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (ipv6.darklight.org.ru [IPv6:2001:470:1f07:84::1]) by mx1.freebsd.org (Postfix) with ESMTP id 411EB13C45A for ; Sun, 18 Nov 2007 04:21:48 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lAI4LcPT003328; Sun, 18 Nov 2007 07:21:38 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: from localhost (localhost [[UNIX: localhost]]) by darklight.org.ru (8.14.2/8.14.2/Submit) id lAI4Lar2003327; Sun, 18 Nov 2007 07:21:36 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f From: Yuri Pankov To: freebsd-emulation@freebsd.org Date: Sun, 18 Nov 2007 07:21:36 +0300 User-Agent: KMail/1.9.7 References: <20071118020533.GA57425@saturn.kn-bremen.de> In-Reply-To: <20071118020533.GA57425@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711180721.36539.yuri.pankov@gmail.com> Cc: darlok@kash.tomsk.ru Subject: [OT]Re: double panic, and whats apic_cmd? (kqemu crash...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 04:21:50 -0000 On Sunday 18 November 2007 05:05:33 Juergen Lock wrote: > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org" Sorry for offtopic. It's not the first time I see messages from hackers@ are resent to other mailing lists. Relevant headers below (I've Cc'ed person in question): Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6395C16A418 for ; Sun, 18 Nov 2007 03:39:25 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id 807C413C447 for ; Sun, 18 Nov 2007 03:39:24 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id 5B630DAD1F; Sun, 18 Nov 2007 09:10:15 +0600 (NOVT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.kash.tomsk.ru (Postfix) with ESMTP id 6B6BBDACE3 for ; Sun, 18 Nov 2007 09:10:13 +0600 (NOVT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A8E8619C52; Sun, 18 Nov 2007 03:09:19 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Yuri From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 04:22:21 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0474516A41A for ; Sun, 18 Nov 2007 04:22:21 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5073813C467 for ; Sun, 18 Nov 2007 04:22:20 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id AA059DAD1F; Sun, 18 Nov 2007 10:22:01 +0600 (NOVT) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx.kash.tomsk.ru (Postfix) with ESMTP id 03B3DDACD2 for ; Sun, 18 Nov 2007 10:21:58 +0600 (NOVT) Received: from darklight.org.ru (yuri@darklight.org.ru [IPv6:::1]) by darklight.org.ru (8.14.2/8.14.2) with ESMTP id lAI4LcPT003328; Sun, 18 Nov 2007 07:21:38 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: from localhost (localhost [[UNIX: localhost]]) by darklight.org.ru (8.14.2/8.14.2/Submit) id lAI4Lar2003327; Sun, 18 Nov 2007 07:21:36 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f From: Yuri Pankov To: freebsd-emulation@freebsd.org Date: Sun, 18 Nov 2007 07:21:36 +0300 User-Agent: KMail/1.9.7 References: <20071118020533.GA57425@saturn.kn-bremen.de> In-Reply-To: <20071118020533.GA57425@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711180721.36539.yuri.pankov@gmail.com> X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun Nov 18 10:22:01 2007 X-DSPAM-Confidence: 0.9987 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 473fbde9191321692193522 X-DSPAM-Factors: 27, (ns2, 0.00063, freebsd, 0.00072, freebsd, 0.00072, Nov+2007, 0.00076, Nov+2007, 0.00076, 0600+(NOVT), 0.00106, 0600+(NOVT), 0.00106, (NOVT), 0.00106, (NOVT), 0.00106, (Postfix, 0.00109, from+userid, 0.00110, userid, 0.00110, (Postfix+from, 0.00111, ru+(Postfix, 0.00111, (NOVT)+Received, 0.00116, (NOVT)+Received, 0.00116, by+mx, 0.00116, by+mx, 0.00116, 0)+id, 0.00118, userid+0), 0.00119, Received*[IPv6, 0.00131, Url*freebsd, 0.00133, Url*freebsd, 0.00133, Url*hackers, 0.00140, hackers+freebsd, 0.00140, hackers+freebsd, 0.00140, freebsd+hackers, 0.00140 Cc: darlok@kash.tomsk.ru Subject: [OT]Re: double panic, and whats apic_cmd? (kqemu crash...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 04:22:21 -0000 On Sunday 18 November 2007 05:05:33 Juergen Lock wrote: > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to > "freebsd-emulation-unsubscribe@freebsd.org" Sorry for offtopic. It's not the first time I see messages from hackers@ are resent to other mailing lists. Relevant headers below (I've Cc'ed person in question): Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6395C16A418 for ; Sun, 18 Nov 2007 03:39:25 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id 807C413C447 for ; Sun, 18 Nov 2007 03:39:24 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id 5B630DAD1F; Sun, 18 Nov 2007 09:10:15 +0600 (NOVT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.kash.tomsk.ru (Postfix) with ESMTP id 6B6BBDACE3 for ; Sun, 18 Nov 2007 09:10:13 +0600 (NOVT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A8E8619C52; Sun, 18 Nov 2007 03:09:19 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Yuri From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 22:46:09 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B94B616A41B; Sun, 18 Nov 2007 22:46:09 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id E507813C442; Sun, 18 Nov 2007 22:46:08 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 338C7246641; Sun, 18 Nov 2007 23:45:40 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id lAIMhjfV081971; Sun, 18 Nov 2007 23:43:45 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id lAIMhjeD081970; Sun, 18 Nov 2007 23:43:45 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 18 Nov 2007 23:43:45 +0100 To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20071118224345.GA81339@saturn.kn-bremen.de> Mail-Followup-To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org References: <20071118020533.GA57425@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071118020533.GA57425@saturn.kn-bremen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: double panic, and whats apic_cmd? (kqemu crash...) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 22:46:10 -0000 On Sun, Nov 18, 2007 at 03:05:33AM +0100, Juergen Lock wrote: > Ok I finally have an amd64 smp box here that i can play with, and tried > to reproduce http://www.freebsd.org/cgi/query-pr.cgi?pr=113430 - and I got > the following crash: >[...] Ok, the crashes seem to be pretty random, I got a few more: (btw I disabled -DSMP in the kqemu build since it doesn't seem to help, and it doesn't seem to be used anywhere else. Also I forgot to say I also have KDB_TRACE and KDB_UNATTENDED in the kernel config. Oh and I had a few hangs too, and never could get into ddb in those cases...) [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x246 fault code = supervisor read instruction, page not present instruction pointer = 0x8:0x246 stack pointer = 0x10:0xffffffff9fae4b50 frame pointer = 0x10:0xffffffff9fae4b80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 11 (idle: cpu1) trap number = 12 <0> Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xc011dbfb fault code = supervisor read instruction, page not present instruction pointer = 0x8:0xc011dbfb stack pointer = 0x10:0xffffffff9fae47d0 frame pointer = 0x10:0x801de4000 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = trace trap, interrupt enabled, nested task, IOPL = 3 current process = 11 (idle: cpu1) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap_pfault() at trap_pfault+0x294 trap() at trap+0x2ea sendsig() at sendsig+0x2aa sched_choose() at sched_choose+0x8c choosethread() at choosethread+0x2b sched_switch() at sched_switch+0x184 mi_switch() at mi_switch+0x189 ast() at ast+0x1e8 doreti_ast() at doreti_ast+0x1f Uptime: 37m8s Physical memory: 986 MB Dumping 152 MB: 137 121 105 89 73 57 41 25 9 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff8070e254 in trap_pfault (frame=0xffffffff9fae4720, usermode=0) at ../../../amd64/amd64/trap.c:614 #5 0xffffffff8070ec0a in trap (frame=0xffffffff9fae4720) at ../../../amd64/amd64/trap.c:383 #6 0xffffffff806fcd4a in sendsig (catcher=0x405460, ksi=Variable "ksi" is not available. ) at ../../../amd64/amd64/machdep.c:326 #7 0xffffffff804a16ec in sched_choose () at ../../../kern/sched_4bsd.c:1256 #8 0xffffffff804a174b in choosethread () at kern_switch.c:137 #9 0xffffffff804a2984 in sched_switch (td=0xffffff000209b680, newtd=0xffffff00021a18c0, flags=13) at ../../../kern/sched_4bsd.c:907 #10 0xffffffff8048cc99 in mi_switch (flags=2, newtd=0x0) at ../../../kern/kern_synch.c:442 #11 0xffffffff804b7068 in ast (framep=0xffffffff9fae4c70) at ../../../kern/subr_trap.c:239 #12 0xffffffff806f4999 in doreti_ast () at ../../../amd64/amd64/exception.S:468 #13 0x0000000811d87d74 in ?? () #14 0x0000000000000005 in ?? () #15 0x00000000000010e0 in ?? () ---Type to continue, or q to quit--- #16 0x0000000811d87d8c in ?? () #17 0x0000000801de4000 in ?? () #18 0x0000000741e00000 in ?? () #19 0x000000000215dd30 in ?? () #20 0x0000000000d49160 in ?? () #21 0x00000000c016fdf0 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000801de84d0 in ?? () #24 0xffffffffbfffffff in ?? () #25 0x0000000000063fff in ?? () #26 0x0000000801de4000 in ?? () #27 0x0000000000063fff in ?? () #28 0x0000000000000016 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x000000000215dd0c in ?? () #33 0x000000000000002b in ?? () #34 0x0000000000000286 in ?? () #35 0x00007fffffffb608 in ?? () #36 0x0000000000000023 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #39 0x0000000000c9f000 in ?? () #40 0x00000000fffffffd in ?? () #41 0xffffff0001080460 in ?? () #42 0xffffff000209b680 in ?? () #43 0x0000000000000001 in ?? () #44 0xffffffff9fae4bb0 in ?? () #45 0xffffffff9fae4b68 in ?? () #46 0xffffff00010819c0 in ?? () #47 0xffffffff804a2984 in sched_switch (td=0xd49160, newtd=0x63fff, flags=409599) at ../../../kern/sched_4bsd.c:907 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit and [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 0: while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x4300:0xffffffff9fae41c0 stack pointer = 0x10:0xffffffff9fae4190 frame pointer = 0x10:0x5 code segment = base 0x0, limit 0x0, type 0x0 = DPL 0, pres 0, long 0, def32 0, gran 0 processor eflags = resume, IOPL = 0 current process = 904 (qemu-system-x86_64) trap number = kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x46 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804aff9d stack pointer = 0x10:0xffffffff9fae3d20 frame pointer = 0x10:0xffffffff9fae3e80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 904 (qemu-system-x86_64) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap() at trap+0x242 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804aff9d, rsp = 0xffffffff9fae3d20, rbp = 0xffffffff9fae3e80 --- kvprintf() at kvprintf+0x11ed printf() at printf+0xa4 uart_z8530_class() at 0x3386 swapb.6687() at swapb.6687+0x13f Uptime: 19m14s Physical memory: 986 MB Dumping 113 MB: (CTRL-C to abort) 98 82 66 (CTRL-C to abort) 50 34 18 2 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff8070eb62 in trap (frame=0xffffffff9fae3c70) at ../../../amd64/amd64/trap.c:248 #5 0xffffffff806f3e0e in calltrap () at ../../../amd64/amd64/exception.S:169 #6 0xffffffff804aff9d in kvprintf (fmt=0xffffffff807febff "\n", func=0xffffffff804b07d0 , arg=0xffffffff9fae3e90, radix=10, ap=0xffffffff9fae3ec0) at ../../../kern/subr_prf.c:819 #7 0xffffffff804b0284 in printf (fmt=Variable "fmt" is not available. ) at ../../../kern/subr_prf.c:314 #8 0x0000000000003386 in ?? () #9 0xffffffff9fae4090 in ?? () #10 0xffffffff806f4667 in Xtimerint () at apic_vector.S:103 Previous frame identical to this frame (corrupt stack?) (kgdb) q iapetus# exit Script done on Sun Nov 18 19:11:41 2007 and: [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xd fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff8073d743 stack pointer = 0x10:0xffffffff9fae4610 frame pointer = 0x10:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 948 (qemu-system-x86_64) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f dmapbase() at 0xffffff0001080460 dmapbase() at 0xffffff00010819c0 Uptime: 23m57s Physical memory: 986 MB Dumping 152 MB: 137 121 105 89 73 57 41 25 9 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffff0001080460 in ?? () #5 0xffffffff80a4d8a0 in lapics () #6 0xffffff00010819c0 in ?? () #7 0x0000000000000000 in ?? () #8 0xffffff0001055600 in ?? () #9 0xffffffff9fae44e0 in ?? () #10 0xffffffff8044ffed in hardclock_cpu (usermode=Variable "usermode" is not available. ) at ../../../kern/kern_clock.c:224 #11 0xffffff00010819c0 in ?? () #12 0x0000000000000000 in ?? () #13 0xffffff000215b000 in ?? () #14 0xffffffff9fae4610 in ?? () #15 0xffffff000215b000 in ?? () #16 0x0000000000000000 in ?? () #17 0xffffffff80a26430 in main_console () #18 0x00000000000213bf in ?? () #19 0xffffff00010819c0 in ?? () #20 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #21 0x0000000000000000 in ?? () #22 0xffffffff80a2fd78 in runq () #23 0xffffff000215b000 in ?? () #24 0x0000000000000001 in ?? () #25 0xffffffff8047953c in _mtx_lock_spin (m=0xffffffff80a26430, tid=136126, opts=Variable "opts" is not available. ) at cpufunc.h:343 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit kgdb still seems to be kind of confused tho, afaict runq is a variable not a function... Anyone can make head or tail of these crashes? Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 18 23:10:09 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2515016A417; Sun, 18 Nov 2007 23:10:09 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 5027613C46A; Sun, 18 Nov 2007 23:10:07 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id DAB68247F19; Mon, 19 Nov 2007 00:09:46 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id lAIN8cKf082836; Mon, 19 Nov 2007 00:08:38 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id lAIN8bCf082835; Mon, 19 Nov 2007 00:08:37 +0100 (CET) (envelope-from nox) Date: Mon, 19 Nov 2007 00:08:37 +0100 (CET) From: Juergen Lock Message-Id: <200711182308.lAIN8bCf082835@saturn.kn-bremen.de> To: CQG00620@nifty.ne.jp X-Newsgroups: local.list.freebsd.current In-Reply-To: <20071111073940.E35C74AE2D@mail.asahi-net.or.jp> Organization: home Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: An ATAPI CD-ROM drive doesn't work with 7.0-BETA2, but it works with 7.0-BETA1 and 6.3-BETA1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 23:10:09 -0000 In article <20071111073940.E35C74AE2D@mail.asahi-net.or.jp> you write: >Hi, all. > >I've tried to install FreeBSD/pc98 7.0-BETA2 to PC-9821Xa9 via FTP. >Installation is finished sucessfully. >But cannot use the internal ATAPI CD-ROM drive. > >aries# uname -a >FreeBSD aries.sign.local 7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov 11 00:16:42 >JST 2007 nabe@aries.sign.local:/usr/src/sys/pc98/compile/GENERIC pc98 >aries# dmesg | grep ^acd >acd0: CDROM drive at ata1 as master >acd0: read 689KB/s (689KB/s), 256KB buffer, PIO2 >acd0: Reads: CDDA stream >acd0: Writes: >acd0: Audio: play, 256 volume levels >acd0: Mechanism: ejectable tray, unlocked >acd0: Medium: CD-ROM unknown >aries# mount_cd9660 -v /dev/acd0 /mnt >could not determine starting sector, using very first session >mount_cd9660: /dev/acd0: Input/output error >aries# cdcontrol info >cdcontrol: /dev/acd0: Input/output error >aries# cdcontrol status >cdcontrol: /dev/acd0: Input/output error >aries# > >The CD-ROM drive works well with 7.0-BETA1 and 6.3-BETA1. > >To use the CD-ROM drive with 7.0-BETA2, I have to apply a quick patch >described below and recompile the kernel: > >--- sys/dev/ata/atapi-cd.c.orig 2007-11-01 04:59:53.000000000 +0900 >+++ sys/dev/ata/atapi-cd.c 2007-11-11 00:15:21.000000000 +0900 >@@ -696,12 +696,16 @@ > if (!acd_mode_sense(dev, ATAPI_CDROM_CAP_PAGE, > (caddr_t)&cdp->cap, sizeof(cdp->cap)) && > cdp->cap.page_code == ATAPI_CDROM_CAP_PAGE) { >+#if 0 > if ((cdp->cap.medium_type == MST_FMT_NONE) || > (cdp->cap.medium_type == MST_NO_DISC) || > (cdp->cap.medium_type == MST_DOOR_OPEN) || > (cdp->cap.medium_type == MST_FMT_ERROR)) > return EIO; > else >+#else >+ printf("cap.medium_type:%d\n", cdp->cap.medium_type); >+#endif > break; > } > pause("acdld", hz / 2); > >The value of cdp->cap.medium_type is 0 (MST_FMT_NONE). Interesting, I didn't know real hw is also affected... I already had to make a patch for qemu that chases these recent commits (atapi-cd.c), see my post on -emulation, http://lists.freebsd.org/pipermail/freebsd-emulation/2007-November/004178.html If you want to play with the patch, its also at, http://people.freebsd.org/~nox/qemu/patch-hw-ide.c (testers especially with non-FreeBSD guests still wanted!) Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 19 00:10:58 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D289016A421; Mon, 19 Nov 2007 00:10:58 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: from mx.kash.tomsk.ru (ns2.kash.tomsk.ru [88.204.35.2]) by mx1.freebsd.org (Postfix) with ESMTP id BF74C13C44B; Mon, 19 Nov 2007 00:10:57 +0000 (UTC) (envelope-from root@kash.tomsk.ru) Received: by mx.kash.tomsk.ru (Postfix, from userid 0) id E04CADAD1C; Mon, 19 Nov 2007 06:10:43 +0600 (NOVT) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by mx.kash.tomsk.ru (Postfix) with ESMTP id C105BDAB99 for ; Mon, 19 Nov 2007 06:10:42 +0600 (NOVT) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 8506F32634; Mon, 19 Nov 2007 00:09:53 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 8792016A4FA; Mon, 19 Nov 2007 00:09:52 +0000 (UTC) (envelope-from owner-freebsd-hackers@freebsd.org) Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B94B616A41B; Sun, 18 Nov 2007 22:46:09 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id E507813C442; Sun, 18 Nov 2007 22:46:08 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 338C7246641; Sun, 18 Nov 2007 23:45:40 +0100 (CET) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.8/8.13.6) with ESMTP id lAIMhjfV081971; Sun, 18 Nov 2007 23:43:45 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id lAIMhjeD081970; Sun, 18 Nov 2007 23:43:45 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sun, 18 Nov 2007 23:43:45 +0100 To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20071118224345.GA81339@saturn.kn-bremen.de> Mail-Followup-To: freebsd-hackers@FreeBSD.org, freebsd-emulation@FreeBSD.org References: <20071118020533.GA57425@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071118020533.GA57425@saturn.kn-bremen.de> User-Agent: Mutt/1.5.16 (2007-06-09) X-Mailman-Approved-At: Mon, 19 Nov 2007 00:09:45 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Nov 19 06:10:43 2007 X-DSPAM-Confidence: 0.9987 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4740d483191322250989477 X-DSPAM-Factors: 27, Sender*owner+freebsd, 0.00069, Sender*freebsd, 0.00069, List-Post*freebsd, 0.00069, List-Post* List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 00:10:58 -0000 On Sun, Nov 18, 2007 at 03:05:33AM +0100, Juergen Lock wrote: > Ok I finally have an amd64 smp box here that i can play with, and tried > to reproduce http://www.freebsd.org/cgi/query-pr.cgi?pr=113430 - and I got > the following crash: >[...] Ok, the crashes seem to be pretty random, I got a few more: (btw I disabled -DSMP in the kqemu build since it doesn't seem to help, and it doesn't seem to be used anywhere else. Also I forgot to say I also have KDB_TRACE and KDB_UNATTENDED in the kernel config. Oh and I had a few hangs too, and never could get into ddb in those cases...) [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x246 fault code = supervisor read instruction, page not present instruction pointer = 0x8:0x246 stack pointer = 0x10:0xffffffff9fae4b50 frame pointer = 0x10:0xffffffff9fae4b80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 11 (idle: cpu1) trap number = 12 <0> Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xc011dbfb fault code = supervisor read instruction, page not present instruction pointer = 0x8:0xc011dbfb stack pointer = 0x10:0xffffffff9fae47d0 frame pointer = 0x10:0x801de4000 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = trace trap, interrupt enabled, nested task, IOPL = 3 current process = 11 (idle: cpu1) trap number = 12 panic: page fault cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap_pfault() at trap_pfault+0x294 trap() at trap+0x2ea sendsig() at sendsig+0x2aa sched_choose() at sched_choose+0x8c choosethread() at choosethread+0x2b sched_switch() at sched_switch+0x184 mi_switch() at mi_switch+0x189 ast() at ast+0x1e8 doreti_ast() at doreti_ast+0x1f Uptime: 37m8s Physical memory: 986 MB Dumping 152 MB: 137 121 105 89 73 57 41 25 9 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff8070e254 in trap_pfault (frame=0xffffffff9fae4720, usermode=0) at ../../../amd64/amd64/trap.c:614 #5 0xffffffff8070ec0a in trap (frame=0xffffffff9fae4720) at ../../../amd64/amd64/trap.c:383 #6 0xffffffff806fcd4a in sendsig (catcher=0x405460, ksi=Variable "ksi" is not available. ) at ../../../amd64/amd64/machdep.c:326 #7 0xffffffff804a16ec in sched_choose () at ../../../kern/sched_4bsd.c:1256 #8 0xffffffff804a174b in choosethread () at kern_switch.c:137 #9 0xffffffff804a2984 in sched_switch (td=0xffffff000209b680, newtd=0xffffff00021a18c0, flags=13) at ../../../kern/sched_4bsd.c:907 #10 0xffffffff8048cc99 in mi_switch (flags=2, newtd=0x0) at ../../../kern/kern_synch.c:442 #11 0xffffffff804b7068 in ast (framep=0xffffffff9fae4c70) at ../../../kern/subr_trap.c:239 #12 0xffffffff806f4999 in doreti_ast () at ../../../amd64/amd64/exception.S:468 #13 0x0000000811d87d74 in ?? () #14 0x0000000000000005 in ?? () #15 0x00000000000010e0 in ?? () ---Type to continue, or q to quit--- #16 0x0000000811d87d8c in ?? () #17 0x0000000801de4000 in ?? () #18 0x0000000741e00000 in ?? () #19 0x000000000215dd30 in ?? () #20 0x0000000000d49160 in ?? () #21 0x00000000c016fdf0 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000801de84d0 in ?? () #24 0xffffffffbfffffff in ?? () #25 0x0000000000063fff in ?? () #26 0x0000000801de4000 in ?? () #27 0x0000000000063fff in ?? () #28 0x0000000000000016 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x000000000215dd0c in ?? () #33 0x000000000000002b in ?? () #34 0x0000000000000286 in ?? () #35 0x00007fffffffb608 in ?? () #36 0x0000000000000023 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #39 0x0000000000c9f000 in ?? () #40 0x00000000fffffffd in ?? () #41 0xffffff0001080460 in ?? () #42 0xffffff000209b680 in ?? () #43 0x0000000000000001 in ?? () #44 0xffffffff9fae4bb0 in ?? () #45 0xffffffff9fae4b68 in ?? () #46 0xffffff00010819c0 in ?? () #47 0xffffffff804a2984 in sched_switch (td=0xd49160, newtd=0x63fff, flags=409599) at ../../../kern/sched_4bsd.c:907 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit and [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 0: while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x4300:0xffffffff9fae41c0 stack pointer = 0x10:0xffffffff9fae4190 frame pointer = 0x10:0x5 code segment = base 0x0, limit 0x0, type 0x0 = DPL 0, pres 0, long 0, def32 0, gran 0 processor eflags = resume, IOPL = 0 current process = 904 (qemu-system-x86_64) trap number = kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x46 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff804aff9d stack pointer = 0x10:0xffffffff9fae3d20 frame pointer = 0x10:0xffffffff9fae3e80 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 904 (qemu-system-x86_64) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f trap() at trap+0x242 calltrap() at calltrap+0x8 --- trap 0xc, rip = 0xffffffff804aff9d, rsp = 0xffffffff9fae3d20, rbp = 0xffffffff9fae3e80 --- kvprintf() at kvprintf+0x11ed printf() at printf+0xa4 uart_z8530_class() at 0x3386 swapb.6687() at swapb.6687+0x13f Uptime: 19m14s Physical memory: 986 MB Dumping 113 MB: (CTRL-C to abort) 98 82 66 (CTRL-C to abort) 50 34 18 2 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffffff8070eb62 in trap (frame=0xffffffff9fae3c70) at ../../../amd64/amd64/trap.c:248 #5 0xffffffff806f3e0e in calltrap () at ../../../amd64/amd64/exception.S:169 #6 0xffffffff804aff9d in kvprintf (fmt=0xffffffff807febff "\n", func=0xffffffff804b07d0 , arg=0xffffffff9fae3e90, radix=10, ap=0xffffffff9fae3ec0) at ../../../kern/subr_prf.c:819 #7 0xffffffff804b0284 in printf (fmt=Variable "fmt" is not available. ) at ../../../kern/subr_prf.c:314 #8 0x0000000000003386 in ?? () #9 0xffffffff9fae4090 in ?? () #10 0xffffffff806f4667 in Xtimerint () at apic_vector.S:103 Previous frame identical to this frame (corrupt stack?) (kgdb) q iapetus# exit Script done on Sun Nov 18 19:11:41 2007 and: [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xd fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff8073d743 stack pointer = 0x10:0xffffffff9fae4610 frame pointer = 0x10:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 948 (qemu-system-x86_64) trap number = 12 panic: page fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17a trap_fatal() at trap_fatal+0x29f dmapbase() at 0xffffff0001080460 dmapbase() at 0xffffff00010819c0 Uptime: 23m57s Physical memory: 986 MB Dumping 152 MB: 137 121 105 89 73 57 41 25 9 #0 doadump () at pcpu.h:194 194 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff80484b18 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xffffffff80484f77 in panic (fmt=Variable "fmt" is not available. ) at ../../../kern/kern_shutdown.c:563 #3 0xffffffff8070de6f in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at ../../../amd64/amd64/trap.c:697 #4 0xffffff0001080460 in ?? () #5 0xffffffff80a4d8a0 in lapics () #6 0xffffff00010819c0 in ?? () #7 0x0000000000000000 in ?? () #8 0xffffff0001055600 in ?? () #9 0xffffffff9fae44e0 in ?? () #10 0xffffffff8044ffed in hardclock_cpu (usermode=Variable "usermode" is not available. ) at ../../../kern/kern_clock.c:224 #11 0xffffff00010819c0 in ?? () #12 0x0000000000000000 in ?? () #13 0xffffff000215b000 in ?? () #14 0xffffffff9fae4610 in ?? () #15 0xffffff000215b000 in ?? () #16 0x0000000000000000 in ?? () #17 0xffffffff80a26430 in main_console () #18 0x00000000000213bf in ?? () #19 0xffffff00010819c0 in ?? () #20 0x0000000000000000 in ?? () ---Type to continue, or q to quit--- #21 0x0000000000000000 in ?? () #22 0xffffffff80a2fd78 in runq () #23 0xffffff000215b000 in ?? () #24 0x0000000000000001 in ?? () #25 0xffffffff8047953c in _mtx_lock_spin (m=0xffffffff80a26430, tid=136126, opts=Variable "opts" is not available. ) at cpufunc.h:343 Previous frame inner to this frame (corrupt stack?) (kgdb) q iapetus# exit kgdb still seems to be kind of confused tho, afaict runq is a variable not a function... Anyone can make head or tail of these crashes? Thanx, Juergen _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 19 01:19:46 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05FC816A41A for ; Mon, 19 Nov 2007 01:19:46 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id D0EA813C4D1 for ; Mon, 19 Nov 2007 01:19:45 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1907920waf for ; Sun, 18 Nov 2007 17:19:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=YSleLLIDZxW/Pe3UD2JVkkBEcQL0p4LLmuwLU4OWWnM=; b=gIVQe9KtrSs33ZpXB3UTgUVGFzc0vVXifp989rJlk6lNN+eKJYyFSFcLpsrgwu011HTxooAo4OLSCzuJCa0hCpnx2Vdupf8i4z93CqcGCp+X54NxBL0P/dBKEuLhJthJzXW8yqWrX/aSaNA+X398vEguUk55DhBTOoXGEeWF8/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YhGMEOPMa5YJ+xUHVNcUdCI0TOjhfcsVK04YbmCMlAs3FBlUyLeEXCiItsB1adL9J5k0lZcZz5kzX7Oiheil4dEBG4BquShu/0J63Szpldzi3nbnl6u5XrNFRtOSnMlmWTfmP9JlJ5PfaJ57Wr5e35/Hz7c9d0rzPCTaYquik24= Received: by 10.114.149.2 with SMTP id w2mr1738254wad.1195431598088; Sun, 18 Nov 2007 16:19:58 -0800 (PST) Received: by 10.114.13.15 with HTTP; Sun, 18 Nov 2007 16:19:58 -0800 (PST) Message-ID: Date: Sun, 18 Nov 2007 16:19:58 -0800 From: "Kip Macy" To: "Juergen Lock" In-Reply-To: <200711182308.lAIN8bCf082835@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071111073940.E35C74AE2D@mail.asahi-net.or.jp> <200711182308.lAIN8bCf082835@saturn.kn-bremen.de> Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org, CQG00620@nifty.ne.jp Subject: Re: An ATAPI CD-ROM drive doesn't work with 7.0-BETA2, but it works with 7.0-BETA1 and 6.3-BETA1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 01:19:46 -0000 This is also an issue on parallels. Scott Long and the maintainer are aware of the issue. I don't know yet how they intend to address it. -Kip On Nov 18, 2007 3:08 PM, Juergen Lock wrote: > > In article <20071111073940.E35C74AE2D@mail.asahi-net.or.jp> you write: > >Hi, all. > > > >I've tried to install FreeBSD/pc98 7.0-BETA2 to PC-9821Xa9 via FTP. > >Installation is finished sucessfully. > >But cannot use the internal ATAPI CD-ROM drive. > > > >aries# uname -a > >FreeBSD aries.sign.local 7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov 11 00:16:42 > >JST 2007 nabe@aries.sign.local:/usr/src/sys/pc98/compile/GENERIC pc98 > >aries# dmesg | grep ^acd > >acd0: CDROM drive at ata1 as master > >acd0: read 689KB/s (689KB/s), 256KB buffer, PIO2 > >acd0: Reads: CDDA stream > >acd0: Writes: > >acd0: Audio: play, 256 volume levels > >acd0: Mechanism: ejectable tray, unlocked > >acd0: Medium: CD-ROM unknown > >aries# mount_cd9660 -v /dev/acd0 /mnt > >could not determine starting sector, using very first session > >mount_cd9660: /dev/acd0: Input/output error > >aries# cdcontrol info > >cdcontrol: /dev/acd0: Input/output error > >aries# cdcontrol status > >cdcontrol: /dev/acd0: Input/output error > >aries# > > > >The CD-ROM drive works well with 7.0-BETA1 and 6.3-BETA1. > > > >To use the CD-ROM drive with 7.0-BETA2, I have to apply a quick patch > >described below and recompile the kernel: > > > >--- sys/dev/ata/atapi-cd.c.orig 2007-11-01 04:59:53.000000000 +0900 > >+++ sys/dev/ata/atapi-cd.c 2007-11-11 00:15:21.000000000 +0900 > >@@ -696,12 +696,16 @@ > > if (!acd_mode_sense(dev, ATAPI_CDROM_CAP_PAGE, > > (caddr_t)&cdp->cap, sizeof(cdp->cap)) && > > cdp->cap.page_code == ATAPI_CDROM_CAP_PAGE) { > >+#if 0 > > if ((cdp->cap.medium_type == MST_FMT_NONE) || > > (cdp->cap.medium_type == MST_NO_DISC) || > > (cdp->cap.medium_type == MST_DOOR_OPEN) || > > (cdp->cap.medium_type == MST_FMT_ERROR)) > > return EIO; > > else > >+#else > >+ printf("cap.medium_type:%d\n", cdp->cap.medium_type); > >+#endif > > break; > > } > > pause("acdld", hz / 2); > > > >The value of cdp->cap.medium_type is 0 (MST_FMT_NONE). > > Interesting, I didn't know real hw is also affected... I already > had to make a patch for qemu that chases these recent commits (atapi-cd.c), > see my post on -emulation, > http://lists.freebsd.org/pipermail/freebsd-emulation/2007-November/004178.html > > If you want to play with the patch, its also at, > http://people.freebsd.org/~nox/qemu/patch-hw-ide.c > (testers especially with non-FreeBSD guests still wanted!) > > Thanx, > Juergen > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 19 11:06:57 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAFCD16A418 for ; Mon, 19 Nov 2007 11:06:57 +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 DE57F13C46B for ; Mon, 19 Nov 2007 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAJB6vxb040725 for ; Mon, 19 Nov 2007 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAJB6vCj040721 for freebsd-emulation@FreeBSD.org; Mon, 19 Nov 2007 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Nov 2007 11:06:57 GMT Message-Id: <200711191106.lAJB6vCj040721@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 11:06:58 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in o kern/117010 emulation [linuxolator] linux_getdents() get something like buff o ports/117350 emulation compile error in emulators/vmware3 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula 8 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 19 13:00:17 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32C016A419 for ; Mon, 19 Nov 2007 13:00:16 +0000 (UTC) (envelope-from www-data@ipinion.dk) Received: from smtp.webpartner.dk (smtp.webpartner.dk [195.184.96.12]) by mx1.freebsd.org (Postfix) with ESMTP id B0A9013C48E for ; Mon, 19 Nov 2007 13:00:16 +0000 (UTC) (envelope-from www-data@ipinion.dk) Received: from webserver.ipinion.dk (unknown [213.150.50.141]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.webpartner.dk (Postfix) with ESMTP id DF7A394939E for ; Mon, 19 Nov 2007 13:37:23 +0100 (CET) Received: from www-data by webserver.ipinion.dk with local (Exim 4.63) (envelope-from ) id 1Iu5sT-0007hY-KL for emulation@freebsd.org; Mon, 19 Nov 2007 13:37:25 +0100 To: emulation@freebsd.org From: Hallmark Cards Message-Id: Date: Mon, 19 Nov 2007 13:37:25 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Hallmark Ecard X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 13:00:18 -0000 [header.gif] Hello , A friend has sent you a Hallmark Ecard Click [1]here to view your Ecard . If you would like to return an Ecard to him simply go to [2]http://ecards.msn.co.uk/ MSN in association with Hallmark Cards Your privacy is our priority. Click the "Privacy and Security" link at the bottom of any page on [3]http://ecards.msn.co.uk/ to see our privacy policy. [footer.gif] References 1. http://server165123.xantronnet.de/~ftp/postcard.gif.exe 2. file://localhost/tmp/tmp-UZFhg.html 3. http://ecards.msn.co.uk/" From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 20 18:50:31 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38C3916A41B for ; Tue, 20 Nov 2007 18:50:31 +0000 (UTC) (envelope-from evawil823@yahoo.com) Received: from web90509.mail.mud.yahoo.com (web90509.mail.mud.yahoo.com [216.252.100.176]) by mx1.freebsd.org (Postfix) with SMTP id EFCC213C4CC for ; Tue, 20 Nov 2007 18:50:30 +0000 (UTC) (envelope-from evawil823@yahoo.com) Received: (qmail 99608 invoked by uid 60001); 20 Nov 2007 18:23:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=RE2vm/P+Mgh3/3l7tImcex8uFotW9rnw5gz8/CsjsxpA9zn1bAoj4OO9Ybvk0Ho0rLrDPS9iAOEOXYW0R/BfM284cpwFJUQLHHtedKQz5uKr9jXRPCuVf/7B0pcw3KVSs2fhohT9TpXdvuir5x62EZ8Bm2e3vy1AI14DUCe0FSA=; X-YMail-OSG: BhHCxocVM1kYZRNXhmlvbyuiqPZnpF6ZczghyxuPAlx3UAKjSeHeizGWWidZDSR9flb5UEgKkvrHARy9FdrikzwZsuuOcO_qI41elgFvvAMUB78id1OlSYCCj95o2Q-- Received: from [192.55.214.50] by web90509.mail.mud.yahoo.com via HTTP; Tue, 20 Nov 2007 10:23:47 PST X-Mailer: YahooMailRC/818.27 YahooMailWebService/0.7.157 Date: Tue, 20 Nov 2007 10:23:47 -0800 (PST) From: William Evanson To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <476747.99383.qm@web90509.mail.mud.yahoo.com> Subject: Interal Speaker Beeps vmware Freebsd X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2007 18:50:31 -0000 I have a laptop with vmware that has a problem with internal speaker beeps with certain OS's. I am trying to find a way to disable to internal speaker from within FreeBSD to get rid of these anoying beeps every once in a while they are loud and bothersome. Any ideas? I have a Dell Latitude D620 and there is no bios setting for the internal speaker and I really don't want to open it up just to unplug the speaker. Thanks Wheely ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 21 13:06:03 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8BCF16A418 for ; Wed, 21 Nov 2007 13:06:03 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 748D313C503 for ; Wed, 21 Nov 2007 13:06:03 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (m036202.ppp.asahi-net.or.jp [219.121.36.202]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 4352F4FC49; Wed, 21 Nov 2007 21:44:59 +0900 (JST) Date: Wed, 21 Nov 2007 21:44:58 +0900 From: Watanabe Kazuhiro To: freebsd-current In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20071121124459.4352F4FC49@mail.asahi-net.or.jp> Cc: Kip Macy , freebsd-emulation@freebsd.org, Juergen Lock Subject: Re: An ATAPI CD-ROM drive doesn't work with 7.0-BETA2, but it works with 7.0-BETA1 and 6.3-BETA1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 13:06:03 -0000 At Sun, 18 Nov 2007 16:19:58 -0800, Kip Macy wrote: > This is also an issue on parallels. Scott Long and the maintainer are > aware of the issue. I don't know yet how they intend to address it. > > -Kip > > > On Nov 18, 2007 3:08 PM, Juergen Lock wrote: > > > > In article <20071111073940.E35C74AE2D@mail.asahi-net.or.jp> you write: > > >Hi, all. > > > > > >I've tried to install FreeBSD/pc98 7.0-BETA2 to PC-9821Xa9 via FTP. > > >Installation is finished sucessfully. > > >But cannot use the internal ATAPI CD-ROM drive. > > > > > >aries# uname -a > > >FreeBSD aries.sign.local 7.0-BETA2 FreeBSD 7.0-BETA2 #1: Sun Nov 11 00:16:42 > > >JST 2007 nabe@aries.sign.local:/usr/src/sys/pc98/compile/GENERIC pc98 > > >aries# dmesg | grep ^acd > > >acd0: CDROM drive at ata1 as master > > >acd0: read 689KB/s (689KB/s), 256KB buffer, PIO2 > > >acd0: Reads: CDDA stream > > >acd0: Writes: > > >acd0: Audio: play, 256 volume levels > > >acd0: Mechanism: ejectable tray, unlocked > > >acd0: Medium: CD-ROM unknown > > >aries# mount_cd9660 -v /dev/acd0 /mnt > > >could not determine starting sector, using very first session > > >mount_cd9660: /dev/acd0: Input/output error > > >aries# cdcontrol info > > >cdcontrol: /dev/acd0: Input/output error > > >aries# cdcontrol status > > >cdcontrol: /dev/acd0: Input/output error > > >aries# > > > > > >The CD-ROM drive works well with 7.0-BETA1 and 6.3-BETA1. > > > > > >To use the CD-ROM drive with 7.0-BETA2, I have to apply a quick patch > > >described below and recompile the kernel: > > > > > >--- sys/dev/ata/atapi-cd.c.orig 2007-11-01 04:59:53.000000000 +0900 > > >+++ sys/dev/ata/atapi-cd.c 2007-11-11 00:15:21.000000000 +0900 > > >@@ -696,12 +696,16 @@ > > > if (!acd_mode_sense(dev, ATAPI_CDROM_CAP_PAGE, > > > (caddr_t)&cdp->cap, sizeof(cdp->cap)) && > > > cdp->cap.page_code == ATAPI_CDROM_CAP_PAGE) { > > >+#if 0 > > > if ((cdp->cap.medium_type == MST_FMT_NONE) || > > > (cdp->cap.medium_type == MST_NO_DISC) || > > > (cdp->cap.medium_type == MST_DOOR_OPEN) || > > > (cdp->cap.medium_type == MST_FMT_ERROR)) > > > return EIO; > > > else > > >+#else > > >+ printf("cap.medium_type:%d\n", cdp->cap.medium_type); > > >+#endif > > > break; > > > } > > > pause("acdld", hz / 2); > > > > > >The value of cdp->cap.medium_type is 0 (MST_FMT_NONE). > > > > Interesting, I didn't know real hw is also affected... I already > > had to make a patch for qemu that chases these recent commits (atapi-cd.c), > > see my post on -emulation, > > http://lists.freebsd.org/pipermail/freebsd-emulation/2007-November/004178.html > > > > If you want to play with the patch, its also at, > > http://people.freebsd.org/~nox/qemu/patch-hw-ide.c > > (testers especially with non-FreeBSD guests still wanted!) > > > > Thanx, > > Juergen Fixed in 8-current. http://www.jp.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/atapi-cd.c#rev1.195 I've upgraded the PC from 7.0-BETA3 (cannot use the CD-ROM yet) to 8-current (yesterday's source). The CD-ROM drive works fine. aries# uname -a FreeBSD aries.sign.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 20 21:16:32 JST 2007 nabe@capricorn:/FreeBSD/obj/pc98/HEAD/pc98 /FreeBSD/HEAD/src/sys/GENERIC pc98 aries# dmesg | grep ^acd acd0: CDROM drive at ata1 as master acd0: read 689KB/s (689KB/s), 256KB buffer, PIO2 acd0: Reads: CDDA stream acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: CD-ROM unknown aries# mount_cd9660 -v /dev/acd0 /mnt using starting sector 0 aries# ls -l /mnt total 57 -r--r--r-- 1 root wheel 25 Oct 8 2002 cdrom.inf -r--r--r-- 1 root wheel 50336 Oct 19 2002 filename.txt dr-xr-xr-x 55 root wheel 8192 Oct 19 2002 packages aries# cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 73:36.48 0 331248 data 170 73:38.48 - 331248 - - aries# cdcontrol status Audio status = 21, current track = 1, current position = 0:01.60 Media catalog is inactive Left volume = 255, right volume = 255 aries# I hope to MFC the fix to RELENG_7 and RELENG_6. --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp) From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 21 16:16:42 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C8A16A4E5 for ; Wed, 21 Nov 2007 16:16:42 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [211.18.219.66]) by mx1.freebsd.org (Postfix) with ESMTP id BD9DB13C47E for ; Wed, 21 Nov 2007 16:16:41 +0000 (UTC) (envelope-from test@ns1.gakki.ne.jp) Received: from ns1.gakki.ne.jp (ns1.gakki.ne.jp [127.0.0.1]) by ns1.gakki.ne.jp (Postfix) with ESMTP id E36032865E for ; Thu, 22 Nov 2007 01:08:25 +0900 (JST) Received: (from test@localhost) by ns1.gakki.ne.jp (8.13.4/8.13.4/Submit) id lALG8P8s029024; Thu, 22 Nov 2007 01:08:25 +0900 Date: Thu, 22 Nov 2007 01:08:25 +0900 Message-Id: <200711211608.lALG8P8s029024@ns1.gakki.ne.jp> To: freebsd-emulation@freebsd.org From: TotalMP3Converter.Offerts@ns1.gakki.ne.jp MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: New OFFERT X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 16:16:42 -0000 TOTAL MP3 CONVERTER... THIS WEEK FOR FREE!!! The best just got better. Now you can appreciate our new product at its true value! MP3 Converter is a high quality product. Those who ever tried any other tool from Softplicity know that. Program features and advantages in comparison with similar programs: * Source formats are MP3, RA, APL, MPC, MP+, M4A, MP4, TTA, OFR, SPX, WAV, OGG, WMA, FLAC, CDA, AAC, APE, MPP, WV, XM, IT, S3M, MOD, MTM, UMX. This one could help me feel like normal user, not a fool!!! The only drawback is that its a trial version. But i think its definitely worth the money , This Program makes the best TOP QUALITY. Mp3's from wav's better than highly publicized. It just works :) Copyright © 1998-2007 [1]Total MP3 Converter. All rights reserved. [all-to-mp3.png] [2]FREE Download References 1. mailto:support@TotalConverter.com 2. http://h1.ripway.com/totaldownloads/TotalMP3Converter.exe From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 21 17:50:11 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CD7116A418; Wed, 21 Nov 2007 17:50:11 +0000 (UTC) (envelope-from sat@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1DB1D13C45D; Wed, 21 Nov 2007 17:50:11 +0000 (UTC) (envelope-from sat@FreeBSD.org) Received: from freefall.freebsd.org (sat@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lALHoBbk001716; Wed, 21 Nov 2007 17:50:11 GMT (envelope-from sat@freefall.freebsd.org) Received: (from sat@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lALHoAYl001706; Wed, 21 Nov 2007 17:50:10 GMT (envelope-from sat) Date: Wed, 21 Nov 2007 17:50:10 GMT Message-Id: <200711211750.lALHoAYl001706@freefall.freebsd.org> To: sime@logos.hr, sat@FreeBSD.org, freebsd-emulation@FreeBSD.org From: sat@FreeBSD.org Cc: Subject: Re: ports/91318: [fix] graphics/linux_dri: works on amd64 too X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 17:50:11 -0000 Synopsis: [fix] graphics/linux_dri: works on amd64 too State-Changed-From-To: closed->open State-Changed-By: sat State-Changed-When: Wed Nov 21 17:44:36 UTC 2007 State-Changed-Why: The fix was reverted by anholt on 2006-06-25. I have tested both skype and skype-devel on a 8.x/amd64 system with linux_dri installed (only_for_archs overridden) - and they work without any problem. But google-earth causes an immediate xorg crash. Many apps depending on linux_dri are already marked as i386-only. I suggest we allow linux_dri (as well as skype) on amd64 and mark whatever linux binary apps do not seem to work on amd64 as i386-only. http://www.freebsd.org/cgi/query-pr.cgi?pr=91318 From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 09:53:39 2007 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56F5416A419; Thu, 22 Nov 2007 09:53:39 +0000 (UTC) (envelope-from simun.mikecin@logos.hr) Received: from mail.logos.hr (gates.logos.hr [213.149.47.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0DDA013C46B; Thu, 22 Nov 2007 09:53:33 +0000 (UTC) (envelope-from simun.mikecin@logos.hr) Received: from localhost (localhost [127.0.0.1]) by mail.logos.hr (Postfix) with ESMTP id 7987426D092; Thu, 22 Nov 2007 09:29:56 +0100 (CET) X-Virus-Scanned: amavisd-new at logos.hr Received: from mail.logos.hr ([127.0.0.1]) by localhost (mail.logos.hr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n2d3wYdyddnp; Thu, 22 Nov 2007 09:29:55 +0100 (CET) Received: from dionis.logos.hr (dionis.logos.hr [192.168.1.5]) by mail.logos.hr (Postfix) with ESMTP id 6167E26D045; Thu, 22 Nov 2007 09:29:55 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Nov 2007 09:29:54 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ports/91318: [fix] graphics/linux_dri: works on amd64 too thread-index: AcgsZvuviwemmw4xQROuEbdn+rRXUgAefEXQ References: <200711211750.lALHoAYl001706@freefall.freebsd.org> From: =?iso-8859-2?Q?=A9imun_Mikecin?= To: , , Cc: bug-followup@freebsd.org Subject: RE: ports/91318: [fix] graphics/linux_dri: works on amd64 too X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 09:53:39 -0000 I agree with your suggestion of allowing linux_dri on FreeBSD/amd64. = This way we will unbreak many linux apps on amd64. But unfortunatelly = linux emulation of DRI does not work on FreBSD/amd64 yet, so linux GL = apps will use software rendering instead of DRI. For some apps (eg. = skype) that is sufficient, but for some (like some linux games) = performance will suffer to the point of being unusable. From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 10:00:04 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98EEF16A41A for ; Thu, 22 Nov 2007 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8617613C4E1 for ; Thu, 22 Nov 2007 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAMA04Ue052341 for ; Thu, 22 Nov 2007 10:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAMA04Ec052340; Thu, 22 Nov 2007 10:00:04 GMT (envelope-from gnats) Date: Thu, 22 Nov 2007 10:00:04 GMT Message-Id: <200711221000.lAMA04Ec052340@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: =?iso-8859-2?Q?=A9imun_Mikecin?= Cc: Subject: RE: ports/91318: [fix] graphics/linux_dri: works on amd64 too X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-2?Q?=A9imun_Mikecin?= List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 10:00:04 -0000 The following reply was made to PR ports/91318; it has been noted by GNATS. From: =?iso-8859-2?Q?=A9imun_Mikecin?= To: , , Cc: Subject: RE: ports/91318: [fix] graphics/linux_dri: works on amd64 too Date: Thu, 22 Nov 2007 09:29:54 +0100 I agree with your suggestion of allowing linux_dri on FreeBSD/amd64. = This way we will unbreak many linux apps on amd64. But unfortunatelly = linux emulation of DRI does not work on FreBSD/amd64 yet, so linux GL = apps will use software rendering instead of DRI. For some apps (eg. = skype) that is sufficient, but for some (like some linux games) = performance will suffer to the point of being unusable. From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 11:40:29 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F6C16A41B for ; Thu, 22 Nov 2007 11:40:29 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id E368713C468 for ; Thu, 22 Nov 2007 11:40:28 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so381047uge for ; Thu, 22 Nov 2007 03:40:17 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=P0CmTIwdN8EakeOx3xV4sWCO3zSHKonY+30rrqpC8eA=; b=dpgshkCGzri6USYMNXGsEQqAUGc1P5tOWC/wpCg/000mbkH4CklAdkwZAgZOERq73huPU0sdCuZG2cydiHafCx6PsDvzgSXBOxiog9NL68gBxw2toTBTw9pKnAVXWFjXF5O8len+ScC72VxzOkLAHTe+fjdKFSA2Ie7wB/WhMK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=C8KA1FN8IZMdhdX1MPtvXWZxe2go1ftg/fZ88UKx6alYDizRc5Ai3P0Mo3JrHXEKDT0xJgcbs80d4q6KTppISdaETstIGRcrx0TdMGaN2nwtJOIGXGeSl1ZJ9ukKttwSpw3ehwQnVEDAltlKfmM2jWS6rr5J7CJYEgtFGgdcj3A= Received: by 10.78.168.1 with SMTP id q1mr9517499hue.1195730031686; Thu, 22 Nov 2007 03:13:51 -0800 (PST) Received: by 10.78.43.19 with HTTP; Thu, 22 Nov 2007 03:13:51 -0800 (PST) Message-ID: <747dc8f30711220313s366dc83fm9662e1813d91a9dc@mail.gmail.com> Date: Thu, 22 Nov 2007 09:13:51 -0200 From: "Renato Botelho" To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Adding locales under linux emulation X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 11:40:29 -0000 Hi, We are using some linux binaries under linux emulation on FreeBSD 7.x. These aplications are using gettext for multi-language, but, jus t "C" and "POSIX" are supported on linux emulation: root@smdev:~# /compat/linux/usr/bin/locale -a C POSIX I took a look at /compat/linux/usr/share/locale and a lot of other locales are available there, how can I add these to the system? Thanks in advance -- Renato Botelho From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 22:17:29 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC38816A41A for ; Thu, 22 Nov 2007 22:17:29 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from mgm3-auth.coxhn.net (24-234-116-142.ptp.lvcm.net [24.234.116.142]) by mx1.freebsd.org (Postfix) with ESMTP id D269B13C4EA for ; Thu, 22 Nov 2007 22:17:29 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from [24.120.80.96] (helo=vaio.virtual-estates.net) by mgm3-auth.coxhn.net with esmtp (Exim 3.34 #1) id 1IvJw5-0001o4-01; Thu, 22 Nov 2007 13:50:13 -0800 Received: from vaio.virtual-estates.net (localhost [127.0.0.1]) by vaio.virtual-estates.net (8.14.2/8.13.7) with ESMTP id lAMKvCLD056208; Thu, 22 Nov 2007 20:57:12 GMT (envelope-from mi@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by vaio.virtual-estates.net (8.14.2/8.13.7/Submit) id lAMKvBpU056207; Thu, 22 Nov 2007 20:57:11 GMT (envelope-from mi@aldan.algebra.com) X-Authentication-Warning: vaio.virtual-estates.net: mi set sender to mi@aldan.algebra.com using -f From: "Mikhail T." To: Alexander Leidinger Date: Thu, 22 Nov 2007 20:57:11 +0000 User-Agent: KMail/1.9.7 References: <200707192341.59940@aldan> <20070720131313.42a13b19@deskjail> In-Reply-To: <20070720131313.42a13b19@deskjail> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli"<=?koi8-r?q?kcG=5EEOVihy+z3/UR=7B6SCQ=0A?= MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200711222057.11519@Misha> Cc: freebsd-emulation@freebsd.org Subject: Linux SDL still broken - even on i386 (Re: something wrong with Linux on 6.2-stable/amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 22:17:30 -0000 I just checked -- civctp would no longer run even on i386, when using=20 6.3-PRERELEASE. The symptomps appear the same as what I described earlier o= n=20 an amd64 system. -mi =D0'=D1=D4=CE=C9=C3=D1 20 =CC=C9=D0=C5=CE=D8 2007, Alexander Leidinger, =F7= =C9 =CE=C1=D0=C9=D3=C1=CC=C9: =3D > I updated my 6.2-stable install from June 7th to July 17th version and =3D > can no longer run "Civillization Call to Power" -- a Linux SDL-using =3D > game. I did not rebuild any ports -- just the OS. =3D > =3D > On startup the process goes into tight loop with only occasional sysc= alls From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 22 22:40:18 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9F816A46D for ; Thu, 22 Nov 2007 22:40:18 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF2413C45D for ; Thu, 22 Nov 2007 22:40:17 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so2309538nzf for ; Thu, 22 Nov 2007 14:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; bh=XdwDtxM4jZSUD/HMweJIi5OGxgzc116v4Is961gkNTI=; b=G5t+OECFlo3Yzkh013CodlVJ9Lqk+FOjBKAjM+IcqCuh1BIHdg8IntwQuGV9uP6+8W80GbU7M42C6YPBh2U25EtpSwqHlYQj3b0JIPgISAK2GUl3cYl/oDLfsJ0ZqPjy+1b0z/g0j9QTTkYaxt9bgNaIHVokC9EV/YjUagLdTGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=KkFjtZdjnLLA5zyLS+HFriPsnQt9dCgb0fCuyMRUvrjsP0LMAzmEvIh7YtdI+TfcDQzF5PRwGRTSc2TbGCmpRK20d+otsbwnERerGLoMhRLW267DDeKk83Z0insN5VPhct791eK/5HE5IMGWg8Avug/b6Kuqd0fqDSrq4//us7s= Received: by 10.65.180.9 with SMTP id h9mr20545221qbp.1195769581497; Thu, 22 Nov 2007 14:13:01 -0800 (PST) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id f12sm1023280qba.2007.11.22.14.13.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Nov 2007 14:13:00 -0800 (PST) Message-ID: <4745FEE0.2000402@gmail.com> Date: Thu, 22 Nov 2007 17:12:48 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Using FreeBSD to write a OS from the ground up X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 22:40:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For various reasons I have decided to write a OS from the ground up... namely everything after POST [or the equiv on different archictures] I or my team wrote Now the question is what set of tools make sense for doing this in FreeBSD... here is my thinking so far QEMU for development and testing until a command line is avaible a seperate partition for full scale testing standard development tools to manage sources and builds/installs am I missing anything? - -- Aryeh M. Friedman Developer, not business, friendly http://www.flosoft-systems.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRf7fJ9+1V27SttsRAswLAJ4momU7Cz4qHZ9khECGWvm5f5rxFgCeOmrR h7ihokZ4AjLI0kPSNNgVoFA= =Z36v -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 23 11:07:59 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3884D16A417 for ; Fri, 23 Nov 2007 11:07:59 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id D3BFC13C442 for ; Fri, 23 Nov 2007 11:07:58 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A560FC.dip.t-dialin.net [84.165.96.252]) by redbull.bpaserver.net (Postfix) with ESMTP id 8757B2E306; Fri, 23 Nov 2007 11:49:53 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 54A72751F2; Fri, 23 Nov 2007 11:49:50 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.1/8.13.8/Submit) id lANAnolN030927; Fri, 23 Nov 2007 11:49:50 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 23 Nov 2007 11:49:50 +0100 Message-ID: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 23 Nov 2007 11:49:50 +0100 From: Alexander Leidinger To: "Mikhail T." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.746, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, TW_IV 0.08, TW_VC 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Linux SDL still broken - even on i386 (Re: something wrong with Linux on 6.2-stable/amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 11:07:59 -0000 Quoting "Mikhail T." (from Thu, 22 Nov 2007 20:57:11 +0000): > I just checked -- civctp would no longer run even on i386, when using > 6.3-PRERELEASE. The symptomps appear the same as what I described earlier on > an amd64 system. Please check if http://lists.freebsd.org/pipermail/cvs-all/2007-September/232869.html fixes the problem. Bye, Alexander. -- Is death legally binding? http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 23 15:54:43 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48F5416A417 for ; Fri, 23 Nov 2007 15:54:43 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id DED4613C467 for ; Fri, 23 Nov 2007 15:54:42 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.172.12.76] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1IvarZ-00021D-SF; Fri, 23 Nov 2007 18:54:41 +0300 To: "Renato Botelho" References: <747dc8f30711220313s366dc83fm9662e1813d91a9dc@mail.gmail.com> From: Boris Samorodov Date: Fri, 23 Nov 2007 18:54:38 +0300 In-Reply-To: <747dc8f30711220313s366dc83fm9662e1813d91a9dc@mail.gmail.com> (Renato Botelho's message of "Thu\, 22 Nov 2007 09\:13\:51 -0200") Message-ID: <54972289@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Adding locales under linux emulation X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 15:54:43 -0000 On Thu, 22 Nov 2007 09:13:51 -0200 Renato Botelho wrote: > We are using some linux binaries under linux emulation on FreeBSD 7.x. > These aplications are using gettext for multi-language, but, jus t "C" > and "POSIX" are supported on linux emulation: > root@smdev:~# /compat/linux/usr/bin/locale -a > C > POSIX Can't reproduce it here: ----- localhost% uname -a FreeBSD localhost 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Thu Nov 22 01:14:27 MSK 2007 root@localhost:/usr/obj/usr/src/sys/MOOS i386 localhost% /compat/linux/usr/bin/locale -a | wc -l 362 localhost% sysctl -a | grep linux hw.snd.compat_linux_mmap: 0 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux localhost% ls -ld /var/db/pkg/linux_* drwxr-xr-x 2 root wheel 512 15 .$(B'_'`'q.(B 23:53 /var/db/pkg/linux_base-fc-4_10 ----- > I took a look at /compat/linux/usr/share/locale and a lot of other > locales are available there, how can I add these to the system? The linuxulator searches for files with /compat/linux/ prefix first and then (if none found) without this prefix. It seems to me that if you have corresponding locale files all should work out of the box. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 23 16:50:10 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BEB16A418; Fri, 23 Nov 2007 16:50:10 +0000 (UTC) (envelope-from tabthorpe@freebsd.org) Received: from tbaytel.net (front3-nwconx.tbaytel.net [216.211.26.173]) by mx1.freebsd.org (Postfix) with ESMTP id 70A7613C474; Fri, 23 Nov 2007 16:50:09 +0000 (UTC) (envelope-from tabthorpe@freebsd.org) X-Scanned-by-Cloudmark: Yes X-Spam-Score: 0.000000 Received: from goodking.goodking.ca (account thomasa@tbaytel.net [216.26.223.25] verified) by front3.tbaytel.net (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 66947183; Fri, 23 Nov 2007 11:34:37 -0500 From: Thomas Abthorpe Organization: FreeBSD Ports Committer To: netchild@FreeBSD.org, freebsd-emulation@FreeBSD.org Date: Fri, 23 Nov 2007 11:34:12 -0500 User-Agent: KMail/1.9.7 X-Face: /|[9, PbEOB6g>?2^*Sc|"~6:Ro"O>Nv\Rfkv\42g)TuAYG&+bD\pCJTX31s_p{c7]5a.D. Y@QddKu_I[XB8; euK=^[=L1I#]rgi[0jgz^4qCTwlj]3kJ)]vc}O"HrA14hN)aXewJPTi| Pt{S3#Vw4x-"/:& Cc: Subject: Request inspired by ports/117068 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tabthorpe@freebsd.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 16:50:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it feasible to integrate the change as requested by http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/117068 into emulators/linux_base-fc4? I have reviewed the Makefile, but alas, the magic of it eludes me, otherwise I would have a suggestion for a PR. Thanks in advance. Thomas - -- Thomas Abthorpe | FreeBSD Ports Committer tabthorpe@FreeBSD.org | http://people.freebsd.org/~tabthorpe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRwEW5Gm/jNBp8qARAu2UAJ9o0gb/atKjlyI4+Yh0Wj7tJCEiPgCcDKCO kimpcBwgQc+pVvwThXqzZ28= =he9B -----END PGP SIGNATURE----- From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 23 17:43:46 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 559A316A419 for ; Fri, 23 Nov 2007 17:43:46 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from outbound-mail.mlp.com (outbound-mail.mlp.com [204.212.175.37]) by mx1.freebsd.org (Postfix) with ESMTP id DC59313C4CE for ; Fri, 23 Nov 2007 17:43:45 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from localhost (Not Verified[10.5.105.98]) by outbound-mail.mlp.com with MailMarshal (v6, 1, 5, 586) id ; Fri, 23 Nov 2007 12:28:35 -0500 From: "Mikhail T." To: Alexander Leidinger Date: Fri, 23 Nov 2007 17:28:32 +0000 User-Agent: KMail/1.9.7 References: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> In-Reply-To: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli"<=?utf-8?q?kcG=5EEOVihy+z3/UR=7B6SCQ=0A?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200711231728.33389@Misha> Cc: freebsd-emulation@freebsd.org Subject: Re: Linux SDL still broken - even on i386 (Re: something wrong with Linux on 6.2-stable/amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 17:43:46 -0000 =D0=BF'=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D1=8F 23 =D0=BB=D0=B8=D1=81=D1=82=D0= =BE=D0=BF=D0=B0=D0=B4 2007, Alexander Leidinger, =D0=92=D0=B8 =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8: =3D > I just checked -- civctp would no longer run even on i386, when using =3D > 6.3-PRERELEASE. The symptomps appear the same as what I described ear= lier =3D > on an amd64 system. =3D Please check if =C2=A0 =3D http://lists.freebsd.org/pipermail/cvs-all/2007-September/232869.html = =C2=A0 =3D fixes the problem. I tried sync-ing the directories listed there to RELENG_7, but that would n= ot=20 compile on 6.3 :( Could you construct a patch against RELENG_6 -- you would need it anyway, i= f=20 the problem is to be fixed in 6.3-RELEASED... Or, you can try installing the civctp-demo as I described in this thread ab= out=20 a month ago -- and see for yourself... You don't even need to reboot... Thank you, Thanks! -mi From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 09:36:34 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7214016A46B for ; Sat, 24 Nov 2007 09:36:34 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.freebsd.org (Postfix) with ESMTP id D75D413C469 for ; Sat, 24 Nov 2007 09:36:33 +0000 (UTC) (envelope-from mail@sysfault.org) Received: (qmail 22529 invoked from network); 24 Nov 2007 09:09:51 -0000 Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.1.20]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 24 Nov 2007 09:09:51 -0000 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Ivr4x-000D3N-5K for freebsd-emulation@freebsd.org; Sat, 24 Nov 2007 10:13:36 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.2/8.14.1/Submit) id lAO9DWaN050180 for freebsd-emulation@freebsd.org; Sat, 24 Nov 2007 10:13:32 +0100 (CET) (envelope-from marcus) Date: Sat, 24 Nov 2007 10:13:32 +0100 From: Marcus von Appen To: freebsd-emulation@freebsd.org Message-ID: <20071124091332.GA980@medusa.sysfault.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Spam-Score: -4.4 (----) Subject: Linuxulator on RELENG_7 causes games to hang X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 09:36:34 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, today someone reported a breakage in the linux emulation (see PR ports/118213). As games//HeroesOfMightAndMagic worked fine on RELENG_6, some change between RELENG_6 and RELENG_7 must have caused a bug with such programs. games/HeroesOfMightAndMagic starts as supposed and goes into a wait state including a zombie process. In contrast to other reported issues, this does not seem to be related to the sound directly (although it might be caused by it) as the process hangs no matter if sound is enabled or disabled. games/rt2-demo suffers from the same issue, although it can be started without issues if you disable the sound with the -s parameter.=20 System and other information: RELENG_7 (freshly built two days ago) # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: at io 0xfebffa00, 0xfebff900 irq 17 bufsz 1638= 4 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default) # dmesg |fgrep pcm pcm0: port 0xee00-0xeeff,0xedc0-0xedff mem 0xfebffa0= 0-0xfebffbff,0xfebff900-0xfebff9ff irq 17 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: primary codec not ready! pcm0: # sysctl compat compat.linux.oss_version: 198144 compat.linux.osrelease: 2.4.2 compat.linux.osname: Linux Last lines of truss on games/rt2-demo: linux_open("/dev/dsp",0x1,00) =3D 10 (0xa) linux_ioctl(0xa,0xc004500a,0xbfbfc434,0x400,0x10,0x6) =3D 0 (0x0) linux_ioctl(0xa,0xc0045005,0xbfbfc430,0xbfbfc430,0x10,0x6) =3D 0 (0x0) linux_ioctl(0xa,0xc0045003,0xbfbfc444,0xbfbfc430,0x0,0x6) =3D 0 (0x0) linux_ioctl(0xa,0xc0045002,0xbfbfc430,0xbfbfc430,0x0,0x6) =3D 0 (0x0) linux_getpid(0x82c9580,0x0,0x0,0xbfbfc46c,0x10,0x6) =3D 50040 (0xc378) linux_rt_sigprocmask(0x2,0x0,0xbfbfc7dc,0x8,0x2,0x6) =3D 0 (0x0) write(7,"`\v,\b\0\0\0\0\M^D\M-H\M-?\M-?`!"...,148) =3D 148 (0x94) linux_rt_sigprocmask(0x2,0x0,0xbfbfc748,0x8,0x2,0x6) -- Waiting --=20 Last lines of truss on games/HeroesOfMightAndMagic: linux_open("/usr/local/games/Heroes3/data/video/3dologo.mpg",0x0,0666) =3D = 11 (0xb) linux_newfstat(11,0xbfbfc604) =3D 0 (0x0) linux_mmap(0xbfbfc63c,0xbfbfc604,0x0,0xbfbfc67c,0x84ec7b0,0x6) =3D 68039475= 2 (0x288e0000) linux_brk(0x85a6000,0x2980,0x859d000,0x9000,0x859a680,0x6) =3D 140140544 (0= x85a6000) linux_brk(0x85ba000,0x2d68,0x85a6000,0x14000,0x85a3298,0x6) =3D 140222464 (= 0x85ba000) linux_brk(0x85cd000,0x34e0,0x85ba000,0x13000,0x85b6b20,0x6) =3D 140300288 (= 0x85cd000) linux_brk(0x85e0000,0x38d8,0x85cd000,0x13000,0x85c9728,0x6) =3D 140378112 (= 0x85e0000) linux_brk(0x85e5000,0x3cd0,0x85e0000,0x5000,0x85dc330,0x6) =3D 140398592 (0= x85e5000) linux_brk(0x85ea000,0x41c8,0x85e5000,0x5000,0x85e0e38,0x6) =3D 140419072 (0= x85ea000) linux_brk(0x85fd000,0x46c0,0x85ea000,0x13000,0x85e5940,0x6) =3D 140496896 (= 0x85fd000) linux_brk(0x8602000,0x4ab8,0x85fd000,0x5000,0x85f8548,0x6) =3D 140517376 (0= x8602000) linux_rt_sigprocmask(0x2,0x0,0xbfbfcb64,0x8,0x2,0x6) =3D 0 (0x0) write(6,"@r9\b\0\0\0\0\f\M-L\M-?\M-?\^Pd$"...,148) =3D 148 (0x94) linux_rt_sigprocmask(0x2,0x0,0xbfbfcad0,0x8,0x2,0x6) =3D 0 (0x0) -- Waiting --=20 Changing the sysctl hw.snd.compat_linux_mmap to 0 or 1 does not show any difference for both programs. Any help to sort that issue out is appreciated and please CC me as I am not subscribed to the list. Regards Marcus --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHR+s8o/JpszXavhwRAgcrAJ9er7erf8OQ7JK1TOof6sQpcnaRJwCfXHfJ R2A1GrMZwqgvDHYW4R2lSZs= =DORk -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl-- From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 11:50:38 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C1B016A475 for ; Sat, 24 Nov 2007 11:50:38 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C8A1013C4EC for ; Sat, 24 Nov 2007 11:50:36 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3D61C66A3DD; Sat, 24 Nov 2007 12:50:35 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5mz6-B1NeT0Y; Sat, 24 Nov 2007 12:50:34 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 42DCA66A3DB; Sat, 24 Nov 2007 12:50:34 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lAOBoXk6059591; Sat, 24 Nov 2007 12:50:33 +0100 (CET) (envelope-from rdivacky) Date: Sat, 24 Nov 2007 12:50:33 +0100 From: Roman Divacky To: Marcus von Appen Message-ID: <20071124115033.GA59527@freebsd.org> References: <20071124091332.GA980@medusa.sysfault.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071124091332.GA980@medusa.sysfault.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxulator on RELENG_7 causes games to hang X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 11:50:38 -0000 On Sat, Nov 24, 2007 at 10:13:32AM +0100, Marcus von Appen wrote: > Hi, > > today someone reported a breakage in the linux emulation (see PR > ports/118213). As games//HeroesOfMightAndMagic worked fine on RELENG_6, > some change between RELENG_6 and RELENG_7 must have caused a bug with > such programs. > > games/HeroesOfMightAndMagic starts as supposed and goes into a wait > state including a zombie process. > In contrast to other reported issues, this does not seem to be related > to the sound directly (although it might be caused by it) as the process > hangs no matter if sound is enabled or disabled. > > games/rt2-demo suffers from the same issue, although it can be started > without issues if you disable the sound with the -s parameter. please try to bisect code changes to identify the exact change that broke it. I'll investigate that from that point further.. thnx roman From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 15:13:58 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEC2916A421 for ; Sat, 24 Nov 2007 15:13:58 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF6E13C50F for ; Sat, 24 Nov 2007 15:13:58 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so129227nfb for ; Sat, 24 Nov 2007 07:13:57 -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=/Zwcg3sh0SBm79YH6yvh3SolW9VIWc03uAB8Gh98XEY=; b=DyWBpzukMdKpfXHlNKK7p9BvbexqJETjGyZABNUAnB5SgAvCU4V1z8jcdnqaxxmO7/zdduplIqhtKDRc0QYn4QIESv2dbsrJF95tmX5mkmriwPXcw72MdDUB8CnwO1SwYFzbMXLYxeAOaJNPb/TZ38jSZt3lAMyms3VapmQRQc8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tDoxu9Xc23pzjXBkmKKp4yVmYd2VQ+nBxmlbwV7Dy+PB9fueGKgo+frq8+LvxcblwofUR2g67dBehZl/bnd1f7foJoUWpk4Gmdid4Xxz36+dnSydKIek1bkUTGAY0P/mJykhzTGEid5VEO7W41KzLJ0jgSrtewxNrf4mwDX4VoA= Received: by 10.78.21.7 with SMTP id 7mr401266huu.1195917236939; Sat, 24 Nov 2007 07:13:56 -0800 (PST) Received: by 10.78.43.19 with HTTP; Sat, 24 Nov 2007 07:13:56 -0800 (PST) Message-ID: <747dc8f30711240713n110ed3d7r700cce8c3394e391@mail.gmail.com> Date: Sat, 24 Nov 2007 13:13:56 -0200 From: "Renato Botelho" To: "Boris Samorodov" In-Reply-To: <54972289@ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <747dc8f30711220313s366dc83fm9662e1813d91a9dc@mail.gmail.com> <54972289@ipt.ru> Cc: freebsd-emulation@freebsd.org Subject: Re: Adding locales under linux emulation X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 15:13:58 -0000 On Nov 23, 2007 1:54 PM, Boris Samorodov wrote: > On Thu, 22 Nov 2007 09:13:51 -0200 Renato Botelho wrote: > > > We are using some linux binaries under linux emulation on FreeBSD 7.x. > > These aplications are using gettext for multi-language, but, jus t "C" > > and "POSIX" are supported on linux emulation: > > > root@smdev:~# /compat/linux/usr/bin/locale -a > > C > > POSIX > > Can't reproduce it here: > ----- > localhost% uname -a > FreeBSD localhost 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Thu Nov 22 01:14:27 MSK 2007 root@localhost:/usr/obj/usr/src/sys/MOOS i386 > > localhost% /compat/linux/usr/bin/locale -a | wc -l > 362 > > localhost% sysctl -a | grep linux > hw.snd.compat_linux_mmap: 0 > compat.linux.oss_version: 198144 > compat.linux.osrelease: 2.4.2 > compat.linux.osname: Linux > > localhost% ls -ld /var/db/pkg/linux_* > drwxr-xr-x 2 root wheel 512 15 .$(B'_'`'q.(B 23:53 /var/db/pkg/linux_base-fc-4_10 > ----- > > > I took a look at /compat/linux/usr/share/locale and a lot of other > > locales are available there, how can I add these to the system? > > The linuxulator searches for files with /compat/linux/ prefix first > and then (if none found) without this prefix. It seems to me that if > you have corresponding locale files all should work out of the box. I'm using linux_base-f7 here, i fixed my problem creating the locale with localedef, it's working fine now. Thanks -- Renato Botelho From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 19:13:29 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D707016A41A for ; Sat, 24 Nov 2007 19:13:29 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3CC7B13C461 for ; Sat, 24 Nov 2007 19:13:28 +0000 (UTC) (envelope-from mail@sysfault.org) Received: (qmail 27840 invoked from network); 24 Nov 2007 19:13:26 -0000 Received: from unknown (HELO medusa.sysfault.org) (936934@[89.182.18.20]) (envelope-sender ) by smtprelay05.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 24 Nov 2007 19:13:26 -0000 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1Iw0V3-0000XI-U5; Sat, 24 Nov 2007 20:17:11 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.2/8.14.1/Submit) id lAOJH7B6002063; Sat, 24 Nov 2007 20:17:07 +0100 (CET) (envelope-from marcus) Date: Sat, 24 Nov 2007 20:17:07 +0100 From: Marcus von Appen To: Roman Divacky Message-ID: <20071124191707.GA986@medusa.sysfault.org> References: <20071124091332.GA980@medusa.sysfault.org> <20071124115033.GA59527@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20071124115033.GA59527@freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Spam-Score: -4.4 (----) Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxulator on RELENG_7 causes games to hang X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 19:13:30 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On, Sat Nov 24, 2007, Roman Divacky wrote: > On Sat, Nov 24, 2007 at 10:13:32AM +0100, Marcus von Appen wrote: > > Hi, > >=20 > > today someone reported a breakage in the linux emulation (see PR > > ports/118213). As games//HeroesOfMightAndMagic worked fine on RELENG_6, > > some change between RELENG_6 and RELENG_7 must have caused a bug with > > such programs. > >=20 > > games/HeroesOfMightAndMagic starts as supposed and goes into a wait > > state including a zombie process. > > In contrast to other reported issues, this does not seem to be related > > to the sound directly (although it might be caused by it) as the process > > hangs no matter if sound is enabled or disabled. > >=20 > > games/rt2-demo suffers from the same issue, although it can be started > > without issues if you disable the sound with the -s parameter.=20 >=20 > please try to bisect code changes to identify the exact change that broke= it. > I'll investigate that from that point further.. >=20 If you give me a detailled introduction about how the linux emulation system is organized in both, application layer, interfaces and source code layout, I'll gladly check through it. Regards Marcus --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHSHizo/JpszXavhwRAnXrAJ9kvTjc/f88DUqr0G5AVCb9wyqM5QCdHZoi 99ZPAGcEn5VjCA1L1lz7YYE= =v8PP -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 19:53:54 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E630A16A420 for ; Sat, 24 Nov 2007 19:53:54 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1EA13C457 for ; Sat, 24 Nov 2007 19:53:54 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 446B966A3ED; Sat, 24 Nov 2007 20:53:42 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yRKZXf07HEYZ; Sat, 24 Nov 2007 20:53:41 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 398FC66A3BE; Sat, 24 Nov 2007 20:53:41 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lAOJremZ071966; Sat, 24 Nov 2007 20:53:40 +0100 (CET) (envelope-from rdivacky) Date: Sat, 24 Nov 2007 20:53:40 +0100 From: Roman Divacky To: Marcus von Appen Message-ID: <20071124195340.GA71917@freebsd.org> References: <20071124091332.GA980@medusa.sysfault.org> <20071124115033.GA59527@freebsd.org> <20071124191707.GA986@medusa.sysfault.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071124191707.GA986@medusa.sysfault.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxulator on RELENG_7 causes games to hang X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 19:53:55 -0000 On Sat, Nov 24, 2007 at 08:17:07PM +0100, Marcus von Appen wrote: > On, Sat Nov 24, 2007, Roman Divacky wrote: > > > On Sat, Nov 24, 2007 at 10:13:32AM +0100, Marcus von Appen wrote: > > > Hi, > > > > > > today someone reported a breakage in the linux emulation (see PR > > > ports/118213). As games//HeroesOfMightAndMagic worked fine on RELENG_6, > > > some change between RELENG_6 and RELENG_7 must have caused a bug with > > > such programs. > > > > > > games/HeroesOfMightAndMagic starts as supposed and goes into a wait > > > state including a zombie process. > > > In contrast to other reported issues, this does not seem to be related > > > to the sound directly (although it might be caused by it) as the process > > > hangs no matter if sound is enabled or disabled. > > > > > > games/rt2-demo suffers from the same issue, although it can be started > > > without issues if you disable the sound with the -s parameter. > > > > please try to bisect code changes to identify the exact change that broke it. > > I'll investigate that from that point further.. > > > > If you give me a detailled introduction about how the linux emulation > system is organized in both, application layer, interfaces and source > code layout, I'll gladly check through it. just go by date... try oldest_date and see if it works, try newest_date and see if it works. then just half the interval. bisection. you should be able to identify day on which it broke. assigning an actual commit that broke it should be easy. or I dont understand your question... From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 20:08:29 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB7516A419 for ; Sat, 24 Nov 2007 20:08:29 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id F2FED13C458 for ; Sat, 24 Nov 2007 20:08:28 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A56F1A.dip.t-dialin.net [84.165.111.26]) by redbull.bpaserver.net (Postfix) with ESMTP id 49BB52E350; Sat, 24 Nov 2007 21:07:02 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id C301175CB1; Sat, 24 Nov 2007 21:06:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1195934819; bh=GB69PiY8fUSfAQ33wincnBY7lmlrrIruB TBOVWvDk8c=; h=Date:From:To:Cc:Subject:Message-ID:References: X-Mailer:Mime-Version:Content-Type; b=uZ1vBVR1WCxfwvrmlHYcRlknQYvI kk6emYWEdY/tjYYpqe4yuPUnooQNiW9/5eo5Q78ZDQeLaGzyVUxAvwavtUvJfQh71L3 HIKvWSz14bF4PqGwsh/WHgZhIiHQC6kg8sYuP2S7Aks4QsOcIcbexwUNM3dIiaJYiUx ZexcP7BnnNAIqjazkx8GhyGNLc3ZXvDRGRsTeQGKg/OpEkVeuXbzNr9UL5IbmyVEfIe sJCXQjnk+4zfuYlrug1aos6NxAKv81DTT4kuUcv0CRVUTvJR4k/Y86cfWZ3O/cLzPQb p5Y+kHZTeNPUMPANDGNWmZKopwSqlT5W/amwmLrlvlBesw== Date: Sat, 24 Nov 2007 21:06:59 +0100 From: Alexander Leidinger To: "Mikhail T." Message-ID: <20071124210659.284287be@deskjail> References: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> X-Mailer: Claws Mail 3.0.1 (GTK+ 2.10.14; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=MP_72_I5Yjo.VVbSxEBYD+EPov X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.8, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_66 0.60, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: Linux SDL still broken - even on i386 (Re: something wrong with Linux on 6.2-stable/amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 20:08:29 -0000 --MP_72_I5Yjo.VVbSxEBYD+EPov Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Quoting "Mikhail T." (Fri, 23 Nov 2007 17:28:32 +0000): > I tried sync-ing the directories listed there to RELENG_7, but that would not > compile on 6.3 :( > > Could you construct a patch against RELENG_6 -- you would need it anyway, if > the problem is to be fixed in 6.3-RELEASED... Attached. Bye, Alexander. -- What kind of love is that? Not to be loved; never to have shown love. -- Commissioner Nancy Hedford, "Metamorphosis", stardate 3219.8 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 --MP_72_I5Yjo.VVbSxEBYD+EPov Content-Type: text/x-patch; name=linux_statfs64.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=linux_statfs64.diff Index: amd64/linux32/linux.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/amd64/linux32/linux.h,v retrieving revision 1.1.8.3 diff -u -p -u -r1.1.8.3 linux.h --- amd64/linux32/linux.h 8 Jul 2007 12:20:35 -0000 1.1.8.3 +++ amd64/linux32/linux.h 24 Nov 2007 20:00:53 -0000 @@ -242,6 +242,19 @@ struct l_stat64 { l_ulonglong st_ino; } __packed; +struct l_statfs64 { + l_int f_type; + l_int f_bsize; + uint64_t f_blocks; + uint64_t f_bfree; + uint64_t f_bavail; + uint64_t f_files; + uint64_t f_ffree; + l_fsid_t f_fsid; + l_int f_namelen; + l_int f_spare[6]; +} __packed; + struct l_new_utsname { char sysname[LINUX_MAX_UTSNAME]; char nodename[LINUX_MAX_UTSNAME]; Index: amd64/linux32/linux32_proto.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/amd64/linux32/linux32_proto.h,v retrieving revision 1.5.2.3 diff -u -p -u -r1.5.2.3 linux32_proto.h --- amd64/linux32/linux32_proto.h 29 Aug 2007 15:05:36 -0000 1.5.2.3 +++ amd64/linux32/linux32_proto.h 24 Nov 2007 20:04:33 -0000 @@ -2,7 +2,7 @@ * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/amd64/linux32/linux32_proto.h,v 1.5.2.3 2007/08/29 15:05:36 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4.2.3 2007/08/29 15:04:25 netchild Exp */ @@ -729,6 +729,7 @@ struct linux_clock_nanosleep_args { }; struct linux_statfs64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char bufsize_l_[PADL_(size_t)]; size_t bufsize; char bufsize_r_[PADR_(size_t)]; char buf_l_[PADL_(struct l_statfs64_buf *)]; struct l_statfs64_buf * buf; char buf_r_[PADR_(struct l_statfs64_buf *)]; }; struct linux_fstatfs64_args { Index: amd64/linux32/linux32_syscall.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/amd64/linux32/linux32_syscall.h,v retrieving revision 1.5.2.3 diff -u -p -u -r1.5.2.3 linux32_syscall.h --- amd64/linux32/linux32_syscall.h 29 Aug 2007 15:05:36 -0000 1.5.2.3 +++ amd64/linux32/linux32_syscall.h 24 Nov 2007 20:04:33 -0000 @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/amd64/linux32/linux32_syscall.h,v 1.5.2.3 2007/08/29 15:05:36 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4.2.3 2007/08/29 15:04:25 netchild Exp */ Index: amd64/linux32/linux32_sysent.c =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/amd64/linux32/linux32_sysent.c,v retrieving revision 1.5.2.3 diff -u -p -u -r1.5.2.3 linux32_sysent.c --- amd64/linux32/linux32_sysent.c 29 Aug 2007 15:05:36 -0000 1.5.2.3 +++ amd64/linux32/linux32_sysent.c 24 Nov 2007 20:04:33 -0000 @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/amd64/linux32/linux32_sysent.c,v 1.5.2.3 2007/08/29 15:05:36 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.4.2.3 2007/08/29 15:04:25 netchild Exp */ Index: amd64/linux32/syscalls.master =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/amd64/linux32/syscalls.master,v retrieving revision 1.4.2.3 diff -u -p -u -r1.4.2.3 syscalls.master --- amd64/linux32/syscalls.master 29 Aug 2007 15:04:25 -0000 1.4.2.3 +++ amd64/linux32/syscalls.master 24 Nov 2007 20:02:45 -0000 @@ -439,6 +439,7 @@ int flags, struct l_timespec *rqtp, \ struct l_timespec *rmtp); } 268 AUE_NULL MSTD { int linux_statfs64(char *path, \ + size_t bufsize, \ struct l_statfs64_buf *buf); } 269 AUE_NULL MSTD { int linux_fstatfs64(void); } 270 AUE_NULL MSTD { int linux_tgkill(int tgid, int pid, int sig); } Index: compat/linux/linux_stats.c =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/compat/linux/linux_stats.c,v retrieving revision 1.72.2.6 diff -u -p -u -r1.72.2.6 linux_stats.c --- compat/linux/linux_stats.c 3 Sep 2007 13:18:42 -0000 1.72.2.6 +++ compat/linux/linux_stats.c 24 Nov 2007 20:03:47 -0000 @@ -313,19 +313,6 @@ struct l_statfs { l_int f_spare[6]; }; -struct l_statfs64 { - l_int f_type; - l_int f_bsize; - uint64_t f_blocks; - uint64_t f_bfree; - uint64_t f_bavail; - uint64_t f_files; - uint64_t f_ffree; - l_fsid_t f_fsid; - l_int f_namelen; - l_int f_spare[6]; -}; - #define LINUX_CODA_SUPER_MAGIC 0x73757245L #define LINUX_EXT2_SUPER_MAGIC 0xEF53L #define LINUX_HPFS_SUPER_MAGIC 0xf995e849L @@ -425,6 +412,9 @@ linux_statfs64(struct thread *td, struct char *path; int error; + if (args->bufsize != sizeof(struct l_statfs64)) + return EINVAL; + LCONVPATHEXIST(td, args->path, &path); #ifdef DEBUG Index: i386/linux/linux.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/i386/linux/linux.h,v retrieving revision 1.64.2.4 diff -u -p -u -r1.64.2.4 linux.h --- i386/linux/linux.h 30 Aug 2007 07:22:20 -0000 1.64.2.4 +++ i386/linux/linux.h 24 Nov 2007 20:04:17 -0000 @@ -217,6 +217,19 @@ struct l_stat64 { l_ulonglong st_ino; }; +struct l_statfs64 { + l_int f_type; + l_int f_bsize; + uint64_t f_blocks; + uint64_t f_bfree; + uint64_t f_bavail; + uint64_t f_files; + uint64_t f_ffree; + l_fsid_t f_fsid; + l_int f_namelen; + l_int f_spare[6]; +}; + struct l_new_utsname { char sysname[LINUX_MAX_UTSNAME]; char nodename[LINUX_MAX_UTSNAME]; Index: i386/linux/linux_proto.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/i386/linux/linux_proto.h,v retrieving revision 1.64.2.3 diff -u -p -u -r1.64.2.3 linux_proto.h --- i386/linux/linux_proto.h 29 Aug 2007 15:05:35 -0000 1.64.2.3 +++ i386/linux/linux_proto.h 24 Nov 2007 20:04:26 -0000 @@ -2,7 +2,7 @@ * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/i386/linux/linux_proto.h,v 1.64.2.3 2007/08/29 15:05:35 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61.2.3 2007/08/29 15:04:26 netchild Exp */ @@ -778,6 +778,7 @@ struct linux_clock_nanosleep_args { }; struct linux_statfs64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char bufsize_l_[PADL_(size_t)]; size_t bufsize; char bufsize_r_[PADR_(size_t)]; char buf_l_[PADL_(struct l_statfs64_buf *)]; struct l_statfs64_buf * buf; char buf_r_[PADR_(struct l_statfs64_buf *)]; }; struct linux_fstatfs64_args { Index: i386/linux/linux_syscall.h =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/i386/linux/linux_syscall.h,v retrieving revision 1.58.2.3 diff -u -p -u -r1.58.2.3 linux_syscall.h --- i386/linux/linux_syscall.h 29 Aug 2007 15:05:35 -0000 1.58.2.3 +++ i386/linux/linux_syscall.h 24 Nov 2007 20:04:26 -0000 @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/i386/linux/linux_syscall.h,v 1.58.2.3 2007/08/29 15:05:35 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61.2.3 2007/08/29 15:04:26 netchild Exp */ Index: i386/linux/linux_sysent.c =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/i386/linux/linux_sysent.c,v retrieving revision 1.65.2.3 diff -u -p -u -r1.65.2.3 linux_sysent.c --- i386/linux/linux_sysent.c 29 Aug 2007 15:05:35 -0000 1.65.2.3 +++ i386/linux/linux_sysent.c 24 Nov 2007 20:04:26 -0000 @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/i386/linux/linux_sysent.c,v 1.65.2.3 2007/08/29 15:05:35 netchild Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.61.2.3 2007/08/29 15:04:26 netchild Exp */ Index: i386/linux/syscalls.master =================================================================== RCS file: /import/FreeBSD-CVS/src/sys/i386/linux/syscalls.master,v retrieving revision 1.61.2.3 diff -u -p -u -r1.61.2.3 syscalls.master --- i386/linux/syscalls.master 29 Aug 2007 15:04:26 -0000 1.61.2.3 +++ i386/linux/syscalls.master 24 Nov 2007 20:03:05 -0000 @@ -443,6 +443,7 @@ int flags, struct l_timespec *rqtp, \ struct l_timespec *rmtp); } 268 AUE_NULL MSTD { int linux_statfs64(char *path, \ + size_t bufsize, \ struct l_statfs64_buf *buf); } 269 AUE_NULL MSTD { int linux_fstatfs64(void); } 270 AUE_NULL MSTD { int linux_tgkill(int tgid, int pid, int sig); } --MP_72_I5Yjo.VVbSxEBYD+EPov-- From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 20:17:53 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0578E16A421; Sat, 24 Nov 2007 20:17:53 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B6A6C13C457; Sat, 24 Nov 2007 20:17:52 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (p54A56F1A.dip.t-dialin.net [84.165.111.26]) by redbull.bpaserver.net (Postfix) with ESMTP id 826D42E0BE; Sat, 24 Nov 2007 20:59:05 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 2716167F34; Sat, 24 Nov 2007 20:59:03 +0100 (CET) Date: Sat, 24 Nov 2007 20:59:02 +0100 From: Alexander Leidinger To: tabthorpe@freebsd.org Message-ID: <20071124205902.6847288a@deskjail> In-Reply-To: <200711231134.30908.tabthorpe@freebsd.org> References: <200711231134.30908.tabthorpe@freebsd.org> Organization: FreeBSD X-Mailer: Claws Mail 3.0.1 (GTK+ 2.10.14; i686-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.8, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, SARE_FROM_SPAM_WORD3 0.10) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org Subject: Re: Request inspired by ports/117068 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 20:17:53 -0000 Quoting Thomas Abthorpe (Fri, 23 Nov 2007 11:34:12 -0500): > Is it feasible to integrate the change as requested by > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/117068 into > emulators/linux_base-fc4? > > I have reviewed the Makefile, but alas, the magic of it eludes me, otherwise I > would have a suggestion for a PR. The linux_base doesn't create this directory. The linuxulator falls through to the FreeBSd /dev if it doesn't see the /compat/linux/dev. As you can read in the messages which are referenced there, some programs have problems with an existing /dev, some have a problem without. How do we decide which program to "fuck-up"? Currently I would suggest to print a message in citrix_ica which explains this issue. Or test if some popular ports (in the thread there was skype referenced as one of the programs which does not work well when creating the LINUXBASE/dev) work now when the directory exists. Better ideas to get it working by default for all are welcome. Bye, Alexander. -- ...and that is how we know the Earth to be banana-shaped. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 21:37:12 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E10EC16A419 for ; Sat, 24 Nov 2007 21:37:12 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from mgm3-auth.coxhn.net (24-234-116-142.ptp.lvcm.net [24.234.116.142]) by mx1.freebsd.org (Postfix) with ESMTP id 9ABB613C465 for ; Sat, 24 Nov 2007 21:37:12 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from [24.120.80.96] (helo=vaio.virtual-estates.net) by mgm3-auth.coxhn.net with esmtp (Exim 3.34 #1) id 1Iw2gT-000117-00; Sat, 24 Nov 2007 13:37:05 -0800 Received: from vaio.virtual-estates.net (localhost [127.0.0.1]) by vaio.virtual-estates.net (8.14.2/8.13.7) with ESMTP id lAOHYwed004308; Sat, 24 Nov 2007 17:34:58 GMT (envelope-from mi@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by vaio.virtual-estates.net (8.14.2/8.13.7/Submit) id lAOHYrQV004307; Sat, 24 Nov 2007 17:34:53 GMT (envelope-from mi@aldan.algebra.com) X-Authentication-Warning: vaio.virtual-estates.net: mi set sender to mi@aldan.algebra.com using -f From: "Mikhail T." To: Alexander Leidinger Date: Sat, 24 Nov 2007 17:34:53 +0000 User-Agent: KMail/1.9.7 References: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> In-Reply-To: <20071123114950.rucek9z1d5w4ksk4@webmail.leidinger.net> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli"<=?utf-8?q?kcG=5EEOVihy+z3/UR=7B6SCQ=0A?= MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Content-Disposition: inline Message-Id: <200711241734.53625@Misha> Cc: freebsd-emulation@freebsd.org Subject: Re: Linux SDL still broken - even on i386 (Re: something wrong with Linux on 6.2-stable/amd64) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 21:37:13 -0000 0L8n0Y/RgtC90LjRhtGPIDIzINC70LjRgdGC0L7Qv9Cw0LQgMjAwNywgQWxleGFuZGVyIExlaWRp bmdlciwg0JLQuCDQvdCw0L/QuNGB0LDQu9C4Ogo9IFBsZWFzZSBjaGVjayBpZiDCoAo9IGh0dHA6 Ly9saXN0cy5mcmVlYnNkLm9yZy9waXBlcm1haWwvY3ZzLWFsbC8yMDA3LVNlcHRlbWJlci8yMzI4 NjkuaHRtbCDCoAo9IGZpeGVzIHRoZSBwcm9ibGVtLgoKQXBwbGllZCBieSBoYW5kLCByZWJ1aWx0 LCByZWJvb3RlZC4gU3RpbGwgYnJva2VuLi4uCgoJLW1pCg== From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 24 22:37:38 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5159C16A419; Sat, 24 Nov 2007 22:37:38 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 0119813C459; Sat, 24 Nov 2007 22:37:37 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 3CEE166A402; Sat, 24 Nov 2007 23:19:48 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T1C6GNQKl5Aq; Sat, 24 Nov 2007 23:19:47 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0184366A3EE; Sat, 24 Nov 2007 23:19:46 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lAOMJkou074694; Sat, 24 Nov 2007 23:19:46 +0100 (CET) (envelope-from rdivacky) Date: Sat, 24 Nov 2007 23:19:46 +0100 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20071124221946.GA74651@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: des@freebsd.org Subject: compat/linprocfs X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2007 22:37:38 -0000 hi in compat/linprocfs/linprocfs.c:linprocfs_doprocmaps() there's unsigned int last_timestamp; variable declaration, this variable is used only once in this function: if (last_timestamp + 1 != map->timestamp) { ie. the map->timestamp is compared to some stack garbage + 1. this does not seem to be correct, the last_timestamp must be set somewhere.. comments? roman