[Bug 845774] New: mount of subvols leads to kernel backtrace and non-functional mounts
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=845774 https://bugzilla.novell.com/show_bug.cgi?id=845774#c0 Summary: mount of subvols leads to kernel backtrace and non-functional mounts Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: kukuk@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: Yes I try to mount a subvolume with "mount -t btrfs -o subvol=home" or with an entry in /etc/fstab. The first call succeeds, but leads already to a kernel trace: [ 114.413389] device fsid e252b8c2-8870-4ecf-9a4a-48d724fd3da7 devid 1 transid 7036 /dev/vda2 [ 114.417099] ------------[ cut here ]------------ [ 114.417109] WARNING: CPU: 0 PID: 3560 at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.3/linux-3.11/fs/sysfs/dir.c:530 sysfs_add_one+0x9c/0xc0() [ 114.417111] sysfs: cannot create duplicate filename '/fs/btrfs/00000000-0000-0000-0000-000000000000' [ 114.417113] Modules linked in: af_packet sr_mod cdrom ata_generic snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq snd_timer snd_seq_device snd ata_piix serio_raw pcspkr virtio_balloon virtio_net floppy soundcore button mperf i2c_piix4 snd_page_alloc sg dm_mod autofs4 btrfs raid6_pq zlib_deflate xor libcrc32c virtio_blk virtio_pci virtio_ring virtio cirrus ttm drm_kms_helper drm sysimgblt sysfillrect syscopyarea processor thermal_sys scsi_dh_rdac scsi_dh_hp_sw scsi_dh_emc scsi_dh_alua scsi_dh [ 114.417150] CPU: 0 PID: 3560 Comm: mount Not tainted 3.11.3-1-desktop #1 [ 114.417152] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 114.417155] 0000000000000009 ffffffff815a9527 ffff88003b0bda80 ffffffff81050ec2 [ 114.417158] 00000000ffffffef ffff88003b0bdad0 ffff88003b0bdb10 ffff88003b5b6000 [ 114.417161] 0000000000000000 ffffffff81050f27 ffffffff81801b28 ffffffff00000020 [ 114.417165] Call Trace: [ 114.417179] [<ffffffff81004a18>] dump_trace+0x88/0x310 [ 114.417184] [<ffffffff81004d70>] show_stack_log_lvl+0xd0/0x1d0 [ 114.417189] [<ffffffff810061bc>] show_stack+0x1c/0x50 [ 114.417196] [<ffffffff815a9527>] dump_stack+0x50/0x89 [ 114.417202] [<ffffffff81050ec2>] warn_slowpath_common+0x72/0x90 [ 114.417207] [<ffffffff81050f27>] warn_slowpath_fmt+0x47/0x50 [ 114.417212] [<ffffffff811f47cc>] sysfs_add_one+0x9c/0xc0 [ 114.417217] [<ffffffff811f4972>] create_dir+0x62/0xc0 [ 114.417222] [<ffffffff811f4c99>] sysfs_create_dir+0x79/0xd0 [ 114.417228] [<ffffffff812d2300>] kobject_add_internal+0xc0/0x300 [ 114.417234] [<ffffffff812d27c5>] kobject_add+0x65/0xb0 [ 114.417256] [<ffffffffa016389c>] btrfs_sysfs_add_one+0x4c/0x150 [btrfs] [ 114.417323] [<ffffffffa01231ed>] btrfs_mount+0x65d/0x7f0 [btrfs] [ 114.417338] [<ffffffff81189bff>] mount_fs+0x2f/0x1a0 [ 114.417344] [<ffffffff811a29b5>] vfs_kern_mount+0x55/0xe0 [ 114.417355] [<ffffffffa0122ce4>] btrfs_mount+0x154/0x7f0 [btrfs] [ 114.417367] [<ffffffff81189bff>] mount_fs+0x2f/0x1a0 [ 114.417372] [<ffffffff811a29b5>] vfs_kern_mount+0x55/0xe0 [ 114.417378] [<ffffffff811a4e30>] do_mount+0x230/0xa40 [ 114.417385] [<ffffffff811a56bc>] SyS_mount+0x7c/0xc0 [ 114.417390] [<ffffffff815b712d>] system_call_fastpath+0x1a/0x1f [ 114.417396] [<00007f9c638b0f5a>] 0x7f9c638b0f59 [ 114.417398] ---[ end trace 1e860fddd852975e ]--- [ 114.417401] ------------[ cut here ]------------ all following tries to mount subvols will fail with EEXITS. This definitly worked with Beta1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=845774
https://bugzilla.novell.com/show_bug.cgi?id=845774#c1
David Sterba
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=845774
https://bugzilla.novell.com/show_bug.cgi?id=845774#c2
Jeff Mahoney
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=845774
https://bugzilla.novell.com/show_bug.cgi?id=845774#c3
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com