printf's in cpu_startup()

Chuck Tuffli chuck_tuffli at agilent.com
Wed Jun 22 18:41:35 PDT 2005


On Wed, Jun 22, 2005 at 04:56:16PM -0700, Matthew Dillon wrote:
. ..
>     But the real question is ... did my commit fix your crash-on-boot
>     problem ?
> 
> 					-Matt

The system boots, but I was trying to reconcile the difference in the
output. For example, in the case that panics, the output is

PHYS_AVAIL 00001000 - 0009f000
PHYS_AVAIL 005a5000 - 3fa5f000
PHYS_AVAIL 3fa86000 - 3fac2000
PHYS_AVAIL 3fb06000 - 3fb14000
PHYS_AVAIL 3fb26000 - 3fbf8000
PHYS_AVAIL 2fc00a0000 - 60008f00000000
PHYS_AVAIL 8da007ff0000d000 - 0000c000
BIGGESTONE 12 SIZE 8241578526289948672
NBLOCKS 7
TOTAL 8268600534212882432
VM_PAGE_BUCKET_COUNT 0
MAP1 c081a000/c081a000 PHYS 0000c000 - 0000c000
FIRST_PAGE 1 PAGE_RANGE 11
VM_PAGE_ARRAY @ KVA 0xc081a000 PHYS 0000b000 - 0000c000
VM_PAGE_ARRAY HAS 11 ENTRIES

where as after the patch the output is

PHYS_AVAIL 00001000 - 0009f000
PHYS_AVAIL 005a5000 - 3fa5f000
PHYS_AVAIL 3fa86000 - 3fac2000
PHYS_AVAIL 3fb06000 - 3fb14000
PHYS_AVAIL 3fb26000 - 3fbf8000
BIGGESTONE 2 SIZE 1061920768
NBLOCKS 5
TOTAL 1063731200
VM_PAGE_BUCKET_COUNT 524288
MAP1 c081a000/c0a1a000 PHYS 3f85f000 - 3fa5f000
FIRST_PAGE 1 PAGE_RANGE 261111
VM_PAGE_ARRAY @ KVA 0xc0a1a000 PHYS 3e770000 - 3f85f000
VM_PAGE_ARRAY HAS 261111 ENTRIES

So I was trying to understand (for example) why BIGGESTONE and NBLOCKS
changed and was trying to back-track to phys_avail[] to do that.

-- 
Chuck Tuffli
Agilent Technologies





More information about the Kernel mailing list