From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 07:02:39 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EDD716A405 for ; Mon, 16 Jul 2007 07:02:39 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id EBFD113C4A3 for ; Mon, 16 Jul 2007 07:02:38 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 7AF582C50CB2; Mon, 16 Jul 2007 09:50:01 +0300 (EEST) Date: Mon, 16 Jul 2007 09:49:55 +0300 From: Ion-Mihai Tetcu To: Alexander Leidinger Message-ID: <20070716094955.3e6bf069@it.buh.tecnik93.com> In-Reply-To: <20070618204430.69143c97@deskjail> References: <20070615203411.8139.qmail@mail.integrity.hu> <67772807@serv3.int.kfs.ru> <20070618204430.69143c97@deskjail> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_x5Rb_pUhSM756qhSaylVeH2; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Zahemszky Gabor , freebsd-emulation@FreeBSD.org Subject: Re: linux-nero on freebsd does not work :-( 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, 16 Jul 2007 07:02:39 -0000 --Sig_x5Rb_pUhSM756qhSaylVeH2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 18 Jun 2007 20:44:30 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (Mon, 18 Jun 2007 18:11:52 > +0400): >=20 > > Cc'ing to emulation@ > >=20 > > On Fri, 15 Jun 2007 22:34:11 +0200 Zahemszky Gabor wrote: > >=20 > > > I'd like to try your Linux-Nero port on my FreeBSD machines. All > > > of them (2 laptops and a desktop machine) failed: nero started, I > > > have to accept the licence, an after it type my name/company and > > > serial number. > > > But in that page, I cannot click on the OK button, but only on > > > Cancel. I think, the licence code is a a demo licence, and it > > > should > >=20 > > I think you should buy a valid key. It was allowed to use linux-nero > > beta version without a valid key (imo). >=20 > Note, the button is not greyed out on -current... On 7.0-CURRENT #0: Thu Jul 12 20:31:29 EEST 2007 it is. --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" --Sig_x5Rb_pUhSM756qhSaylVeH2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGmxUZBX6fi0k6KXsRAtZ4AKCgroXneVr7HWLixNS7lwsEJTXq+QCfQJzo 783r3Axo3H9keeybTTHdOuw= =F6N6 -----END PGP SIGNATURE----- --Sig_x5Rb_pUhSM756qhSaylVeH2-- From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 11:08:14 2007 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93AFA16A418 for ; Mon, 16 Jul 2007 11:08:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F03C13C4B4 for ; Mon, 16 Jul 2007 11:08:14 +0000 (UTC) (envelope-from owner-bugmaster@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 l6GB8Epl017968 for ; Mon, 16 Jul 2007 11:08:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6GB8DxP017964 for freebsd-emulation@FreeBSD.org; Mon, 16 Jul 2007 11:08:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Jul 2007 11:08:13 GMT Message-Id: <200707161108.l6GB8DxP017964@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 you 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, 16 Jul 2007 11:08:14 -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/77710 emulation [linux] Linux page fault sigcontext information is wro o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 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 o ports/112355 emulation [PATCH] emulators/vmware3: cleanup non-supported FreeB f ports/114405 emulation emulators/linux_base-fc4 - glibc-common-2.3.6-3.i386.r 10 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 11:53:56 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D12B316A401 for ; Mon, 16 Jul 2007 11:53:56 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id A913E13C461 for ; Mon, 16 Jul 2007 11:53:56 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.vnode.org (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l6GBrr4N031395 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 16 Jul 2007 06:53:56 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <469B5C51.3050701@freebsd.org> Date: Mon, 16 Jul 2007 06:53:53 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.4 (X11/20070629) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Subject: Another QEMU oddity.. 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, 16 Jul 2007 11:53:56 -0000 Since QEMU is a popular subject lately, I think I'll bring up one more issue. When booting FreeBSD (-CURRENT in this case) in a QEMU session (with or without any kqemu), it nearly always hangs at the loader countdown screen, somewhere in the 1-10 seconds it takes to countdown. When it hangs, it spins doing: [..snip..] 3216 qemu CALL clock_gettime(0x4,0xbfbfb048) 3216 qemu RET clock_gettime 0 3216 qemu CALL sigreturn(0xbfbfb0b0) 3216 qemu RET sigreturn JUSTRETURN 3216 qemu CALL sigprocmask(SIG_SETMASK,0xbfbfb360,0) 3216 qemu RET sigprocmask 0 3216 qemu CALL sigprocmask(SIG_BLOCK,0,0x28669288) 3216 qemu RET sigprocmask 0 3216 qemu CALL select(0xa,0xbfbfb3c0,0xbfbfb340,0xbfbfb2c0,0xbfbfb2b8) 3216 qemu RET select 0 3216 qemu CALL clock_gettime(0x4,0xbfbfb278) 3216 qemu RET clock_gettime 0 3216 qemu CALL clock_gettime(0x4,0xbfbfb218) 3216 qemu RET clock_gettime 0 3216 qemu CALL clock_gettime(0x4,0xbfbfb278) 3216 qemu RET clock_gettime 0 3216 qemu CALL sigprocmask(SIG_BLOCK,0,0x28669288) 3216 qemu RET sigprocmask 0 3216 qemu PSIG SIGALRM caught handler=0x804bf14 mask=0x0 code=0x0 3216 qemu CALL clock_gettime(0x4,0xbfbfb048) 3216 qemu RET clock_gettime 0 3216 qemu CALL sigreturn(0xbfbfb0b0) 3216 qemu RET sigreturn JUSTRETURN [..repeats forever..] In the QEMU console, if I press a key it will break the loop and move on just fine. The only problem is that I can't have auto-started qemu FreeBSD systems, since it requires a keystroke to boot it up. Anyone have any ideas on this? I can test any patches, and do whatever debugging someone whats to point me to. Side note: Windows qemu sessions do not do this, and FreeBSD boots that do not use the loader software also don't do it if I recall correctly. Eric From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 13:21:44 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E816A16A400; Mon, 16 Jul 2007 13:21:44 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail.qubesoft.com (gate.qubesoft.com [217.169.36.34]) by mx1.freebsd.org (Postfix) with ESMTP id 87AE913C442; Mon, 16 Jul 2007 13:21:44 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [10.201.19.245] (doug02.dyn.qubesoft.com [10.201.19.245]) by mail.qubesoft.com (8.13.3/8.13.3) with ESMTP id l6GD2Mhw061791; Mon, 16 Jul 2007 14:02:28 +0100 (BST) (envelope-from dfr@rabson.org) In-Reply-To: <469B5C51.3050701@freebsd.org> References: <469B5C51.3050701@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <367D7367-9725-4CC7-B00A-564E08CDD978@rabson.org> Content-Transfer-Encoding: 7bit From: Doug Rabson Date: Mon, 16 Jul 2007 14:02:20 +0100 To: Eric Anderson X-Mailer: Apple Mail (2.752.2) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.qubesoft.com X-Virus-Scanned: ClamAV 0.86.2/3680/Mon Jul 16 06:49:06 2007 on mail.qubesoft.com X-Virus-Status: Clean Cc: freebsd-emulation@freebsd.org Subject: Re: Another QEMU oddity.. 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, 16 Jul 2007 13:21:45 -0000 On 16 Jul 2007, at 12:53, Eric Anderson wrote: > Since QEMU is a popular subject lately, I think I'll bring up one > more issue. > > When booting FreeBSD (-CURRENT in this case) in a QEMU session > (with or without any kqemu), it nearly always hangs at the loader > countdown screen, somewhere in the 1-10 seconds it takes to > countdown. When it hangs, it spins doing: I get the opposite problem - if I don't click on the qemu window, the countdown goes too fast and I can't stop the thing before it boots. I figured that something bad was happening to the emulated clock. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 15:11:01 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFD5916A404; Mon, 16 Jul 2007 15:11:01 +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 6657513C441; Mon, 16 Jul 2007 15:11:00 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B683B8BFE54; Mon, 16 Jul 2007 17:10:59 +0200 (CEST) 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 Kr9+slWmWY0u; Mon, 16 Jul 2007 17:10:58 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B02488BFAEF; Mon, 16 Jul 2007 17:10:58 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6GFAw6J067978; Mon, 16 Jul 2007 17:10:58 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 16 Jul 2007 17:10:58 +0200 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20070716151058.GA67901@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: panic when using module built in modules directory 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, 16 Jul 2007 15:11:01 -0000 hi can someone test whether buildkernel && cd /sys/modules/linux && make && make install kldload linux && chroot /compat/linux /bin/bash produces an instant panic? it does for me. ie. when the linux module is built with kernel its ok, but when I build it separately in sys/modules/linux it panic in turnstiles... it used to work so I'd love to know.. thnx for testing roman From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 15:46:39 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBC1D16A406; Mon, 16 Jul 2007 15:46:39 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5440813C4A7; Mon, 16 Jul 2007 15:46:37 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6GFZEDJ001206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Jul 2007 19:35:20 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6GFZDfa001205; Mon, 16 Jul 2007 19:35:13 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Mon, 16 Jul 2007 19:35:13 +0400 From: Yuri Pankov To: Roman Divacky Message-ID: <20070716153513.GA1164@darklight.org.ru> References: <20070716151058.GA67901@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: <20070716151058.GA67901@freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Mon, 16 Jul 2007 19:35:20 +0400 (MSD) Cc: emulation@freebsd.org Subject: Re: panic when using module built in modules directory 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, 16 Jul 2007 15:46:39 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 16, 2007 at 05:10:58PM +0200, Roman Divacky wrote: > hi >=20 > can someone test whether >=20 > buildkernel && cd /sys/modules/linux && make && make install > kldload linux && chroot /compat/linux /bin/bash >=20 > produces an instant panic? it does for me. ie. when the linux module > is built with kernel its ok, but when I build it separately in > sys/modules/linux it panic in turnstiles... it used to work so I'd > love to know.. >=20 > thnx for testing >=20 > roman >=20 Confirmed. :-) CURRENT/amd64 built on Jul, 12. Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x408 fault code =3D supervisor write data, page not present instruction pointer =3D 0x8:0xffffffffafe89414 stack pointer =3D 0x10:0xffffffffaffdb680 frame pointer =3D 0x10:0xffffffffaffdb6b0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 71888 (chroot) trap number =3D 12 panic: page fault cpuid =3D 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_pfault() at trap_pfault+0x294 trap() at trap+0x2ea calltrap() at calltrap+0x8 --- trap 0xc, rip =3D 0xffffffffafe89414, rsp =3D 0xffffffffaffdb680, rbp = =3D 0xffffffffaffdb6b0 --- linux_proc_init() at linux_proc_init+0x124 linux_proc_exec() at linux_proc_exec+0x4a exec_new_vmspace() at exec_new_vmspace+0x74 exec_elf32_imgact() at exec_elf32_imgact+0x1bd kern_execve() at kern_execve+0x2fe execve() at execve+0x3d syscall() at syscall+0x254 Xfast_syscall() at Xfast_syscall+0xab --- syscall (59, FreeBSD ELF64, execve), rip =3D 0x80069d06c, rsp =3D 0x7fffffffe5b8, rbp =3D 0x7fffffffeab0 --- Uptime: 6h41m18s Physical memory: 2035 MB Dumping 354 MB: 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3 Yuri --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGm5AteoAklVFrLdgRAlnRAJoCqKiSvvfWYVdRqnyIKGb+TNRNQQCfQ893 Ow7elRgbcWq/HIcWofitzYo= =giv8 -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 16:01:01 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF16516A404 for ; Mon, 16 Jul 2007 16:01:01 +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 8589C13C4B6 for ; Mon, 16 Jul 2007 16:01:01 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 324128BFADF; Mon, 16 Jul 2007 18:01:00 +0200 (CEST) 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 n358aQXmuGkx; Mon, 16 Jul 2007 18:00:58 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 81AA28BF8F7; Mon, 16 Jul 2007 18:00:58 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6GG0wEY069111; Mon, 16 Jul 2007 18:00:58 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 16 Jul 2007 18:00:58 +0200 From: Roman Divacky To: Yuri Pankov Message-ID: <20070716160058.GA69044@freebsd.org> References: <20070716151058.GA67901@freebsd.org> <20070716153513.GA1164@darklight.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070716153513.GA1164@darklight.org.ru> User-Agent: Mutt/1.4.2.3i Cc: emulation@freebsd.org Subject: Re: panic when using module built in modules directory 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, 16 Jul 2007 16:01:01 -0000 > Confirmed. :-) CURRENT/amd64 built on Jul, 12. great.. I have ENTIRELY different panic :) mine panics in turnstiles... anyway it initiates in linux_proc_exec() as well, I wonder what's going on.. this smells really bad > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x408 > fault code = supervisor write data, page not present > instruction pointer = 0x8:0xffffffffafe89414 > stack pointer = 0x10:0xffffffffaffdb680 > frame pointer = 0x10:0xffffffffaffdb6b0 > 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 = 71888 (chroot) > 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_pfault() at trap_pfault+0x294 > trap() at trap+0x2ea > calltrap() at calltrap+0x8 > --- trap 0xc, rip = 0xffffffffafe89414, rsp = 0xffffffffaffdb680, rbp = > 0xffffffffaffdb6b0 --- > linux_proc_init() at linux_proc_init+0x124 > linux_proc_exec() at linux_proc_exec+0x4a > exec_new_vmspace() at exec_new_vmspace+0x74 > exec_elf32_imgact() at exec_elf32_imgact+0x1bd > kern_execve() at kern_execve+0x2fe > execve() at execve+0x3d > syscall() at syscall+0x254 > Xfast_syscall() at Xfast_syscall+0xab > --- syscall (59, FreeBSD ELF64, execve), rip = 0x80069d06c, rsp = > 0x7fffffffe5b8, rbp = 0x7fffffffeab0 --- > Uptime: 6h41m18s > Physical memory: 2035 MB > Dumping 354 MB: 339 323 307 291 275 259 243 227 211 195 179 163 147 131 > 115 99 83 67 51 35 19 3 > > > Yuri From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 16:21:56 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFBAB16A405; Mon, 16 Jul 2007 16:21:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail.qubesoft.com (gate.qubesoft.com [217.169.36.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8276913C4B8; Mon, 16 Jul 2007 16:21:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [10.201.19.245] (doug02.dyn.qubesoft.com [10.201.19.245]) by mail.qubesoft.com (8.13.3/8.13.3) with ESMTP id l6GFmtMY067885; Mon, 16 Jul 2007 16:48:59 +0100 (BST) (envelope-from dfr@rabson.org) In-Reply-To: <20070716151058.GA67901@freebsd.org> References: <20070716151058.GA67901@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5E9114D6-1235-4D6B-81ED-EE4228DE104E@rabson.org> Content-Transfer-Encoding: 7bit From: Doug Rabson Date: Mon, 16 Jul 2007 16:48:54 +0100 To: Roman Divacky X-Mailer: Apple Mail (2.752.2) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.qubesoft.com X-Virus-Scanned: ClamAV 0.86.2/3681/Mon Jul 16 14:16:18 2007 on mail.qubesoft.com X-Virus-Status: Clean Cc: emulation@freebsd.org Subject: Re: panic when using module built in modules directory 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, 16 Jul 2007 16:21:57 -0000 On 16 Jul 2007, at 16:10, Roman Divacky wrote: > hi > > can someone test whether > > buildkernel && cd /sys/modules/linux && make && make install > kldload linux && chroot /compat/linux /bin/bash > > produces an instant panic? it does for me. ie. when the linux module > is built with kernel its ok, but when I build it separately in > sys/modules/linux it panic in turnstiles... it used to work so I'd > love to know.. > > thnx for testing A similar thing popped up with the qemu kernel modile. The regular kernel build defines KSE which changes the layout of struct proc. Is the standalone module build defining this? From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 20:48:23 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 213B916A403 for ; Mon, 16 Jul 2007 20:48:23 +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 CF95E13C4A5 for ; Mon, 16 Jul 2007 20:48:22 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 15FB58BFEA8 for ; Mon, 16 Jul 2007 22:48:21 +0200 (CEST) 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 mFxr2ZDPnjLE for ; Mon, 16 Jul 2007 22:48:20 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 00E088BFB2D for ; Mon, 16 Jul 2007 22:48:19 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6GKmJGV025371 for emulation@freebsd.org; Mon, 16 Jul 2007 22:48:19 +0200 (CEST) (envelope-from rdivacky) Date: Mon, 16 Jul 2007 22:48:19 +0200 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20070716204819.GA25205@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: pthread_cancel crashing simplified 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, 16 Jul 2007 20:48:23 -0000 hi... after a little looking around I managed to simplify the crashing case to simple: main() { kill(getpid(), 32); } when you compile this as "gcc foo.c" it works, but when compiled with "gcc foo.c -lpthread" it crashes. the handler for this signal can be seen in glibc sources at: nptl/init.c:140 (glibc 2.3.6 which is what I am using to test and also what fc4 uses) I reckon the solution is close so if someone wants to step in and take the eternal glory of fixing it.. go ahead! :) or at least.. can someone confirm that it crashes on amd64-linuxulator? that would rule out TLS bug. btw. I think/hope this is the cause of flash9 crashing etc. also jdk15 crash. thnx roman From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 17 10:53:57 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4134516A401 for ; Tue, 17 Jul 2007 10:53:57 +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 EE92213C4A3 for ; Tue, 17 Jul 2007 10: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 60FE38BFF2C for ; Tue, 17 Jul 2007 12:53:53 +0200 (CEST) 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 oMncnSXDbC0J for ; Tue, 17 Jul 2007 12:53:51 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1F9388BFF20 for ; Tue, 17 Jul 2007 12:53:51 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6HAroN3043804 for emulation@freebsd.org; Tue, 17 Jul 2007 12:53:50 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 17 Jul 2007 12:53:50 +0200 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20070717105350.GA43780@freebsd.org> References: <20070716204819.GA25205@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070716204819.GA25205@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: pthread_cancel crashing simplified 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, 17 Jul 2007 10:53:57 -0000 On Mon, Jul 16, 2007 at 10:48:19PM +0200, Roman Divacky wrote: > hi... > > after a little looking around I managed to simplify the crashing case > to simple: > > main() > { > kill(getpid(), 32); > } > > when you compile this as "gcc foo.c" it works, but when compiled with > "gcc foo.c -lpthread" it crashes. the handler for this signal can be > seen in glibc sources at: nptl/init.c:140 (glibc 2.3.6 which is what I > am using to test and also what fc4 uses) > > I reckon the solution is close so if someone wants to step in and > take the eternal glory of fixing it.. go ahead! :) or at least.. can someone > confirm that it crashes on amd64-linuxulator? that would rule out TLS bug. it works ok on amd64 so I think something's wrong with i386/TLS From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 04:03:46 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 9C26C16A41F for ; Fri, 20 Jul 2007 04:03:46 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 50DD813C46B for ; Fri, 20 Jul 2007 04:03:46 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l6K3g0Bo053142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Jul 2007 23:42:01 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l6K3g0rY053141 for emulation@FreeBSD.org; Thu, 19 Jul 2007 23:42:00 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: emulation@FreeBSD.org Date: Thu, 19 Jul 2007 23:41:59 -0400 User-Agent: KMail/1.9.6 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: Subject: 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, 20 Jul 2007 04:03:46 -0000 Hello! I updated my 6.2-stable install from June 7th to July 17th version and can no longer run "Civillization Call to Power" -- a Linux SDL-using game. I did not rebuild any ports -- just the OS. On startup the process goes into tight loop with only occasional syscalls (according to ktrace): 53113 civctp RET old.gethostid 0 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) 53113 civctp RET old.gethostid 0 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) 53113 civctp RET old.gethostid 0 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) 53113 civctp RET old.gethostid 0 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) 53113 civctp RET old.gethostid 0 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) It used to "just work" both on my i386 laptop and on the amd64 desktop systems. -mi From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 08:26:42 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 AA9C816A418 for ; Fri, 20 Jul 2007 08:26:42 +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 6310013C480 for ; Fri, 20 Jul 2007 08:26:39 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8209E8C0180; Fri, 20 Jul 2007 10:26:38 +0200 (CEST) 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 c6Avqa1PsU1Q; Fri, 20 Jul 2007 10:26:37 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 71E718C0170; Fri, 20 Jul 2007 10:26:37 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6K8QaWv033447; Fri, 20 Jul 2007 10:26:36 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 20 Jul 2007 10:26:36 +0200 From: Roman Divacky To: Mikhail Teterin Message-ID: <20070720082636.GA33427@freebsd.org> References: <200707192341.59940@aldan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707192341.59940@aldan> User-Agent: Mutt/1.4.2.3i Cc: emulation@FreeBSD.org Subject: 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, 20 Jul 2007 08:26:42 -0000 On Thu, Jul 19, 2007 at 11:41:59PM -0400, Mikhail Teterin wrote: > Hello! > > I updated my 6.2-stable install from June 7th to July 17th version and can no > longer run "Civillization Call to Power" -- a Linux SDL-using game. I did not > rebuild any ports -- just the OS. can you check if it works on 7-current? From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 11:11: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 0CCA216A41F for ; Fri, 20 Jul 2007 11:11:39 +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 C069213C4B7 for ; Fri, 20 Jul 2007 11:11:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A562D6.dip.t-dialin.net [84.165.98.214]) by redbull.bpaserver.net (Postfix) with ESMTP id EBFDD2E062; Fri, 20 Jul 2007 13:11:32 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id DB53B5B5B7F; Fri, 20 Jul 2007 13:09:20 +0200 (CEST) Date: Fri, 20 Jul 2007 13:13:13 +0200 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20070720131313.42a13b19@deskjail> In-Reply-To: <200707192341.59940@aldan> References: <200707192341.59940@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-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=-12.646, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, IMPRONONCABLE_2 1.50, J_CHICKENPOX_39 0.60, RDNS_DYNAMIC 0.10, TW_IV 0.08, TW_VC 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: mi+kde@aldan.algebra.com Subject: 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, 20 Jul 2007 11:11:39 -0000 Quoting Mikhail Teterin (Thu, 19 Jul 2007 23:41:59 -0400): > Hello! > > I updated my 6.2-stable install from June 7th to July 17th version and can no > longer run "Civillization Call to Power" -- a Linux SDL-using game. I did not > rebuild any ports -- just the OS. > > On startup the process goes into tight loop with only occasional syscalls > (according to ktrace): The FreeBSD ktrace may not decode the linux calls correctly... Please decode with linux_kdump (in ports or at http://www.Leidinger.net/FreeBSD/ as a i386 package). > 53113 civctp RET old.gethostid 0 > 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) > 53113 civctp RET old.gethostid 0 > 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) > 53113 civctp RET old.gethostid 0 > 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) > 53113 civctp RET old.gethostid 0 > 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) > 53113 civctp RET old.gethostid 0 > 53113 civctp CALL old.gethostid(0,0,0,0,0xff7ffc30) > > It used to "just work" both on my i386 laptop and on the amd64 desktop > systems. We have some bugfixes in -stable now. One large change is the linux mmap code. So far we are not aware of problems with it, and according to the linux test suite LTP we are more correct in the mmap handling now. I have some more fixes for -stable in the wings. I try to get some time to polish them up and tell you where to download for a test. Bye, Alexander. -- QOTD: "I won't say he's untruthful, but his wife has to call the dog for dinner." 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 Jul 20 11:40:00 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 AEA0716A418 for ; Fri, 20 Jul 2007 11:40:00 +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 685B413C480 for ; Fri, 20 Jul 2007 11:40:00 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id CB4258C0196 for ; Fri, 20 Jul 2007 13:39:58 +0200 (CEST) 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 Os5Ym3G0NtJx for ; Fri, 20 Jul 2007 13:39:57 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B67908C0193 for ; Fri, 20 Jul 2007 13:39:57 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6KBdv5Z038492 for emulation@freebsd.org; Fri, 20 Jul 2007 13:39:57 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 20 Jul 2007 13:39:57 +0200 From: Roman Divacky To: emulation@freebsd.org Message-ID: <20070720113957.GA38359@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: [PATCH]: linux epoll syscalls 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, 20 Jul 2007 11:40:00 -0000 hi I implemented linux epoll syscalls. I have very limited ways to test this because of problems with LTP (I think its unrelated to epoll syscalls itself). the patch is here: www.vlakno.cz/~rdivacky/linux_epoll.patch please test it "somehow". I used my testing program: www.vlakno.cz/~rdivacky/epoll.c which is very limiting testing but still better than nothing. if you know of any program that uses epoll please try to run that in linuxulator with this patch. thank you roman From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 12:33: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 DCFF416A47D for ; Fri, 20 Jul 2007 12:33:46 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 94CBE13C491 for ; Fri, 20 Jul 2007 12:33:46 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l6KC0KBj017417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2007 08:00:20 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l6KC0Kkd017416; Fri, 20 Jul 2007 08:00:20 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Alexander Leidinger Date: Fri, 20 Jul 2007 08:00:19 -0400 User-Agent: KMail/1.9.6 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" Cc: freebsd-emulation@freebsd.org Subject: 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, 20 Jul 2007 12:33:47 -0000 On Π'ΡΤΞΙΓΡ 20 ΜΙΠΕΞΨ 2007, Alexander Leidinger wrote: = The FreeBSD ktrace may not decode the linux calls correctly... Please = decode with linux_kdump (in ports or at = http://www.Leidinger.net/FreeBSD/ as a i386 package). I can't build it from source: ===> linux_kdump-1.5_2 does not build with the default linux base, use the package instead. *** Error code 1 and I can't use your i386 package on amd64, or can I?.. = We have some bugfixes in -stable now. One large change is the linux = mmap code. So far we are not aware of problems with it, and according = to the linux test suite LTP we are more correct in the mmap handling = now. I have some more fixes for -stable in the wings. I try to get some = time to polish them up and tell you where to download for a test. I can let you download the game for your testing. Let me know -- I'll tar it up. -mi From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 12:43:55 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 6AD3C16A417 for ; Fri, 20 Jul 2007 12:43:55 +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 27EEA13C45A for ; Fri, 20 Jul 2007 12:43:54 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A562D6.dip.t-dialin.net [84.165.98.214]) by redbull.bpaserver.net (Postfix) with ESMTP id DEE572E335; Fri, 20 Jul 2007 14:43:48 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id C1E445B5B7F; Fri, 20 Jul 2007 14:41:36 +0200 (CEST) Date: Fri, 20 Jul 2007 14:45:29 +0200 From: Alexander Leidinger To: Mikhail Teterin Message-ID: <20070720144529.63aa21d3@deskjail> In-Reply-To: <200707200800.19941@aldan> References: <200707192341.59940@aldan> <20070720131313.42a13b19@deskjail> <200707200800.19941@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: 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, 20 Jul 2007 12:43:55 -0000 Quoting Mikhail Teterin (Fri, 20 Jul 2007 08:00:= 19 -0400): > On =D0=BF'=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D1=8F 20 =D0=BB=D0=B8=D0=BF=D0= =B5=D0=BD=D1=8C 2007, Alexander Leidinger wrote: > =3D The FreeBSD ktrace may not decode the linux calls correctly... Please > =3D decode with linux_kdump (in ports or at > =3D http://www.Leidinger.net/FreeBSD/ as a i386 package). >=20 > I can't build it from source: >=20 > =3D=3D=3D> linux_kdump-1.5_2 does not build with the default linux base,= use the=20 > package instead. > *** Error code 1 Temporary deinstall linux_base-fc4, install the linux_kdump port, deinstall the linux_base-gentoo port (only a build dependency) and reinstall the linux_base-fc4 port again. > and I can't use your i386 package on amd64, or can I?.. You can use the i386 binary, but it is not able to decode the 64bit fields in the ktrace (there may be some if you trace more than the linux stuff). Bye, Alexander. --=20 To erase a line you've written at the command prompt, use "Ctrl-U". -- Dru http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 12:53:30 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 9B9DC16A419 for ; Fri, 20 Jul 2007 12:53:30 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 34CEC13C480 for ; Fri, 20 Jul 2007 12:53:29 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l6KCrSZY017621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2007 08:53:29 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l6KCrSwh017620; Fri, 20 Jul 2007 08:53:28 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Alexander Leidinger Date: Fri, 20 Jul 2007 08:53:28 -0400 User-Agent: KMail/1.9.6 References: <200707192341.59940@aldan> <200707200800.19941@aldan> <20070720144529.63aa21d3@deskjail> In-Reply-To: <20070720144529.63aa21d3@deskjail> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-emulation@freebsd.org Subject: 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, 20 Jul 2007 12:53:30 -0000 On ΠΏ'ятниця 20 липСнь 2007, Alexander Leidinger wrote: = Temporary deinstall linux_base-fc4, install the linux_kdump port, = deinstall the linux_base-gentoo port (only a build dependency) and = reinstall the linux_base-fc4 port again. You funny... = > and I can't use your i386 package on amd64, or can I?.. = = You can use the i386 binary, but it is not able to decode the 64bit = fields in the ktrace (there may be some if you trace more than the = linux stuff). The package you host on your site is for -current. Fortunately, there is a cluster-built one ftp.freebsd.org. All the syscalls, that were shown as `old.hostname' by the native kdump, are now shown as: 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) 53113 civctp RET linux_select 0 Not sure, if this helps or not... Probably, not, because, as I said, the syscalls aren't frequent enough to even saturate the xterm. Most of the CPU time appears to be spent by the program itself. -mi From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 13:20:04 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 83E2F16A417; Fri, 20 Jul 2007 13:20:04 +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 4122913C48D; Fri, 20 Jul 2007 13:20:04 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A562D6.dip.t-dialin.net [84.165.98.214]) by redbull.bpaserver.net (Postfix) with ESMTP id DFAA12E33A; Fri, 20 Jul 2007 15:19:57 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id C58165B5B7F; Fri, 20 Jul 2007 15:17:45 +0200 (CEST) Date: Fri, 20 Jul 2007 15:21:38 +0200 From: Alexander Leidinger To: Mikhail Teterin Message-ID: <20070720152138.47b2e4b5@deskjail> In-Reply-To: <200707200853.28425@aldan> References: <200707192341.59940@aldan> <200707200800.19941@aldan> <20070720144529.63aa21d3@deskjail> <200707200853.28425@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-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=-13.246, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, IMPRONONCABLE_2 1.50, 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, ariff@freebsd.org Subject: 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, 20 Jul 2007 13:20:04 -0000 Quoting Mikhail Teterin (Fri, 20 Jul 2007 08:53:28 -0400): > All the syscalls, that were shown as `old.hostname' by the native kdump, are > now shown as: > > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > 53113 civctp CALL linux_select(0,0,0,0,0xff7ffc30) > 53113 civctp RET linux_select 0 > > Not sure, if this helps or not... Probably, not, because, as I said, the > syscalls aren't frequent enough to even saturate the xterm. Most of the CPU > time appears to be spent by the program itself. Do you have sound output? The mmap changes result in a problem with some sound stuff. There's a new sysctl for this, but AFAIK there's no UPDATING entry (yet): ---snip--- New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page mapping, due to recent changes in linux compatibility layer which require it. All linux applications that using sound + mmap() (mostly games) require this to be enabled. Disabled by default. ---snip--- This may or may not solve your problem. I don't remember changes to linux_select, so this is the only thing I can up with to help you... If it doesn't work, you have to have a look at my linux changes in stable (5 or 6 in total) and binary search between them for the problematic one. Bye, Alexander. -- Extreme feminine beauty is always disturbing. -- Spock, "The Cloud Minders", stardate 5818.4 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 Jul 20 14:13:15 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 21C1B16A417 for ; Fri, 20 Jul 2007 14:13:15 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id C927C13C467 for ; Fri, 20 Jul 2007 14:13:14 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l6KEDDpB090788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2007 10:13:13 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l6KEDDq0090787; Fri, 20 Jul 2007 10:13:13 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Alexander Leidinger Date: Fri, 20 Jul 2007 10:13:12 -0400 User-Agent: KMail/1.9.6 References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> In-Reply-To: <20070720152138.47b2e4b5@deskjail> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-emulation@freebsd.org, ariff@freebsd.org Subject: 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, 20 Jul 2007 14:13:15 -0000 On Π'ΡΤΞΙΓΡ 20 ΜΙΠΕΞΨ 2007, Alexander Leidinger wrote: = Do you have sound output? The mmap changes result in a problem with = some sound stuff. Yes, I do. = There's a new sysctl for this, but AFAIK there's no UPDATING entry (yet): = ---snip--- = New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page = mapping, due to recent changes in linux compatibility layer which = require it. All linux applications that using sound + mmap() (mostly = games) require this to be enabled. Disabled by default. = ---snip--- There must be very good reasons for breaking compatibility so... = This may or may not solve your problem. I don't remember changes to = linux_select, so this is the only thing I can up with to help you... No, setting hw.snd.compat_linux_mmap did not change anything. Did I have to reboot or something for it to have effect? = If it doesn't work, you have to have a look at my linux changes in = stable (5 or 6 in total) and binary search between them for the = problematic one. Could you identify them for me, please? -mi P.S. Frankly, should not the burden of debugging be on you, actually? From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 16: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 161B216A417; Fri, 20 Jul 2007 16:19:46 +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 C7B3313C457; Fri, 20 Jul 2007 16:19:45 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A562D6.dip.t-dialin.net [84.165.98.214]) by redbull.bpaserver.net (Postfix) with ESMTP id 34D132E33E; Fri, 20 Jul 2007 18:19:37 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 242B55B5B7F; Fri, 20 Jul 2007 18:17:25 +0200 (CEST) Date: Fri, 20 Jul 2007 18:21:17 +0200 From: Alexander Leidinger To: Mikhail Teterin Message-ID: <20070720182117.08016bcc@deskjail> In-Reply-To: <200707201013.13391@aldan> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, ariff@freebsd.org Subject: 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, 20 Jul 2007 16:19:46 -0000 Quoting Mikhail Teterin (Fri, 20 Jul 2007 10:13:= 12 -0400): > On =D0=BF'=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D1=8F 20 =D0=BB=D0=B8=D0=BF=D0= =B5=D0=BD=D1=8C 2007, Alexander Leidinger wrote: > =3D Do you have sound output? The mmap changes result in a problem with > =3D some sound stuff. >=20 > Yes, I do. >=20 > =3D There's a new sysctl for this, but AFAIK there's no UPDATING entry (y= et): > =3D ---snip--- > =3D New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page > =3D mapping, due to recent changes in linux compatibility layer which > =3D require it. All linux applications that using sound + mmap() (mostly > =3D games) require this to be enabled. Disabled by default. > =3D ---snip--- >=20 > There must be very good reasons for breaking compatibility so... Is improving compatibility for other use cases a reason which is good enough? > =3D This may or may not solve your problem. I don't remember changes to > =3D linux_select, so this is the only thing I can up with to help you... >=20 > No, setting hw.snd.compat_linux_mmap did not change anything. Did I have= to=20 > reboot or something for it to have effect? >=20 > =3D If it doesn't work, you have to have a look at my linux changes in > =3D stable (5 or 6 in total) and binary search between them for the > =3D problematic one. >=20 > Could you identify them for me, please? http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/?only_with_tag= =3DRELENG_6#dirlist http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/?only_with_tag=3DR= ELENG_6#dirlist http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/?only_with_tag= =3DRELENG_6#dirlist MFC 1 is only style. MFC 2 and 4 may be a candidate. For MFC 2 I don't see how it can affect this. MFC 5 is the mmap stuff + errno changes (additional errno translations). MFC 4 handles also some more socket options. > P.S. Frankly, should not the burden of debugging be on you, actually? You are the one with the problem at hand, and I'm the one with not enough time ATM... Bye, Alexander. --=20 The pills to be taken with meals will be the least appetizing ones. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 16:37:48 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 F05EF16A417; Fri, 20 Jul 2007 16:37:48 +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 A889C13C4B6; Fri, 20 Jul 2007 16:37:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54EB0.dip.t-dialin.net [84.165.78.176]) by redbull.bpaserver.net (Postfix) with ESMTP id D62C22E220; Fri, 20 Jul 2007 18:37:44 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id A0BF45B5B7F; Fri, 20 Jul 2007 18:35:32 +0200 (CEST) Date: Fri, 20 Jul 2007 18:39:25 +0200 From: Alexander Leidinger To: Mikhail Teterin Message-ID: <20070720183925.540b7654@deskjail> In-Reply-To: <200707201013.13391@aldan> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-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.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, scf@FreeBSD.org Subject: 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, 20 Jul 2007 16:37:49 -0000 Quoting Mikhail Teterin (Fri, 20 Jul 2007 10:13:12 -0400): > = If it doesn't work, you have to have a look at my linux changes in > = stable (5 or 6 in total) and binary search between them for the > = problematic one. > > Could you identify them for me, please? Additional to what I told you in the last mail regarding reverting some MFCs: I have a patch which is at http://www.Leidinger.net/FreeBSD/linuxolator/mfc/07_rest.diff Before you revert some things, please apply this patch, go to sys/i38/linux and/or sys/amd64/linux32, run "make sysent" and try the resulting kernel. This is not everything I have to MFC, but I don't include the part which results in a double free panic. I also haven't compile or even run tested this part in -stable, so keep a working kernel around in case it panics. Please report how it works for you. Here's what it does (roughly): - sync linuxulator: * fix memleaks * add syscalls: + stat (i386, amd64) + iopl (i386, amd64) + mprotect (i386) + rt_sigpending (i386) + rt_sigtimedwait (i386) + statfs64 (i386, amd64) + utimes (i386, amd64) + settimeofday (amd64) + clock_* (i386, amd64) * de-COMPAT_43-ify: + sethostname + lstat + ftruncate + nanosleep (i386) * add more dummy syscalls so that we know what is needed * bug-/compatibility-fixes Missing is the de-COMPAT_43-ify of some socket stuff. Bye, Alexander. -- You cannot use your friends and have them too. 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 Jul 20 17:17:33 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 E9FB616A417; Fri, 20 Jul 2007 17:17:33 +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 9F22113C46A; Fri, 20 Jul 2007 17:17:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 72B898BFE78; Fri, 20 Jul 2007 19:17:31 +0200 (CEST) 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 JE20u5d7VbRd; Fri, 20 Jul 2007 19:17:30 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 0A6448BFE75; Fri, 20 Jul 2007 19:17:30 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6KHHTqL066464; Fri, 20 Jul 2007 19:17:29 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 20 Jul 2007 19:17:29 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20070720171729.GA66433@freebsd.org> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> <20070720183925.540b7654@deskjail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070720183925.540b7654@deskjail> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, scf@freebsd.org, Mikhail Teterin Subject: 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, 20 Jul 2007 17:17:34 -0000 > * de-COMPAT_43-ify: > + sethostname > + lstat > + ftruncate > + nanosleep (i386) which reminds me... what was the decision about options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] I think I suggested removing the "[KEEP THIS!]" or something From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 17:17:35 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 2032D16A419 for ; Fri, 20 Jul 2007 17:17:35 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id C354C13C4B3 for ; Fri, 20 Jul 2007 17:17:34 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l6KHHXLt004510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2007 13:17:33 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l6KHHWZk004509; Fri, 20 Jul 2007 13:17:32 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Alexander Leidinger Date: Fri, 20 Jul 2007 13:17:32 -0400 User-Agent: KMail/1.9.6 References: <200707192341.59940@aldan> <200707201013.13391@aldan> <20070720183925.540b7654@deskjail> In-Reply-To: <20070720183925.540b7654@deskjail> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-emulation@freebsd.org, scf@freebsd.org Subject: 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, 20 Jul 2007 17:17:35 -0000 On Π'ΡΤΞΙΓΡ 20 ΜΙΠΕΞΨ 2007, Alexander Leidinger wrote: = Additional to what I told you in the last mail regarding reverting some = MFCs: I have a patch which is at = http://www.Leidinger.net/FreeBSD/linuxolator/mfc/07_rest.diff ... -------------------------- |diff -ruh sys/i386/linux/syscalls.master sys/i386/linux/syscalls.master |--- sys/i386/linux/syscalls.master Wed Jul 4 11:47:57 2007 |+++ sys/i386/linux/syscalls.master Tue Jun 26 12:57:36 2007 -------------------------- Patching file sys/i386/linux/syscalls.master using Plan A... Hunk #1 succeeded at 68. Hunk #2 succeeded at 83. Hunk #3 succeeded at 139. Hunk #4 succeeded at 158. Hunk #5 succeeded at 172. Hunk #6 failed at 223. Hunk #7 succeeded at 280. Hunk #8 succeeded at 308. Hunk #9 succeeded at 418. ... Attaching the syscalls.master.rej -- it seems, I already have this change (mprotect to linux_mprotect) applied. = You are the one with the problem at hand, and I'm the one with not = enough time ATM... A very regrettable attitude... I do appreciate, that despite expressing it, you are still trying to help me, but fixing/investigating bugs is not the user's responsibility... -mi From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 21:33: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 4C5D416A418 for ; Fri, 20 Jul 2007 21:33:54 +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 041DD13C45E for ; Fri, 20 Jul 2007 21:33:53 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 398131FDA54; Fri, 20 Jul 2007 23:33:52 +0200 (CEST) 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 l6KLWB8N007411; Fri, 20 Jul 2007 23:32:11 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.8/8.13.6/Submit) id l6KLWBaq007410; Fri, 20 Jul 2007 23:32:11 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 20 Jul 2007 23:32:11 +0200 To: freebsd-current@FreeBSD.org, freebsd-emulation@FreeBSD.org Message-ID: <20070720213211.GA7262@saturn.kn-bremen.de> Mail-Followup-To: freebsd-current@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: kqemu and sched_lock, please test port update 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, 20 Jul 2007 21:33:54 -0000 I just noticed this, and came up with the update below. I still don't have a -current box so I need you to test this before I commit it... Thanx, Juergen Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/kqemu-kmod/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile 14 Jul 2007 17:48:56 -0000 1.19 +++ Makefile 20 Jul 2007 21:21:14 -0000 @@ -7,7 +7,7 @@ PORTNAME= kqemu PORTVERSION= 1.3.0.p11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators kld MASTER_SITES= http://fabrice.bellard.free.fr/qemu/ \ http://qemu.org/ \ Index: files/patch-kqemu-freebsd.c =================================================================== RCS file: /home/pcvs/ports/emulators/kqemu-kmod/files/patch-kqemu-freebsd.c,v retrieving revision 1.5 diff -u -r1.5 patch-kqemu-freebsd.c --- files/patch-kqemu-freebsd.c 6 Feb 2007 20:46:29 -0000 1.5 +++ files/patch-kqemu-freebsd.c 20 Jul 2007 21:17:33 -0000 @@ -1,5 +1,23 @@ Index: kqemu-freebsd.c -@@ -321,6 +321,9 @@ +@@ -208,9 +208,17 @@ + int CDECL kqemu_schedule(void) + { + /* kqemu_log("kqemu_schedule\n"); */ ++#if __FreeBSD_version < 700044 + mtx_lock_spin(&sched_lock); + mi_switch(SW_VOL, NULL); + mtx_unlock_spin(&sched_lock); ++#else ++ /* -current no longer uses sched_lock */ ++ struct thread *td = curthread; ++ thread_lock(td); ++ mi_switch(SW_VOL, NULL); ++ thread_unlock(td); ++#endif + return SIGPENDING(curthread); + } + #endif +@@ -320,6 +328,9 @@ #if __FreeBSD_version >= 500000 dev->si_drv1 = NULL; TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); @@ -9,4 +27,3 @@ destroy_dev(dev); #endif free(ks, M_KQEMU); - From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 22:51:45 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 15F1A16A419; Fri, 20 Jul 2007 22:51:45 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id A72E813C442; Fri, 20 Jul 2007 22:51:44 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IC0g4-0006kr-62; Sat, 21 Jul 2007 02:10:24 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IC0gD-0002vs-HJ; Sat, 21 Jul 2007 02:10:33 +0400 To: freebsd-current@FreeBSD.org References: <20070720213211.GA7262@saturn.kn-bremen.de> From: Boris Samorodov Date: Sat, 21 Jul 2007 02:10:33 +0400 In-Reply-To: <20070720213211.GA7262@saturn.kn-bremen.de> (Juergen Lock's message of "Fri\, 20 Jul 2007 23\:32\:11 +0200") Message-ID: <08469478@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: kqemu and sched_lock, please test port update 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, 20 Jul 2007 22:51:45 -0000 On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > I just noticed this, and came up with the update below. I still don't > have a -current box so I need you to test this before I commit it... Kqemu with the patch compiles well at amd64-current as of yesterday. Don't have time ATM to check running. Thanks for the patch! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 10: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 D537B16A417; Sat, 21 Jul 2007 10:37:12 +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 9240D13C442; Sat, 21 Jul 2007 10:37:12 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A54EB0.dip.t-dialin.net [84.165.78.176]) by redbull.bpaserver.net (Postfix) with ESMTP id 68B972E5C0; Fri, 20 Jul 2007 22:08:18 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 5C6195B5B7F; Fri, 20 Jul 2007 22:06:06 +0200 (CEST) Date: Fri, 20 Jul 2007 22:09:59 +0200 From: Alexander Leidinger To: Roman Divacky Message-ID: <20070720220959.2941d2fa@deskjail> In-Reply-To: <20070720171729.GA66433@freebsd.org> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> <20070720183925.540b7654@deskjail> <20070720171729.GA66433@freebsd.org> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-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.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, scf@freebsd.org Subject: 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, 21 Jul 2007 10:37:13 -0000 Quoting Roman Divacky (Fri, 20 Jul 2007 19:17:29 +0200): > > * de-COMPAT_43-ify: > > + sethostname > > + lstat > > + ftruncate > > + nanosleep (i386) > > which reminds me... what was the decision about > > options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] > > I think I suggested removing the "[KEEP THIS!]" or something My answer was that I think it is a good idea for 7, but I like to keep it for 6. Now you just have to find a committer, which handles this... (making the patch, asking re@, committing). ATM I don't have an up-to-date -current tree anywhere and I don't know how much time I can spend on anything. Currently I try to spend all my free time to do the MFC of the linuxulator fixes. Bye, Alexander. -- Why worry about tomorrow? We may not make it through today! 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 Jul 21 13:37: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 BFB6D16A417; Sat, 21 Jul 2007 13:37:34 +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 76CE713C442; Sat, 21 Jul 2007 13:37:33 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 5929C8C023B; Sat, 21 Jul 2007 15:37:32 +0200 (CEST) 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 OaI6zBXXC2aj; Sat, 21 Jul 2007 15:37:31 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 565AA8BFE75; Sat, 21 Jul 2007 15:37:31 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l6LDbVKj008981; Sat, 21 Jul 2007 15:37:31 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 21 Jul 2007 15:37:31 +0200 From: Roman Divacky To: Alexander Leidinger Message-ID: <20070721133731.GA8975@freebsd.org> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> <20070720183925.540b7654@deskjail> <20070720171729.GA66433@freebsd.org> <20070720220959.2941d2fa@deskjail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070720220959.2941d2fa@deskjail> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, scf@freebsd.org Subject: 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, 21 Jul 2007 13:37:34 -0000 On Fri, Jul 20, 2007 at 10:09:59PM +0200, Alexander Leidinger wrote: > Quoting Roman Divacky (Fri, 20 Jul 2007 19:17:29 +0200): > > > > * de-COMPAT_43-ify: > > > + sethostname > > > + lstat > > > + ftruncate > > > + nanosleep (i386) > > > > which reminds me... what was the decision about > > > > options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] > > > > I think I suggested removing the "[KEEP THIS!]" or something > > My answer was that I think it is a good idea for 7, but I like to keep > it for 6. Now you just have to find a committer, which handles this... > (making the patch, asking re@, committing). -current does not have this line in GENERIC so its not applicable there From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 19:36:24 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 D578416A418; Sat, 21 Jul 2007 19:36:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 8206413C458; Sat, 21 Jul 2007 19:36:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1ICKka-0009Dg-Ov; Sat, 21 Jul 2007 23:36:24 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ICKkm-0003k7-VQ; Sat, 21 Jul 2007 23:36:37 +0400 To: freebsd-current@FreeBSD.org References: <20070720213211.GA7262@saturn.kn-bremen.de> <08469478@srv.sem.ipt.ru> From: Boris Samorodov Date: Sat, 21 Jul 2007 23:36:36 +0400 In-Reply-To: <08469478@srv.sem.ipt.ru> (Boris Samorodov's message of "Sat\, 21 Jul 2007 02\:10\:33 +0400") Message-ID: <42375355@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: kqemu and sched_lock, please test port update 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, 21 Jul 2007 19:36:24 -0000 On Sat, 21 Jul 2007 02:10:33 +0400 Boris Samorodov wrote: > On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > > I just noticed this, and came up with the update below. I still don't > > have a -current box so I need you to test this before I commit it... > Kqemu with the patch compiles well at amd64-current as of yesterday. > Don't have time ATM to check running. Thanks for the patch! An attempt to run ended with: ----- Program received signal SIGSYS, Bad system call. 0x0000000800ac8d7c in aio_read () from /lib/libc.so.7 ----- This is amd64-current-ULE3.0. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 21:44: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 E537916A418; Sat, 21 Jul 2007 21:44:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 96ACB13C45A; Sat, 21 Jul 2007 21:44:01 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1ICMk5-0009Xw-Ge; Sun, 22 Jul 2007 01:44:01 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ICMkI-0003pN-2K; Sun, 22 Jul 2007 01:44:14 +0400 To: Robert Watson References: <20070720213211.GA7262@saturn.kn-bremen.de> <08469478@srv.sem.ipt.ru> <42375355@srv.sem.ipt.ru> <20070721223711.A17778@fledge.watson.org> From: Boris Samorodov Date: Sun, 22 Jul 2007 01:44:14 +0400 In-Reply-To: <20070721223711.A17778@fledge.watson.org> (Robert Watson's message of "Sat\, 21 Jul 2007 22\:37\:34 +0100 \(BST\)") Message-ID: <22697697@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: kqemu and sched_lock, please test port update 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, 21 Jul 2007 21:44:02 -0000 On Sat, 21 Jul 2007 22:37:34 +0100 (BST) Robert Watson wrote: > On Sat, 21 Jul 2007, Boris Samorodov wrote: > > On Sat, 21 Jul 2007 02:10:33 +0400 Boris Samorodov wrote: > >> On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > > > >>> I just noticed this, and came up with the update below. I still > >>> don't have a -current box so I need you to test this before I > >>> commit it... > > > >> Kqemu with the patch compiles well at amd64-current as of > >> yesterday. Don't have time ATM to check running. Thanks for the > >> patch! > > > > An attempt to run ended with: > > ----- > > Program received signal SIGSYS, Bad system call. > > 0x0000000800ac8d7c in aio_read () from /lib/libc.so.7 > > ----- > > > > This is amd64-current-ULE3.0. > Possibly you need to "kldload aio"? Ops! That was it! (Who deletted loader.conf? Me? Well, really me...) Thanks, Robert and sorry for the noise. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 21:52: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 0591216A417; Sat, 21 Jul 2007 21:52:46 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id AA99613C48D; Sat, 21 Jul 2007 21:52:45 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from admin.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1ICMsX-0009ZC-Fu; Sun, 22 Jul 2007 01:52:45 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1ICMsk-0003pb-20; Sun, 22 Jul 2007 01:52:58 +0400 To: Dan Nelson References: <20070720213211.GA7262@saturn.kn-bremen.de> <08469478@srv.sem.ipt.ru> <42375355@srv.sem.ipt.ru> <20070721214740.GF2579@dan.emsphone.com> From: Boris Samorodov Date: Sun, 22 Jul 2007 01:52:58 +0400 In-Reply-To: <20070721214740.GF2579@dan.emsphone.com> (Dan Nelson's message of "Sat\, 21 Jul 2007 16\:47\:41 -0500") Message-ID: <56617173@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: kqemu and sched_lock, please test port update 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, 21 Jul 2007 21:52:46 -0000 On Sat, 21 Jul 2007 16:47:41 -0500 Dan Nelson wrote: > In the last episode (Jul 21), Boris Samorodov said: > > On Sat, 21 Jul 2007 02:10:33 +0400 Boris Samorodov wrote: > > > On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > > > > I just noticed this, and came up with the update below. I still > > > > don't have a -current box so I need you to test this before I > > > > commit it... > > > > > Kqemu with the patch compiles well at amd64-current as of > > > yesterday. Don't have time ATM to check running. Thanks for the > > > patch! > > > > An attempt to run ended with: > > ----- > > Program received signal SIGSYS, Bad system call. > > 0x0000000800ac8d7c in aio_read () from /lib/libc.so.7 > > ----- > Looks like you forgot "options VFS_AIO" in your kernel config (or build > and load the aio kernel module). Thanks, Dan. That was it. Robert have just bumped this idea into my silly head... ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 21:56: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 51E1316A417 for ; Sat, 21 Jul 2007 21:56:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2AFDE13C483 for ; Sat, 21 Jul 2007 21:56:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 68DD647C8F; Sat, 21 Jul 2007 17:37:34 -0400 (EDT) Date: Sat, 21 Jul 2007 22:37:34 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Boris Samorodov In-Reply-To: <42375355@srv.sem.ipt.ru> Message-ID: <20070721223711.A17778@fledge.watson.org> References: <20070720213211.GA7262@saturn.kn-bremen.de> <08469478@srv.sem.ipt.ru> <42375355@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: kqemu and sched_lock, please test port update 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, 21 Jul 2007 21:56:43 -0000 On Sat, 21 Jul 2007, Boris Samorodov wrote: > On Sat, 21 Jul 2007 02:10:33 +0400 Boris Samorodov wrote: >> On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > >>> I just noticed this, and came up with the update below. I still don't >>> have a -current box so I need you to test this before I commit it... > >> Kqemu with the patch compiles well at amd64-current as of yesterday. Don't >> have time ATM to check running. Thanks for the patch! > > An attempt to run ended with: > ----- > Program received signal SIGSYS, Bad system call. > 0x0000000800ac8d7c in aio_read () from /lib/libc.so.7 > ----- > > This is amd64-current-ULE3.0. Possibly you need to "kldload aio"? Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 21 22:24:32 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 6B84516A479 for ; Sat, 21 Jul 2007 22:24:32 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 30EC713C483 for ; Sat, 21 Jul 2007 22:24:32 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l6LLlfr1038765; Sat, 21 Jul 2007 16:47:41 -0500 (CDT) (envelope-from dan) Date: Sat, 21 Jul 2007 16:47:41 -0500 From: Dan Nelson To: Boris Samorodov Message-ID: <20070721214740.GF2579@dan.emsphone.com> References: <20070720213211.GA7262@saturn.kn-bremen.de> <08469478@srv.sem.ipt.ru> <42375355@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42375355@srv.sem.ipt.ru> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: Re: kqemu and sched_lock, please test port update 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, 21 Jul 2007 22:24:32 -0000 In the last episode (Jul 21), Boris Samorodov said: > On Sat, 21 Jul 2007 02:10:33 +0400 Boris Samorodov wrote: > > On Fri, 20 Jul 2007 23:32:11 +0200 Juergen Lock wrote: > > > I just noticed this, and came up with the update below. I still > > > don't have a -current box so I need you to test this before I > > > commit it... > > > Kqemu with the patch compiles well at amd64-current as of > > yesterday. Don't have time ATM to check running. Thanks for the > > patch! > > An attempt to run ended with: > ----- > Program received signal SIGSYS, Bad system call. > 0x0000000800ac8d7c in aio_read () from /lib/libc.so.7 > ----- Looks like you forgot "options VFS_AIO" in your kernel config (or build and load the aio kernel module). -- Dan Nelson dnelson@allantgroup.com