lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sun, 7 Dec 2008 12:18:58 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Andrey Borzenkov <arvidjaar@...l.ru>
Cc:	Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org
Subject: Re: Is vm86old no more implemented?

On Sat, Dec 06, 2008 at 10:02:29PM +0300, Andrey Borzenkov wrote:
> On Суббота 06 декабря 2008 13:20:47 Andi Kleen wrote:
> > On Sat, Dec 06, 2008 at 12:52:43PM +0300, Andrey Borzenkov wrote:
> > > On Суббота 06 декабря 2008 11:56:03 Andi Kleen wrote:
> > > > Andrey Borzenkov <arvidjaar@...l.ru> writes:
> > > > > CONFIG_VM86 is defined; is there anything else that is needed?
> > > > > This fails both in 2.6.27.7 and in 2.6.28-rc7. I attach config
> > > > > from 2.6.28-rc7.
> > > >
> > > > It should still work. Can you double check you're running the
> > > > correct kernel? Perhaps a 64bit kernel (which doesn't implement
> > > > it).
> > >
> > > Linux cooker 2.6.28-rc7-1avb #23 Fri Dec 5 22:42:47 MSK 2008 i686
> > > Pentium III (Coppermine) GNU/Linux
> > >
> > > Anything else I can check?
> >
> > Hmm perhaps place a printk into
> > arch/x86/kernel/vm86_32.c:sys_vm86old() and see if it's reached.
> >
> 
> It is:
> 
> [  156.094049] sys_vm86old called by monitor-get-edi
> [  156.243660] sys_vm86old called by monitor-get-edi
> [  285.698333] sys_vm86old called by X
> [  285.699408] sys_vm86old called by X
> [  285.699813] sys_vm86old called by X
> 
> any chance the specific function that is invoked is not implemented? 
> Because at least X apparently does not always fail video BIOS call - how 
> can I catch which calls were successful and which failed? I understand 
> return path sys_vm86old is rather non-standard.

One relatively reliable way would be to add printks to the error
paths again.

You're right it's probabaly related to the non standard return path.
Since it's so non standard i'm not sure you can even trust strace
completely. It relies on the return path and might be slightly confused.

Easiest way to track it down if you know an old kernels which
didn't show the problem would be probably to bisect.

-Andi



-- 
ak@...ux.intel.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ