2004-06-28 10:07:50

by Deshpande M

[permalink] [raw]
Subject: Kernel freezes- Init process in console driver

I am porting 2.6.0 (plain vanilla kernel) on Arm926 EJ
. I can be
able
to succeeded in spawning init process in debugging
mode and after
that
my kernel gets freezed. I am attaching my kernel log
here with for
your
reference. I am in clueless where could i have to look
further for
resolving this problem? I will really appreciate if
some one could
give me
an idea for this.
----------------------------------------------------------------------
------------------------------------------------

Linux version 2.6.0-rmk2 ([email protected])
(gcc version
3.3.2) #208 Thu Jun 17 13:01:38 IST 2004
CPU: ARM926EJ-Sid(wb) [41069263] revision 3 (ARMv5TEJ)
CPU: D undefined 14 cache
CPU: I cache: 16384 bytes, associativity 4, 32 byte
lines, 128 sets
CPU: D cache: 16384 bytes, associativity 4, 32 byte
lines, 128 sets
Machine: blr
Memory policy: ECC disabled, Data cache write back
On node 0 totalpages: 4096
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/ram0 rw mem=16M
initrd=0x20800000,4M
console=ttyS0,115200 init=/bin/sh
PID hash table entries: 128 (order 7: 1024 bytes)
Memory: 16MB = 16MB total
Memory: 11116KB available (713K code, 174K data, 52K
init)
Dentry cache hash table entries: 2048 (order: 1, 8192
bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096
bytes)
Mount-cache hash table entries: 512 (order: 0, 4096
bytes)
checking if image is initramfs...it isn't (ungzip
failed); looks like
an initrd
Freeing initrd memory: 4096K
CPU: Testing write buffer coherency: ok
POSIX conformance testing by UNIFIX
Linux NoNET1.0 for Linux 2.6
Serial: Blr driver $Revision: 1.41 $
ttyS0 at MMIO 0xf0000000 (irq = 6) is a Blr
RAMDISK driver initialized: 16 RAM disks of 8192K size
1024 blocksize
loop: loaded (max 8 devices)
mice: PS/2 mouse device common for all mice
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096 blocks [1 disk] into ram disk...
done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 52K
Inside run_init_process sbin/init
Inside do_execve
Inside search_binary_handler
Inside load_elf_binary
Inside data abort handler
Inside data abort handler
Inside prefetch abort handler
Inside data abort handler
Inside data abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside data abort handler
Inside data abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside prefetch abort handler
Inside prefetch abort handler
Inside data abort handler
Inside prefetch abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
Inside data abort handler
----------------------------------------------------------------------
---------------------
thanks in advance.

Deshpande





__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail


2004-06-28 12:06:48

by Ben Dooks

[permalink] [raw]
Subject: Re: Kernel freezes- Init process in console driver

On Mon, Jun 28, 2004 at 03:07:43AM -0700, Deshpande M wrote:
> I am porting 2.6.0 (plain vanilla kernel) on Arm926 EJ

This is an old kernel, try 2.6.6 or 2.6.7

--
Ben ([email protected], http://www.fluff.org/)

'a smiley only costs 4 bytes'

2004-06-28 12:09:52

by Deshpande M

[permalink] [raw]
Subject: Re: Kernel freezes- Init process in console driver

I tried with 2.6.4 but the result is same.




--- Ben Dooks <[email protected]> wrote:
> On Mon, Jun 28, 2004 at 03:07:43AM -0700, Deshpande
> M wrote:
> > I am porting 2.6.0 (plain vanilla kernel) on
> Arm926 EJ
>
> This is an old kernel, try 2.6.6 or 2.6.7
>
> --
> Ben ([email protected], http://www.fluff.org/)
>
> 'a smiley only costs 4 bytes'
>




__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

2004-06-28 12:16:19

by Jesse Stockall

[permalink] [raw]
Subject: Re: Kernel freezes- Init process in console driver

On Mon, 2004-06-28 at 06:07, Deshpande M wrote:
> I am porting 2.6.0 (plain vanilla kernel) on Arm926 EJ

Have looked on the ARM Linux page or posted to their mailing lists?

http://www.arm.linux.org.uk/

--
Jesse Stockall <[email protected]>

2004-06-28 12:22:15

by Ben Dooks

[permalink] [raw]
Subject: Re: Kernel freezes- Init process in console driver

On Mon, Jun 28, 2004 at 05:09:50AM -0700, Deshpande M wrote:
> I tried with 2.6.4 but the result is same.

2.6.6 (iirc) is the first to carry all the arm modifications
as standard. It is best to try the latest version before asking
questions, just in case the problem has been fixed.

If you are still having problems, check the code producing
the ticks for the system, and check the serial code is working.

--
Ben ([email protected], http://www.fluff.org/)

'a smiley only costs 4 bytes'

2004-06-28 12:32:27

by Deshpande M

[permalink] [raw]
Subject: Re: Kernel freezes- Init process in console driver

Thanks Ben. I'll try this .


--- Ben Dooks <[email protected]> wrote:
> On Mon, Jun 28, 2004 at 05:09:50AM -0700, Deshpande
> M wrote:
> > I tried with 2.6.4 but the result is same.
>
> 2.6.6 (iirc) is the first to carry all the arm
> modifications
> as standard. It is best to try the latest version
> before asking
> questions, just in case the problem has been fixed.
>
> If you are still having problems, check the code
> producing
> the ticks for the system, and check the serial code
> is working.
>
> --
> Ben ([email protected], http://www.fluff.org/)
>
> 'a smiley only costs 4 bytes'
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>




__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail