VirtualBox

Opened 13 years ago

Last modified 10 years ago

#8056 closed defect

shared folders function failed, in VirtualBox 4.0.0 r69151 with Linux Guest kernel version 2.6.37 — at Initial Version

Reported by: Ted Feng Owned by:
Component: shared folders Version: VirtualBox 4.0.0
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

After installed Guest Addition, create shared folders, but mount failed. Relevant kernel log:

[ 102.216204] ISO 9660 Extensions: Microsoft Joliet Level 3 [ 102.456192] ISO 9660 Extensions: RRIP_1991A [ 577.008204] ------------[ cut here ]------------ [ 577.008204] WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0xb0/0x120() [ 577.008204] Hardware name: VirtualBox [ 577.008204] sysfs: cannot create duplicate filename '/devices/virtual/bdi/vboxsf-share' [ 577.008204] Modules linked in: nls_utf8 isofs binfmt_misc vboxvideo drm agpgart snd_intel8x0 vboxsf snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device vboxguest snd ppdev psmouse lp parport_pc joydev serio_raw parport soundcore snd_page_alloc i2c_piix4 usbhid ahci e1000 libahci hid [ 577.012240] Pid: 1703, comm: mount.vboxsf Tainted: G W 2.6.37 #3 [ 577.012240] Call Trace: [ 577.012240] [<c014a322>] warn_slowpath_common+0x72/0xa0 [ 577.012240] [<c0277690>] ? sysfs_add_one+0xb0/0x120 [ 577.012240] [<c0277690>] ? sysfs_add_one+0xb0/0x120 [ 577.012240] [<c014a3f3>] warn_slowpath_fmt+0x33/0x40 [ 577.012240] [<c0277690>] sysfs_add_one+0xb0/0x120 [ 577.012240] [<c0277761>] create_dir+0x61/0xa0 [ 577.012240] [<c0277811>] sysfs_create_dir+0x71/0xb0 [ 577.012240] [<c035e322>] kobject_add_internal+0x92/0x1d0 [ 577.012240] [<c035e54d>] kobject_add_varg+0x2d/0x50 [ 577.012240] [<c035e5cc>] kobject_add+0x2c/0x60 [ 577.012240] [<c040788e>] device_add+0x9e/0x590 [ 577.012240] [<c0137bde>] ? complete_all+0x4e/0x60 [ 577.012240] [<c0410fa1>] ? pm_runtime_init+0xc1/0xd0 [ 577.012240] [<c0410313>] ? device_pm_init+0x43/0x50 [ 577.012240] [<c0407d97>] device_register+0x17/0x20 [ 577.012240] [<c0407e7f>] device_create_vargs+0xdf/0xf0 [ 577.012240] [<c01f3680>] bdi_register+0x50/0x170 [ 577.012240] [<e0974c1b>] sf_init_backing_dev+0x4b/0x60 [vboxsf] [ 577.021352] [<e097250a>] sf_read_super_26+0x3ea/0x8a0 [vboxsf] [ 577.021352] [<c01e2888>] ? get_page_from_freelist+0x258/0x4d0 [ 577.021352] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.021352] [<c03626e9>] ? strlcpy+0x39/0x50 [ 577.021352] [<c021fc66>] ? sget+0x2f6/0x3a0 [ 577.021352] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.021352] [<c021ea00>] ? set_anon_super+0x0/0xf0 [ 577.021352] [<c021fe34>] mount_nodev+0x44/0x80 [ 577.021352] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.021352] [<c021fe8f>] get_sb_nodev+0x1f/0x40 [ 577.021352] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.021352] [<e0972031>] sf_get_sb+0x21/0x30 [vboxsf] [ 577.021352] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.021352] [<c021f7d4>] vfs_kern_mount+0x174/0x210 [ 577.021352] [<c0233a43>] ? get_fs_type+0x33/0xb0 [ 577.021352] [<c021f8ce>] do_kern_mount+0x3e/0xe0 [ 577.021352] [<c0236834>] do_mount+0x2e4/0x6d0 [ 577.021352] [<c01e336b>] ? get_free_pages+0x2b/0x30 [ 577.021352] [<c02349b1>] ? copy_mount_options+0x41/0x120 [ 577.021352] [<c0236c8b>] sys_mount+0x6b/0xa0 [ 577.021352] [<c05d9364>] syscall_call+0x7/0xb [ 577.021352] ---[ end trace a7919e7f17c0a727 ]--- [ 577.021352] kobject_add_internal failed for vboxsf-share with -EEXIST, don't try to register things with the same name in the same directory. [ 577.021352] Pid: 1703, comm: mount.vboxsf Tainted: G W 2.6.37 #3 [ 577.021352] Call Trace: [ 577.024206] [<c05d63ed>] ? printk+0x2d/0x30 [ 577.024206] [<c035e3cc>] kobject_add_internal+0x13c/0x1d0 [ 577.024206] [<c035e54d>] kobject_add_varg+0x2d/0x50 [ 577.024206] [<c035e5cc>] kobject_add+0x2c/0x60 [ 577.024206] [<c040788e>] device_add+0x9e/0x590 [ 577.024206] [<c0137bde>] ? complete_all+0x4e/0x60 [ 577.024206] [<c0410fa1>] ? pm_runtime_init+0xc1/0xd0 [ 577.024206] [<c0410313>] ? device_pm_init+0x43/0x50 [ 577.024206] [<c0407d97>] device_register+0x17/0x20 [ 577.024206] [<c0407e7f>] device_create_vargs+0xdf/0xf0 [ 577.024206] [<c01f3680>] bdi_register+0x50/0x170 [ 577.024206] [<e0974c1b>] sf_init_backing_dev+0x4b/0x60 [vboxsf] [ 577.024206] [<e097250a>] sf_read_super_26+0x3ea/0x8a0 [vboxsf] [ 577.024206] [<c01e2888>] ? get_page_from_freelist+0x258/0x4d0 [ 577.024206] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.024206] [<c03626e9>] ? strlcpy+0x39/0x50 [ 577.024206] [<c021fc66>] ? sget+0x2f6/0x3a0 [ 577.024206] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.024206] [<c021ea00>] ? set_anon_super+0x0/0xf0 [ 577.024206] [<c021fe34>] mount_nodev+0x44/0x80 [ 577.024206] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.024206] [<c021fe8f>] get_sb_nodev+0x1f/0x40 [ 577.024206] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.024206] [<e0972031>] sf_get_sb+0x21/0x30 [vboxsf] [ 577.024206] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.024206] [<c021f7d4>] vfs_kern_mount+0x174/0x210 [ 577.024206] [<c0233a43>] ? get_fs_type+0x33/0xb0 [ 577.024206] [<c021f8ce>] do_kern_mount+0x3e/0xe0 [ 577.024206] [<c0236834>] do_mount+0x2e4/0x6d0 [ 577.024206] [<c01e336b>] ? get_free_pages+0x2b/0x30 [ 577.024206] [<c02349b1>] ? copy_mount_options+0x41/0x120 [ 577.024206] [<c0236c8b>] sys_mount+0x6b/0xa0 [ 577.024206] [<c05d9364>] syscall_call+0x7/0xb [ 577.024206] ------------[ cut here ]------------ [ 577.024206] WARNING: at fs/inode.c:1364 iput+0x24b/0x280() [ 577.024206] Hardware name: VirtualBox [ 577.024206] Modules linked in: nls_utf8 isofs binfmt_misc vboxvideo drm agpgart snd_intel8x0 vboxsf snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device vboxguest snd ppdev psmouse lp parport_pc joydev serio_raw parport soundcore snd_page_alloc i2c_piix4 usbhid ahci e1000 libahci hid [ 577.028197] Pid: 1703, comm: mount.vboxsf Tainted: G W 2.6.37 #3 [ 577.028197] Call Trace: [ 577.028197] [<c014a322>] warn_slowpath_common+0x72/0xa0 [ 577.028197] [<c0231b5b>] ? iput+0x24b/0x280 [ 577.028197] [<c0231b5b>] ? iput+0x24b/0x280 [ 577.028197] [<c014a372>] warn_slowpath_null+0x22/0x30 [ 577.028197] [<c0231b5b>] iput+0x24b/0x280 [ 577.028197] [<e0972522>] sf_read_super_26+0x402/0x8a0 [vboxsf] [ 577.028197] [<c01e2888>] ? get_page_from_freelist+0x258/0x4d0 [ 577.028197] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.028197] [<c03626e9>] ? strlcpy+0x39/0x50 [ 577.028197] [<c021fc66>] ? sget+0x2f6/0x3a0 [ 577.028197] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.028197] [<c021ea00>] ? set_anon_super+0x0/0xf0 [ 577.028197] [<c021fe34>] mount_nodev+0x44/0x80 [ 577.028197] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.028197] [<c021fe8f>] get_sb_nodev+0x1f/0x40 [ 577.028197] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.028197] [<e0972031>] sf_get_sb+0x21/0x30 [vboxsf] [ 577.028197] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.028197] [<c021f7d4>] vfs_kern_mount+0x174/0x210 [ 577.028197] [<c0233a43>] ? get_fs_type+0x33/0xb0 [ 577.028197] [<c021f8ce>] do_kern_mount+0x3e/0xe0 [ 577.028197] [<c0236834>] do_mount+0x2e4/0x6d0 [ 577.028197] [<c01e336b>] ? get_free_pages+0x2b/0x30 [ 577.028197] [<c02349b1>] ? copy_mount_options+0x41/0x120 [ 577.028197] [<c0236c8b>] sys_mount+0x6b/0xa0 [ 577.032197] [<c05d9364>] syscall_call+0x7/0xb [ 577.032197] ---[ end trace a7919e7f17c0a728 ]--- [ 577.036203] ------------[ cut here ]------------ [ 577.036203] WARNING: at fs/inode.c:1369 iput+0x231/0x280() [ 577.036203] Hardware name: VirtualBox [ 577.036203] Modules linked in: nls_utf8 isofs binfmt_misc vboxvideo drm agpgart snd_intel8x0 vboxsf snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device vboxguest snd ppdev psmouse lp parport_pc joydev serio_raw parport soundcore snd_page_alloc i2c_piix4 usbhid ahci e1000 libahci hid [ 577.036203] Pid: 1703, comm: mount.vboxsf Tainted: G W 2.6.37 #3 [ 577.036203] Call Trace: [ 577.036203] [<c014a322>] warn_slowpath_common+0x72/0xa0 [ 577.036203] [<c0231b41>] ? iput+0x231/0x280 [ 577.036203] [<c0231b41>] ? iput+0x231/0x280 [ 577.036203] [<c014a372>] warn_slowpath_null+0x22/0x30 [ 577.036203] [<c0231b41>] iput+0x231/0x280 [ 577.036203] [<e0972522>] sf_read_super_26+0x402/0x8a0 [vboxsf] [ 577.036203] [<c01e2888>] ? get_page_from_freelist+0x258/0x4d0 [ 577.036203] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.036203] [<c03626e9>] ? strlcpy+0x39/0x50 [ 577.036203] [<c021fc66>] ? sget+0x2f6/0x3a0 [ 577.036203] [<c035d471>] ? ida_get_new_above+0x101/0x1b0 [ 577.036203] [<c021ea00>] ? set_anon_super+0x0/0xf0 [ 577.036203] [<c021fe34>] mount_nodev+0x44/0x80 [ 577.036203] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.036203] [<c021fe8f>] get_sb_nodev+0x1f/0x40 [ 577.036203] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.036203] [<e0972031>] sf_get_sb+0x21/0x30 [vboxsf] [ 577.036203] [<e0972120>] ? sf_read_super_26+0x0/0x8a0 [vboxsf] [ 577.040192] [<c021f7d4>] vfs_kern_mount+0x174/0x210 [ 577.040192] [<c0233a43>] ? get_fs_type+0x33/0xb0 [ 577.040192] [<c021f8ce>] do_kern_mount+0x3e/0xe0 [ 577.040192] [<c0236834>] do_mount+0x2e4/0x6d0 [ 577.040192] [<c01e336b>] ? get_free_pages+0x2b/0x30 [ 577.040192] [<c02349b1>] ? copy_mount_options+0x41/0x120 [ 577.040192] [<c0236c8b>] sys_mount+0x6b/0xa0 [ 577.040192] [<c05d9364>] syscall_call+0x7/0xb [ 577.040192] ---[ end trace a7919e7f17c0a729 ]---

Change History (2)

by Ted Feng, 13 years ago

by Ted Feng, 13 years ago

Attachment: dmesg added

kernel log

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use