All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: not getting the kernel prompt
@ 2001-12-07 20:05 balaji.ramalingam
  2001-12-07 20:15 ` James Simmons
  0 siblings, 1 reply; 7+ messages in thread
From: balaji.ramalingam @ 2001-12-07 20:05 UTC (permalink / raw)
  To: linux-mips; +Cc: jsimmons, jim


Hello Folks,

I do have a  /dev/console in the ramdisk.

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

[root@svlhp106 dev]# cd /mnt/ramdisk_raj/
[root@svlhp106 ramdisk_raj]# cd dev
[root@svlhp106 dev]# ll console
crw--w--w-    1 root     root       5,   1 Aug  9 15:16 console
[root@svlhp106 dev]# ll ttyS0
crw-rw-rw-    1 root     root       4,  64 Aug  9 15:16 ttyS0
[root@svlhp106 dev]#

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


regards,
Balaji






Jim Paris <jim@jtan.com> on 12/07/2001 11:38:41 AM

Please respond to jim@jtan.com

To:     Balaji Ramalingam/SVL/SC/PHILIPS@AMEC
cc:     linux-mips@oss.sgi.com
Subject:  Re: not getting the kernel prompt
Classification:



> Warning:  unable to open an initial console.

Make sure you have a valid /dev/console (or just use devfs)

-jim

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: not getting the kernel prompt
  2001-12-07 20:05 not getting the kernel prompt balaji.ramalingam
@ 2001-12-07 20:15 ` James Simmons
  0 siblings, 0 replies; 7+ messages in thread
From: James Simmons @ 2001-12-07 20:15 UTC (permalink / raw)
  To: balaji.ramalingam; +Cc: linux-mips, jim


> I do have a  /dev/console in the ramdisk.

Do you have some kind of console device compiled in? Also do you have a
/dev/tty? Hey we all make mistakes.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: not getting the kernel prompt
  2001-12-07 19:36 balaji.ramalingam
  2001-12-07 19:38 ` Jim Paris
  2001-12-07 19:40 ` James Simmons
@ 2001-12-08 13:20 ` Carsten Langgaard
  2 siblings, 0 replies; 7+ messages in thread
From: Carsten Langgaard @ 2001-12-08 13:20 UTC (permalink / raw)
  To: balaji.ramalingam; +Cc: linux-mips

balaji.ramalingam@philips.com wrote:

> Hello,
>
> I had been trying to get the linux kernel 2.4.3 on our
> latest mips core which is mips32 ISA complient.
>
> Finally I was able to boot the kernel after facing a lot of
> issues. But I was not able to get a  kernel prompt.
> I got the below messages
>
> ##########################################################################################
>
> 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)) #11 Wed Nov 28 19:45:33 PST 2001
> Determined physical RAM map:
>  memory: 02000000 @ 00000000 (usable)
> Initial ramdisk at: 0x8010e000 (1916920 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: 29184k/32768k available (603k kernel code, 3584k reserved, 1923k 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
> block: queued sectors max/low 19333kB/6444kB, 64 slots per queue
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> RAMDISK: Compressed image found at block 0
> crc errorFreeing initrd memory:  1871k freed

You get a CRC error from the ramdisk images.
It look like you need to increase the configuration setting of your ramdisk.
Try set CONFIG_BLK_DEV_RAM_SIZE to 18432.

> VFS:  Mounted root (ext2 filesystem) .
> Freeing unused kernel memory:  36k freed
> Warning:  unable to open an initial console.
> attempt to access beyond end of device
> 01:00: rw=0, want=7771, limit=4096
>
> ##########################################################################################
>
> I played around the ramdisk image and made sure that the /etc has fstab file
> with /dev/ram entry in it. Also there is a inittab file with /sbin/agetty entry to take
> care of the console ttyS0.
>
> I'm using the ttyS00 device (COM1) for both printing the debug messages as well
> as getting the kernel prompt. I dont know where I'm messing up.
>
> PLEASE give me some tips.
> Any help would be greatly appreciated.
>
> regards,
> Balaji
>
> Finished kernel_thread; Going to do unlock and cpu_idle
>
> Linux NET4.0 for Linux 2.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: not getting the kernel prompt
@ 2001-12-07 23:02 Marc Karasek
  0 siblings, 0 replies; 7+ messages in thread
From: Marc Karasek @ 2001-12-07 23:02 UTC (permalink / raw)
  To: 'balaji.ramalingam@philips.com ',
	'linux-mips@oss.sgi.com '

 It looks like your ramdisk is too large.  Is it over 4096 (4k) in size?

-----Original Message-----
From: balaji.ramalingam@philips.com
To: linux-mips@oss.sgi.com
Sent: 12/7/01 2:36 PM
Subject: not getting the kernel prompt



Hello,

I had been trying to get the linux kernel 2.4.3 on our
latest mips core which is mips32 ISA complient.

Finally I was able to boot the kernel after facing a lot of
issues. But I was not able to get a  kernel prompt.
I got the below messages

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

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)) #11 Wed Nov 28 19:45:33 PST 2001
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initial ramdisk at: 0x8010e000 (1916920 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: 29184k/32768k available (603k kernel code, 3584k reserved, 1923k
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
block: queued sectors max/low 19333kB/6444kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK: Compressed image found at block 0
crc errorFreeing initrd memory:  1871k freed
VFS:  Mounted root (ext2 filesystem) .
Freeing unused kernel memory:  36k freed
Warning:  unable to open an initial console.
attempt to access beyond end of device
01:00: rw=0, want=7771, limit=4096

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

I played around the ramdisk image and made sure that the /etc has fstab
file
with /dev/ram entry in it. Also there is a inittab file with
/sbin/agetty entry to take
care of the console ttyS0.

I'm using the ttyS00 device (COM1) for both printing the debug messages
as well
as getting the kernel prompt. I dont know where I'm messing up.

PLEASE give me some tips.
Any help would be greatly appreciated.

regards,
Balaji









Finished kernel_thread; Going to do unlock and cpu_idle

Linux NET4.0 for Linux 2.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: not getting the kernel prompt
  2001-12-07 19:36 balaji.ramalingam
  2001-12-07 19:38 ` Jim Paris
@ 2001-12-07 19:40 ` James Simmons
  2001-12-08 13:20 ` Carsten Langgaard
  2 siblings, 0 replies; 7+ messages in thread
From: James Simmons @ 2001-12-07 19:40 UTC (permalink / raw)
  To: balaji.ramalingam; +Cc: linux-mips


> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> RAMDISK: Compressed image found at block 0
> crc errorFreeing initrd memory:  1871k freed
> VFS:  Mounted root (ext2 filesystem) .
> Freeing unused kernel memory:  36k freed
> Warning:  unable to open an initial console.
> attempt to access beyond end of device
> 01:00: rw=0, want=7771, limit=4096
> 
> ##########################################################################################
> 
> I played around the ramdisk image and made sure that the /etc has fstab file
> with /dev/ram entry in it. Also there is a inittab file with /sbin/agetty entry to take
> care of the console ttyS0.

Do you have a /dev/console on that ramdisk?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: not getting the kernel prompt
  2001-12-07 19:36 balaji.ramalingam
@ 2001-12-07 19:38 ` Jim Paris
  2001-12-07 19:40 ` James Simmons
  2001-12-08 13:20 ` Carsten Langgaard
  2 siblings, 0 replies; 7+ messages in thread
From: Jim Paris @ 2001-12-07 19:38 UTC (permalink / raw)
  To: balaji.ramalingam; +Cc: linux-mips

> Warning:  unable to open an initial console.

Make sure you have a valid /dev/console (or just use devfs)

-jim

^ permalink raw reply	[flat|nested] 7+ messages in thread

* not getting the kernel prompt
@ 2001-12-07 19:36 balaji.ramalingam
  2001-12-07 19:38 ` Jim Paris
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: balaji.ramalingam @ 2001-12-07 19:36 UTC (permalink / raw)
  To: linux-mips



Hello,

I had been trying to get the linux kernel 2.4.3 on our
latest mips core which is mips32 ISA complient.

Finally I was able to boot the kernel after facing a lot of
issues. But I was not able to get a  kernel prompt.
I got the below messages

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

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)) #11 Wed Nov 28 19:45:33 PST 2001
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initial ramdisk at: 0x8010e000 (1916920 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: 29184k/32768k available (603k kernel code, 3584k reserved, 1923k 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
block: queued sectors max/low 19333kB/6444kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
RAMDISK: Compressed image found at block 0
crc errorFreeing initrd memory:  1871k freed
VFS:  Mounted root (ext2 filesystem) .
Freeing unused kernel memory:  36k freed
Warning:  unable to open an initial console.
attempt to access beyond end of device
01:00: rw=0, want=7771, limit=4096

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

I played around the ramdisk image and made sure that the /etc has fstab file
with /dev/ram entry in it. Also there is a inittab file with /sbin/agetty entry to take
care of the console ttyS0.

I'm using the ttyS00 device (COM1) for both printing the debug messages as well
as getting the kernel prompt. I dont know where I'm messing up.

PLEASE give me some tips.
Any help would be greatly appreciated.

regards,
Balaji









Finished kernel_thread; Going to do unlock and cpu_idle

Linux NET4.0 for Linux 2.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-12-08 14:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 20:05 not getting the kernel prompt balaji.ramalingam
2001-12-07 20:15 ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2001-12-07 23:02 Marc Karasek
2001-12-07 19:36 balaji.ramalingam
2001-12-07 19:38 ` Jim Paris
2001-12-07 19:40 ` James Simmons
2001-12-08 13:20 ` Carsten Langgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.