early crash on ancient tablet related to no-bootmem
Subsystems (2)
Hi!
I have an really old tablet PC. It's and 486 with 40MHz and 8MB Ram
(http://www.homecomputermuseum.de/comp/327_de.htm)
I sometimes test new kernels on it, and since the invention of CONFIG_NO_BOOTMEM it does not work with this option enabled. So 2.6.36 without NO_BOOTMEM work, every newer Kernel will hang, only visible with earlyprintk=vga.
Bootlog:
Booting the kernel.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #5 Thu May 5 21:49:09 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn = 0x840 max_arch_pfn = 0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA 0x00000001 -> 0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000001 -> 0x0000009f
0: 0x00000100 -> 0x00000840
BUG: Int 6: CR2 (null)
EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4
EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4
err (null) EIP c0353191 CS c0320060 flg 00010082
Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null)
00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null)
(null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null)
Pid: 0, comm: swapper Not tainted 2.6.36 #5
Call Trace:
[<c02e3707>] ? 0xc02e3707
[<c035e6e5>] 0xc035e6e5
[<c0353191>] ? 0xc0353191
[<c03534d6>] 0xc03534d6
[<c034f1cd>] 0xc034f1cd
[<c034a824>] 0xc034a824
[<c03513cb>] ? 0xc03513cb
[<c0349432>] 0xc0349432
[<c0349066>] 0xc0349066with NO_BOOTMEM=y. Is it possible to resolve this symbols somehow? CONFIG_FRAMEPOINTER=y. With latest git the crash is about the same.
Bootlog of 2.6.36 without NO_BOOTMEM:
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #4 Thu May 5 21:25:47 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn = 0x840 max_arch_pfn = 0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
node 0 low ram: 00000000 - 00840000
node 0 bootmap 00001000 - 00001108
(5/32 early reservations) ==> bootmem [0000000000 - 0000840000]
#0 [0000100000 - 000038dfa8] TEXT DATA BSS ==> [0000100000 -000038dfa8]
#1 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 -
0000100000]
#2 [000038e000 - 0000390000] BRK ==> [000038e000 -
0000390000]
#3 [0000007000 - 0000008000] PGTABLE ==> [0000007000 -
0000008000]
#4 [0000001000 - 0000002000] BOOTMAP ==> [0000001000 -
0000002000]
Zone PFN ranges:
DMA 0x00000001 -> 0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000001 -> 0x0000009f
0: 0x00000100 -> 0x00000840Allocating PCI resources starting at 840000 (gap: 840000:ff7c0000) Built 1 zonelists in Zone order, mobility grouping off. Total pages: 1997 Kernel command line: root=/dev/hda2 parport=0x378,7 init=/etc/preinit noinitrd earlyprintk=ttyS0,9600
PID hash table entries: 32 (order: -5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Initializing CPU#0
Memory: 5320k/8448k available (1933k kernel code, 2736k reserved, 387k data, 196k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffe4000 - 0xfffff000 ( 108 kB)
vmalloc : 0xc1040000 - 0xfffe2000 (1007 MB)
lowmem : 0xc0000000 - 0xc0840000 ( 8 MB)
.init : 0xc0345000 - 0xc0376000 ( 196 kB)
.data : 0xc02e356b - 0xc03442e4 ( 387 kB)
.text : 0xc0100000 - 0xc02e356b (1933 kB)Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:16
Console: colour VGA+ 80x25
console [tty0] enabled, bootconsole disabled
One remark: Only 8MB Ram, so I had to change CONFIG_PHYSICAL_START and even grub does not work on this machine. But there is something called grub4dos that works...
config:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36
# Thu May 5 21:43:11 2011
#
# CONFIG_64BIT is not setCONFIG_X86_32=y
# CONFIG_X86_64 is not setCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf32-i386" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=y
# CONFIG_NEED_DMA_MAP_STATE is not set CONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_EARLY_RES=yCONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_GENERIC_IRQ_PROBE=yCONFIG_X86_32_LAZY_GS=y CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx" CONFIG_KTIME_SCALAR=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not setCONFIG_SWAP=y
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
#
# RCU Subsystem
#
# CONFIG_TREE_RCU is not setCONFIG_TINY_RCU=y
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_IKCONFIG is not setCONFIG_LOG_BUF_SHIFT=14CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not set
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EMBEDDED=yCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=y
# CONFIG_KALLSYMS is not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_VM_EVENT_COUNTERS is not set
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not setCONFIG_HAVE_OPROFILE=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=y
#
# GCOV-based kernel profiling
#CONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0
# CONFIG_MODULES is not setCONFIG_BLOCK=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set CONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set CONFIG_INLINE_SPIN_UNLOCK=y
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y
#
# Processor type and features
#
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not setCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not set
# CONFIG_X86_EXTENDED_PLATFORM is not setCONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not setCONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not setCONFIG_M486=y
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_X86_GENERIC is not setCONFIG_X86_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=4CONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=4CONFIG_X86_XADD=y
# CONFIG_X86_PPRO_FENCE is not setCONFIG_X86_F00F_BUG=yCONFIG_X86_INVD_BUG=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_MINIMUM_CPU_FAMILY=4
# CONFIG_PROCESSOR_SELECT is not setCONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_CYRIX_32=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_TRANSMETA_32=yCONFIG_CPU_SUP_UMC_32=y
# CONFIG_HPET_TIMER is not setCONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
# CONFIG_IOMMU_API is not setCONFIG_NR_CPUS=1CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_MCE is not set
# CONFIG_VM86 is not setCONFIG_TOSHIBA=y
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not setCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not setCONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not setCONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_X86_PAE is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not setCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ILLEGAL_POINTER_VALUE=0CONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_SPARSEMEM_STATIC=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_PHYS_ADDR_T_64BIT is not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not setCONFIG_DEFAULT_MMAP_MIN_ADDR=0
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
# CONFIG_X86_RESERVE_LOW_64K is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not setCONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=100
# CONFIG_SCHED_HRTICK is not set
# CONFIG_KEXEC is not setCONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not setCONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
#
# Power management and ACPI options
#CONFIG_PM=y
# CONFIG_PM_DEBUG is not setCONFIG_PM_SLEEP=yCONFIG_SUSPEND_NVS=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not setCONFIG_PM_RUNTIME=yCONFIG_PM_OPS=y
# CONFIG_SFI is not setCONFIG_X86_APM_BOOT=yCONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not setCONFIG_APM_DO_ENABLE=yCONFIG_APM_CPU_IDLE=yCONFIG_APM_DISPLAY_BLANK=yCONFIG_APM_ALLOW_INTS=y
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set
#
# Bus options (PCI etc.)
#
# CONFIG_PCI is not set
# CONFIG_ARCH_SUPPORTS_MSI is not setCONFIG_ISA_DMA_API=yCONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_OLPC is not set
# CONFIG_OLPC_OPENFIRMWARE is not setCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=y
#
# PC-card bridges
#CONFIG_I82365=y
# CONFIG_TCIC is not setCONFIG_PCMCIA_PROBE=yCONFIG_PCCARD_NONSTATIC=y
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not setCONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not setCONFIG_HAVE_ATOMIC_IOMAP=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not setCONFIG_IPV6=y
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set # CONFIG_INET6_XFRM_MODE_TUNNEL is not set
# CONFIG_INET6_XFRM_MODE_BEET is not set
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set # CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set # CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not setCONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not setCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not setCONFIG_PARPORT=yCONFIG_PARPORT_PC=yCONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
# CONFIG_PARPORT_1284 is not set
# CONFIG_PNP is not setCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=y
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
# CONFIG_BLK_DEV_LOOP is not set
#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected #
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_HD is not set
# CONFIG_MISC_DEVICES is not setCONFIG_HAVE_IDE=yCONFIG_IDE=y
#
# Please see Documentation/ide/ide.txt for help/info on IDE drives #
# CONFIG_BLK_DEV_IDE_SATA is not setCONFIG_IDE_GD=yCONFIG_IDE_GD_ATA=y
# CONFIG_IDE_GD_ATAPI is not setCONFIG_BLK_DEV_IDECS=y
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_PROC_FS is not set
#
# IDE chipset support/bugfixes
#CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
#
# Other IDE chipsets support
#
#
# Note: most of these also require special kernel boot parameters #
# CONFIG_BLK_DEV_4DRIVES is not set
# CONFIG_BLK_DEV_ALI14XX is not set
# CONFIG_BLK_DEV_DTC2278 is not set
# CONFIG_BLK_DEV_HT6560B is not set
# CONFIG_BLK_DEV_QD65XX is not set
# CONFIG_BLK_DEV_UMC8672 is not set
# CONFIG_BLK_DEV_IDEDMA is not set
#
# SCSI device support
#CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
# CONFIG_SCSI is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set
# CONFIG_WLAN is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #CONFIG_NET_PCMCIA=y
# CONFIG_PCMCIA_3C589 is not set CONFIG_PCMCIA_3C574=y
# CONFIG_PCMCIA_FMVJ18X is not set
# CONFIG_PCMCIA_PCNET is not set
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_AXNET is not set
# CONFIG_WAN is not set
#
# CAIF transport drivers
#CONFIG_PLIP=yCONFIG_PPP=y
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not setCONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_PPP_DEFLATE is not set
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPP_MPPE is not setCONFIG_PPPOE=y
# CONFIG_SLIP is not setCONFIG_SLHC=y
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not setCONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not setCONFIG_INPUT_PCSPKR=y
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_UINPUT is not set
# CONFIG_INPUT_ADXL34X is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_DEVKMEM is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_CS=yCONFIG_SERIAL_8250_NR_UARTS=2CONFIG_SERIAL_8250_RUNTIME_UARTS=2CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_SHARE_IRQ is not setCONFIG_SERIAL_8250_DETECT_IRQ=y
# CONFIG_SERIAL_8250_RSA is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not setCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not setCONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_CARDMAN_4000 is not set
# CONFIG_CARDMAN_4040 is not set
# CONFIG_IPWIRELESS is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not setCONFIG_DEVPORT=y
# CONFIG_RAMOOPS is not set
# CONFIG_I2C is not set
# CONFIG_SPI is not set
#
# PPS support
#
# CONFIG_PPS is not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
# CONFIG_MFD_SUPPORT is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
# CONFIG_MDA_CONSOLE is not setCONFIG_DUMMY_CONSOLE=y
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_STAGING is not set
# CONFIG_X86_PLATFORM_DEVICES is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not setCONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_DMIID is not set
# CONFIG_ISCSI_IBFT_FIND is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT4_FS is not setCONFIG_JBD=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not setCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=850CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-15"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not setCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
# CONFIG_MISC_FILESYSTEMS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-15"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not setCONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not setCONFIG_NLS_ASCII=y
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not setCONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not setCONFIG_FRAME_WARN=0
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_HARDLOCKUP_DETECTOR is not setCONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_MEMORY_INIT is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
# CONFIG_SYSCTL_SYSCALL_CHECK is not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=yCONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_STRICT_DEVMEM is not setCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=y
# CONFIG_4KSTACKS is not setCONFIG_DOUBLEFAULT=y
# CONFIG_IOMMU_STRESS is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_OPTIMIZE_INLINING is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not setCONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""
# CONFIG_CRYPTO is not setCONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not set
# CONFIG_BINARY_PRINTF is not set
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=y
# CONFIG_CRC16 is not set
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not setCONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not setCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=y
Is this BIOS-88 RAM map supposed to work?
Am 05.05.2011 22:02, schrieb Stefan Hellermann:
Quoted 1,109 lines
Hi!
I have an really old tablet PC. It's and 486 with 40MHz and 8MB Ram
(http://www.homecomputermuseum.de/comp/327_de.htm)
I sometimes test new kernels on it, and since the invention ofCONFIG_NO_BOOTMEMit does not work with this option enabled. So 2.6.36 withoutNO_BOOTMEMwork, every newer Kernel will hang, only visible with earlyprintk=vga.Bootlog:
Booting the kernel.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #5 Thu May 5 21:49:09 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn=0x840max_arch_pfn=0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA0x00000001->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000001 -> 0x0000009f 0: 0x00000100 -> 0x00000840 BUG: Int 6: CR2 (null) EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4 EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4 err (null) EIP c0353191 CS c0320060 flg 00010082 Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null) 00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null) (null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null) Pid: 0, comm: swapper Not tainted 2.6.36 #5 Call Trace: [<c02e3707>] ? 0xc02e3707 [<c035e6e5>] 0xc035e6e5 [<c0353191>] ? 0xc0353191 [<c03534d6>] 0xc03534d6 [<c034f1cd>] 0xc034f1cd [<c034a824>] 0xc034a824 [<c03513cb>] ? 0xc03513cb [<c0349432>] 0xc0349432 [<c0349066>] 0xc0349066with NO_BOOTMEM=y. Is it possible to resolve this symbols somehow?
CONFIG_FRAMEPOINTER=y. With latest git the crash is about the same.Bootlog of 2.6.36 without
NO_BOOTMEM:Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #4 Thu May 5 21:25:47 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn=0x840max_arch_pfn=0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
node 0 low ram: 00000000 - 00840000
node 0 bootmap 00001000 - 00001108
(5/32 early reservations) ==> bootmem [0000000000 - 0000840000]
#0 [0000100000 -000038dfa8] TEXT DATA BSS ==> [0000100000 -000038dfa8]
#1 [000009f000- 0000100000] BIOS reserved ==> [000009f000-
0000100000]
#2 [000038e000- 0000390000] BRK ==> [000038e000-
0000390000]
#3 [0000007000 - 0000008000] PGTABLE ==> [0000007000 -
0000008000]
#4 [0000001000 - 0000002000] BOOTMAP ==> [0000001000 -
0000002000]
Zone PFN ranges:
DMA0x00000001->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000001 -> 0x0000009f 0: 0x00000100 -> 0x00000840Allocating PCI resources starting at 840000 (gap: 840000:ff7c0000) Built 1 zonelists in Zone order, mobility grouping off. Total pages: 1997 Kernel command line: root=/dev/hda2 parport=0x378,7 init=/etc/preinit noinitrd earlyprintk=ttyS0,9600
PID hash table entries: 32 (order: -5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Initializing CPU#0
Memory: 5320k/8448k available (1933k kernel code, 2736k reserved, 387k data, 196k init, 0k highmem)
virtual kernel memory layout:fixmap : 0xfffe4000 - 0xfffff000 ( 108 kB) vmalloc : 0xc1040000 - 0xfffe2000 (1007 MB) lowmem : 0xc0000000 - 0xc0840000 ( 8 MB) .init : 0xc0345000 - 0xc0376000 ( 196 kB) .data : 0xc02e356b - 0xc03442e4 ( 387 kB) .text : 0xc0100000 - 0xc02e356b (1933 kB)Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:16
Console: colour VGA+ 80x25
console [tty0] enabled, bootconsole disabledOne remark: Only 8MB Ram, so I had to change
CONFIG_PHYSICAL_STARTand even grub does not work on this machine. But there is something called grub4dos that works...config:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36
# Thu May 5 21:43:11 2011
#
#CONFIG_64BITis not setCONFIG_X86_32=y
#CONFIG_X86_64is not setCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=yCONFIG_OUTPUT_FORMAT="elf32-i386"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"CONFIG_GENERIC_CMOS_UPDATE=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=y
#CONFIG_NEED_DMA_MAP_STATEis not setCONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=yCONFIG_ARCH_MAY_HAVE_PC_FDC=y
#CONFIG_RWSEM_GENERIC_SPINLOCKis not setCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_ARCH_HAS_CPU_IDLE_WAIT=yCONFIG_GENERIC_CALIBRATE_DELAY=y
#CONFIG_GENERIC_TIME_VSYSCALLis not setCONFIG_ARCH_HAS_CPU_RELAX=yCONFIG_ARCH_HAS_DEFAULT_IDLE=yCONFIG_ARCH_HAS_CACHE_LINE_SIZE=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
#CONFIG_HAVE_CPUMASK_OF_CPU_MAPis not setCONFIG_ARCH_HIBERNATION_POSSIBLE=yCONFIG_ARCH_SUSPEND_POSSIBLE=y
#CONFIG_ZONE_DMA32is not setCONFIG_ARCH_POPULATES_NODE_MAP=y
#CONFIG_AUDIT_ARCHis not setCONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=yCONFIG_HAVE_EARLY_RES=yCONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_X86_32_LAZY_GS=yCONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx-fcall-saved-edx"CONFIG_KTIME_SCALAR=yCONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"CONFIG_CONSTRUCTORS=y#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION=""
#CONFIG_LOCALVERSION_AUTOis not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
#CONFIG_KERNEL_BZIP2is not set
#CONFIG_KERNEL_LZMAis not set
#CONFIG_KERNEL_LZOis not setCONFIG_SWAP=y
#CONFIG_SYSVIPCis not set
#CONFIG_POSIX_MQUEUEis not set
#CONFIG_BSD_PROCESS_ACCTis not set
#CONFIG_TASKSTATSis not set
#CONFIG_AUDITis not set#
# RCU Subsystem
#
#CONFIG_TREE_RCUis not setCONFIG_TINY_RCU=y
#CONFIG_TREE_RCU_TRACEis not set
#CONFIG_IKCONFIGis not setCONFIG_LOG_BUF_SHIFT=14CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
#CONFIG_CGROUPSis not set
#CONFIG_SYSFS_DEPRECATED_V2is not set
#CONFIG_RELAYis not set
#CONFIG_NAMESPACESis not set
#CONFIG_BLK_DEV_INITRDis not set
#CONFIG_CC_OPTIMIZE_FOR_SIZEis not setCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EMBEDDED=yCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=y
#CONFIG_KALLSYMSis not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
#CONFIG_VM_EVENT_COUNTERSis not set
#CONFIG_SLUB_DEBUGis not set
#CONFIG_COMPAT_BRKis not set
#CONFIG_SLABis not setCONFIG_SLUB=y
#CONFIG_SLOBis not set
#CONFIG_PROFILINGis not setCONFIG_HAVE_OPROFILE=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=y#
# GCOV-based kernel profiling
#CONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0
#CONFIG_MODULESis not setCONFIG_BLOCK=y
#CONFIG_LBDAFis not set
#CONFIG_BLK_DEV_BSGis not set
#CONFIG_BLK_DEV_INTEGRITYis not set#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y
#CONFIG_IOSCHED_DEADLINEis not setCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_CFQ=y
#CONFIG_DEFAULT_NOOPis not setCONFIG_DEFAULT_IOSCHED="cfq"
#CONFIG_INLINE_SPIN_TRYLOCKis not set
#CONFIG_INLINE_SPIN_TRYLOCK_BHis not set #CONFIG_INLINE_SPIN_LOCKis not set
#CONFIG_INLINE_SPIN_LOCK_BHis not set
#CONFIG_INLINE_SPIN_LOCK_IRQis not set
#CONFIG_INLINE_SPIN_LOCK_IRQSAVEis not setCONFIG_INLINE_SPIN_UNLOCK=y
#CONFIG_INLINE_SPIN_UNLOCK_BHis not setCONFIG_INLINE_SPIN_UNLOCK_IRQ=y
#CONFIG_INLINE_SPIN_UNLOCK_IRQRESTOREis not set #CONFIG_INLINE_READ_TRYLOCKis not set
#CONFIG_INLINE_READ_LOCKis not set
#CONFIG_INLINE_READ_LOCK_BHis not set
#CONFIG_INLINE_READ_LOCK_IRQis not set
#CONFIG_INLINE_READ_LOCK_IRQSAVEis not setCONFIG_INLINE_READ_UNLOCK=y
#CONFIG_INLINE_READ_UNLOCK_BHis not setCONFIG_INLINE_READ_UNLOCK_IRQ=y
#CONFIG_INLINE_READ_UNLOCK_IRQRESTOREis not set #CONFIG_INLINE_WRITE_TRYLOCKis not set
#CONFIG_INLINE_WRITE_LOCKis not set
#CONFIG_INLINE_WRITE_LOCK_BHis not set
#CONFIG_INLINE_WRITE_LOCK_IRQis not set #CONFIG_INLINE_WRITE_LOCK_IRQSAVEis not setCONFIG_INLINE_WRITE_UNLOCK=y
#CONFIG_INLINE_WRITE_UNLOCK_BHis not setCONFIG_INLINE_WRITE_UNLOCK_IRQ=y
#CONFIG_INLINE_WRITE_UNLOCK_IRQRESTOREis not set #CONFIG_MUTEX_SPIN_ON_OWNERis not setCONFIG_FREEZER=y#
# Processor type and features
#
#CONFIG_NO_HZis not set
#CONFIG_HIGH_RES_TIMERSis not setCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
#CONFIG_SMPis not set
#CONFIG_X86_EXTENDED_PLATFORMis not setCONFIG_SCHED_OMIT_FRAME_POINTER=y
#CONFIG_PARAVIRT_GUESTis not setCONFIG_NO_BOOTMEM=y
#CONFIG_MEMTESTis not set
#CONFIG_M386is not setCONFIG_M486=y
#CONFIG_M586is not set
#CONFIG_M586TSCis not set
#CONFIG_M586MMXis not set
#CONFIG_M686is not set
#CONFIG_MPENTIUMIIis not set
#CONFIG_MPENTIUMIIIis not set
#CONFIG_MPENTIUMMis not set
#CONFIG_MPENTIUM4is not set
#CONFIG_MK6is not set
#CONFIG_MK7is not set
#CONFIG_MK8is not set
#CONFIG_MCRUSOEis not set
#CONFIG_MEFFICEONis not set
#CONFIG_MWINCHIPC6is not set
#CONFIG_MWINCHIP3Dis not set
#CONFIG_MGEODEGX1is not set
#CONFIG_MGEODE_LXis not set
#CONFIG_MCYRIXIIIis not set
#CONFIG_MVIAC3_2is not set
#CONFIG_MVIAC7is not set
#CONFIG_MCORE2is not set
#CONFIG_MATOMis not set
#CONFIG_X86_GENERICis not setCONFIG_X86_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=4CONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=4CONFIG_X86_XADD=y
#CONFIG_X86_PPRO_FENCEis not setCONFIG_X86_F00F_BUG=yCONFIG_X86_INVD_BUG=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_MINIMUM_CPU_FAMILY=4
#CONFIG_PROCESSOR_SELECTis not setCONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_CYRIX_32=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_TRANSMETA_32=yCONFIG_CPU_SUP_UMC_32=y
#CONFIG_HPET_TIMERis not setCONFIG_DMI=y
#CONFIG_IOMMU_HELPERis not set
#CONFIG_IOMMU_APIis not setCONFIG_NR_CPUS=1CONFIG_PREEMPT_NONE=y
#CONFIG_PREEMPT_VOLUNTARYis not set
#CONFIG_PREEMPTis not set
#CONFIG_X86_UP_APICis not set
#CONFIG_X86_MCEis not set
#CONFIG_VM86is not setCONFIG_TOSHIBA=y
#CONFIG_I8Kis not set
#CONFIG_X86_REBOOTFIXUPSis not set
#CONFIG_MICROCODEis not set
#CONFIG_X86_MSRis not set
#CONFIG_X86_CPUIDis not setCONFIG_NOHIGHMEM=y
#CONFIG_HIGHMEM4Gis not setCONFIG_VMSPLIT_3G=y
#CONFIG_VMSPLIT_3G_OPTis not set
#CONFIG_VMSPLIT_2Gis not set
#CONFIG_VMSPLIT_2G_OPTis not set
#CONFIG_VMSPLIT_1Gis not setCONFIG_PAGE_OFFSET=0xC0000000
#CONFIG_X86_PAEis not set
#CONFIG_ARCH_PHYS_ADDR_T_64BITis not setCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ILLEGAL_POINTER_VALUE=0CONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
#CONFIG_SPARSEMEM_MANUALis not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_SPARSEMEM_STATIC=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=4
#CONFIG_PHYS_ADDR_T_64BITis not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=y
#CONFIG_KSMis not setCONFIG_DEFAULT_MMAP_MIN_ADDR=0
#CONFIG_X86_CHECK_BIOS_CORRUPTIONis not set
#CONFIG_X86_RESERVE_LOW_64Kis not set
#CONFIG_MATH_EMULATIONis not set
#CONFIG_MTRRis not set
#CONFIG_SECCOMPis not set
#CONFIG_CC_STACKPROTECTORis not setCONFIG_HZ_100=y
#CONFIG_HZ_250is not set
#CONFIG_HZ_300is not set
#CONFIG_HZ_1000is not setCONFIG_HZ=100
#CONFIG_SCHED_HRTICKis not set
#CONFIG_KEXECis not setCONFIG_PHYSICAL_START=0x100000
#CONFIG_RELOCATABLEis not setCONFIG_PHYSICAL_ALIGN=0x100000
#CONFIG_COMPAT_VDSOis not set
#CONFIG_CMDLINE_BOOLis not set#
# Power management and ACPI options
#CONFIG_PM=y
#CONFIG_PM_DEBUGis not setCONFIG_PM_SLEEP=yCONFIG_SUSPEND_NVS=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=y
#CONFIG_HIBERNATIONis not setCONFIG_PM_RUNTIME=yCONFIG_PM_OPS=y
#CONFIG_SFIis not setCONFIG_X86_APM_BOOT=yCONFIG_APM=y
#CONFIG_APM_IGNORE_USER_SUSPENDis not setCONFIG_APM_DO_ENABLE=yCONFIG_APM_CPU_IDLE=yCONFIG_APM_DISPLAY_BLANK=yCONFIG_APM_ALLOW_INTS=y#
# CPU Frequency scaling
#
#CONFIG_CPU_FREQis not set
#CONFIG_CPU_IDLEis not set#
# Bus options (PCI etc.)
#
#CONFIG_PCIis not set
#CONFIG_ARCH_SUPPORTS_MSIis not setCONFIG_ISA_DMA_API=yCONFIG_ISA=y
#CONFIG_EISAis not set
#CONFIG_MCAis not set
#CONFIG_SCx200is not set
#CONFIG_OLPCis not set
#CONFIG_OLPC_OPENFIRMWAREis not setCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=y#
# PC-card bridges
#CONFIG_I82365=y
#CONFIG_TCICis not setCONFIG_PCMCIA_PROBE=yCONFIG_PCCARD_NONSTATIC=y#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=y
#CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERSis not setCONFIG_HAVE_AOUT=y
#CONFIG_BINFMT_AOUTis not set
#CONFIG_BINFMT_MISCis not setCONFIG_HAVE_ATOMIC_IOMAP=yCONFIG_NET=y#
# Networking options
#CONFIG_PACKET=yCONFIG_UNIX=y
#CONFIG_NET_KEYis not setCONFIG_INET=y
#CONFIG_IP_MULTICASTis not set
#CONFIG_IP_ADVANCED_ROUTERis not setCONFIG_IP_FIB_HASH=y
#CONFIG_IP_PNPis not set
#CONFIG_NET_IPIPis not set
#CONFIG_NET_IPGREis not set
#CONFIG_ARPDis not set
#CONFIG_SYN_COOKIESis not set
#CONFIG_INET_AHis not set
#CONFIG_INET_ESPis not set
#CONFIG_INET_IPCOMPis not set
#CONFIG_INET_XFRM_TUNNELis not set
#CONFIG_INET_TUNNELis not set
#CONFIG_INET_XFRM_MODE_TRANSPORTis not set #CONFIG_INET_XFRM_MODE_TUNNELis not set
#CONFIG_INET_XFRM_MODE_BEETis not set
#CONFIG_INET_LROis not set
#CONFIG_INET_DIAGis not set
#CONFIG_TCP_CONG_ADVANCEDis not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
#CONFIG_TCP_MD5SIGis not setCONFIG_IPV6=y
#CONFIG_IPV6_PRIVACYis not set
#CONFIG_IPV6_ROUTER_PREFis not set
#CONFIG_IPV6_OPTIMISTIC_DADis not set
#CONFIG_INET6_AHis not set
#CONFIG_INET6_ESPis not set
#CONFIG_INET6_IPCOMPis not set
#CONFIG_IPV6_MIP6is not set
#CONFIG_INET6_XFRM_TUNNELis not set
#CONFIG_INET6_TUNNELis not set
#CONFIG_INET6_XFRM_MODE_TRANSPORTis not set #CONFIG_INET6_XFRM_MODE_TUNNELis not set
#CONFIG_INET6_XFRM_MODE_BEETis not set
#CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATIONis not set #CONFIG_IPV6_SITis not set
#CONFIG_IPV6_TUNNELis not set
#CONFIG_IPV6_MULTIPLE_TABLESis not set
#CONFIG_IPV6_MROUTEis not set
#CONFIG_NETWORK_SECMARKis not set
#CONFIG_NETWORK_PHY_TIMESTAMPINGis not set #CONFIG_NETFILTERis not set
#CONFIG_IP_DCCPis not set
#CONFIG_IP_SCTPis not set
#CONFIG_RDSis not set
#CONFIG_TIPCis not set
#CONFIG_ATMis not set
#CONFIG_L2TPis not set
#CONFIG_BRIDGEis not set
#CONFIG_NET_DSAis not set
#CONFIG_VLAN_8021Qis not set
#CONFIG_DECNETis not set
#CONFIG_LLC2is not set
#CONFIG_IPXis not set
#CONFIG_ATALKis not set
#CONFIG_X25is not set
#CONFIG_LAPBis not set
#CONFIG_ECONETis not set
#CONFIG_WAN_ROUTERis not set
#CONFIG_PHONETis not set
#CONFIG_IEEE802154is not set
#CONFIG_NET_SCHEDis not set
#CONFIG_DCBis not set#
# Network testing
#
#CONFIG_NET_PKTGENis not set
#CONFIG_HAMRADIOis not set
#CONFIG_CANis not set
#CONFIG_IRDAis not set
#CONFIG_BTis not set
#CONFIG_AF_RXRPCis not set
#CONFIG_WIRELESSis not set
#CONFIG_WIMAXis not set
#CONFIG_RFKILLis not set
#CONFIG_NET_9Pis not set
#CONFIG_CAIFis not set#
# Device Drivers
##
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_DEVTMPFS=y
#CONFIG_DEVTMPFS_MOUNTis not setCONFIG_STANDALONE=y
#CONFIG_PREVENT_FIRMWARE_BUILDis not setCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
#CONFIG_SYS_HYPERVISORis not set
#CONFIG_CONNECTORis not set
#CONFIG_MTDis not setCONFIG_PARPORT=yCONFIG_PARPORT_PC=yCONFIG_PARPORT_PC_FIFO=y
#CONFIG_PARPORT_PC_SUPERIOis not set
#CONFIG_PARPORT_PC_PCMCIAis not set
#CONFIG_PARPORT_GSCis not set
#CONFIG_PARPORT_AX88796is not set
#CONFIG_PARPORT_1284is not set
#CONFIG_PNPis not setCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=y
#CONFIG_BLK_DEV_XDis not set
#CONFIG_PARIDEis not set
#CONFIG_BLK_DEV_COW_COMMONis not set
#CONFIG_BLK_DEV_LOOPis not set#
# DRBD disabled becausePROC_FS, INET or CONNECTOR not selected #
#CONFIG_BLK_DEV_NBDis not set
#CONFIG_BLK_DEV_RAMis not set
#CONFIG_CDROM_PKTCDVDis not set
#CONFIG_ATA_OVER_ETHis not set
#CONFIG_BLK_DEV_HDis not set
#CONFIG_MISC_DEVICESis not setCONFIG_HAVE_IDE=yCONFIG_IDE=y#
# Please seeDocumentation/ide/ide.txtfor help/info on IDE drives #
#CONFIG_BLK_DEV_IDE_SATAis not setCONFIG_IDE_GD=yCONFIG_IDE_GD_ATA=y
#CONFIG_IDE_GD_ATAPIis not setCONFIG_BLK_DEV_IDECS=y
#CONFIG_BLK_DEV_IDECDis not set
#CONFIG_BLK_DEV_IDETAPEis not set
#CONFIG_IDE_TASK_IOCTLis not set
#CONFIG_IDE_PROC_FSis not set#
# IDE chipset support/bugfixes
#CONFIG_IDE_GENERIC=y
#CONFIG_BLK_DEV_PLATFORMis not set
#CONFIG_BLK_DEV_CMD640is not set#
# Other IDE chipsets support
##
# Note: most of these also require special kernel boot parameters #
#CONFIG_BLK_DEV_4DRIVESis not set
#CONFIG_BLK_DEV_ALI14XXis not set
#CONFIG_BLK_DEV_DTC2278is not set
#CONFIG_BLK_DEV_HT6560Bis not set
#CONFIG_BLK_DEV_QD65XXis not set
#CONFIG_BLK_DEV_UMC8672is not set
#CONFIG_BLK_DEV_IDEDMAis not set#
# SCSI device support
#CONFIG_SCSI_MOD=y
#CONFIG_RAID_ATTRSis not set
#CONFIG_SCSIis not set
#CONFIG_SCSI_DMAis not set
#CONFIG_SCSI_NETLINKis not set
#CONFIG_ATAis not set
#CONFIG_MDis not set
#CONFIG_MACINTOSH_DRIVERSis not setCONFIG_NETDEVICES=y
#CONFIG_DUMMYis not set
#CONFIG_BONDINGis not set
#CONFIG_MACVLANis not set
#CONFIG_EQUALIZERis not set
#CONFIG_TUNis not set
#CONFIG_VETHis not set
#CONFIG_ARCNETis not set
#CONFIG_PHYLIBis not set
#CONFIG_NET_ETHERNETis not set
#CONFIG_NETDEV_1000is not set
#CONFIG_NETDEV_10000is not set
#CONFIG_TRis not set
#CONFIG_WLANis not set#
# Enable WiMAX (Networking options) to see the WiMAX drivers #CONFIG_NET_PCMCIA=y
#CONFIG_PCMCIA_3C589is not setCONFIG_PCMCIA_3C574=y
#CONFIG_PCMCIA_FMVJ18Xis not set
#CONFIG_PCMCIA_PCNETis not set
#CONFIG_PCMCIA_NMCLANis not set
#CONFIG_PCMCIA_SMC91C92is not set
#CONFIG_PCMCIA_XIRC2PSis not set
#CONFIG_PCMCIA_AXNETis not set
#CONFIG_WANis not set#
# CAIF transport drivers
#CONFIG_PLIP=yCONFIG_PPP=y
#CONFIG_PPP_MULTILINKis not set
#CONFIG_PPP_FILTERis not setCONFIG_PPP_ASYNC=y
#CONFIG_PPP_SYNC_TTYis not set
#CONFIG_PPP_DEFLATEis not set
#CONFIG_PPP_BSDCOMPis not set
#CONFIG_PPP_MPPEis not setCONFIG_PPPOE=y
#CONFIG_SLIPis not setCONFIG_SLHC=y
#CONFIG_NETCONSOLEis not set
#CONFIG_NETPOLLis not set
#CONFIG_NET_POLL_CONTROLLERis not set
#CONFIG_ISDNis not set
#CONFIG_PHONEis not set#
# Input device support
#CONFIG_INPUT=y
#CONFIG_INPUT_FF_MEMLESSis not set
#CONFIG_INPUT_POLLDEVis not set
#CONFIG_INPUT_SPARSEKMAPis not set#
# Userland interfaces
#
#CONFIG_INPUT_MOUSEDEVis not set
#CONFIG_INPUT_JOYDEVis not set
#CONFIG_INPUT_EVDEVis not set
#CONFIG_INPUT_EVBUGis not set#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
#CONFIG_KEYBOARD_LKKBDis not set
#CONFIG_KEYBOARD_NEWTONis not set
#CONFIG_KEYBOARD_OPENCORESis not set
#CONFIG_KEYBOARD_STOWAWAYis not set
#CONFIG_KEYBOARD_SUNKBDis not set
#CONFIG_KEYBOARD_XTKBDis not set
#CONFIG_INPUT_MOUSEis not set
#CONFIG_INPUT_JOYSTICKis not set
#CONFIG_INPUT_TABLETis not set
#CONFIG_INPUT_TOUCHSCREENis not setCONFIG_INPUT_MISC=y
#CONFIG_INPUT_AD714Xis not setCONFIG_INPUT_PCSPKR=y
#CONFIG_INPUT_WISTRON_BTNSis not set
#CONFIG_INPUT_UINPUTis not set
#CONFIG_INPUT_ADXL34Xis not set#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=y
#CONFIG_SERIO_SERPORTis not set
#CONFIG_SERIO_CT82C710is not set
#CONFIG_SERIO_PARKBDis not setCONFIG_SERIO_LIBPS2=y
#CONFIG_SERIO_RAWis not set
#CONFIG_SERIO_ALTERA_PS2is not set
#CONFIG_GAMEPORTis not set#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
#CONFIG_VT_HW_CONSOLE_BINDINGis not set
#CONFIG_DEVKMEMis not set
#CONFIG_SERIAL_NONSTANDARDis not set
#CONFIG_N_GSMis not set#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_CS=yCONFIG_SERIAL_8250_NR_UARTS=2CONFIG_SERIAL_8250_RUNTIME_UARTS=2CONFIG_SERIAL_8250_EXTENDED=y
#CONFIG_SERIAL_8250_MANY_PORTSis not set
#CONFIG_SERIAL_8250_SHARE_IRQis not setCONFIG_SERIAL_8250_DETECT_IRQ=y
#CONFIG_SERIAL_8250_RSAis not set#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=y
#CONFIG_SERIAL_TIMBERDALEis not set
#CONFIG_SERIAL_ALTERA_JTAGUARTis not set
#CONFIG_SERIAL_ALTERA_UARTis not setCONFIG_UNIX98_PTYS=y
#CONFIG_DEVPTS_MULTIPLE_INSTANCESis not set
#CONFIG_LEGACY_PTYSis not set
#CONFIG_PRINTERis not set
#CONFIG_PPDEVis not set
#CONFIG_IPMI_HANDLERis not set
#CONFIG_HW_RANDOMis not set
#CONFIG_NVRAMis not setCONFIG_RTC=y
#CONFIG_DTLKis not set
#CONFIG_R3964is not set#
# PCMCIA character devices
#
#CONFIG_SYNCLINK_CSis not set
#CONFIG_CARDMAN_4000is not set
#CONFIG_CARDMAN_4040is not set
#CONFIG_IPWIRELESSis not set
#CONFIG_MWAVEis not set
#CONFIG_PC8736x_GPIOis not set
#CONFIG_NSC_GPIOis not set
#CONFIG_CS5535_GPIOis not set
#CONFIG_RAW_DRIVERis not set
#CONFIG_HANGCHECK_TIMERis not set
#CONFIG_TCG_TPMis not set
#CONFIG_TELCLOCKis not setCONFIG_DEVPORT=y
#CONFIG_RAMOOPSis not set
#CONFIG_I2Cis not set
#CONFIG_SPIis not set#
# PPS support
#
#CONFIG_PPSis not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
#CONFIG_GPIOLIBis not set
#CONFIG_W1is not set
#CONFIG_POWER_SUPPLYis not set
#CONFIG_HWMONis not set
#CONFIG_THERMALis not set
#CONFIG_WATCHDOGis not setCONFIG_SSB_POSSIBLE=y#
# Sonics Silicon Backplane
#
#CONFIG_SSBis not set
#CONFIG_MFD_SUPPORTis not set
#CONFIG_REGULATORis not set
#CONFIG_MEDIA_SUPPORTis not set#
# Graphics support
#
#CONFIG_DRMis not set
#CONFIG_VGASTATEis not set
#CONFIG_VIDEO_OUTPUT_CONTROLis not set
#CONFIG_FBis not set
#CONFIG_BACKLIGHT_LCD_SUPPORTis not set#
# Display device support
#
#CONFIG_DISPLAY_SUPPORTis not set#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
#CONFIG_VGACON_SOFT_SCROLLBACKis not set
#CONFIG_MDA_CONSOLEis not setCONFIG_DUMMY_CONSOLE=y
#CONFIG_SOUNDis not set
#CONFIG_HID_SUPPORTis not set
#CONFIG_USB_SUPPORTis not set
#CONFIG_MMCis not set
#CONFIG_MEMSTICKis not set
#CONFIG_NEW_LEDSis not set
#CONFIG_ACCESSIBILITYis not set
#CONFIG_EDACis not set
#CONFIG_RTC_CLASSis not set
#CONFIG_DMADEVICESis not set
#CONFIG_AUXDISPLAYis not set
#CONFIG_UIOis not set
#CONFIG_STAGINGis not set
#CONFIG_X86_PLATFORM_DEVICESis not set#
# Firmware Drivers
#
#CONFIG_EDDis not setCONFIG_FIRMWARE_MEMMAP=y
#CONFIG_DELL_RBUis not set
#CONFIG_DCDBASis not set
#CONFIG_DMIIDis not set
#CONFIG_ISCSI_IBFT_FINDis not set#
# File systems
#CONFIG_EXT2_FS=y
#CONFIG_EXT2_FS_XATTRis not set
#CONFIG_EXT2_FS_XIPis not setCONFIG_EXT3_FS=y
#CONFIG_EXT3_DEFAULTS_TO_ORDEREDis not set
#CONFIG_EXT3_FS_XATTRis not set
#CONFIG_EXT4_FSis not setCONFIG_JBD=y
#CONFIG_REISERFS_FSis not set
#CONFIG_JFS_FSis not set
#CONFIG_FS_POSIX_ACLis not set
#CONFIG_XFS_FSis not set
#CONFIG_OCFS2_FSis not set
#CONFIG_BTRFS_FSis not set
#CONFIG_NILFS2_FSis not setCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=y
#CONFIG_QUOTAis not set
#CONFIG_AUTOFS_FSis not set
#CONFIG_AUTOFS4_FSis not set
#CONFIG_FUSE_FSis not set#
# Caches
#
#CONFIG_FSCACHEis not set#
# CD-ROM/DVD Filesystems
#
#CONFIG_ISO9660_FSis not set
#CONFIG_UDF_FSis not set#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=850CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-15"
#CONFIG_NTFS_FSis not set#
# Pseudo filesystems
#CONFIG_PROC_FS=y
#CONFIG_PROC_KCOREis not setCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=y
#CONFIG_TMPFS_POSIX_ACLis not set
#CONFIG_HUGETLBFSis not set
#CONFIG_HUGETLB_PAGEis not set
#CONFIG_CONFIGFS_FSis not set
#CONFIG_MISC_FILESYSTEMSis not set
#CONFIG_NETWORK_FILESYSTEMSis not set#
# Partition Types
#
#CONFIG_PARTITION_ADVANCEDis not setCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-15"
#CONFIG_NLS_CODEPAGE_437is not set
#CONFIG_NLS_CODEPAGE_737is not set
#CONFIG_NLS_CODEPAGE_775is not setCONFIG_NLS_CODEPAGE_850=y
#CONFIG_NLS_CODEPAGE_852is not set
#CONFIG_NLS_CODEPAGE_855is not set
#CONFIG_NLS_CODEPAGE_857is not set
#CONFIG_NLS_CODEPAGE_860is not set
#CONFIG_NLS_CODEPAGE_861is not set
#CONFIG_NLS_CODEPAGE_862is not set
#CONFIG_NLS_CODEPAGE_863is not set
#CONFIG_NLS_CODEPAGE_864is not set
#CONFIG_NLS_CODEPAGE_865is not set
#CONFIG_NLS_CODEPAGE_866is not set
#CONFIG_NLS_CODEPAGE_869is not set
#CONFIG_NLS_CODEPAGE_936is not set
#CONFIG_NLS_CODEPAGE_950is not set
#CONFIG_NLS_CODEPAGE_932is not set
#CONFIG_NLS_CODEPAGE_949is not set
#CONFIG_NLS_CODEPAGE_874is not set
#CONFIG_NLS_ISO8859_8is not set
#CONFIG_NLS_CODEPAGE_1250is not set
#CONFIG_NLS_CODEPAGE_1251is not setCONFIG_NLS_ASCII=y
#CONFIG_NLS_ISO8859_1is not set
#CONFIG_NLS_ISO8859_2is not set
#CONFIG_NLS_ISO8859_3is not set
#CONFIG_NLS_ISO8859_4is not set
#CONFIG_NLS_ISO8859_5is not set
#CONFIG_NLS_ISO8859_6is not set
#CONFIG_NLS_ISO8859_7is not set
#CONFIG_NLS_ISO8859_9is not set
#CONFIG_NLS_ISO8859_13is not set
#CONFIG_NLS_ISO8859_14is not setCONFIG_NLS_ISO8859_15=y
#CONFIG_NLS_KOI8_Ris not set
#CONFIG_NLS_KOI8_Uis not set
#CONFIG_NLS_UTF8is not set
#CONFIG_DLMis not set#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
#CONFIG_PRINTK_TIMEis not set
#CONFIG_ENABLE_WARN_DEPRECATEDis not set
#CONFIG_ENABLE_MUST_CHECKis not setCONFIG_FRAME_WARN=0
#CONFIG_MAGIC_SYSRQis not set
#CONFIG_STRIP_ASM_SYMSis not set
#CONFIG_UNUSED_SYMBOLSis not set
#CONFIG_DEBUG_FSis not set
#CONFIG_HEADERS_CHECKis not set
#CONFIG_DEBUG_KERNELis not set
#CONFIG_HARDLOCKUP_DETECTORis not setCONFIG_DEBUG_BUGVERBOSE=y
#CONFIG_DEBUG_MEMORY_INITis not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
#CONFIG_SYSCTL_SYSCALL_CHECKis not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_TRACING_SUPPORT=y
#CONFIG_FTRACEis not set
#CONFIG_DMA_API_DEBUGis not set
#CONFIG_ATOMIC64_SELFTESTis not set
#CONFIG_SAMPLESis not setCONFIG_HAVE_ARCH_KGDB=yCONFIG_HAVE_ARCH_KMEMCHECK=y
#CONFIG_STRICT_DEVMEMis not setCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=y
#CONFIG_4KSTACKSis not setCONFIG_DOUBLEFAULT=y
#CONFIG_IOMMU_STRESSis not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
#CONFIG_IO_DELAY_0XEDis not set
#CONFIG_IO_DELAY_UDELAYis not set
#CONFIG_IO_DELAY_NONEis not setCONFIG_DEFAULT_IO_DELAY_TYPE=0
#CONFIG_OPTIMIZE_INLININGis not set#
# Security options
#
#CONFIG_KEYSis not set
#CONFIG_SECURITYis not set
#CONFIG_SECURITYFSis not setCONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""
#CONFIG_CRYPTOis not setCONFIG_HAVE_KVM=y
#CONFIG_VIRTUALIZATIONis not set
#CONFIG_BINARY_PRINTFis not set#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=y
#CONFIG_CRC16is not set
#CONFIG_CRC_T10DIFis not set
#CONFIG_CRC_ITU_Tis not setCONFIG_CRC32=y
#CONFIG_CRC7is not set
#CONFIG_LIBCRC32Cis not setCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=y
Quoted 57 lines · Stefan Hellermann
Is this BIOS-88 RAM map supposed to work?
Am 05.05.2011 22:02, schrieb Stefan Hellermann:
Quoted 52 lines
Hi!
I have an really old tablet PC. It's and 486 with 40MHz and 8MB Ram
(http://www.homecomputermuseum.de/comp/327_de.htm)
I sometimes test new kernels on it, and since the invention ofCONFIG_NO_BOOTMEMit does not work with this option enabled. So 2.6.36 withoutNO_BOOTMEMwork, every newer Kernel will hang, only visible with earlyprintk=vga.Bootlog:
Booting the kernel.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #5 Thu May 5 21:49:09 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn=0x840max_arch_pfn=0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA0x00000001->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000001 -> 0x0000009f 0: 0x00000100 -> 0x00000840 BUG: Int 6: CR2 (null) EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4 EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4 err (null) EIP c0353191 CS c0320060 flg 00010082 Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null) 00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null) (null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null) Pid: 0, comm: swapper Not tainted 2.6.36 #5 Call Trace: [<c02e3707>] ? 0xc02e3707 [<c035e6e5>] 0xc035e6e5 [<c0353191>] ? 0xc0353191 [<c03534d6>] 0xc03534d6 [<c034f1cd>] 0xc034f1cd [<c034a824>] 0xc034a824 [<c03513cb>] ? 0xc03513cb [<c0349432>] 0xc0349432 [<c0349066>] 0xc0349066with NO_BOOTMEM=y. Is it possible to resolve this symbols somehow?
CONFIG_FRAMEPOINTER=y. With latest git the crash is about the same.
can you please boot with "ignore_loglevel debug memblock=debug"?
Thanks
Yinghai
Am 06.05.2011 00:06, schrieb Yinghai Lu:
Quoted 3 lines
can you please boot with "
ignore_logleveldebug memblock=debug"?
Here we are:
early console in setup code
early console in decompress_kernel
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Linux version 2.6.39-rc6+ ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #1 Thu May 5 19:21:50 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
debug: ignoring loglevel setting.
Notice: NX (Execute Disable) protection missing in CPU! DMI not present or invalid.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable) last_pfn = 0x840 max_arch_pfn = 0x100000
memblock_x86_reserve_range: [0x003a5000-0x003a6fff] BRK
MEMBLOCK configuration:
memory size = 0x7cf000
memory.cnt = 0x2
memory[0x0] [0x00000000010000-0x0000000009efff], 0x8f000 bytes
memory[0x1] [0x00000000100000-0x0000000083ffff], 0x740000 bytes
reserved.cnt = 0x1
reserved[0x0] [0x0000000009f000-0x000000003a6fff], 0x308000 bytes
initial memory mapped : 0 - 00800000
memblock_x86_reserve_range: [0x0009e000-0x0009efff] TRAMPOLINE
Base memory trampoline at [c009e000] 9e000 size 4096init_memory_mapping: 0000000000000000-0000000000840000
0000000000 - 0000840000 page 4k
kernel direct mapping tables up to 840000 @ 7fa000-800000
memblock_x86_reserve_range: [0x007fa000-0x007fafff] PGTABLE
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x0000009f
0: 0x00000100 -> 0x00000840On node 0 totalpages: 1999free_area_init_node: node 0, pgdat c03555a0, node_mem_map 00000200
DMA zone: 17 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 1982 pages, LIFO batch:0
BUG: Int 6: CR2 (null)
EDI c0355868 ESI (null) EBP 00000830 ESP c0339f10
EBX c03555a0 EDX 00000006 ECX 01000000 EAX fffffff4
err (null) EIP c0361b85 CS 00000060 flg 00010082
Stack: (null) c031d2f2 000007be (null) c031d2f2 00000003 (null)
(null)
00000010 00000018 00000002 (null) 00000002 c0361ea8 (null)
(null)
00000100 00000840 00000001 (null) (null) c0339f8c c0339fb8
c035e41b
Pid: 0, comm: swapper Not tainted 2.6.39-rc6+ #1
Call Trace:
[<c036edb5>] ? 0xc036edb5
[<c0361b85>] ? 0xc0361b85
[<c0361ea8>] ? 0xc0361ea8
[<c035e41b>] ? 0xc035e41b
[<c035986d>] ? 0xc035986d
[<c0358401>] ? 0xc0358401Quoted 65 lines · Stefan Hellermann
Am 06.05.2011 00:06, schrieb Yinghai Lu:
Quoted 3 lines
can you please boot with "
ignore_logleveldebug memblock=debug"?Here we are:
early console in setup code
early console indecompress_kernelDecompressing Linux... Parsing ELF... done.
Booting the kernel.
Linux version 2.6.39-rc6+ ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #1 Thu May 5 19:21:50 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
debug: ignoring loglevel setting.
Notice: NX (Execute Disable) protection missing in CPU! DMI not present or invalid.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 remove range:00000000000a0000- 0000000000100000 (usable)last_pfn=0x840max_arch_pfn=0x100000memblock_x86_reserve_range: [0x003a5000-0x003a6fff] BRKMEMBLOCK configuration:
memory size =0x7cf000
memory.cnt =0x2
memory[0x0] [0x00000000010000-0x0000000009efff],0x8f000bytes
memory[0x1] [0x00000000100000-0x0000000083ffff],0x740000bytes
reserved.cnt =0x1
reserved[0x0] [0x0000000009f000-0x000000003a6fff],0x308000bytes
initial memory mapped : 0 - 00800000memblock_x86_reserve_range: [0x0009e000-0x0009efff] TRAMPOLINEBase memory trampoline at [
c009e000] 9e000 size 4096init_memory_mapping: 0000000000000000-0000000000840000
0000000000 - 0000840000 page 4k
kernel direct mapping tables up to 840000 @ 7fa000-800000memblock_x86_reserve_range: [0x007fa000-0x007fafff] PGTABLE8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA0x00000010->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000010 -> 0x0000009f 0: 0x00000100 -> 0x00000840On node 0 totalpages: 1999
free_area_init_node: node 0, pgdatc03555a0,node_mem_map00000200
DMA zone: 17 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 1982 pages, LIFO batch:0BUG: Int 6: CR2 (null) EDI c0355868 ESI (null) EBP 00000830 ESP c0339f10 EBX c03555a0 EDX 00000006 ECX 01000000 EAX fffffff4 err (null) EIP c0361b85 CS 00000060 flg 00010082 Stack: (null) c031d2f2 000007be (null) c031d2f2 00000003 (null) (null) 00000010 00000018 00000002 (null) 00000002 c0361ea8 (null) (null) 00000100 00000840 00000001 (null) (null) c0339f8c c0339fb8
c035e41b
Quoted 8 lines
Pid: 0, comm: swapper Not tainted 2.6.39-rc6+ #1
Call Trace: [<c036edb5>] ? 0xc036edb5 [<c0361b85>] ? 0xc0361b85 [<c0361ea8>] ? 0xc0361ea8 [<c035e41b>] ? 0xc035e41b [<c035986d>] ? 0xc035986d [<c0358401>] ? 0xc0358401
please check
[PATCH] mm: Use alloc_bootmem_node_nopanic on really needed path
Stefan found nobootmem does not work on his system that only have 8M ram.
It turns out we should ignore the low limit the 16M.
Use alloc_bootmem_node_nopanic in those calling.
--- include/linux/bootmem.h | 2 ++ mm/page_alloc.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-)
include/linux/bootmem.h +2 -0
@@ -111,6 +111,8 @@ extern void *__alloc_bootmem_low_node(pg __alloc_bootmem_nopanic(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) +#define alloc_bootmem_node_nopanic (pgdat, x) \ + __alloc_bootmem_node_nopanic(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node_nopanic (pgdat, x) \
mm/page_alloc.c +3 -3
@@ -3564,7 +3564,7 @@ int zone_wait_table_init(struct zone *zoif (!slab_is_available ()) { zone->wait_table = (wait_queue_head_t *) -alloc_bootmem_node (pgdat, alloc_size); +alloc_bootmem_node_nopanic (pgdat, alloc_size); }else {/* * This case means that a zone whose size was 0 gets new memory
@@ -4141,7 +4141,7 @@ static void __init setup_usemap(struct punsigned long usemapsize =usemap_size (zonesize); zone->pageblock_flags =NULL ;if (usemapsize) - zone->pageblock_flags =alloc_bootmem_node (pgdat, usemapsize); + zone->pageblock_flags =alloc_bootmem_node_nopanic (pgdat, usemapsize); }#else static inline void setup_usemap(struct pglist_data *pgdat,
@@ -4307,7 +4307,7 @@ static void __init_refok alloc_node_mem_ size = (end - start) *sizeof (struct page ); map =alloc_remap (pgdat->node_id, size);if (!map) - map =alloc_bootmem_node (pgdat, size); + map =alloc_bootmem_node_nopanic (pgdat, size); pgdat->node_mem_map = map + (pgdat->node_start_pfn - start); }#ifndef CONFIG_NEED_MULTIPLE_NODES
Stefan Hellermann
Tested-byAm 06.05.2011 08:30, schrieb Yinghai Lu:
Quoted 5 lines
please check
[PATCH] mm: Use
alloc_bootmem_node_nopanicon really needed path
Quoted 8 lines
Stefan found nobootmem does not work on his system that only have 8M ram.
It turns out we should ignore the low limit the 16M.
Use
alloc_bootmem_node_nopanicin those calling.Reported-by Stefan Hellermann <[email protected]>Signed-off-by Yinghai LU <[email protected]>
You found it! bootlog attached.
Quoted 42 lines
--- include/linux/bootmem.h | 2 ++ mm/page_alloc.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-)Index:
linux-2.6/include/linux/bootmem.h
===================================================================include/linux/bootmem.h +2
-0@@ -111,6 +111,8 @@ extern void *__alloc_bootmem_low_node(pg __alloc_bootmem_nopanic(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) +#define alloc_bootmem_node_nopanic (pgdat, x) \ + __alloc_bootmem_node_nopanic(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node_nopanic (pgdat, x) \Index:
linux-2.6/mm/page_alloc.c
===================================================================mm/page_alloc.c +2
-2@@ -3564,7 +3564,7 @@ int zone_wait_table_init(struct zone *zoif (!slab_is_available ()) { zone->wait_table = (wait_queue_head_t *) -alloc_bootmem_node (pgdat, alloc_size); +alloc_bootmem_node_nopanic (pgdat, alloc_size); }else {/* * This case means that a zone whose size was 0 gets new memory @@ -4141,7 +4141,7 @@ static void __init setup_usemap(struct punsigned long usemapsize =usemap_size (zonesize); zone->pageblock_flags =NULL ;if (usemapsize) - zone->pageblock_flags =alloc_bootmem_node (pgdat, usemapsize); + zone->pageblock_flags =alloc_bootmem_node_nopanic (pgdat, usemapsize); }#else static inline void setup_usemap(struct pglist_data *pgdat,
mm/page_alloc.c static void __init_refok alloc_node_mem_ · line 4313
Quoted 8 lines
mm/page_alloc.c +1
-1@@ -4307,7 +4307,7 @@ static void __init_refok alloc_node_mem_ size = (end - start) *sizeof (struct page ); map =alloc_remap (pgdat->node_id, size);if (!map) - map =alloc_bootmem_node (pgdat, size); + map =alloc_bootmem_node_nopanic (pgdat, size); pgdat->node_mem_map = map + (pgdat->node_start_pfn - start); }#ifndef CONFIG_NEED_MULTIPLE_NODES
early console in setup code
early console in decompress_kernel
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Linux version 2.6.39-rc6+ ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #9 Fri May 6 09:39:31 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 - 000000000009f000 (usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
debug: ignoring loglevel setting.
Notice: NX (Execute Disable) protection missing in CPU!
DMI not present or invalid.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)last_pfn = 0x840 max_arch_pfn = 0x100000
memblock_x86_reserve_range: [0x006a9000-0x006abfff] BRK
MEMBLOCK configuration:
memory size = 0x7cf000
memory.cnt = 0x2
memory[0x0] [0x00000000010000-0x0000000009efff], 0x8f000 bytes
memory[0x1] [0x00000000100000-0x0000000083ffff], 0x740000 bytes
reserved.cnt = 0x2
reserved[0x0] [0x0000000009f000-0x000000000fffff], 0x61000 bytes
reserved[0x1] [0x00000000400000-0x000000006abfff], 0x2ac000 bytes
initial memory mapped : 0 - 00c00000
memblock_x86_reserve_range: [0x0009e000-0x0009efff] TRAMPOLINE
Base memory trampoline at [c009e000] 9e000 size 4096init_memory_mapping: 0000000000000000-0000000000840000
0000000000 - 0000840000 page 4k
kernel direct mapping tables up to 840000 @ 83a000-840000 8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
Normal empty
Movable zone start PFN for each node early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x0000009f
0: 0x00000100 -> 0x00000840
On node 0 totalpages: 1999
memblock_x86_reserve_range: [0x00828000-0x0083ffff] BOOTMEMfree_area_init_node: node 0, pgdat c0659420, node_mem_map c0828200
DMA zone: 17 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 1982 pages, LIFO batch:0
memblock_x86_reserve_range: [0x00827ff0-0x00827ff3] BOOTMEM
memblock_x86_reserve_range: [0x00827fb0-0x00827fef] BOOTMEM
memblock_x86_reserve_range: [0x00827f50-0x00827fa3] BOOTMEM
memblock_x86_reserve_range: [0x00827f10-0x00827f4f] BOOTMEM
memblock_x86_reserve_range: [0x00827ed0-0x00827f0f] BOOTMEM
Allocating PCI resources starting at 840000 (gap: 840000:ff7c0000)
memblock_x86_reserve_range: [0x00827e50-0x00827ec5] BOOTMEM
memblock_x86_reserve_range: [0x00827dd0-0x00827e45] BOOTMEM
memblock_x86_reserve_range: [0x00826dd0-0x00827dcf] BOOTMEM
memblock_x86_reserve_range: [0x0081e000-0x00825fff] BOOTMEM
memblock_x86_reserve_range: [0x00826dc0-0x00826dc3] BOOTMEM
memblock_x86_reserve_range: [0x00826db0-0x00826db3] BOOTMEM
memblock_x86_reserve_range: [0x00826da0-0x00826da3] BOOTMEM
memblock_x86_reserve_range: [0x00826d90-0x00826d93] BOOTMEM
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
memblock_x86_reserve_range: [0x00826d10-0x00826d87] BOOTMEM
memblock_x86_reserve_range: [0x00826ce0-0x00826d0b] BOOTMEM
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 1982
Kernel command line: root=/dev/hda2 parport=0x378,7 init=/etc/preinit noinitrd earlyprintk=ttyS0,9600 ignore_loglevel debug memblock=debug
memblock_x86_reserve_range: [0x00826c60-0x00826cdf] BOOTMEM
PID hash table entries: 32 (order: -5, 128 bytes)
memblock_x86_reserve_range: [0x0081d000-0x0081dfff] BOOTMEM
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
memblock_x86_reserve_range: [0x0081c000-0x0081cfff] BOOTMEMInode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Initializing CPU#0
Subtract (14 early reservations)
[000009e000-00000fffff]
[0000400000-00006abfff]
[000081c000-0000825fff]
[0000826c60-0000826d0b]
[0000826d10-0000826d87]
[0000826d90-0000826d93]
[0000826da0-0000826da3]
[0000826db0-0000826db3]
[0000826dc0-0000826dc3]
[0000826dd0-0000827e45]
[0000827e50-0000827ec5]
[0000827ed0-0000827fa3]
[0000827fb0-0000827ff3]
[0000828000-000083ffff]
Memory: 5112k/8448k available (2022k kernel code, 2884k reserved, 392k data, 212k init, 0k highmem) virtual kernel memory layout:
fixmap : 0xfffe4000 - 0xfffff000 ( 108 kB)
vmalloc : 0xc1040000 - 0xfffe2000 (1007 MB)
lowmem : 0xc0000000 - 0xc0840000 ( 8 MB)
.init : 0xc065c000 - 0xc0691000 ( 212 kB)
.data : 0xc05f9a5b - 0xc065be50 ( 392 kB)
.text : 0xc0400000 - 0xc05f9a5b (2022 kB)Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:16
CPU 0 irqstacks, hard=c0812000 soft=c0814000
Console: colour VGA+ 80x25
console [tty0] enabled, bootconsole disabled
�
PATCH] mm: Use alloc_bootmem_node_nopanic on really needed path
Stefan found nobootmem does not work on his system that only have 8M ram.
It turns out we should ignore the low limit the 16M.
Use alloc_bootmem_node_nopanic in those calling.
--- include/linux/bootmem.h | 2 ++ mm/page_alloc.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-)
include/linux/bootmem.h +2 -0
@@ -111,6 +111,8 @@ extern void *__alloc_bootmem_low_node(pg __alloc_bootmem_nopanic(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) +#define alloc_bootmem_node_nopanic (pgdat, x) \ + __alloc_bootmem_node_nopanic(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node_nopanic (pgdat, x) \
mm/page_alloc.c +3 -3
@@ -3564,7 +3564,7 @@ int zone_wait_table_init(struct zone *zoif (!slab_is_available ()) { zone->wait_table = (wait_queue_head_t *) -alloc_bootmem_node (pgdat, alloc_size); +alloc_bootmem_node_nopanic (pgdat, alloc_size); }else {/* * This case means that a zone whose size was 0 gets new memory
@@ -4141,7 +4141,7 @@ static void __init setup_usemap(struct punsigned long usemapsize =usemap_size (zonesize); zone->pageblock_flags =NULL ;if (usemapsize) - zone->pageblock_flags =alloc_bootmem_node (pgdat, usemapsize); + zone->pageblock_flags =alloc_bootmem_node_nopanic (pgdat, usemapsize); }#else static inline void setup_usemap(struct pglist_data *pgdat,
@@ -4307,7 +4307,7 @@ static void __init_refok alloc_node_mem_ size = (end - start) *sizeof (struct page ); map =alloc_remap (pgdat->node_id, size);if (!map) - map =alloc_bootmem_node (pgdat, size); + map =alloc_bootmem_node_nopanic (pgdat, size); pgdat->node_mem_map = map + (pgdat->node_start_pfn - start); }#ifndef CONFIG_NEED_MULTIPLE_NODES
Andrew Morton
maintainerRe: PATCH] mm: Use alloc_bootmem_node_nopanic on really needed path
Quoted 1 line · On Fri, 06 May 2011 15:29:41 -0700 Yinghai Lu <[email protected]> wrote:
Stefan found nobootmem does not work on his system that only have 8M ram.
What does "does not work" mean? From the patch, it appears that the machine paniced?
This is important because without a recognisable description of the failure it is hard for people to determine whether your patch might fix a problem which they are observing.
The patch applies to 2.6.36, 37 and 38 (at least). Do you think it should be backported? If so, how far back in time is it applicable?
Re: PATCH] mm: Use alloc_bootmem_node_nopanic on really needed path
Quoted 7 lines · Andrew Morton
Quoted 1 line · On Fri, 06 May 2011 15:29:41 -0700 Yinghai Lu <[email protected]> wrote:
Stefan found nobootmem does not work on his system that only have 8M ram.
What does "does not work" mean? From the patch, it appears that the machine paniced?
yes, early panic.
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428
Quoted 40 lines
(Red Hat 4.6.0-6) (GCC) ) #5 Thu May 5 21:49:09 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn=0x840max_arch_pfn=0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA0x00000001->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000001 -> 0x0000009f 0: 0x00000100 -> 0x00000840 BUG: Int 6: CR2 (null) EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4 EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4 err (null) EIP c0353191 CS c0320060 flg 00010082 Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null) 00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null) (null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null) Pid: 0, comm: swapper Not tainted 2.6.36 #5 Call Trace: [<c02e3707>] ? 0xc02e3707 [<c035e6e5>] 0xc035e6e5 [<c0353191>] ? 0xc0353191 [<c03534d6>] 0xc03534d6 [<c034f1cd>] 0xc034f1cd [<c034a824>] 0xc034a824 [<c03513cb>] ? 0xc03513cb [<c0349432>] 0xc0349432 [<c0349066>] 0xc0349066
Quoted 6 lines
This is important because without a recognisable description of the failure it is hard for people to determine whether your patch might fix a problem which they are observing.
The patch applies to 2.6.36, 37 and 38 (at least). Do you think it should be backported? If so, how far back in time is it applicable?
Since we introduced CONFIG_NO_BOOTMEM...
like we need it from 2.6.34.
Thanks
Yinghai
Re: PATCH] mm: Use alloc_bootmem_node_nopanic on really needed path
Quoted 10 lines · Yinghai Lu
Quoted 7 lines · Andrew Morton
Quoted 1 line · On Fri, 06 May 2011 15:29:41 -0700 Yinghai Lu <[email protected]> wrote:
Stefan found nobootmem does not work on his system that only have 8M ram.
What does "does not work" mean? From the patch, it appears that the machine paniced?
yes, early panic.
Why the heck did you not share this information in the original changelog itself? Do you think maintainers enjoy having to waste time asking you again and again to clarify your changelogs?
Changelogs need specificity. "does not work" is 10 times worse than "we saw an early crash" or "the system booted up with only 10% of the physical RAM visible". There are many degrees of "does not work".
Thanks,
Ingo
PATCH 1/1 mm: Use alloc_bootmem_node_nopanic on really needed path
In reply to Stefan HellermannStefan found nobootmem cause early crash on his system that only have 8M ram.
Quoted 30 lines
Linux version 2.6.36 ([email protected]) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #5 Thu May 5 21:49:09 CEST 2011 BIOS-provided physical RAM map:
BIOS-88: 0000000000000000 -000000000009f000(usable)
BIOS-88: 0000000000100000 - 0000000000840000 (usable)
bootconsole [earlyser0] enabled
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS! DMI not present or invalid.last_pfn=0x840max_arch_pfn=0x100000init_memory_mapping: 0000000000000000-0000000000840000
8MB LOWMEM available.
mapped low ram: 0 - 00840000
low ram: 0 - 00840000
Zone PFN ranges:
DMA0x00000001->0x00001000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges0: 0x00000001 -> 0x0000009f 0: 0x00000100 -> 0x00000840 BUG: Int 6: CR2 (null) EDI c034663c ESI (null) EBP c0329f38 ESP c0329ef4 EBX c0346380 EDX 00000006 ECX ffffffff EAX fffffff4 err (null) EIP c0353191 CS c0320060 flg 00010082 Stack: (null) c030c533 000007cd (null) c030c533 00000001 (null) (null) 00000003 0000083f 00000018 00000002 00000002 c0329f6c c03534d6 (null) (null) 00000100 00000840 (null) c0329f64 00000001 00001000 (null) Pid: 0, comm: swapper Not tainted 2.6.36 #5 Call Trace: [<c02e3707>] ? 0xc02e3707
Quoted 8 lines
[<c035e6e5>] 0xc035e6e5 [<c0353191>] ? 0xc0353191 [<c03534d6>] 0xc03534d6 [<c034f1cd>] 0xc034f1cd [<c034a824>] 0xc034a824 [<c03513cb>] ? 0xc03513cb [<c0349432>] 0xc0349432 [<c0349066>] 0xc0349066
It turns out we should ignore the low limit the 16M.
Use alloc_bootmem_node_nopanic in those calling.
We need to backport this patch from 2.6.34
-v2: update patch description.
--- include/linux/bootmem.h | 2 ++ mm/page_alloc.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-)
include/linux/bootmem.h +2 -0
@@ -111,6 +111,8 @@ extern void *__alloc_bootmem_low_node(pg __alloc_bootmem_nopanic(x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS)) +#define alloc_bootmem_node_nopanic (pgdat, x) \ + __alloc_bootmem_node_nopanic(pgdat, x, SMP_CACHE_BYTES, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node (pgdat, x) \ __alloc_bootmem_node(pgdat, x, PAGE_SIZE, __pa(MAX_DMA_ADDRESS))#define alloc_bootmem_pages_node_nopanic (pgdat, x) \
mm/page_alloc.c +3 -3
@@ -3564,7 +3564,7 @@ int zone_wait_table_init(struct zone *zoif (!slab_is_available ()) { zone->wait_table = (wait_queue_head_t *) -alloc_bootmem_node (pgdat, alloc_size); +alloc_bootmem_node_nopanic (pgdat, alloc_size); }else {/* * This case means that a zone whose size was 0 gets new memory
@@ -4141,7 +4141,7 @@ static void __init setup_usemap(struct punsigned long usemapsize =usemap_size (zonesize); zone->pageblock_flags =NULL ;if (usemapsize) - zone->pageblock_flags =alloc_bootmem_node (pgdat, usemapsize); + zone->pageblock_flags =alloc_bootmem_node_nopanic (pgdat, usemapsize); }#else static inline void setup_usemap(struct pglist_data *pgdat,
@@ -4307,7 +4307,7 @@ static void __init_refok alloc_node_mem_ size = (end - start) *sizeof (struct page ); map =alloc_remap (pgdat->node_id, size);if (!map) - map =alloc_bootmem_node (pgdat, size); + map =alloc_bootmem_node_nopanic (pgdat, size); pgdat->node_mem_map = map + (pgdat->node_start_pfn - start); }#ifndef CONFIG_NEED_MULTIPLE_NODES