Re: 05e0caad3b7bd0d0fbeff980bca22f186241a501 breaks ia64 kdump

From: Mel Gorman <mel_at_csn.ul.ie>
Date: 2006-10-31 20:42:27
On Tue, 31 Oct 2006, Horms wrote:

> On , 10 30, 2006 at 11:49:00 +0000, Mel Gorman wrote:
>> On Mon, 30 Oct 2006, Horms wrote:
>>
>>> On Mon, Oct 30, 2006 at 06:11:26PM +0900, Horms wrote:
>>>> On Fri, Oct 27, 2006 at 10:15:16AM +0100, Andy Whitcroft wrote:
>>>>
>>>>> A logical next step might be to bodge things such that we offer up the
>>>>> kernel image as an active range and see if that sorts out the alignment
>>>>> issue we are seeing, this will allow us to be certain it is the kernel
>>>>> image in this area.  Something like the following inserted into
>>>>> register_memory() might work:
>>>>>
>>>>> 	add_active_range(0, code_resource.start >> PAGE_SHIFT,
>>>>> 			    data_resource.end >> PAGE_SHIFT);
>>>>>
>>>>> Not sure this is the right thing as a fix, but would help confirm the
>>>>> theory.
>>>>
>>>> I will poke around with that. Though it will probably be tomorrow.
>>>
>>> Hi,
>>>
>>> I did try adding that line to the end of register_memory(),
>>> however it didn't seem to alter the behaviour that I am seeing.
>>> The log is below, including the EFI map, in case it is useful.
>>>
>>
>> Judging from the output of early_node_map[], the range of memory the kdump
>> kernel is in is still not being registered so the memmap is not initialised. In
>> the EFI output, we see
>>
>> mem12: type=2, attr=0xb, range=[0x0000000010000000-0x00000000104b0000) (4MB)
>> mem13: type=2, attr=0xb, range=[0x00000000104b0000-0x00000000104c0000) (0MB)
>> mem14: type=2, attr=0xb, range=[0x00000000104c0000-0x0000000010760000) (2MB)
>> mem15: type=7, attr=0xb, range=[0x0000000010760000-0x000000001ffe4000) (248MB)
>>
>> The first three ranges is where I suspect the kernel is and with "type=2",
>> add_active_range() is not being called when walking the EFI map. If this memory
>> is marked correctly, it will get registered correctly.
>>
>> Try calling add_active_range(0, 16384, 16855) manually after the call to
>> efi_memmap_walk(register_active_ranges, &nid) and see does the kernel boot.
>
> Hi Mel,
>
> I am pleased to report that the above change did indeed allow the
> "crash kernel" to boot without incident.
>

ok, that confirms then that the "adjusted" memmap is messed up and 
providing the wrong information which mucks the initialisation later. Boot 
a kernel without kdump in it at all and look at the output of 
early_node_map[] and you'll see what the 256MB range at PFN 16384 is meant 
to look like. Then apply the kdump patches and get the EFI map to look the 
same for that 256MB region on kexec.

> In the process of doing this I noticed that if CONFIG_HUGETLBFS is
> not set (with CONFIG_HUGETLB_PAGE unset, though that seems to make no
> difference) the kernel halts a little futher on.

The bad page PFN faulting is at 266809 which is *WAY* outside normal 
memory. Something else is going wrong there.

> This is despite having
> adjusted the valudes in the hack you suggested accordingly. And it
> does not seem to be aleviated by ading extra add_active_range() calls
> for the pfn corresponding to the page that causes the crash.
>

I'm not suprised, there is no memory there. It's not clear to me how such 
a page ended up on the freelists.

> It is interesting that in this case the kernel completely locks up.
> A log is below for reference.
>
> -- 
> Horms
>  H: http://www.vergenet.net/~horms/
>  W: http://www.valinux.co.jp/en/
>
> Uncompressing Linux... done
> Loading initrd people/horms/initramfs_data.cpio.gz...done
> Linux version 2.6.18-kexec-g05e0caad-dirty (horms@tabatha.lab.ultramonkey.org) (gcc version 3.4.5) #57 SMP Tue Oct 31 17:59:41 JST 2006
> EFI v1.10 by INTEL: SALsystab=0x7fe54980 ACPI=0x7ff99000 ACPI 2.0=0x7ff98000 MPS=0x7ff97000 SMBIOS=0xf0000
> Kernel Start Address: _start=000000070300000b
> mem00: type=4, attr=0x9, range=[0x0000000000000000-0x0000000000001000) (0MB)
> mem01: type=7, attr=0x9, range=[0x0000000000001000-0x0000000000007000) (0MB)
> mem02: type=4, attr=0x9, range=[0x0000000000007000-0x0000000000009000) (0MB)
> mem03: type=7, attr=0x9, range=[0x0000000000009000-0x0000000000082000) (0MB)
> mem04: type=6, attr=0x8000000000000009, range=[0x0000000000082000-0x0000000000084000) (0MB)
> mem05: type=7, attr=0x9, range=[0x0000000000084000-0x0000000000085000) (0MB)
> mem06: type=4, attr=0x9, range=[0x0000000000085000-0x00000000000a0000) (0MB)
> mem07: type=5, attr=0x8000000000000009, range=[0x00000000000c0000-0x0000000000100000) (0MB)
> mem08: type=7, attr=0xb, range=[0x0000000000100000-0x0000000004000000) (63MB)
> mem09: type=2, attr=0xb, range=[0x0000000004000000-0x0000000004736000) (7MB)
> mem10: type=7, attr=0xb, range=[0x0000000004736000-0x000000000ffc0000) (184MB)
> mem11: type=4, attr=0xb, range=[0x000000000ffc0000-0x0000000010000000) (0MB)
> mem12: type=7, attr=0xb, range=[0x0000000010000000-0x000000007af7e000) (1711MB)
> mem13: type=2, attr=0xb, range=[0x000000007af7e000-0x000000007c8d2000) (25MB)
> mem14: type=1, attr=0xb, range=[0x000000007c8d2000-0x000000007c92e000) (0MB)
> mem15: type=2, attr=0xb, range=[0x000000007c92e000-0x000000007c938000) (0MB)
> mem16: type=1, attr=0xb, range=[0x000000007c938000-0x000000007c97e000) (0MB)
> mem17: type=7, attr=0xb, range=[0x000000007c97e000-0x000000007ce16000) (4MB)
> mem18: type=4, attr=0xb, range=[0x000000007ce16000-0x000000007ce1c000) (0MB)
> mem19: type=7, attr=0xb, range=[0x000000007ce1c000-0x000000007ce20000) (0MB)
> mem20: type=4, attr=0xb, range=[0x000000007ce20000-0x000000007ce22000) (0MB)
> mem21: type=7, attr=0xb, range=[0x000000007ce22000-0x000000007ce2a000) (0MB)
> mem22: type=4, attr=0xb, range=[0x000000007ce2a000-0x000000007d001000) (1MB)
> mem23: type=7, attr=0xb, range=[0x000000007d001000-0x000000007d002000) (0MB)
> mem24: type=4, attr=0xb, range=[0x000000007d002000-0x000000007d004000) (0MB)
> mem25: type=7, attr=0xb, range=[0x000000007d004000-0x000000007d026000) (0MB)
> mem26: type=4, attr=0xb, range=[0x000000007d026000-0x000000007d068000) (0MB)
> mem27: type=7, attr=0xb, range=[0x000000007d068000-0x000000007d069000) (0MB)
> mem28: type=4, attr=0xb, range=[0x000000007d069000-0x000000007d37e000) (3MB)
> mem29: type=7, attr=0xb, range=[0x000000007d37e000-0x000000007d700000) (3MB)
> mem30: type=3, attr=0xb, range=[0x000000007d700000-0x000000007d77e000) (0MB)
> mem31: type=7, attr=0xb, range=[0x000000007d77e000-0x000000007d8b4000) (1MB)
> mem32: type=6, attr=0x8000000000000009, range=[0x000000007d8b4000-0x000000007d900000) (0MB)
> mem33: type=3, attr=0xb, range=[0x000000007d900000-0x000000007f980000) (32MB)
> mem34: type=7, attr=0xb, range=[0x000000007f980000-0x000000007fa00000) (0MB)
> mem35: type=5, attr=0x8000000000000009, range=[0x000000007fa00000-0x000000007fe00000) (4MB)
> mem36: type=13, attr=0x8000000000000009, range=[0x000000007fe00000-0x000000007fe48000) (0MB)
> mem37: type=5, attr=0x8000000000000009, range=[0x000000007fe48000-0x000000007fea0000) (0MB)
> mem38: type=7, attr=0xb, range=[0x000000007fea0000-0x000000007feda000) (0MB)
> mem39: type=5, attr=0x8000000000000009, range=[0x000000007feda000-0x000000007ff46000) (0MB)
> mem40: type=6, attr=0x8000000000000009, range=[0x000000007ff46000-0x0000000080000000) (0MB)
> mem41: type=11, attr=0x1, range=[0x00000000fe000000-0x00000000ff000000) (16MB)
> mem42: type=6, attr=0x8000000000000001, range=[0x00000000ff000000-0x0000000100000000) (16MB)
> mem43: type=11, attr=0x8000000000000001, range=[0x00000ffff8000000-0x00000ffffc000000) (64MB)
> mem44: type=12, attr=0x8000000000000001, range=[0x00000ffffc000000-0x0000100000000000) (64MB)
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> booting generic kernel on platform dig
> Early serial console at I/O port 0x2f8 (options '115200')
> Initial ramdisk at: 0xe00000007af84000 (9714027 bytes)
> SAL 3.20: Intel Corp                       SR870BH2                         version 3.0
> SAL Platform features: BusLock
> SAL: AP wakeup using external interrupt vector 0xf0
> No logical to physical processor mapping available
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> iosapic_system_init: Disabling PC-AT compatible 8259 interrupts
> ACPI: Local APIC address c0000000fee00000
> PLATFORM int CPEI (0x3): GSI 22 (level, low) -> CPU 0 (0x0100) vector 30
> register_intr: changing vector 39 from IO-SAPIC-edge to IO-SAPIC-level
> 2 CPUs available, 2 CPUs total
> MCA related initialization done
> Virtual mem_map starts at 0xa0007fffff900000
> Zone PFN ranges:
>  DMA          1025 ->   262144
>  Normal     262144 ->   262144
> early_node_map[7] active PFN ranges
>    0:     1025 ->     4096
>    0:     4558 ->    16845
>    0:    32768 ->   125919
>    0:   126514 ->   127540
>    0:   127541 ->   128557
>    0:   128576 ->   130688
>    0:   130984 ->   130998
> SMP: Allowing 2 CPUs, 0 hotplug CPUs
> Built 1 zonelists.  Total pages: 112677
> Kernel command line: BOOT_IMAGE=net0:ia64/people/horms/vmlinux.gz  maxcpus=1 console=uart,io,0x2f8,115200 crashkernel=256M@256M ro
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Console: colour VGA+ 80x25
> Placing software IO TLB between 0x6740000 - 0xa740000
> Memory: 1656064k/1795456k available (3189k code, 418480k reserved, 2247k data, 624k init)
> McKinley Errata 9 workaround not needed; disabling it
> Dentry cache hash table entries: 262144 (order: 7, 2097152 bytes)
> Inode-cache hash table entries: 131072 (order: 6, 1048576 bytes)
> Mount-cache hash table entries: 1024
> ACPI: Core revision 20060707
> Boot processor id 0x0/0x100
> Brought up 1 CPUs
> Total of 1 processors activated (1941.50 BogoMIPS).
> migration_cost=0
> checking if image is initramfs... it is
> Freeing initrd memory: 9472kB freed
> DMI 2.3 present.
> ACPI: bus type pci registered
> ACPI: Interpreter enabled
> ACPI: Using IOSAPIC for interrupt routing
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> PCI quirk: region 0c00-0c7f claimed by ICH4 ACPI/GPIO/TCO
> PCI quirk: region 0500-053f claimed by ICH4 GPIO
> PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
> ACPI: PCI Root Bridge [PCI1] (0000:02)
> ACPI: PCI Root Bridge [PCI2] (0000:05)
> ACPI: Device [CSFF] status [00000008]: functional but not present; setting present
> ACPI: PCI Root Bridge [CSFF] (0000:ff)
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI init
> pnp: PnP ACPI: found 12 devices
> perfmon: version 2.0 IRQ 238
> perfmon: Itanium 2 PMU detected, 16 PMCs, 18 PMDs, 4 counters (47 bits)
> PAL Information Facility v0.5
> perfmon: added sampling format default_format
> perfmon_default_smpl: default_format v2.0 registered
> Total HugeTLB memory allocated, 0
> io scheduler noop registered
> io scheduler anticipatory registered (default)
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> 00:08: ttyS0 at I/O 0x3f8 (irq = 44) is a 16550A
> 00:09: ttyS1 at I/O 0x2f8 (irq = 45) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> mice: PS/2 mouse device common for all mice
> EFI Variables Facility v0.08 2004-May-17
> Adding console on ttyS1 at I/O port 0x2f8 (options '115200')
> Freeing unused kernel memory: 624kB freed
> init started:  BusyBox v1.2.1 (2006.09.23-05:46+0000) multi-call binary
> Starting pid 774, console /dev/console: '/etc/init.d/rcS'
> ifconfig: socket: Function not implemented
> ifconfig: No usable address families found.
> ifconfig: socket: Function not implemented
> Starting pid 883, console /dev/console: '/bin/sh'
>
>
> BusyBox v1.2.1 (2006.09.23-05:46+0000) Built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> / # do_kdump
> XEN="" KDUMP="yes"
> ARCH="ia64" KARCH="ia64" UARCH="ia64"
> IMAGE="vmlinux-ia64-kdump.gz" XEN_IMAGE="xen-ia64.gz"
> Create ramdisk
> Load kernel and ramdisk
> Kdump
> SysRq : Trigger a crashdump
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> Linux version 2.6.18-kexec-g05e0caad-dirty (horms@tabatha.lab.ultramonkey.org) (gcc version 3.4.5) #57 SMP Tue Oct 31 17:59:41 JST 2006
> Ignoring memory below 256MB
> Ignoring memory above 512MB
> EFI v1.10 by INTEL: SALsystab=0x7fe54980 ACPI=0x7ff99000 ACPI 2.0=0x7ff98000 MPS=0x7ff97000 SMBIOS=0xf0000
> Kernel Start Address: _start=000000070300000b
> mem00: type=4, attr=0x9, range=[0x0000000000000000-0x0000000000001000) (0MB)
> mem01: type=7, attr=0x9, range=[0x0000000000001000-0x0000000000007000) (0MB)
> mem02: type=4, attr=0x9, range=[0x0000000000007000-0x0000000000009000) (0MB)
> mem03: type=7, attr=0x9, range=[0x0000000000009000-0x0000000000082000) (0MB)
> mem04: type=6, attr=0x8000000000000009, range=[0x0000000000082000-0x0000000000084000) (0MB)
> mem05: type=7, attr=0x9, range=[0x0000000000084000-0x0000000000085000) (0MB)
> mem06: type=4, attr=0x9, range=[0x0000000000085000-0x00000000000a0000) (0MB)
> mem07: type=5, attr=0x8000000000000009, range=[0x00000000000c0000-0x0000000000100000) (0MB)
> mem08: type=7, attr=0xb, range=[0x0000000000100000-0x0000000004000000) (63MB)
> mem09: type=7, attr=0xb, range=[0x0000000004000000-0x0000000004736000) (7MB)
> mem10: type=7, attr=0xb, range=[0x0000000004736000-0x000000000ffc0000) (184MB)
> mem11: type=4, attr=0xb, range=[0x000000000ffc0000-0x0000000010000000) (0MB)
> mem12: type=2, attr=0xb, range=[0x0000000010000000-0x0000000010490000) (4MB)
> mem13: type=2, attr=0xb, range=[0x0000000010490000-0x00000000104a0000) (0MB)
> mem14: type=2, attr=0xb, range=[0x00000000104a0000-0x0000000010740000) (2MB)
> mem15: type=7, attr=0xb, range=[0x0000000010740000-0x000000001ffe4000) (248MB)
> mem16: type=8, attr=0xb, range=[0x000000001ffe4000-0x000000001ffe5000) (0MB)
> mem17: type=7, attr=0xb, range=[0x000000001ffe5000-0x000000007af7e000) (1455MB)
> mem18: type=7, attr=0xb, range=[0x000000007af7e000-0x000000007c8d2000) (25MB)
> mem19: type=1, attr=0xb, range=[0x000000007c8d2000-0x000000007c92e000) (0MB)
> mem20: type=7, attr=0xb, range=[0x000000007c92e000-0x000000007c938000) (0MB)
> mem21: type=1, attr=0xb, range=[0x000000007c938000-0x000000007c97e000) (0MB)
> mem22: type=7, attr=0xb, range=[0x000000007c97e000-0x000000007ce16000) (4MB)
> mem23: type=4, attr=0xb, range=[0x000000007ce16000-0x000000007ce1c000) (0MB)
> mem24: type=7, attr=0xb, range=[0x000000007ce1c000-0x000000007ce20000) (0MB)
> mem25: type=4, attr=0xb, range=[0x000000007ce20000-0x000000007ce22000) (0MB)
> mem26: type=7, attr=0xb, range=[0x000000007ce22000-0x000000007ce2a000) (0MB)
> mem27: type=4, attr=0xb, range=[0x000000007ce2a000-0x000000007d001000) (1MB)
> mem28: type=7, attr=0xb, range=[0x000000007d001000-0x000000007d002000) (0MB)
> mem29: type=4, attr=0xb, range=[0x000000007d002000-0x000000007d004000) (0MB)
> mem30: type=7, attr=0xb, range=[0x000000007d004000-0x000000007d026000) (0MB)
> mem31: type=4, attr=0xb, range=[0x000000007d026000-0x000000007d068000) (0MB)
> mem32: type=7, attr=0xb, range=[0x000000007d068000-0x000000007d069000) (0MB)
> mem33: type=4, attr=0xb, range=[0x000000007d069000-0x000000007d37e000) (3MB)
> mem34: type=7, attr=0xb, range=[0x000000007d37e000-0x000000007d700000) (3MB)
> mem35: type=3, attr=0xb, range=[0x000000007d700000-0x000000007d77e000) (0MB)
> mem36: type=7, attr=0xb, range=[0x000000007d77e000-0x000000007d8b4000) (1MB)
> mem37: type=6, attr=0x8000000000000009, range=[0x000000007d8b4000-0x000000007d900000) (0MB)
> mem38: type=3, attr=0xb, range=[0x000000007d900000-0x000000007f980000) (32MB)
> mem39: type=7, attr=0xb, range=[0x000000007f980000-0x000000007fa00000) (0MB)
> mem40: type=5, attr=0x8000000000000009, range=[0x000000007fa00000-0x000000007fe00000) (4MB)
> mem41: type=13, attr=0x8000000000000009, range=[0x000000007fe00000-0x000000007fe48000) (0MB)
> mem42: type=5, attr=0x8000000000000009, range=[0x000000007fe48000-0x000000007fea0000) (0MB)
> mem43: type=7, attr=0xb, range=[0x000000007fea0000-0x000000007feda000) (0MB)
> mem44: type=5, attr=0x8000000000000009, range=[0x000000007feda000-0x000000007ff46000) (0MB)
> mem45: type=6, attr=0x8000000000000009, range=[0x000000007ff46000-0x0000000080000000) (0MB)
> mem46: type=11, attr=0x1, range=[0x00000000fe000000-0x00000000ff000000) (16MB)
> mem47: type=6, attr=0x8000000000000001, range=[0x00000000ff000000-0x0000000100000000) (16MB)
> mem48: type=11, attr=0x8000000000000001, range=[0x00000ffff8000000-0x00000ffffc000000) (64MB)
> mem49: type=12, attr=0x8000000000000001, range=[0x00000ffffc000000-0x0000100000000000) (64MB)
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> booting generic kernel on platform dig
> Early serial console at I/O port 0x2f8 (options '115200n8')
> Initial ramdisk at: 0xe00000001f580000 (10739200 bytes)
> SAL 3.20: Intel Corp                       SR870BH2                         version 3.0
> SAL Platform features: BusLock
> SAL: AP wakeup using external interrupt vector 0xf0
> No logical to physical processor mapping available
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> iosapic_system_init: Disabling PC-AT compatible 8259 interrupts
> ACPI: Local APIC address c0000000fee00000
> PLATFORM int CPEI (0x3): GSI 22 (level, low) -> CPU 0 (0x0100) vector 30
> register_intr: changing vector 39 from IO-SAPIC-edge to IO-SAPIC-level
> 2 CPUs available, 2 CPUs total
> MCA related initialization done
> Virtual mem_map starts at 0xa0007fffffc80000
> Zone PFN ranges:
>  DMA         16846 ->   262144
>  Normal     262144 ->   262144
> early_node_map[8] active PFN ranges
>    0:    16384 ->    16845
>    0:    16846 ->    16848
>    0:    16849 ->    32096
>    0:    32752 ->    32753
>    0:    32754 ->    32755
>    0:    32756 ->    32757
>    0:    32758 ->    32761
>    0:    32762 ->    32768
> SMP: Allowing 2 CPUs, 0 hotplug CPUs
> Built 1 zonelists.  Total pages: 15261
> Kernel command line: phys_efi clock=pit ip=on apm=power-off console=tty0 console=uart,io,0x2f8,115200n8 init 1 irqpoll maxcpus=1 elfcorehdr=524176K max_addr=512M min_addr=256M
> Warning! clock= boot option is deprecated. Use clocksource=xyz
> Misrouted IRQ fixup and polling support enabled
> This may significantly impact system performance
> PID hash table entries: 1024 (order: 10, 8192 bytes)
> Console: colour VGA+ 80x25
> Linux version 2.6.18-kexec-g05e0caad-dirty (horms@tabatha.lab.ultramonkey.org) (gcc version 3.4.5) #57 SMP Tue Oct 31 17:59:41 JST 2006
> Ignoring memory below 256MB
> Ignoring memory above 512MB
> EFI v1.10 by INTEL: SALsystab=0x7fe54980 ACPI=0x7ff99000 ACPI 2.0=0x7ff98000 MPS=0x7ff97000 SMBIOS=0xf0000
> Kernel Start Address: _start=000000070300000b
> mem00: type=4, attr=0x9, range=[0x0000000000000000-0x0000000000001000) (0MB)
> mem01: type=7, attr=0x9, range=[0x0000000000001000-0x0000000000007000) (0MB)
> mem02: type=4, attr=0x9, range=[0x0000000000007000-0x0000000000009000) (0MB)
> mem03: type=7, attr=0x9, range=[0x0000000000009000-0x0000000000082000) (0MB)
> mem04: type=6, attr=0x8000000000000009, range=[0x0000000000082000-0x0000000000084000) (0MB)
> mem05: type=7, attr=0x9, range=[0x0000000000084000-0x0000000000085000) (0MB)
> mem06: type=4, attr=0x9, range=[0x0000000000085000-0x00000000000a0000) (0MB)
> mem07: type=5, attr=0x8000000000000009, range=[0x00000000000c0000-0x0000000000100000) (0MB)
> mem08: type=7, attr=0xb, range=[0x0000000000100000-0x0000000004000000) (63MB)
> mem09: type=7, attr=0xb, range=[0x0000000004000000-0x0000000004736000) (7MB)
> mem10: type=7, attr=0xb, range=[0x0000000004736000-0x000000000ffc0000) (184MB)
> mem11: type=4, attr=0xb, range=[0x000000000ffc0000-0x0000000010000000) (0MB)
> mem12: type=2, attr=0xb, range=[0x0000000010000000-0x0000000010490000) (4MB)
> mem13: type=2, attr=0xb, range=[0x0000000010490000-0x00000000104a0000) (0MB)
> mem14: type=2, attr=0xb, range=[0x00000000104a0000-0x0000000010740000) (2MB)
> mem15: type=7, attr=0xb, range=[0x0000000010740000-0x000000001ffe4000) (248MB)
> mem16: type=8, attr=0xb, range=[0x000000001ffe4000-0x000000001ffe5000) (0MB)
> mem17: type=7, attr=0xb, range=[0x000000001ffe5000-0x000000007af7e000) (1455MB)
> mem18: type=7, attr=0xb, range=[0x000000007af7e000-0x000000007c8d2000) (25MB)
> mem19: type=1, attr=0xb, range=[0x000000007c8d2000-0x000000007c92e000) (0MB)
> mem20: type=7, attr=0xb, range=[0x000000007c92e000-0x000000007c938000) (0MB)
> mem21: type=1, attr=0xb, range=[0x000000007c938000-0x000000007c97e000) (0MB)
> mem22: type=7, attr=0xb, range=[0x000000007c97e000-0x000000007ce16000) (4MB)
> mem23: type=4, attr=0xb, range=[0x000000007ce16000-0x000000007ce1c000) (0MB)
> mem24: type=7, attr=0xb, range=[0x000000007ce1c000-0x000000007ce20000) (0MB)
> mem25: type=4, attr=0xb, range=[0x000000007ce20000-0x000000007ce22000) (0MB)
> mem26: type=7, attr=0xb, range=[0x000000007ce22000-0x000000007ce2a000) (0MB)
> mem27: type=4, attr=0xb, range=[0x000000007ce2a000-0x000000007d001000) (1MB)
> mem28: type=7, attr=0xb, range=[0x000000007d001000-0x000000007d002000) (0MB)
> mem29: type=4, attr=0xb, range=[0x000000007d002000-0x000000007d004000) (0MB)
> mem30: type=7, attr=0xb, range=[0x000000007d004000-0x000000007d026000) (0MB)
> mem31: type=4, attr=0xb, range=[0x000000007d026000-0x000000007d068000) (0MB)
> mem32: type=7, attr=0xb, range=[0x000000007d068000-0x000000007d069000) (0MB)
> mem33: type=4, attr=0xb, range=[0x000000007d069000-0x000000007d37e000) (3MB)
> mem34: type=7, attr=0xb, range=[0x000000007d37e000-0x000000007d700000) (3MB)
> mem35: type=3, attr=0xb, range=[0x000000007d700000-0x000000007d77e000) (0MB)
> mem36: type=7, attr=0xb, range=[0x000000007d77e000-0x000000007d8b4000) (1MB)
> mem37: type=6, attr=0x8000000000000009, range=[0x000000007d8b4000-0x000000007d900000) (0MB)
> mem38: type=3, attr=0xb, range=[0x000000007d900000-0x000000007f980000) (32MB)
> mem39: type=7, attr=0xb, range=[0x000000007f980000-0x000000007fa00000) (0MB)
> mem40: type=5, attr=0x8000000000000009, range=[0x000000007fa00000-0x000000007fe00000) (4MB)
> mem41: type=13, attr=0x8000000000000009, range=[0x000000007fe00000-0x000000007fe48000) (0MB)
> mem42: type=5, attr=0x8000000000000009, range=[0x000000007fe48000-0x000000007fea0000) (0MB)
> mem43: type=7, attr=0xb, range=[0x000000007fea0000-0x000000007feda000) (0MB)
> mem44: type=5, attr=0x8000000000000009, range=[0x000000007feda000-0x000000007ff46000) (0MB)
> mem45: type=6, attr=0x8000000000000009, range=[0x000000007ff46000-0x0000000080000000) (0MB)
> mem46: type=11, attr=0x1, range=[0x00000000fe000000-0x00000000ff000000) (16MB)
> mem47: type=6, attr=0x8000000000000001, range=[0x00000000ff000000-0x0000000100000000) (16MB)
> mem48: type=11, attr=0x8000000000000001, range=[0x00000ffff8000000-0x00000ffffc000000) (64MB)
> mem49: type=12, attr=0x8000000000000001, range=[0x00000ffffc000000-0x0000100000000000) (64MB)
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> booting generic kernel on platform dig
> Early serial console at I/O port 0x2f8 (options '115200n8')
> Initial ramdisk at: 0xe00000001f580000 (10739200 bytes)
> SAL 3.20: Intel Corp                       SR870BH2                         version 3.0
> SAL Platform features: BusLock
> SAL: AP wakeup using external interrupt vector 0xf0
> No logical to physical processor mapping available
> CPU 0: mapping PAL code [0x7fe00000-0x7fe48000) into [0xe00000007f000000-0xe000000080000000)
> iosapic_system_init: Disabling PC-AT compatible 8259 interrupts
> ACPI: Local APIC address c0000000fee00000
> PLATFORM int CPEI (0x3): GSI 22 (level, low) -> CPU 0 (0x0100) vector 30
> register_intr: changing vector 39 from IO-SAPIC-edge to IO-SAPIC-level
> 2 CPUs available, 2 CPUs total
> MCA related initialization done
> Virtual mem_map starts at 0xa0007fffffc80000
> Zone PFN ranges:
>  DMA         16846 ->   262144
>  Normal     262144 ->   262144
> early_node_map[8] active PFN ranges
>    0:    16384 ->    16845
>    0:    16846 ->    16848
>    0:    16849 ->    32096
>    0:    32752 ->    32753
>    0:    32754 ->    32755
>    0:    32756 ->    32757
>    0:    32758 ->    32761
>    0:    32762 ->    32768
> SMP: Allowing 2 CPUs, 0 hotplug CPUs
> Built 1 zonelists.  Total pages: 15261
> Kernel command line: phys_efi clock=pit ip=on apm=power-off console=tty0 console=uart,io,0x2f8,115200n8 init 1 irqpoll maxcpus=1 elfcorehdr=524176K max_addr=512M min_addr=256M
> Warning! clock= boot option is deprecated. Use clocksource=xyz
> Misrouted IRQ fixup and polling support enabled
> This may significantly impact system performance
> PID hash table entries: 1024 (order: 10, 8192 bytes)
> Console: colour VGA+ 80x25
> Placing software IO TLB between 0x148dc000 - 0x188dc000
> Bad page state in process 'swapper'
> page:a0007fffffe3fc80 flags:0x0000000000000000 mapping:0000000000000000 mapcount:1 count:0
> Trying to fix it up, but a reboot is needed
> Backtrace:
> Unable to handle kernel NULL pointer dereference (address 0000000000000000)
> swapper[0]: Oops 8813272891392 [1]
> Modules linked in:
>
> Pid: 0, CPU 0, comm:              swapper
> psr : 00001010084a2010 ifs : 8000000000000308 ip  : [<a000000100135a00>]    Not tainted
> ip is at kmem_cache_alloc+0xa0/0x160
> unat: 0000000000000000 pfs : 0000000000000793 rsc : 0000000000000003
> rnat: 0000000000000000 bsps: 0000000000000000 pr  : 0000000000026959
> ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70433f
> csd : 0000000000000000 ssd : 0000000000000000
> b0  : a00000010003e960 b6  : a00000010003f740 b7  : a00000010000d090
> f6  : 1003edb67405daa9195d6 f7  : 1003e9e3779b97f4a7c16
> f8  : 1003e0a000000100012a1 f9  : 1003e000000000000007f
> f10 : 1003e0000000000000379 f11 : 1003e6db6db6db6db6db7
> r1  : a000000100743a60 r2  : 0000000000000000 r3  : a000000100450018
> r8  : 0000000000000000 r9  : 0000000000000000 r10 : 0000000000000000
> r11 : 0000000000000000 r12 : a000000100457510 r13 : a000000100450000
> r14 : 0000000000000000 r15 : 0000000012000000 r16 : a0000001004575a0
> r17 : a000000100450fa4 r18 : a0000001004d6c78 r19 : a00000010045759c
> r20 : a000000100457598 r21 : 000000007fffffff r22 : 0000000000000000
> r23 : a000000100012a10 r24 : a0000001000129c0 r25 : a000000100000000
> r26 : a0000001004e3d68 r27 : a000000100544518 r28 : a0000001004ddfe0
> r29 : a0000001004ddfd0 r30 : 00000000000000ce r31 : 0000000000012a60
>

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Oct 31 20:42:42 2006

This archive was generated by hypermail 2.1.8 : 2006-10-31 20:42:52 EST