[Libguestfs] Debian 5 image. inspect-os

Richard W.M. Jones rjones at redhat.com
Fri Jan 7 16:39:35 UTC 2011


Oh nice, I can reproduce it here too, although only if I first
load the 'logfs' module.

It does seem to be a plain bug in the logfs module.  Do you mind
if I post the 1MB image you sent me into a public kernel bug report?

Rich.

----------------------------------------------------------------------

mount -o  -t logfs /dev/vda /sysroot/
[  107.679255] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[  107.680173] IP: [<ffffffff81238127>] __list_add+0x16/0x83
[  107.680173] PGD 0 
[  107.680173] Oops: 0000 [#1] SMP 
[  107.680173] last sysfs file: /sys/devices/virtio-pci/virtio2/block/vdb/queue/rotational
[  107.680173] CPU 0 
[  107.680173] Modules linked in: nls_utf8 hfsplus hfs vfat fat logfs zlib_deflate i2c_piix4 i2c_core virtio_blk virtio_net virtio_console virtio_rng virtio_balloon virtio_pci sym53c8xx virtio_ring virtio scsi_transport_spi libcrc32c ext2 crc7 crc_itu_t crc_ccitt
[  107.680173] 
[  107.680173] Pid: 243, comm: mount Not tainted 2.6.37-0.rc7.git0.2.fc15.x86_64 #1 /Bochs
[  107.680173] RIP: 0010:[<ffffffff81238127>]  [<ffffffff81238127>] __list_add+0x16/0x83
[  107.680173] RSP: 0018:ffff88001d3c3d28  EFLAGS: 00010296
[  107.680173] RAX: ffff88001c8f42c0 RBX: 0000000000000000 RCX: 0000000000000034
[  107.680173] RDX: 0000000000000000 RSI: ffff88001cd1e3a8 RDI: ffff88001c8f42c0
[  107.680173] RBP: ffff88001d3c3d48 R08: ffff88001d3c3d78 R09: e1c0000000000000
[  107.680173] R10: ffffffff814777b6 R11: ffffea0000659c38 R12: ffff88001cd1e3a8
[  107.680173] R13: ffff88001c8f42c0 R14: 0000000000000400 R15: ffff88001cd1e000
[  107.680173] FS:  00007f17dc59d800(0000) GS:ffff88001ee00000(0000) knlGS:0000000000000000
[  107.680173] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  107.680173] CR2: 0000000000000008 CR3: 000000001d3f8000 CR4: 00000000000006f0
[  107.680173] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  107.680173] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  107.680173] Process mount (pid: 243, threadinfo ffff88001d3c2000, task ffff88001cca2e40)
[  107.680173] Stack:
[  107.680173]  ffff88001d3c3d48 ffff88001c8f4000 ffff88001cd1e000 ffff88001cd1e000
[  107.680173]  ffff88001d3c3d68 ffffffffa00c4924 ffff88001c8f4000 ffff88001d04d400
[  107.680173]  ffff88001d3c3d88 ffffffff811335d9 ffff88001cd1e000 ffff88001d04d400
[  107.680173] Call Trace:
[  107.680173]  [<ffffffffa00c4924>] logfs_drop_inode+0x5a/0x6e [logfs]
[  107.680173]  [<ffffffff811335d9>] iput+0x5a/0x203
[  107.680173]  [<ffffffffa00cb87e>] logfs_mount+0x525/0x6cb [logfs]
[  107.680173]  [<ffffffff810f1932>] ? __alloc_percpu+0x10/0x12
[  107.680173]  [<ffffffff811221d4>] vfs_kern_mount+0xaf/0x1dc
[  107.680173]  [<ffffffff81122369>] do_kern_mount+0x4d/0xef
[  107.680173]  [<ffffffff811383f0>] do_mount+0x6f2/0x731
[  107.680173]  [<ffffffff810ed536>] ? strndup_user+0x3e/0x53
[  107.680173]  [<ffffffff81138656>] sys_mount+0x88/0xc2
[  107.680173]  [<ffffffff8100acc2>] system_call_fastpath+0x16/0x1b
[  107.680173] Code: 48 ba 00 02 20 00 00 00 ad de 48 89 0b 48 89 53 08 58 5b c9 c3 55 48 89 e5 41 55 49 89 fd 41 54 49 89 f4 53 48 89 d3 48 83 ec 08 <4c> 8b 42 08 49 39 f0 74 20 49 89 d1 48 89 f1 48 c7 c2 e8 22 7b 
[  107.680173] RIP  [<ffffffff81238127>] __list_add+0x16/0x83
[  107.680173]  RSP <ffff88001d3c3d28>
[  107.680173] CR2: 0000000000000008
[  107.754176] ---[ end trace 3de5add4306ec2ac ]---


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list