Bug with hostfs when not specifying host dir in fstab
Hi,
Something changed in hostfs in the past months so that now, this line in
fstab will kill UML on boot:
none /host hostfs defaults 0 0
Changing it to:
none /host hostfs /,defaults 0 0
does what I want. Additionally, doing this on the command line:
mount -t hostfs -o defaults none /mnt
also kills UML. Here's the backtrace:
#0 panic (fmt=0xa01e2107 "kernel BUG at %s:%d!\n") at panic.c:52 #1 0xa003e5aa in kfree (objp=0xa3181514) at slab.c:1439
#2 0xa013b7ee in hostfs_read_super (sb=<incomplete type>, data=0xa2ffc000,
silent=0) at hostfs_kern.c:932
#3 0xa004c44b in get_sb_nodev (fs_type=0xa02403ec, flags=0,
dev_name=0xa2ffd000 "none", data=0xa2ffc000) at super.c:756
#4 0xa004c5b2 in do_kern_mount (fstype=0xa300a000 "hostfs", flags=0,
name=0xa2ffd000 "none", data=0xa2ffc000) at super.c:808
#5 0xa0065db5 in do_add_mount (nd=0xa3507b20, type=0xa300a000 "hostfs",
flags=0, mnt_flags=0, name=0xa2ffd000 "none", data=0xa2ffc000)
at namespace.c:626
#6 0xa00661c9 in do_mount (dev_name=0xa2ffd000 "none",
dir_name=0xa3803000 "/mnt", type_page=0xa300a000 "hostfs",
flags=3236757504, data_page=0xa2ffc000) at namespace.c:740
#7 0xa0066583 in sys_mount (dev_name=0x805c180 "none",
dir_name=0x805c190 "/mnt", type=0x805c1a0 "hostfs", flags=3236757504,
data=0x805c1d0) at namespace.c:853
#8 0xa00f0e37 in um_mount (dev_name=0x805c180 "none",
dir_name=0x805c190 "/mnt", type=0x805c1a0 "hostfs", new_flags=3236757504,
data=0x805c1d0) at syscall_kern.c:33 I have no time to look at this right now, but maybe its an useful
bug-report, and perhaps someone who knows hostfs better than I can quickly identify the problem. The kernel is 2.4.22-1 usgin TT mode.
best regards,
Signature · 11 lines
Livio B. Soares ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel