linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Jano <jasieczek@gmail.com>
Cc: Phillip Susi <psusi@cfl.rr.com>,
	linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: Problems with mounting filesystems from /dev/hdb (kernel 2.6.18.1)
Date: Thu, 09 Nov 2006 19:00:47 +0100	[thread overview]
Message-ID: <45536CCF.4020209@gmail.com> (raw)
In-Reply-To: <d9a083460611090922j75b97cd4u6cc53eeee52b2344@mail.gmail.com>

Jano wrote:
> 2006/11/9, Jiri Slaby <jirislaby@gmail.com>:
>> Jano wrote:
>> > I've compiled it into the kernel, but it doesn't work.
>>
>> But I guess, you either haven't mkinitrd'ed it or you don't have an
>> initrd line
>> in your loader config (I can't see any difference in dmesgs diff)?
>>
> 
> It is quite possible. All I've done was:
> 
> # make all
> # make modules_install
> # make install
> 
> And update of /boot/grub/menu.lst. Additionally I've tried to do it using:
> 
> # make-kpkg --initrd kernel_image kernel_headers
> 
> And installing the deb package. Please correct me if I've made any
> mistakes.

Hmm, both should be sufficient, however initrd seems to be not loaded. What does
your grub config says and could you zcat [initrd] | cpio -t (or whatever it is
packed by)?

> 2006/11/9, Phillip Susi <psusi@cfl.rr.com>:
>> I didn't ask for /proc/mounts, I asked for the output of the mount
>> command with no arguments, which prints the contents of /etc/mtab.  I
>> was thinking that /etc/mtab might show the partitions as mounted even
>> though they are not, which could be why mount is complaining.
>>
> 
> Here you are, this is output of 'mount' while in recovery mode using
> kernel 2.6.18.1

If you have your /etc/mtab file on ro mounted partition while in recovery mode,
it's not being updated by mount...

> $ mount
> /dev/hda3 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> /sys on /sys type sysfs (rw)
> varrun on /var/run type tmpfs (rw)
> varlock on /var/lock type tmpfs (rw)
> udev on /dev type tmpfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> devshm on /dev/shm type tmpfs (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda5 on /usr type ext3 (rw)
> 
> As you can see, no trace of /dev/hdb1.

Is the real reason EBUSY (as it should be) -- could you strace your mount command?

I'm clueless now, sorry.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

  reply	other threads:[~2006-11-09 18:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d9a083460611081439v2eacb065nef62f129d2d9c9c0@mail.gmail.com>
2006-11-09 11:20 ` Problems with mounting filesystems from /dev/hdb (kernel 2.6.18.1) Jiri Slaby
2006-11-09 15:37   ` Phillip Susi
2006-11-09 15:45     ` Jiri Slaby
2006-11-09 16:55       ` Jano
2006-11-09 17:01         ` Jiri Slaby
2006-11-09 19:03         ` Jiri Slaby
     [not found]           ` <d9a083460611100739v531b0293i5ae5fd8d3ccee800@mail.gmail.com>
2006-11-10 20:36             ` Jiri Slaby
2006-11-09 17:09       ` Phillip Susi
2006-11-09 17:22         ` Jano
2006-11-09 18:00           ` Jiri Slaby [this message]
2006-11-09 18:08             ` Jano
2006-11-09 18:15               ` Jiri Slaby
2006-11-09 17:47         ` Jiri Slaby
2006-11-09 18:01           ` Jano
     [not found] <d9a083460611081309r680a5420sbb6156f5d4240797@mail.gmail.com>
2006-11-08 21:46 ` Jiri Slaby

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=45536CCF.4020209@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=jasieczek@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    /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;
as well as URLs for NNTP newsgroup(s).