All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bjorn Eriksson" <mdeans@algonet.se>
To: <mtd@infradead.org>
Subject: Update: Simplified initrd on flash/ROM.
Date: Wed, 2 Aug 2000 23:07:58 +0200	[thread overview]
Message-ID: <002c01bffcc5$bc74eec0$0800a8c0@win95.inteloop.se> (raw)
In-Reply-To: <002801bffcac$7d84e8a0$0800a8c0@win95.inteloop.se>


>  Does anyone know why I'm not allowed to call ioremap() in
> i386/kernel/setup.c:setup_arch()? It fails with the message 'kmem_alloc:
> NULL ptr (name=unknown)' when __ioremap() calls get_vm_area(size).

 Rudely replying to my self... I obviously didn't research this enough
before posting. The reason seems to be that the slab allocator isn't
initialised yet at this point so the kmalloc() call in get_vm_area() fails.

 I guess I'll have to defer the initialisation till later on in the boot
process.


//Björnen.




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-08-02 21:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-31 15:18 Booting from flash David Vrabel
2000-07-31 15:29 ` David Woodhouse
2000-07-31 15:48   ` Kira Brown
2000-07-31 18:56     ` Bjorn Eriksson
2000-07-31 21:15       ` Kira Brown
2000-08-02 18:07         ` Simplified initrd on flash/ROM Bjorn Eriksson
2000-08-02 21:07           ` Bjorn Eriksson [this message]
2000-08-01  8:38   ` Booting from flash David Vrabel
2000-08-05  5:22   ` root

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='002c01bffcc5$bc74eec0$0800a8c0@win95.inteloop.se' \
    --to=mdeans@algonet.se \
    --cc=mtd@infradead.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.