Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2007 15:21:38 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc:        freebsd-emulation@freebsd.org, ariff@freebsd.org
Subject:   Re: something wrong with Linux on 6.2-stable/amd64
Message-ID:  <20070720152138.47b2e4b5@deskjail>
In-Reply-To: <200707200853.28425@aldan>
References:  <200707192341.59940@aldan> <200707200800.19941@aldan> <20070720144529.63aa21d3@deskjail> <200707200853.28425@aldan>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Mikhail Teterin <mi+kde@aldan.algebra.com> (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070720152138.47b2e4b5>