From: rsnel@cube.dyndns.org
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] ZONE_DMA and dm_create->init_emergency_isa_pool
Date: Thu, 7 Dec 2006 21:18:11 +0100 [thread overview]
Message-ID: <20061207201811.GA30867@cube.dyndns.org> (raw)
In-Reply-To: <200612072027.46049.blaisorblade@yahoo.it>
Hello,
On Thu, Dec 07, 2006 at 08:27:45PM +0100, Blaisorblade wrote:
> On Sunday 03 December 2006 22:06, rsnel@cube.dyndns.org wrote:
> > When I want to create a device mapper table in user-mode-linux, I get
> >
> > BUG: failure at mm/bounce.c:85/init_emergency_isa_pool()!
> > (full stack trace below)
> >
> > I think this behaviour was introduced by:
> > [PATCH] uml: get rid of ZONE_DMA use
> >
> > I got it to work by reversing the patch.
> Can you detail the used UML version? Thanks.
It happens, for example, with stock 2.6.19+"page.h compilation fix by Jeff".
> > 0901bd78: [<080686b0>] show_regs+0xb4/0xb9
> > 0901bda4: [<0805a4c3>] panic_exit+0x25/0x3f
> > 0901bdb8: [<0807b018>] notifier_call_chain+0x1d/0x3c
> > 0901bdd8: [<0807b0a7>] atomic_notifier_call_chain+0x11/0x13
> > 0901bdec: [<0806f96e>] panic+0x52/0xdd
> > 0901be0c: [<0809b91b>] init_emergency_isa_pool+0x4b/0x5d
> > 0901be28: [<080f3cbd>] blk_queue_bounce_limit+0x33/0x48
> > 0901be3c: [<081106a5>] alloc_dev+0xf4/0x285
> > 0901be64: [<081109c1>] dm_create+0xb/0x20
The failing init_emergency_isa_pool is called from block/ll_rw_blk.c
because it finds that the system has DMA. With the introduction of 'get
rid of ZONE_DMA use' init_emergency_isa_pool started giving errors.
The proper fix probably consists of convincing block/ll_rw_blk.c that it
doesn't need DMA (<16MB) memory.
Greetings,
Rik.
--
Nothing is ever a total loss; it can always serve as a bad example.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2006-12-07 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-03 21:06 [uml-devel] ZONE_DMA and dm_create->init_emergency_isa_pool rsnel
2006-12-07 19:27 ` Blaisorblade
2006-12-07 20:18 ` rsnel [this message]
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=20061207201811.GA30867@cube.dyndns.org \
--to=rsnel@cube.dyndns.org \
--cc=blaisorblade@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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