LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   The booting hang on "Freeing unused kernel memory : 168k freed" (https://www.linuxquestions.org/questions/linux-software-2/the-booting-hang-on-freeing-unused-kernel-memory-168k-freed-645023/)

Brian Lu 05-27-2008 03:23 AM

The booting hang on "Freeing unused kernel memory : 168k freed"
 
Hello All
I have used Fedora 5 to create a filesystem image:image.gz
And use kernel 2.6.17.7 to compile many kernel images for PIII/PIV/Core2Dual/VIA machines.
They can work fine,but now i need to make a new kernel image for 486 machine.
The new 486 kernel image can't work...the booting always hang on "Freeing unused kernel memory : 168k freed"
Who can help me?Any suggestions will be appreciated!!!

The booting log:
SYSLINUX 1.63 2001-08-06 Copyright (C) 1994-2001 H. Peter Anvin
Loading image.gz............................................................................................ ....................
...........................................................
Loading linux............................. ready.
Linux version 2.6.17.7 (root@localhost.localdomain) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) #34 Tue May 6 18:31:35 CST 20
08
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
128MB LOWMEM available.
DMI not present or invalid.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 08000000:f7000000)
Built 1 zonelists
Kernel command line: console=tty0 console=ttyS0,19200n8 root=/dev/ram0 initrd=image.gz BOOT_IMAGE=linux
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Using pit for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 115072k/131072k available (2121k kernel code, 15452k reserved, 784k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
CPU: 486
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 10775k freed
NET: Registered protocol family 16
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Using IRQ router default [17f3/6031] at 0000:00:07.0
PCI: Ignore bogus resource 6 [0:0] of 0000:00:03.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 4, 65536 bytes)
TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
apm: BIOS not found.
audit: initializing netlink socket (disabled)
audit(1210162484.608:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 210000K size 1024 blocksize
Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xed00, 44:4d:50:10:96:9f, IRQ 10
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: Turbo Industrial CF Card, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 123984 sectors (63 MB) w/2KiB Cache, CHS=123/16/63
hda: hda1
ide-floppy driver 0.99.newide
usbmon: debugfs is not available
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
oprofile: using timer interrupt.
NET: Registered protocol family 26
Netfilter messages via NETLINK v0.30.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_conntrack version 2.4 (1024 buckets, 8192 max) - 248 bytes per conntrack
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Using IPI Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 168k freed <=========stop on here

Brian Lu 05-27-2008 08:45 PM

I modified /kernel/linux-2.6.17.7.486/init/main.c...
use printk to find the final setp is to execute:
printk(KERN_WARNING "In sbin_init.\n");
run_init_process("/sbin/init");

It seems /sbin/init can't work...is this program depend on CPU?


All times are GMT -5. The time now is 05:33 AM.