* [uml-devel] ZONE_DMA and dm_create->init_emergency_isa_pool
@ 2006-12-03 21:06 rsnel
2006-12-07 19:27 ` Blaisorblade
0 siblings, 1 reply; 3+ messages in thread
From: rsnel @ 2006-12-03 21:06 UTC (permalink / raw)
To: user-mode-linux-devel
Hello,
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.
Greetings,
Rik.
Trace:
BUG: failure at mm/bounce.c:85/init_emergency_isa_pool()!
Kernel panic - not syncing: BUG!
EIP: 0073:[<401300c4>] CPU: 0 Not tainted ESP: 007b:bf433948 EFLAGS:
00000246
Not tainted
EAX: ffffffda EBX: 00000003 ECX: c134fd03 EDX: 08050408
ESI: 400287c0 EDI: 40026180 EBP: bf433a98 DS: 007b ES: 007b
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
0901be70: [<08113205>] dev_create+0x3f/0x9b
0901be90: [<08114047>] ctl_ioctl+0xd7/0x10e
0901beb8: [<080ae385>] do_ioctl+0x45/0x5a
0901bed8: [<080ae717>] vfs_ioctl+0x1ec/0x209
0901bf00: [<080ae762>] sys_ioctl+0x2e/0x4c
0901bf28: [<0805ac46>] handle_syscall+0x86/0xa0
0901bf74: [<08065805>] handle_trap+0xbe/0xc7
0901bf90: [<08065bf3>] userspace+0x123/0x166
0901bfdc: [<0805a985>] fork_handler+0x74/0x7c
0901bffc: [<a55a5a5a>] 0xa55a5a5a
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] ZONE_DMA and dm_create->init_emergency_isa_pool
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
0 siblings, 1 reply; 3+ messages in thread
From: Blaisorblade @ 2006-12-07 19:27 UTC (permalink / raw)
To: user-mode-linux-devel
On Sunday 03 December 2006 22:06, rsnel@cube.dyndns.org wrote:
> Hello,
>
> 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.
> Greetings,
>
> Rik.
>
> Trace:
> BUG: failure at mm/bounce.c:85/init_emergency_isa_pool()!
> Kernel panic - not syncing: BUG!
>
> EIP: 0073:[<401300c4>] CPU: 0 Not tainted ESP: 007b:bf433948 EFLAGS:
> 00000246
> Not tainted
> EAX: ffffffda EBX: 00000003 ECX: c134fd03 EDX: 08050408
> ESI: 400287c0 EDI: 40026180 EBP: bf433a98 DS: 007b ES: 007b
> 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
> 0901be70: [<08113205>] dev_create+0x3f/0x9b
> 0901be90: [<08114047>] ctl_ioctl+0xd7/0x10e
> 0901beb8: [<080ae385>] do_ioctl+0x45/0x5a
> 0901bed8: [<080ae717>] vfs_ioctl+0x1ec/0x209
> 0901bf00: [<080ae762>] sys_ioctl+0x2e/0x4c
> 0901bf28: [<0805ac46>] handle_syscall+0x86/0xa0
> 0901bf74: [<08065805>] handle_trap+0xbe/0xc7
> 0901bf90: [<08065bf3>] userspace+0x123/0x166
> 0901bfdc: [<0805a985>] fork_handler+0x74/0x7c
> 0901bffc: [<a55a5a5a>] 0xa55a5a5a
--
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] ZONE_DMA and dm_create->init_emergency_isa_pool
2006-12-07 19:27 ` Blaisorblade
@ 2006-12-07 20:18 ` rsnel
0 siblings, 0 replies; 3+ messages in thread
From: rsnel @ 2006-12-07 20:18 UTC (permalink / raw)
To: Blaisorblade; +Cc: user-mode-linux-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-07 20:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox