Bug#668138: pbuilder-uml doesn't work anymore

Junichi Uekawa dancer at netfort.gr.jp
Thu Apr 12 12:02:38 UTC 2012


running with '--debug ' option might give more logs; looks like
debootstrap is failing and it is usually a transient error, but not
quite sure.

At Mon, 9 Apr 2012 10:39:54 +0400,
Dmitry E. Oboukhov wrote:
> 
> Package: pbuilder-uml
> Version: 0.210
> 
> Recently I've upgraded my pbuilder (and pbuilder-uml) upto sid.
> Since the action it doesn't work. It always finishes with such log:
> 
> $ pbuilder-user-mode-linux create --distribution testing
> Core dump limits :
>     soft - 0
>     hard - NONE
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...OK
> Checking advanced syscall emulation patch for ptrace...OK
> Checking for tmpfs mount on /dev/shm...nothing mounted on /dev/shm
> Checking PROT_EXEC mmap in /tmp/...OK
> Checking for the skas3 patch in the host:
>   - /proc/mm...not found: No such file or directory
>   - PTRACE_FAULTINFO...not found
>   - PTRACE_LDT...not found
> UML running in SKAS0 mode
> Adding 31084544 bytes to physical memory to account for exec-shield gap
> Initializing cgroup subsys cpuset
> Linux version 2.6.32 (2.6.32) (root at fluid) (gcc version 4.4.5 (Debian 4.4.5-8) ) #2 Tue Jan 17 15:44:25 UTC 2012
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15565
> Kernel command line: eth0=tuntap,,,10.255.1.241 con0=fd:0,fd:1 con=pts root=/dev/root rootflags=/ rootfstype=hostfs ubd1=/home/dimka/.pbuilder-user-mode-linux/pbuilder-image init=/usr/lib/rootstrap/builder devfs=nomount rsworkdir=/home/dimka/.pbuilder-user-mode-linux
> PID hash table entries: 256 (order: -1, 2048 bytes)
> Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
> allocated 631240 bytes of page_cgroup
> please try 'cgroup_disable=memory' option if you don't want memory cgroups
> Memory: 24804k available
> SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> Hierarchical RCU implementation.
> NR_IRQS:15
> Calibrating delay loop... 629.14 BogoMIPS (lpj=3145728)
> Security Framework initialized
> TOMOYO Linux initialized
> Mount-cache hash table entries: 256
> Initializing cgroup subsys ns
> Initializing cgroup subsys cpuacct
> Initializing cgroup subsys memory
> Initializing cgroup subsys devices
> Initializing cgroup subsys freezer
> Checking that host ptys support output SIGIO...Yes
> Checking that host ptys support SIGIO on close...No, enabling workaround
> Using 2.6 host AIO
> NET: Registered protocol family 16
> bio: create slab <bio-0> at 0
> Switching to clocksource itimer
> NET: Registered protocol family 2
> IP route cache hash table entries: 512 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 3, 32768 bytes)
> TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP reno registered
> NET: Registered protocol family 1
> IRQ 9/mconsole: IRQF_DISABLED is not guaranteed on shared IRQs
> mconsole (version 2) initialized on /home/dimka/.uml/AYm1mF/mconsole
> Checking host MADV_REMOVE support...
> MADV_REMOVE failed, err = -38
> Can't release memory to the host - memory hotplug won't be supported
> Mapper v0.1
> mmapper_init - find_iomem failed
> UML Watchdog Timer
> VFS: Disk quotas dquot_6.5.2
> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> squashfs: version 4.0 (2009/01/31) Phillip Lougher
> JFS: nTxBlock = 194, nTxLock = 1554
> SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
> SGI XFS Quota Management subsystem
> Btrfs loaded
> msgmni has been set to 48
> alg: No test for stdrng (krng)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> SoftDog: cannot register miscdev on minor=130 (err=-16)
> TCP cubic registered
> NET: Registered protocol family 17
> Initialized stdio console driver
> Console initialized on /dev/tty0
> console [tty0] enabled
> Initializing software serial port version 1
> console [mc-1] enabled
> Failed to initialize ubd device 0 :Couldn't determine size of device's file
>  ubdb: unknown partition table
> Choosing a random ethernet address for device eth0
> Netdevice 0 (72:6a:aa:1b:e4:71) : 
> TUN/TAP backend - IP = 10.255.1.241
> registered taskstats version 1
> VFS: Mounted root (hostfs filesystem) readonly on device 0:12.
> IRQ 3/console-write: IRQF_DISABLED is not guaranteed on shared IRQs
> IRQ 2/console: IRQF_DISABLED is not guaranteed on shared IRQs
> IRQ 10/winch: IRQF_DISABLED is not guaranteed on shared IRQs
> builder running...
> Using rootstrap module network from:
>     /usr/lib/rootstrap/modules/network
> helper_wait : waitpid process 8265 failed, errno = 10
> * modprobe tun
> * ifconfig tap1 10.255.1.241 netmask 255.255.255.255 up
> * bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
> helper_wait : waitpid process 8274 failed, errno = 10
> * route add -host 10.255.1.242 dev tap1
> * bash -c echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp
> * arp -Ds 10.255.1.242 tap3 pub
> * arp -Ds 10.255.1.242 tap3 pub
> * arp -Ds 10.255.1.242 tap3 pub
> * arp -Ds 10.255.1.242 tap8 pub
> * arp -Ds 10.255.1.242 tap0 pub
> helper_wait : waitpid process 8284 failed, errno = 10
> * route del -host 10.255.1.242 dev tap1
> * bash -c echo 0 > /proc/sys/net/ipv4/conf/tap1/proxy_arp
> * arp -i tap3 -d 10.255.1.242 pub
> * arp -i tap3 -d 10.255.1.242 pub
> No ARP entry for 10.255.1.242
> * arp -i tap3 -d 10.255.1.242 pub
> No ARP entry for 10.255.1.242
> * arp -i tap8 -d 10.255.1.242 pub
> * arp -i tap0 -d 10.255.1.242 pub
> helper_wait : waitpid process 8292 failed, errno = 10
> * route add -host 10.255.1.242 dev tap1
> * bash -c echo 1 > /proc/sys/net/ipv4/conf/tap1/proxy_arp
> Using rootstrap module mkfs from:
>     /usr/lib/rootstrap/modules/mkfs
> Using rootstrap module mount from:
>     /usr/lib/rootstrap/modules/mount
> Using rootstrap module debian from:
>     /usr/lib/rootstrap/modules/debian
> debootstrap --exclude=pcmcia-cs,setserial --include=makedev testing /tmp/target http://ftp.de.debian.org/debian 
> I: Retrieving Release
> I: Retrieving Release.gpg
> I: Checking Release signature
> I: Valid Release signature (key id 9FED2BCBDCD29CDF762678CBAED4B06F473041FA)
> I: Retrieving Packages
> I: Validating Packages
> I: Resolving dependencies of required packages...
> I: Resolving dependencies of base packages...
> I: Found additional required dependencies: insserv libbz2-1.0 libdb5.1 libsemanage-common libsemanage1 libslang2 libustr-1.0-1 multiarch-support ucf 
> I: Found additional base dependencies: libclass-isa-perl libgcrypt11 libgnutls26 libgpg-error0 libidn11 libnfnetlink0 libp11-kit0 libsqlite3-0 libswitch-perl libtasn1-3 perl perl-modules 
> I: Checking component main on http://ftp.de.debian.org/debian...
> I: Retrieving libacl1
> I: Validating libacl1
> I: Retrieving adduser
> I: Validating adduser
> I: Retrieving apt
> I: Validating apt
> I: Retrieving apt-utils
> ....
> I: Unpacking libssl1.0.0:amd64...
> I: Unpacking libp11-kit0:amd64...
> I: Unpacking perl...
> I: Unpacking perl-modules...
> I: Unpacking libpopt0:amd64...
> I: Unpacking libprocps0:amd64...
> I: Unpacking procps...
> I: Unpacking libreadline6:amd64...
> I: Unpacking readline-common...
> I: Unpacking rsyslog...
> I: Unpacking libsqlite3-0:amd64...
> I: Unpacking tasksel...
> I: Unpacking tasksel-data...
> I: Unpacking info...
> I: Unpacking install-info...
> I: Unpacking traceroute...
> I: Unpacking libudev0:amd64...
> I: Unpacking udev...
> I: Unpacking vim-tiny...
> I: Unpacking wget...
> I: Unpacking libxapian22...
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> I: Unpacking udev...
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> Module debian failed with status 1: Operation not permitted
> The exit value from the shell will be evaluated:
>    0 --> exit and raise exception
>    1 --> re-eval script that failed
>    2 --> go on with next script
>    N --> exit and raise exception
> /bin/sh: 0: can't access tty; job control turned off
> # 
> 
> 
> I tried to replace mirrors, but all cases have the same result.
> 
> my configs:
> 
> $ cat .pbuilderrc
> # vim: set ft=sh :
> 
> PBDIR="/home/dimka/.pbuilder-user-mode-linux"
> 
> for dir in $PBDIR $HOME/work/deb/pbuilder; do
>     if test -d $dir; then
>         continue
>     fi
>     mkdir -p $dir
> done
> 
> MY_ETH0=tuntap,,,10.255.1.241
> UML_IP=10.255.1.242
> UML_NETMASK=255.255.255.240
> UML_NETWORK=10.255.1.240
> UML_BROADCAST=10.255.1.255
> UML_GATEWAY=10.255.1.241
> PBUILDER_UML_IMAGE="$PBDIR/pbuilder-image"
> UML_BUILDRESULT="$HOME/work/deb/pbuilder"
> APTCACHEHARDLINK=no
> AUTO_DEBSIGN=yes
> ROOTSTRAP_IMAGESIZE=4096
> UML_MEM=1024M
> APTCACHE=""
> CCACHEDIR=""
> 
> case `hostname` in
>     apache)
>         MIRRORSITE="http://ftp.de.debian.org/debian"
>     ;;
>     *)
>         MIRRORSITE="http://debian.uvw.ru/debian"
>     ;;
> esac
> -- 
> 
> . ''`.                               Dmitry E. Oboukhov
> : :’  :   email: unera at debian.org jabber://UNera@uvw.ru
> `. `~’              GPGKey: 1024D / F8E26537 2006-11-21
>   `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537





More information about the Pbuilder-maint mailing list