rebuild of user-mode-linux

2011-01-27 Thread Mattia Dongili
Hi RM,

I tried rebuilding user-mode-linux from the latest linux-source-2.6.32
and noticed that there are a few new[1] configuration options that would
stall the build process waiting for an answer (or is stdin coming from
/dev/null on buildds?).

I would need to upload a new package to fix it, that's the easy part.
The less easy one is:
1. convincing you to unblock it
2. decide if it's worth enabling DRBD and the other options that have
been added to the debian kernel sources.

Please see a possible diff below, would you approve that or should I
make a more conservative upload not enabling any of the new options?

other thoughts?

Thanks

[1]: yes, probably the options have been added ages ago but I never had
time to rebuild the package...

commit 1c098d8e81b5f2735e381b3977119861f402f7bd
Author: Mattia Dongili malat...@linux.it
Date:   Thu Jan 27 07:10:27 2011 +0900

Update to latest kernel config available for squeeze

Signed-off-by: Mattia Dongili malat...@linux.it

diff --git a/config.amd64 b/config.amd64
index 6fc6f15..ccec2ae 100644
--- a/config.amd64
+++ b/config.amd64
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.32
-# Sun Jan  3 13:47:42 2010
+# Thu Jan 27 06:22:33 2011
 #
 CONFIG_DEFCONFIG_LIST=arch/$ARCH/defconfig
 CONFIG_GENERIC_HARDIRQS=y
@@ -56,6 +56,7 @@ CONFIG_X86_L1_CACHE_BYTES=64
 CONFIG_X86_INTERNODE_CACHE_BYTES=64
 # CONFIG_X86_CMPXCHG is not set
 CONFIG_X86_L1_CACHE_SHIFT=6
+CONFIG_X86_XADD=y
 CONFIG_X86_WP_WORKS_OK=y
 CONFIG_X86_INTEL_USERCOPY=y
 CONFIG_X86_USE_PPRO_CHECKSUM=y
@@ -69,8 +70,8 @@ CONFIG_CPU_SUP_CENTAUR=y
 CONFIG_UML_X86=y
 CONFIG_64BIT=y
 # CONFIG_X86_32 is not set
-# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
-CONFIG_RWSEM_GENERIC_SPINLOCK=y
+CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
 CONFIG_3_LEVEL_PGTABLES=y
 # CONFIG_ARCH_HAS_SC_SIGNALS is not set
 # CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA is not set
@@ -239,6 +240,8 @@ CONFIG_BLK_DEV_UBD=y
 CONFIG_BLK_DEV_COW_COMMON=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_CRYPTOLOOP=m
+CONFIG_BLK_DEV_DRBD=m
+CONFIG_DRBD_FAULT_INJECTION=y
 CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_RAM=m
 CONFIG_BLK_DEV_RAM_COUNT=16
@@ -927,6 +930,7 @@ CONFIG_AUFS_BRANCH_MAX_127=y
 CONFIG_AUFS_HINOTIFY=y
 # CONFIG_AUFS_EXPORT is not set
 # CONFIG_AUFS_RDU is not set
+CONFIG_AUFS_SP_IATTR=y
 CONFIG_AUFS_SHWH=y
 # CONFIG_AUFS_BR_RAMFS is not set
 CONFIG_AUFS_BR_FUSE=y
@@ -1203,6 +1207,7 @@ CONFIG_TEXTSEARCH_BM=m
 CONFIG_TEXTSEARCH_FSM=m
 CONFIG_HAS_DMA=y
 CONFIG_NLATTR=y
+CONFIG_LRU_CACHE=m
 
 #
 # SCSI device support
@@ -1244,6 +1249,7 @@ CONFIG_DM_DELAY=m
 # CONFIG_ENABLE_WARN_DEPRECATED is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
 CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ_DEFAULT_MASK=0x1
 # CONFIG_STRIP_ASM_SYMS is not set
 # CONFIG_UNUSED_SYMBOLS is not set
 # CONFIG_DEBUG_FS is not set
diff --git a/config.i386 b/config.i386
index bed2e13..9a94b13 100644
--- a/config.i386
+++ b/config.i386
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.32
-# Sun Jan  3 14:11:21 2010
+# Thu Jan 27 06:28:31 2011
 #
 CONFIG_DEFCONFIG_LIST=arch/$ARCH/defconfig
 CONFIG_GENERIC_HARDIRQS=y
@@ -249,6 +249,8 @@ CONFIG_BLK_DEV_UBD=y
 CONFIG_BLK_DEV_COW_COMMON=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_CRYPTOLOOP=m
+CONFIG_BLK_DEV_DRBD=m
+CONFIG_DRBD_FAULT_INJECTION=y
 CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_RAM=m
 CONFIG_BLK_DEV_RAM_COUNT=16
@@ -936,6 +938,7 @@ CONFIG_AUFS_BRANCH_MAX_127=y
 CONFIG_AUFS_HINOTIFY=y
 # CONFIG_AUFS_EXPORT is not set
 CONFIG_AUFS_RDU=y
+CONFIG_AUFS_SP_IATTR=y
 CONFIG_AUFS_SHWH=y
 CONFIG_AUFS_BR_RAMFS=y
 CONFIG_AUFS_BR_FUSE=y
@@ -1207,6 +1210,7 @@ CONFIG_TEXTSEARCH_BM=m
 CONFIG_TEXTSEARCH_FSM=m
 CONFIG_HAS_DMA=y
 CONFIG_NLATTR=y
+CONFIG_LRU_CACHE=m
 
 #
 # SCSI device support
@@ -1248,6 +1252,7 @@ CONFIG_DM_DELAY=m
 # CONFIG_ENABLE_WARN_DEPRECATED is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
 CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ_DEFAULT_MASK=0x1
 # CONFIG_STRIP_ASM_SYMS is not set
 # CONFIG_UNUSED_SYMBOLS is not set
 # CONFIG_DEBUG_FS is not set
diff --git a/debian/changelog b/debian/changelog
index 51314d6..c853b3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+user-mode-linux (2.6.32-1um-4) unstable; urgency=low
+
+  * Update kernel config to the latest availalbe for squeeze
+
+ -- Mattia Dongili malat...@debian.org  Thu, 27 Jan 2011 07:30:00 +0900
+
 user-mode-linux (2.6.32-1um-3) unstable; urgency=low
 
   * Sigh, the new 2.6.32 upload includes the IF_NOTIFY_RESUME patch included
-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110127112346.ga30...@kamineko.org



Re: rebuild of user-mode-linux

2011-01-27 Thread Julien Cristau
On Thu, Jan 27, 2011 at 20:23:46 +0900, Mattia Dongili wrote:

 diff --git a/debian/changelog b/debian/changelog
 index 51314d6..c853b3c 100644
 --- a/debian/changelog
 +++ b/debian/changelog
 @@ -1,3 +1,9 @@
 +user-mode-linux (2.6.32-1um-4) unstable; urgency=low

Don't use urgency=low if you want it in squeeze r0.

 +
 +  * Update kernel config to the latest availalbe for squeeze
^^
Typo

I don't really have an opinion on the details of the config changes.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: rebuild of user-mode-linux

2011-01-27 Thread Mattia Dongili
On Thu, Jan 27, 2011 at 12:42:50PM +0100, Julien Cristau wrote:
 On Thu, Jan 27, 2011 at 20:23:46 +0900, Mattia Dongili wrote:
 
  diff --git a/debian/changelog b/debian/changelog
  index 51314d6..c853b3c 100644
  --- a/debian/changelog
  +++ b/debian/changelog
  @@ -1,3 +1,9 @@
  +user-mode-linux (2.6.32-1um-4) unstable; urgency=low
 
 Don't use urgency=low if you want it in squeeze r0.
 
  +
  +  * Update kernel config to the latest availalbe for squeeze
 ^^
 Typo
 
 I don't really have an opinion on the details of the config changes.

I fixed the typo and uploaded the package with the diff included in the
previous email. Tomorrow morning I'll submit the bug to request
unblocking.

While testing user-mode-linux I figured that rootstrap is shipping with
a default configuration that points to squeeze... I'm embarassed, these
UML packages require a bit more love.

-- 
mattia
:wq!


signature.asc
Description: Digital signature


Re: rebuild of user-mode-linux

2011-01-27 Thread Mattia Dongili
On Thu, Jan 27, 2011 at 11:14:23PM +0900, Mattia Dongili wrote:
...
 While testing user-mode-linux I figured that rootstrap is shipping with
 a default configuration that points to squeeze... I'm embarassed, these
 ^^^
In fact I meant Lenny...
Bug#611308 submitted for this.
-- 
mattia
:wq!


signature.asc
Description: Digital signature