l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: booting l4-Hurd, memory unaligned


From: Derek Davies
Subject: Re: booting l4-Hurd, memory unaligned
Date: 04 Apr 2005 22:56:10 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

> laden:debug_dump: Memory Map 7: Type 2, Base: 0xffee0000, Length: 0x2ffff

Andreas,

Superficially I see what's wrong, but I don't know what's causing it.
Memory Map 7's length is misaligned.  The length of each memory map
entry needs to have the lower 10 bits clear.  Since the start address
must also have the lower 10 bits clear this ensures alignment of both
the start and end addresses.

Grub supplies the initial memory map information to laden, so its
possible this is a grub bug.  Then again, the BIOS supplies the info
to grub, so it could be a BIOS bug.  I suppose there's some remote
possibility that its an l4/hurd bug too :)

I'm still looking at it, but figured I'd post in case anyone else has
some ideas.  It's hard to find good infomation regarding how the BIOS
makes the memory map.

Derek

"Andreas B. Mundt" <address@hidden> writes:

>  >Andreas,
> 
>  >Would you mind sending the full output?  There's some stuff printed
>  >early on that might help in figuring out why you got that error.
> 
>  >Thanks,
>  >Derek
> 
> 
> Hi Derek,
> 
> here is (almost) the full output:
> 
> 
> a few lines too fast to follow, then:
> 
> laden:debug_dump: Booted by GNU GRUB 0.95
> laden:debug_dump: Memory: Lower 639 KB, Upper 523200 KB
> laden:debug_dump: Module 1: Start 0x198000, End 0x1c1e7a, Cmd 
> /l4/boot/ia-32-kernel
> laden:debug_dump: Module 2: Start 0x1c2000, End 0x1d6e22, Cmd 
> /l4/libexec/l4/sigma0
> laden:debug_dump: Module 3: Start 0x1d7000, End 0x1e05a8, Cmd 
> /l4/boot/wortel-D
> laden:debug_dump: Module 4: Start 0x1e1000, End 0x1f72c8, Cmd /l4/boot/physmem
> laden:debug_dump: Module 5: Start 0x1f8000, End 0x20f3c8, Cmd /l4/boot/task
> laden:debug_dump: Module 6: Start 0x210000, End 0x2277c8, Cmd /l4/boot/deva
> laden:debug_dump: Module 7: Start 0x228000, End 0x23f3c8, Cmd /l4/boot/task
> laden:debug_dump: Module 8: Start 0x240000, End 0x250288, Cmd /l4/boot/ruth
> laden:debug_dump: Memory Map 1: Type 1, Base: 0x0, Length: 0x9fc00
> laden:debug_dump: Memory Map 2: Type 2, Base: 0x9fc00, Length: 0x400
> laden:debug_dump: Memory Map 3: Type 2, Base: 0xf0000, Length: 0x10000
> laden:debug_dump: Memory Map 4: Type 1, Base: 0x100000, Length: 0x1fef0000
> laden:debug_dump: Memory Map 5: Type 3, Base: 0x1fff0000, Length: 0x8000
> laden:debug_dump: Memory Map 6: Type 4, Base: 0x1fff8000, Length: 0x8000
> laden:debug_dump: Memory Map 7: Type 2, Base: 0xffee0000, Length: 0x2ffff
> laden:debug_dump: Memory Map 8: Type 2, Base: 0xfec00000, Length: 0x1000
> laden:debug_dump: Memory Map 9: Type 2, Base: 0xfee00000, Length: 0x1000
> laden:debug_dump: Memory Map 10: Type 2, Base: 0xfff80000, Length: 0x80000
> laden: error: Memory region (0xffee0000-0xfff0fffe) is unaligned
> 
> 
> I hope this is correct now (my first posting contains a typo in the addresses 
> :-( ,sorry)
> 
> Best regards
> 
>       Andi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]