mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Karcher <michael.karcher@dpk.berlin.fido.de>
To: linux-kernel@vger.kernel.org
Subject: Crash in request_region while handling kernel parameters
Date: Tue, 13 Feb 2001 20:17:04 +0100	[thread overview]
Message-ID: <20010213201704.A319@p9.dpk.berlin.fido.de> (raw)

Hello kernel-hackers,

I found a problem with kernel 2.4, that makes the kernel crash at
bootup, for example when using the UMC8672 VLB IDE controller driver.
The problem is in kernel/resource.c. In line 229 some memory for
handling new io-regions is kmalloc()ed. This crashes the computer
before mem_init(), as it seems.
But some drivers, for example the above mentioned one in
drivers/ide/umc8672.c, do already claim i/o ports in their kernel
parameter driven initialization procedures, so they crash the system.

The point to discuss is whether one needs to fix the drivers, to not
request i/o space while handling kernel parameters or to fix the kernel
to allow this behaviour. As I do not read this mailing list, a
currently don't have web access ready, I don't know whether this topic
has already been discussed. Currently I helped myself by just
commenting out the calls for check_region and request_region in the
umc8672.c file, but I know it smells.

Please send me a cc if you think you have a decision how to fix the
crash.

Michael Karcher

                 reply	other threads:[~2001-02-14  0:25 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=20010213201704.A319@p9.dpk.berlin.fido.de \
    --to=michael.karcher@dpk.berlin.fido.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®