linux-um archives
 help / color / mirror / Atom feed
From: Livio Baldini Soares <livio@ime.usp.br>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Bug with hostfs when not specifying host dir in fstab
Date: Thu, 4 Sep 2003 14:12:46 -0300	[thread overview]
Message-ID: <20030904171245.GA30388@ime.usp.br> (raw)

  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

                 reply	other threads:[~2003-09-04 17:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030904171245.GA30388@ime.usp.br \
    --to=livio@ime.usp.br \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox