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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 May 2007 03:25:57 -0400
From:	Rob Landley <>
To:	Robert Schwebel <>
Cc:	LKML <>,
Subject: Re: UML doesn't compile in 2.6.21

On Thursday 17 May 2007 5:05 pm, Robert Schwebel wrote:
> Rob,
> On Wed, May 16, 2007 at 09:11:18PM -0400, Rob Landley wrote:
> > built for me:
> > 
> > tar xvjf linux- &&
> > cd linux- &&
> > cat > mini.conf << EOF
> > EOF
> > make ARCH=um allnoconfig KCONFIG_ALLCONFIG=mini.conf &&
> > make ARCH=um &&
> > ./linux rootfstype=hostfs rw init=/bin/sh
> > 
> > Does this not work for you?
> Yes, this compiles - with this warning, btw:
> WARNING: vmlinux - Section mismatch: reference to .init.text:lpj_setup 
from .got after '_GLOBAL_OFFSET_TABLE_' (at offset 0x814de34)
> WARNING: vmlinux - Section mismatch: reference 
to .init.text:set_reset_devices from .bss between 'stdout@@GLIBC_2.0' (at 
offset 0x814de40) and 'stderr@@GLIBC_2.0'
> So it must be something with my configuration. I've tried to build a
> minimized configuration, see below.

You can either make a minimized configuration by hand, or you can use my 
shrinker script (which is slow, but can be left running in a background 
window).  I've attached the script.

For ARCH=um, you'd cd to your linux source directory that has the .config you 
want, and run it like:

  ARCH=um ./ mini.conf

And it should produce a file "mini.conf" when it's done.  The progress 
indicator shows two numbers (111/222) which are the number of lines it's 
confirmed it needs to keep, and the total number of lines remaining in the 
file.  The one of the left counts up, the one on the right counts down, when 
they match, it's done.

Doing a better version of this in C as a patch to the kconfig infrastructure 
has been a todo item of mine for over two years. :(

> You can trigger the bug here by 
> changing "Enable loadable module support.

UML supports modules?  Huh.  (Yeah, I suppose it does.  I've never used it.)

So the bug is "module support doesn't compile in UML 2.6.21" then.  Might want 
to change the title and resubmit. :)


Download attachment "" of type "application/x-shellscript" (1426 bytes)

Powered by blists - more mailing lists