[Pkg-uml-devel] preparing u-m-l 2.6.17

Ardo van Rangelrooij ardo at ardolabs.com
Wed Jun 28 10:30:44 UTC 2006


(ok, and now to the mailing list)

Mattia Dongili (malattia at linux.it) wrote:
> On Mon, Jun 26, 2006 at 10:12:22PM -0500, Ardo van Rangelrooij wrote:
> > Mattia Dongili (malattia at linux.it) wrote:
> [...]
> > > After that we should work on the amd64 package, anybody with such a box
> > > that wants to play with it?
> > 
> > Yes, definitely.  I've got two of those (actually four but my desktop and
> > laptop still run 32bit).
> 
> great! Let me know if you need any help.
> I won't be reachable on Thursday and Friday. We can eventually set up a
> mini-mini meeting on IRC for the weekend if necessary ;)

Sure, no problem.

> > > Creating the package should be as easy as adding a config.amd64 to the
> > > toplevel dir along with config.i386.
> > 
> > Ok, let me take a look at that.
> 
> Oh, and the Architecture field needs to be modified accordingly :)

Yeah, I ran into that pesky little detail.  Luckily it's a reasonably fast host.

> My steps to update the .config are:
> 
> 1. debian/rules unpack
> 2. cp config.i386 linux-source-<kversion>
> 3. cd linux-source-<kversion>
> 4. make oldconfig menuconfig ARCH=um
> 5. poke with the configuration, adding/removing/etc. options
> 6. save and exit
> 7. cp .config ../config.i386
> 
> Now, starting with config.i386 and changing the host processor type may
> be probably enough, but giving it a real run is better yet :)

I simply copied the config and left all the options as is for now.

This is the diff I got with 2.6.16-2:

> diff config.amd64 config.i386
4c4
< # Tue Jun 27 21:19:16 2006
---
> # Wed May 31 18:05:17 2006
17a18,56
> 
> #
> # Host processor type and features
> #
> # CONFIG_M386 is not set
> CONFIG_M486=y
> # CONFIG_M586 is not set
> # CONFIG_M586TSC is not set
> # CONFIG_M586MMX is not set
> # CONFIG_M686 is not set
> # CONFIG_MPENTIUMII is not set
> # CONFIG_MPENTIUMIII is not set
> # CONFIG_MPENTIUMM is not set
> # CONFIG_MPENTIUM4 is not set
> # CONFIG_MK6 is not set
> # CONFIG_MK7 is not set
> # CONFIG_MK8 is not set
> # CONFIG_MCRUSOE is not set
> # CONFIG_MEFFICEON is not set
> # CONFIG_MWINCHIPC6 is not set
> # CONFIG_MWINCHIP2 is not set
> # CONFIG_MWINCHIP3D is not set
> # CONFIG_MGEODEGX1 is not set
> # CONFIG_MGEODE_LX is not set
> # CONFIG_MCYRIXIII is not set
> # CONFIG_MVIAC3_2 is not set
> CONFIG_X86_GENERIC=y
> CONFIG_X86_CMPXCHG=y
> CONFIG_X86_XADD=y
> CONFIG_X86_L1_CACHE_SHIFT=7
> CONFIG_RWSEM_XCHGADD_ALGORITHM=y
> CONFIG_X86_PPRO_FENCE=y
> CONFIG_X86_F00F_BUG=y
> CONFIG_X86_WP_WORKS_OK=y
> CONFIG_X86_INVLPG=y
> CONFIG_X86_BSWAP=y
> CONFIG_X86_POPAD_OK=y
> CONFIG_X86_ALIGNMENT_16=y
> CONFIG_X86_INTEL_USERCOPY=y
19,20c58
< CONFIG_64BIT=y
< CONFIG_RWSEM_GENERIC_SPINLOCK=y
---
> # CONFIG_64BIT is not set
22,29c60,66
< CONFIG_TOP_ADDR=0x80000000
< CONFIG_3_LEVEL_PGTABLES=y
< CONFIG_STUB_CODE=0x7fbfffe000
< CONFIG_STUB_DATA=0x7fbffff000
< CONFIG_STUB_START=0x7fbfffe000
< # CONFIG_ARCH_HAS_SC_SIGNALS is not set
< # CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA is not set
< CONFIG_SMP_BROKEN=y
---
> CONFIG_TOP_ADDR=0xc0000000
> # CONFIG_3_LEVEL_PGTABLES is not set
> CONFIG_STUB_CODE=0xbfffe000
> CONFIG_STUB_DATA=0xbffff000
> CONFIG_STUB_START=0xbfffe000
> CONFIG_ARCH_HAS_SC_SIGNALS=y
> CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=y
46a84
> # CONFIG_HIGHMEM is not set
670c708
< CONFIG_CRYPTO_AES_X86_64=y
---
> # CONFIG_CRYPTO_AES_586 is not set


I build the package and also rootstrap, and installed both packages.  I got
numerous warnings from the kernel but not having build this before for all
I know this is "normal".  But no problem whatsoever so far. :-)

Tomorrow I'll build an image after I've got the networking setup.  The first
image build of course got stuck on that.

Thanks,
Ardo
-- 
Ardo van Rangelrooij                                     Debian XML/SGML Group
<ardo at debian.org>              <debian-xml-sgml-devel at lists.alioth.debian.org>
http://people.debian.org/~ardo/      http://debian-xml-sgml.alioth.debian.org/



More information about the Pkg-uml-devel mailing list