Bug#795943: pbuilder-uml create crashes

Benedikt Ahrens benedikt.ahrens at gmail.com
Tue Aug 18 08:51:15 UTC 2015


Package: pbuilder-uml
Version: 0.215+nmu3
Severity: grave

Dear Maintainer,

I launched the below command in order to create a pbuilder file, resulting in the crash reported below.
It seems that this renders the package unusable, hence I chose severity grave.
Maybe the bug should be filed against rootstrap instead, but since I encountered it using pbuilder-uml, and since
it renders pbuilder-uml unusable, I am reporting it as is.

$ pbuilder-user-mode-linux create  --distribution sid --buildplace /home/ahrens/var/cache --buildresult /home/ahrens/var/cache/result
Locating the bottom of the address space ... 0x10000
Locating the top of the address space ... 0xc0000000
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 environment variables for a tempdir...none found
Checking if /dev/shm is on tmpfs...OK
Checking PROT_EXEC mmap in /dev/shm...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 24801280 bytes to physical memory to account for exec-shield gap
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.16.7-ckt7 (root at binet) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 Mon Mar 2 20:21:47 UTC 2015
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 14135
Kernel command line: con0=fd:0,fd:1 con=pts root=/dev/root rootflags=/ rootfstype=hostfs ubd1=/home/ahrens/uml-image init=/usr/lib/rootstrap/builder devfs=nomount rsworkdir=/home/ahrens/.pbuilder-user-mode-linux
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Sorting __ex_table...
Memory: 25040K/56988K available (3641K kernel code, 1671K rwdata, 1128K rodata, 110K init, 145K bss, 31948K reserved)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:15
Calibrating delay loop... 5636.09 BogoMIPS (lpj=28180480)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:  Initializing.
AppArmor: AppArmor disabled by boot time parameter
Yama: disabled by default; enable with sysctl kernel.yama.*
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
Checking for host processor cmov support...Yes
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
devtmpfs: initialized
Using 2.6 host AIO
xor: measuring software checksum speed
   8regs     :  6673.600 MB/sec
   8regs_prefetch:  6617.200 MB/sec
   32regs    :  5029.200 MB/sec
   32regs_prefetch:  4800.400 MB/sec
xor: using function: 8regs (6673.600 MB/sec)
NET: Registered protocol family 16
raid6: int32x1   1372 MB/s
raid6: int32x2   1529 MB/s
raid6: int32x4   1657 MB/s
raid6: int32x8   1478 MB/s
raid6: using algorithm int32x4 (1657 MB/s)
raid6: using intx1 recovery algorithm
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
Switched to clocksource itimer
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
console [stderr0] disabled
mconsole (version 2) initialized on /home/ahrens/.uml/AyFcbe/mconsole
Checking host MADV_REMOVE support...OK
Mapper v0.1
mmapper_init - find_iomem failed
UML Watchdog Timer
Host TLS support detected
Detected host type: i386 (GDT indexes 6 to 9)
futex hash table entries: 256 (order: -1, 3072 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1439887044.943:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFS: nTxBlock = 195, nTxLock = 1565
SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
msgmni has been set to 48
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
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
registered taskstats version 1
Btrfs loaded
winch_thread : TIOCSCTTY failed on fd 1 err = 1
VFS: Mounted root (hostfs filesystem) readonly on device 0:13.
devtmpfs: mounted
builder running...
Using rootstrap module network from:
	/usr/lib/rootstrap/modules/network
netmask: error fetching interface information: Device not found
Traceback (most recent call last):
  File "/usr/lib/rootstrap/builder", line 93, in <module>
    dispatch(module, modulevars)
  File "/usr/lib/rootstrap/builder", line 71, in dispatch
    (module,status,os.strerror(status)))
RuntimeError: rootstrap: Module 'network' failed, status 1: Operation not permitted
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100

CPU: 0 PID: 1 Comm: builder Not tainted 3.16.7-ckt7 #2
Stack:
 00000000 0b078000 0b078000 08524e40 083ea3f7 00000000 00000000 084c04eb
 083e820d 0b078000 0b078000 08524e40 0aedce34 08095183 084969e7 00000100
 00000001 00000000 00000000 00000000 0b0781e4 0b07fe90 0b07fe90 0b06e000
Call Trace:
 [<083ea3f7>] ? dump_stack+0x13/0x17
 [<083e820d>] ? panic+0x66/0x14d
 [<08095183>] ? do_exit+0x3a7/0x78e
 [<080955e8>] ? do_group_exit+0x56/0xa5
 [<08095647>] ? __wake_up_parent+0x0/0x1f
 [<080622b6>] ? handle_syscall+0x6d/0x89
 [<0808dee4>] ? userspace+0x311/0x3b5
 [<08115262>] ? final_putname+0x30/0x34
 [<08115262>] ? final_putname+0x30/0x34
 [<0811542e>] ? putname+0x23/0x2e
 [<08112d90>] ? do_execve+0x45f/0x52c
 [<0805edb6>] ? run_init_process+0x1b/0x1f
 [<0805fe44>] ? new_thread_handler+0x71/0x75

UML exited with non-zero status, aborting



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pbuilder-uml depends on:
ii  pbuilder         0.215+nmu3
ii  rootstrap        0.3.25-1
ii  user-mode-linux  3.16-1um-0.1+b1

pbuilder-uml recommends no packages.

pbuilder-uml suggests no packages.

-- no debconf information



More information about the Pbuilder-maint mailing list