From: Richard Gooch <rgooch@ras.ucalgary.ca>
To: Pierre Rousselet <pierre.rousselet@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.1-pre5 not easy to boot with devfs
Date: Sat, 1 Dec 2001 16:20:53 -0700 [thread overview]
Message-ID: <200112012320.fB1NKro03024@vindaloo.ras.ucalgary.ca> (raw)
In-Reply-To: <3C093F86.DA02646D@wanadoo.fr>
In-Reply-To: <3C085FF3.813BAA57@wanadoo.fr> <9u9qas$1eo$1@penguin.transmeta.com> <200112010701.fB171N824084@vindaloo.ras.ucalgary.ca> <3C0898AD.FED8EF4A@wanadoo.fr> <200112011836.fB1IaxY31897@vindaloo.ras.ucalgary.ca> <3C093F86.DA02646D@wanadoo.fr>
Pierre Rousselet writes:
> Richard Gooch wrote:
> >
> > Pierre Rousselet writes:
> > > Richard Gooch wrote:
> > > > Indeed I do. Please Cc: me on devfs related stuff. And please apply
> > > > devfs-patch-v200, which fixes a stupid typo. I'd also be interested in
> > > > knowing the behaviour with 2.4.17-pre1.
> >
> > Did you apply devfs-patch-v200?
> >
> Well, I am now back with 2.4.16 and devfsd-1.3.18. Playing with
> devfs is a risky game.
I assume if you use kernel 2.4.16 with devfsd-1.3.20 that there is no
Oops?
> I applied devfs-patch-v200 against 2.5.1-pre5 :
> And I got an oops when booting with devfsd-1.3.20. Luckily, I get the
> same oops when booting without devfsd and starting it after loging in.
> Here it is
>
> ksymoops 2.4.3 on i686 2.5.1-pre5. Options used
> -V (default)
> -k /proc/ksyms (default)
> -l /proc/modules (default)
> -o /lib/modules/2.5.1-pre5/ (default)
> -m /usr/src/linux/System.map (default)
Did you install the appropriate System.map in /usr/src/linux? If not,
please use the -m option to specify the correct System.map file.
> > > > and boot messages. And booting with
> > >
> > > Difficult, I have no log in this case. I don't see unusual message
> > > before the oops except :
> >
> > I need those boot messages.
>
> Here is a log of a successful boot with devfs-patch-v200 but without
> starting devfsd.
Well, that doesn't help. I need to see the boot messages with when it
fails. And I need the debugging output from passing "devfs=dall" to
the kernel as well.
> > > none already mounted on /dev
> >
> > Edit your /etc/fstab and remove the line for devfs. You don't
> > need/want that if you have CONFIG_DEVFS_MOUNT=y.
>
> no problem
I assume that didn't help. It would be helpful if you said so
explicitely.
> > > /dev is only a mountpoint on my system. I have no other fallback without
> > > devfs but a working kernel (thanksfully there are plenty).
> > >
> > > > "devfs=dall" is required as well.
> > >
> > > No option appended (no 'devfs='). grub.
> >
> > I know nothing about grub. Somehow, you need to pass "devfs=dall" to
>
> maybe I should pass an option but so far it was working without any,
> as you can see it in the command line from the log above.
Argh! I want to see the boot messages when "devfs=dall" is passed,
*for the failure case*! Otherwise I don't know exactly at which point
it fails, nor do I know what has happened prior to the failure point.
These kinds of bugs are usually the result of a chain of events, so I
need to see what's been going on, a step at a time. Hence
"devfs=dall".
> > the kernel when booting. And I need to see the boot messages when this
> > option is given to the kernel. If it's too verbose, you can try
> > "devfs=dreg,dunreg,dfree" instead. Copy the messages down by hand if
> > you need to, but I need to see them. Do yourself a favour and set up a
> > serial console so you can capture boot messages easily.
>
> I'll try my best, I like devfs.
Great. That will help in getting full debugging information.
> > Also, make sure you are not using any proprietary drivers (like
> > NVidia). If you have such drivers, move them to another directory to
>
> no chance
I'm not asking you to give up using NVidia drivers forever, but it's
very important that those drivers are not loaded until the Oops has
happened, you've captured the boot messages, run them through ksymoops
and either mailed them to me, or at the very least saved them to a
file for later emailing. By moving the NVidia drivers, you ensure that
they aren't autoloaded prior to Oops generation and debug capturing.
If you're unwilling to move those drivers elsewhere (I don't see why
this is a problem for you: you can live without them for a few
minutes), then neither I nor anyone else on this list can or will help
you. Binary-only drivers like NVidia cause no end of problems, and
kernels with them loaded (or even once loaded and then unloaded) are
not debuggable by the community. For all I know, the NVidia driver
abuses devfs in some way, and there isn't a bug in devfs itself. But
not having the source, *I can't be sure*. And since I don't know, I
can't help.
Just why are you unwilling to move those drivers?
> > prevent their being loaded. Even if you load but don't use such
> > drivers, they still make debugging information unreliable.
> >
> > I've had a look at the code, and I see no reason for devfs to fail in
> > this way, unless some driver is abusing it.
>
> I would suspect 1st devfsd. 2.4.16 is not happy at all with
> devfsd-1.3.20, even rxvt fails to find a terminal.
Devfsd is just a user-space process, and can't cause an Oops unless
there is a kernel bug (i.e. a devfs bug, or maybe a driver bug). I
believe that devfsd-v1.3.20 should not make it more likely to get an
Oops than when using devfsd-1.3.18. If devfsd-v1.3.20 really does
trigger an Oops while 1.3.18 doesn't then please try 1.3.19 and report
the results.
A separate issue is why rxvt doesn't work. Again, it's important to
try devfsd-v1.3.19 to see if that also breaks rxvt. If so, report and
also send a strace output of rxvt so I can see what's going wrong
there.
Finally, please try kernel 2.4.17-pre1, which has the latest version
of devfs. The 2.5.1-pre kernels have a lot of new experimental code
which could be causing some of the problems. By using 2.4.17, it
limits the changes to (mostly) devfs, so limits the variables. When
you use 2.5.1, I can't tell if there is a bug in devfs, or perhaps
some driver which is doing something illegal with devfs.
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
next prev parent reply other threads:[~2001-12-01 23:21 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-01 4:43 2.5.1-pre5 not easy to boot with devfs Pierre Rousselet
2001-12-01 5:01 ` Alexander Viro
2001-12-01 5:37 ` Linus Torvalds
2001-12-01 7:01 ` Richard Gooch
2001-12-01 8:45 ` Pierre Rousselet
2001-12-01 18:36 ` Richard Gooch
2001-12-01 20:37 ` Pierre Rousselet
2001-12-01 23:20 ` Richard Gooch [this message]
2001-12-02 1:11 ` Pierre Rousselet
2001-12-02 10:28 ` Pierre Rousselet
2001-12-02 16:59 ` Alexander Viro
2001-12-02 17:14 ` Alan Cox
2001-12-02 18:02 ` Richard Gooch
2001-12-03 12:58 ` Jens Axboe
2001-12-03 19:06 ` Richard Gooch
2001-12-03 20:52 ` Jens Axboe
2001-12-02 17:55 ` Richard Gooch
2001-12-03 19:54 ` Alexander Viro
2001-12-02 22:57 ` Keith Owens
2001-12-03 4:50 ` Pierre Rousselet
2001-12-02 8:05 ` Pierre Rousselet
2001-12-01 23:47 ` Richard Gooch
2001-12-02 7:11 ` Pierre Rousselet
2001-12-02 21:22 ` Richard Gooch
2001-12-02 9:27 ` Pierre Rousselet
2001-12-02 19:40 ` Bongani Hlope
2001-12-01 9:59 ` Pierre Rousselet
2001-12-03 6:33 ` Richard Gooch
2001-12-03 5:57 ` Pierre ROUSSELET
2001-12-03 12:16 ` Pierre Rousselet
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=200112012320.fB1NKro03024@vindaloo.ras.ucalgary.ca \
--to=rgooch@ras.ucalgary.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre.rousselet@wanadoo.fr \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.