Kernel panic, Warning: unable to open an initial console while booting 188.8.131.52
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
with UBUNTU 2.6.17-10 on AMD 64 Athlon, I try to compile kernel 184.108.40.206 with KGDB(kgdb v for 2.6.16 base kernel) patched, but at boot time kernel is crashing giving the above message.
FYI i am pasting the log message:
17179570.852000] pnp: 00:06: ioport range 0x290-0x297 has been reserved
[17179570.868000] PCI: Bridge: 0000:00:01.0
[17179570.880000] IO window: disabled.
[17179570.892000] MEM window: fa000000-fbdfffff
[17179570.908000] PREFETCH window: d0000000-dfffffff
[17179570.920000] PCI: Bridge: 0000:00:13.0
[17179570.932000] IO window: disabled.
[17179570.944000] MEM window: fbe00000-fbefffff
[17179570.956000] PREFETCH window: disabled.
[17179570.968000] PCI: Bridge: 0000:00:13.1
[17179570.980000] IO window: disabled.
[17179570.992000] MEM window: fbf00000-fbffffff
[17179571.004000] PREFETCH window: disabled.
[17179571.016000] audit: initializing netlink socket (disabled)
[17179571.032000] audit(1172906572.032:1): initialized
[17179571.044000] Registering GDB sysrq handler
[17179571.056000] VFS: Disk quotas dquot_6.5.1
[17179571.068000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[17179571.088000] Initializing Cryptographic API
[17179571.100000] io scheduler noop registered
[17179571.116000] io scheduler anticipatory registered
[17179571.132000] io scheduler deadline registered
[17179571.148000] io scheduler cfq registered (default)
[17179571.168000] isapnp: Scanning for PnP cards...
[17179571.532000] isapnp: No Plug & Play device found
[17179571.560000] Real Time Clock Driver v1.12ac
[17179571.572000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[17179571.596000] serio: i8042 AUX port at 0x60,0x64 irq 12
[17179571.612000] serio: i8042 KBD port at 0x60,0x64 irq 1
[17179571.628000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[17179571.648000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[17179571.664000] serial8250: ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A
[17179571.680000] 00:0b: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[17179571.696000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[17179571.716000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[17179571.740000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[17179571.768000] mice: PS/2 mouse device common for all mice
[17179571.780000] EISA: Probing bus 0 at eisa.0
[17179571.792000] EISA: Detected 0 cards.
[17179571.804000] NET: Registered protocol family 2
[17179571.848000] input: AT Translated Set 2 keyboard as /class/input/input0
[17179571.864000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[17179571.880000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[17179571.896000] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[17179571.912000] TCP: Hash tables configured (established 16384 bind 16384)
[17179571.928000] TCP reno registered
[17179571.936000] TCP bic registered
[17179571.948000] NET: Registered protocol family 1
[17179571.960000] NET: Registered protocol family 8
[17179571.972000] NET: Registered protocol family 20
[17179571.984000] Using IPI No-Shortcut mode
[17179571.996000] ACPI wakeup devices:
[17179572.008000] PCI0 PS2K PS2M UAR2 USB1 USB2 USB3 USB4 ILAN PCI1 PCI2 SLPB PWRB
[17179572.068000] ACPI: (supports S0 S1 S3 S4 S5)
[17179572.116000] RAMDISK: cramfs filesystem found at block 0
[17179572.128000] RAMDISK: Loading 37004KiB [1 disk] into ram disk... done.
[17179581.424000] VFS: Mounted root (cramfs filesystem) readonly.
[17179581.456000] Freeing unused kernel memory: 316k freed
[17179581.468000] Warning: unable to open an initial console.
[17179581.544000] ACPI: CPU0 (power states: C1[C1] C2[C2])
[17179581.568000] ACPI: Processor [CPU1] (supports 16 throttling states)
[17179581.916000] VP_IDE: IDE controller at PCI slot 0000:00:0f.1
[17179581.932000] PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
[17179581.948000] VP_IDE: chipset revision 7
[17179581.968000] VP_IDE: not 100% native mode: will probe irqs later
[17179581.984000] VP_IDE: VIA vt8251 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
[17179582.004000] ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
[17179582.032000] ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
[17179582.472000] hda: HDS728080PLAT20, ATA DISK drive
[17179583.156000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[17179584.328000] hda: max request size: 512KiB
[17179584.344000] hda: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(133)
[17179584.396000] hda: cache flushes supported
[17179584.408000] hda: hda1 hda2 hda3 hda4 < hda5 >
[17179584.508000] Attempting manual resume
[17179584.624000] kjournald starting. Commit interval 5 seconds
[17179584.640000] EXT3-fs: mounted filesystem with ordered data mode.
[17179584.776000] Kernel panic - not syncing: Attempted to kill init!
[17179584.792000] [New thread 1]
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to thread 1]
0xc0145b4b in ?? ()
I tried to resolve this issue by googling and all possible ways but i am leading to the same point.
1, I did make mrproper.
2, i copied doing config file of 2.6.17-10 to linux-220.127.116.11
3, In make menuconfig
>included ext3fs(not modular) into the kernel.
>KGDB related stuff according to the documentation
>Filesystem : pseudo fs support
4, make bzImage
5, make modules
6, make modules_install
7, mkinitrd -o /boot/initrd.img-18.104.22.168 /lib/modules/22.214.171.124
9, copied bzImage,system.map and initrd.img-126.96.36.199 to /boot of target m/c.
8, altered grub/menu.lst of target m/c according to that.
title kgdb, kernel 188.8.131.52
kernel /boot/vmlinuz-184.108.40.206 ro root=/dev/hda2 kgdbwait
and even i tried editing /etc/fstab of target to include devpts.