booting problem while using kgdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am facing a problem while booting kernel while debugging through
serial console...
i have only one serial port(COM1) and i enabled console redirection
while building kgdb image.

but while booting it gives the following error:

"Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel."

I went thru all mail-archives but cud'nt get any info.

the panic is occuring at  following code in 
  init/main.c

if (open("/dev/console", O_RDWR, 0) < 0)
                printk("Warning: unable to open an initial console.\n");

what does /dev/console refer to here in the program?

whall i need to modify /etc/inittab ?

any suggestions?

thanks and regards

syed sk
 




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux