All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@mandrakesoft.com>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: pcmcia oops problem?
Date: 14 Mar 2002 17:16:35 +0100	[thread overview]
Message-ID: <m2henjruos.fsf@trasno.mitica> (raw)
In-Reply-To: <3C90BA11.40106@mandrakesoft.com>
In-Reply-To: <3C90BA11.40106@mandrakesoft.com>

>>>>> "jeff" == Jeff Garzik <jgarzik@mandrakesoft.com> writes:

jeff> Can you describe the pcmcia oops problem in detail?
jeff> What output do you get from a serial console?

Ok, trying to get better message now.

jeff> what do you mean, oops got infinite trace?  were there (a) many oops
jeff> or (b) one oops with long trace
jeff> what do you mean, double fix of /dev/XXXXX name?

I think so, but it is not possible to be sure :(

jeff> is pcmcia-cs creating and removing /dev entries too?

Ok, the problem:

plug a pcmcia card (network cards work perfect), ide_cs & modem fail).
unplug it

it just oops the kernel.

as ethX works perfect and modem & ide_cs fails, devfs is suspect
number one.

Then I boot with devfs=nomount

repeat the experiment, and everythnig works as expected (devfs is
decleared more suspect indeed). 

Really devfs & devfsd are suspect.
I know that ide_cs worked before because I used it to download pics
from my camera and I had never had a single problem.

Then I boot back with kernel-linus2.4.

Everything works perfect.

In the middle, I changed devfsd from version 2.3.24 to 2.3.23, same
problems.

kernel-linus2.4 works with both devfsd.

I relaunch kernel-mdk with devfs-2.3.23, this times also oops, but it
just hangs in devfs_unregister, that calls to kmem_cache_alloc(), and
them kmem_cache_grow (here is the Ooops), this is called from a bottom
handler.



With devfsd 2.3.24, it appears that there is a stack overflow inside
devfs, and kdb is of not help to detect it (we never end the do_BUG()
function because there is a borken stack.

I have do a diff of 2.4.18 against lastest mandrake kernel and there
are:
- no devfs differences
- no changes in register/unregister calls.

that means that the problem happens as a side effect of other thing.

Later, Juan.







-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

  reply	other threads:[~2002-03-14 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 14:56 pcmcia oops problem? Jeff Garzik
2002-03-14 16:16 ` Juan Quintela [this message]
2002-03-14 18:01   ` Richard Gooch
2002-03-14 18:40     ` Juan Quintela

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=m2henjruos.fsf@trasno.mitica \
    --to=quintela@mandrakesoft.com \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.