linux-mips
[Top] [All Lists]

no kernel prompt

To: linux-mips@oss.sgi.com
Subject: no kernel prompt
From: balaji.ramalingam@philips.com
Date: Mon, 10 Dec 2001 19:59:06 -0800
Sender: owner-linux-mips@oss.sgi.com

Hello guys,

I was able to sort out the console issue and know I think the kernel is
able to open /dev/console and I 'm not getting that error message from the 
kernel saying
unable to open console blau blau..

I also inserted some printk's in the init/main.c before and after the kernel 
executing /sbin/init.
So I thing the kernel can execute the sbin/init. I replace the init fiel with a 
simple
shell script which echo the "hello world" message.

But still I cant see the hello message or kernel prompt on my screen apart from 
the
below kernel messages. I'm using console=ttyS0 (com1).
Can I use the same srial port (COM1 in my case)  for both kernel debug messages
as well as the console. Because my uart is fine.
I also have the console, tty0, ttyS0 devices in the /dev in my ramdisk.
I also have the /etc/fstab file which has the ramdisk entry and agetty in 
/etc/inittab.
Still I dont get a kernel prompt. I'm running out of options.

Is there a simple test which I can do to confirm that I dont have any issue with
the console or with my ramdisk image?

Please give me some tips and I would really appreciate it.

regards,
Balaji


##########################################################################################

Detected 32MB of memory
Loading MIPS32 MMU routines.
CPU revision is: 00061200
Primary instruction cache 16kb, linesize 32 bytes (2 ways)
Primary data cache 16kb, linesize 32 bytes (4 ways)
Number of TLB entries 32.
Linux version 2.4.3-MIPS-01.01 (ramaling@svlhp106.sv.sc.philips.com) (gcc 
version 3.0 2001042
2 (prerelease)) #1 Mon Dec 10 18:48:41 PST 2001
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initial ramdisk at: 0x8010c000 ( 482280 bytes)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram rw console=ttyS0
calculating viper_offset... 00001200(4608)
CPU frequency in quickturn 0.46 MHz
Memory: 30592k/32768k available (600k kernel code, 2176k reserved, 515k data, 
36k init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
SCC2691/ProMIPS Serial Driver, version 0.01
ttyS00 at 0xb0800000 (irq = 1)
block: queued sectors max/low 20272kB/6757kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 470k freed
VFS:  Mounted root (ext2 filesystem) .
Freeing unused kernel memory:  36k freed

##########################################################################################





<Prev in Thread] Current Thread [Next in Thread>