linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Bug with hostfs when not specifying host dir in fstab
@ 2003-09-04 17:12 Livio Baldini Soares
  0 siblings, 0 replies; only message in thread
From: Livio Baldini Soares @ 2003-09-04 17:12 UTC (permalink / raw)
  To: user-mode-linux-devel

  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,

--  
  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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-04 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04 17:12 [uml-devel] Bug with hostfs when not specifying host dir in fstab Livio Baldini Soares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox