linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* not coming prompt in 2.6.33.6 kernel
@ 2010-07-28  3:21 nitin vishnoi
  2010-07-28  9:43 ` Ben Dooks
  0 siblings, 1 reply; 10+ messages in thread
From: nitin vishnoi @ 2010-07-28  3:21 UTC (permalink / raw)
  To: linux-arm-kernel

Hi

I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am trying to
port it on samsung-s3c2451 board.
But i am not getting the shell prompt,due to getting the following error.Any
body can tell due to what this error i am getting?

Starting kernel ...


Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon Jul
26 18:39:19 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2450
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2450 EVT3 (id 0x32450003)
SPA   epll  80200102  Mpll  80640061   clkdiv0 557
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
MHz
S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
init=/bin/sh console=ttySAC3,115200 mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:109
irq: clearing subpending status 02000006
irq: clearing subpending status 02000002
timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
Console: colour dummy device 80x30
console [ttySAC3] enabled
Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
whats up blady
hello
entered machine init
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2450: Initialising architecture
SPA s3c2450_init
S3C2450: IRQ Support
bio: create slab <bio-0> at 0
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 16384K
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 120
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
mice: PS/2 mouse device common for all mice
TCP cubic registered
RAMDISK: gzip image found at block 0
EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 116K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
[<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
(panic+0x40/0x12c)
[<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
[<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
(do_group_exit+0x84/0xb8)
[<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
(sys_exit_group+0x14/0x20)
[<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
(ret_fast_syscall+0x0/0x28)


Regards

Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100728/d6b01274/attachment-0001.html>

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-28  3:21 not coming prompt in 2.6.33.6 kernel nitin vishnoi
@ 2010-07-28  9:43 ` Ben Dooks
  2010-07-28 11:41   ` nitin vishnoi
  2010-07-29  1:53   ` Wan ZongShun
  0 siblings, 2 replies; 10+ messages in thread
From: Ben Dooks @ 2010-07-28  9:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:
> Hi
> 
> I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am trying to
> port it on samsung-s3c2451 board.
> But i am not getting the shell prompt,due to getting the following error.Any
> body can tell due to what this error i am getting?
> 
> Starting kernel ...
> 
> 
> Uncompressing Linux... done, booting the kernel.
> Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon Jul
> 26 18:39:19 IST 2010
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: SMDK2450
> Ignoring unrecognised tag 0x00000000
> Memory policy: ECC disabled, Data cache writeback
> CPU S3C2450 EVT3 (id 0x32450003)
> SPA   epll  80200102  Mpll  80640061   clkdiv0 557
> S3C24XX Clocks, (c) 2004 Simtec Electronics
> S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
> MHz
> S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
> Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
> init=/bin/sh console=ttySAC3,115200 mem=64M
> PID hash table entries: 256 (order: -2, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 64MB = 64MB total
> Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
> Hierarchical RCU implementation.
> NR_IRQS:109
> irq: clearing subpending status 02000006
> irq: clearing subpending status 02000002
> timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
> Console: colour dummy device 80x30
> console [ttySAC3] enabled
> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> NET: Registered protocol family 16
> whats up blady
> hello
> entered machine init
> S3C Power Management, Copyright 2004 Simtec Electronics
> S3C2450: Initialising architecture
> SPA s3c2450_init
> S3C2450: IRQ Support
> bio: create slab <bio-0> at 0
> SCSI subsystem initialized
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP reno registered
> UDP hash table entries: 256 (order: 0, 4096 bytes)
> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> NET: Registered protocol family 1
> Trying to unpack rootfs image as initramfs...
> rootfs image is not initramfs (no cpio magic); looks like an initrd
> Freeing initrd memory: 16384K
> NetWinder Floating Point Emulator V0.97 (double precision)
> JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
> ROMFS MTD (C) 2007 Red Hat, Inc.
> msgmni has been set to 120
> alg: No test for stdrng (krng)
> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> brd: module loaded
> loop: module loaded
> Uniform Multi-Platform E-IDE driver
> ide-gd driver 1.18
> ide-cd driver 5.00
> PPP generic driver version 2.4.2
> PPP Deflate Compression module registered
> PPP BSD Compression module registered
> PPP MPPE Compression module registered
> NET: Registered protocol family 24
> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> CSLIP: code copyright 1989 Regents of the University of California.
> mice: PS/2 mouse device common for all mice
> TCP cubic registered
> RAMDISK: gzip image found at block 0
> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
> recommended
> VFS: Mounted root (ext2 filesystem) on device 1:0.
> Freeing init memory: 116K
> Warning: unable to open an initial console.
> Kernel panic - not syncing: Attempted to kill init!
> [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
> (panic+0x40/0x12c)
> [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
> [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
> (do_group_exit+0x84/0xb8)
> [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
> (sys_exit_group+0x14/0x20)
> [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
> (ret_fast_syscall+0x0/0x28)

looks like whatever you're trying to run as init doesn't have /dev/console
available. there seems to be no evidence of UARTs being added in the
setup, are they being registered with the serial driver properly?

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-28  9:43 ` Ben Dooks
@ 2010-07-28 11:41   ` nitin vishnoi
  2010-07-29  1:53   ` Wan ZongShun
  1 sibling, 0 replies; 10+ messages in thread
From: nitin vishnoi @ 2010-07-28 11:41 UTC (permalink / raw)
  To: linux-arm-kernel

which uart we required?
already it is registered thats why i am getting bootup messages through
ttySAC3 debug port.

On Wed, Jul 28, 2010 at 3:13 PM, Ben Dooks <ben-linux@fluff.org> wrote:

> On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:
> > Hi
> >
> > I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am trying
> to
> > port it on samsung-s3c2451 board.
> > But i am not getting the shell prompt,due to getting the following
> error.Any
> > body can tell due to what this error i am getting?
> >
> > Starting kernel ...
> >
> >
> > Uncompressing Linux... done, booting the kernel.
> > Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon
> Jul
> > 26 18:39:19 IST 2010
> > CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> > CPU: VIVT data cache, VIVT instruction cache
> > Machine: SMDK2450
> > Ignoring unrecognised tag 0x00000000
> > Memory policy: ECC disabled, Data cache writeback
> > CPU S3C2450 EVT3 (id 0x32450003)
> > SPA   epll  80200102  Mpll  80640061   clkdiv0 557
> > S3C24XX Clocks, (c) 2004 Simtec Electronics
> > S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk
> 66.666
> > MHz
> > S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
> > Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 16256
> > Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
> > init=/bin/sh console=ttySAC3,115200 mem=64M
> > PID hash table entries: 256 (order: -2, 1024 bytes)
> > Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> > Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> > Memory: 64MB = 64MB total
> > Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
> > Hierarchical RCU implementation.
> > NR_IRQS:109
> > irq: clearing subpending status 02000006
> > irq: clearing subpending status 02000002
> > timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
> > Console: colour dummy device 80x30
> > console [ttySAC3] enabled
> > Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> > Mount-cache hash table entries: 512
> > CPU: Testing write buffer coherency: ok
> > NET: Registered protocol family 16
> > whats up blady
> > hello
> > entered machine init
> > S3C Power Management, Copyright 2004 Simtec Electronics
> > S3C2450: Initialising architecture
> > SPA s3c2450_init
> > S3C2450: IRQ Support
> > bio: create slab <bio-0> at 0
> > SCSI subsystem initialized
> > NET: Registered protocol family 2
> > IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> > TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> > TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> > TCP: Hash tables configured (established 2048 bind 2048)
> > TCP reno registered
> > UDP hash table entries: 256 (order: 0, 4096 bytes)
> > UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> > NET: Registered protocol family 1
> > Trying to unpack rootfs image as initramfs...
> > rootfs image is not initramfs (no cpio magic); looks like an initrd
> > Freeing initrd memory: 16384K
> > NetWinder Floating Point Emulator V0.97 (double precision)
> > JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
> > ROMFS MTD (C) 2007 Red Hat, Inc.
> > msgmni has been set to 120
> > alg: No test for stdrng (krng)
> > Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> > io scheduler noop registered
> > io scheduler deadline registered
> > io scheduler cfq registered (default)
> > brd: module loaded
> > loop: module loaded
> > Uniform Multi-Platform E-IDE driver
> > ide-gd driver 1.18
> > ide-cd driver 5.00
> > PPP generic driver version 2.4.2
> > PPP Deflate Compression module registered
> > PPP BSD Compression module registered
> > PPP MPPE Compression module registered
> > NET: Registered protocol family 24
> > SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> > CSLIP: code copyright 1989 Regents of the University of California.
> > mice: PS/2 mouse device common for all mice
> > TCP cubic registered
> > RAMDISK: gzip image found at block 0
> > EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
> > recommended
> > VFS: Mounted root (ext2 filesystem) on device 1:0.
> > Freeing init memory: 116K
> > Warning: unable to open an initial console.
> > Kernel panic - not syncing: Attempted to kill init!
> > [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
> > (panic+0x40/0x12c)
> > [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
> > [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
> > (do_group_exit+0x84/0xb8)
> > [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
> > (sys_exit_group+0x14/0x20)
> > [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
> > (ret_fast_syscall+0x0/0x28)
>
> looks like whatever you're trying to run as init doesn't have /dev/console
> available. there seems to be no evidence of UARTs being added in the
> setup, are they being registered with the serial driver properly?
>
> --
> Ben
>
> Q:      What's a light-year?
> A:      One-third less calories than a regular year.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100728/f3bbbed5/attachment-0001.html>

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-28  9:43 ` Ben Dooks
  2010-07-28 11:41   ` nitin vishnoi
@ 2010-07-29  1:53   ` Wan ZongShun
  2010-07-29  3:38     ` nitin vishnoi
                       ` (2 more replies)
  1 sibling, 3 replies; 10+ messages in thread
From: Wan ZongShun @ 2010-07-29  1:53 UTC (permalink / raw)
  To: linux-arm-kernel

2010/7/28 Ben Dooks <ben-linux@fluff.org>:
> On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:
>> Hi
>>
>> I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am trying to
>> port it on samsung-s3c2451 board.
>> But i am not getting the shell prompt,due to getting the following error.Any
>> body can tell due to what this error i am getting?
>>
>> Starting kernel ...
>>
>>
>> Uncompressing Linux... done, booting the kernel.
>> Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon Jul
>> 26 18:39:19 IST 2010
>> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
>> CPU: VIVT data cache, VIVT instruction cache
>> Machine: SMDK2450
>> Ignoring unrecognised tag 0x00000000
>> Memory policy: ECC disabled, Data cache writeback
>> CPU S3C2450 EVT3 (id 0x32450003)
>> SPA ? epll ?80200102 ?Mpll ?80640061 ? clkdiv0 557
>> S3C24XX Clocks, (c) 2004 Simtec Electronics
>> S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
>> MHz
>> S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
>> Built 1 zonelists in Zone order, mobility grouping on. ?Total pages: 16256
>> Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
>> init=/bin/sh console=ttySAC3,115200 mem=64M
>> PID hash table entries: 256 (order: -2, 1024 bytes)
>> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
>> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
>> Memory: 64MB = 64MB total
>> Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
>> Hierarchical RCU implementation.
>> NR_IRQS:109
>> irq: clearing subpending status 02000006
>> irq: clearing subpending status 02000002
>> timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
>> Console: colour dummy device 80x30
>> console [ttySAC3] enabled
>> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
>> Mount-cache hash table entries: 512
>> CPU: Testing write buffer coherency: ok
>> NET: Registered protocol family 16
>> whats up blady
>> hello
>> entered machine init
>> S3C Power Management, Copyright 2004 Simtec Electronics
>> S3C2450: Initialising architecture
>> SPA s3c2450_init
>> S3C2450: IRQ Support
>> bio: create slab <bio-0> at 0
>> SCSI subsystem initialized
>> NET: Registered protocol family 2
>> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
>> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
>> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
>> TCP: Hash tables configured (established 2048 bind 2048)
>> TCP reno registered
>> UDP hash table entries: 256 (order: 0, 4096 bytes)
>> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
>> NET: Registered protocol family 1
>> Trying to unpack rootfs image as initramfs...
>> rootfs image is not initramfs (no cpio magic); looks like an initrd
>> Freeing initrd memory: 16384K
>> NetWinder Floating Point Emulator V0.97 (double precision)
>> JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
>> ROMFS MTD (C) 2007 Red Hat, Inc.
>> msgmni has been set to 120
>> alg: No test for stdrng (krng)
>> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
>> io scheduler noop registered
>> io scheduler deadline registered
>> io scheduler cfq registered (default)
>> brd: module loaded
>> loop: module loaded
>> Uniform Multi-Platform E-IDE driver
>> ide-gd driver 1.18
>> ide-cd driver 5.00
>> PPP generic driver version 2.4.2
>> PPP Deflate Compression module registered
>> PPP BSD Compression module registered
>> PPP MPPE Compression module registered
>> NET: Registered protocol family 24
>> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
>> CSLIP: code copyright 1989 Regents of the University of California.
>> mice: PS/2 mouse device common for all mice
>> TCP cubic registered
>> RAMDISK: gzip image found at block 0
>> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
>> recommended
>> VFS: Mounted root (ext2 filesystem) on device 1:0.
>> Freeing init memory: 116K
>> Warning: unable to open an initial console.
>> Kernel panic - not syncing: Attempted to kill init!
>> [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
>> (panic+0x40/0x12c)
>> [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
>> [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
>> (do_group_exit+0x84/0xb8)
>> [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
>> (sys_exit_group+0x14/0x20)
>> [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
>> (ret_fast_syscall+0x0/0x28)
>
> looks like whatever you're trying to run as init doesn't have /dev/console
> available.
Ben, I make sure there is /dev/console in his rootfs directory.
nitin vishnoi, do you confirm you need the ext to mount the ramdisk?

maybe you can decrease 'ramdisk=32768' to 'ramdisk=8192'.

>there seems to be no evidence of UARTs being added in the
> setup, are they being registered with the serial driver properly?
>
> --
> Ben
>
> Q: ? ? ?What's a light-year?
> A: ? ? ?One-third less calories than a regular year.
>
>



-- 
*linux-arm-kernel mailing list
mail addr:linux-arm-kernel at lists.infradead.org
you can subscribe by:
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

* linux-arm-NUC900 mailing list
mail addr:NUC900 at googlegroups.com
main web: https://groups.google.com/group/NUC900
you can subscribe it by sending me mail:
mcuos.com at gmail.com

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-29  1:53   ` Wan ZongShun
@ 2010-07-29  3:38     ` nitin vishnoi
  2010-07-29  9:08     ` Russell King - ARM Linux
  2010-07-30 10:40     ` nitin vishnoi
  2 siblings, 0 replies; 10+ messages in thread
From: nitin vishnoi @ 2010-07-29  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Now i ported the 2.6.31.14 which i took from kernel.org stable kernel
version on 2451 samsung board.But still not getting prompt.I made the same
changes only like 2.6.33.6 but i am not getting error like previous log
which i sent for 2.6.33.6.Not i am getting the following log.

Starting kernel ...


Uncompressing
Linux...................................................................
done, booting the kernel.
Linux version 2.6.31.14 (root at ubntu-desktop) (gcc version 4.2.2) #12 Wed Jul
28 17:19:29 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2450
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2450 EVT3 (id 0x32450003)
SPA   epll  80200102  Mpll  80640061   clkdiv0 557
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
MHz
S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram initrd=0x30800000,8M ramdisk=8192
init=/bin/sh  console=ttySAC3,115200 mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 54520KB available (1784K code, 223K data, 88K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:109
irq: clearing subpending status 02000006
irq: clearing subpending status 02000002
timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
console [ttySAC3] enabled
Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
whats up blady
hello
entered machine init
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2450: Initialising architecture
SPA s3c2450_init
S3C2450: IRQ Support
bio: create slab <bio-0> at 0
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 122
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
RAMDISK: gzip image found at block 0
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 88K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!





On Thu, Jul 29, 2010 at 7:23 AM, Wan ZongShun <mcuos.com@gmail.com> wrote:

> 2010/7/28 Ben Dooks <ben-linux@fluff.org>:
> > On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:
> >> Hi
> >>
> >> I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am
> trying to
> >> port it on samsung-s3c2451 board.
> >> But i am not getting the shell prompt,due to getting the following
> error.Any
> >> body can tell due to what this error i am getting?
> >>
> >> Starting kernel ...
> >>
> >>
> >> Uncompressing Linux... done, booting the kernel.
> >> Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon
> Jul
> >> 26 18:39:19 IST 2010
> >> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> >> CPU: VIVT data cache, VIVT instruction cache
> >> Machine: SMDK2450
> >> Ignoring unrecognised tag 0x00000000
> >> Memory policy: ECC disabled, Data cache writeback
> >> CPU S3C2450 EVT3 (id 0x32450003)
> >> SPA   epll  80200102  Mpll  80640061   clkdiv0 557
> >> S3C24XX Clocks, (c) 2004 Simtec Electronics
> >> S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk
> 66.666
> >> MHz
> >> S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
> >> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 16256
> >> Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
> >> init=/bin/sh console=ttySAC3,115200 mem=64M
> >> PID hash table entries: 256 (order: -2, 1024 bytes)
> >> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> >> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> >> Memory: 64MB = 64MB total
> >> Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
> >> Hierarchical RCU implementation.
> >> NR_IRQS:109
> >> irq: clearing subpending status 02000006
> >> irq: clearing subpending status 02000002
> >> timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
> >> Console: colour dummy device 80x30
> >> console [ttySAC3] enabled
> >> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> >> Mount-cache hash table entries: 512
> >> CPU: Testing write buffer coherency: ok
> >> NET: Registered protocol family 16
> >> whats up blady
> >> hello
> >> entered machine init
> >> S3C Power Management, Copyright 2004 Simtec Electronics
> >> S3C2450: Initialising architecture
> >> SPA s3c2450_init
> >> S3C2450: IRQ Support
> >> bio: create slab <bio-0> at 0
> >> SCSI subsystem initialized
> >> NET: Registered protocol family 2
> >> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> >> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> >> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> >> TCP: Hash tables configured (established 2048 bind 2048)
> >> TCP reno registered
> >> UDP hash table entries: 256 (order: 0, 4096 bytes)
> >> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> >> NET: Registered protocol family 1
> >> Trying to unpack rootfs image as initramfs...
> >> rootfs image is not initramfs (no cpio magic); looks like an initrd
> >> Freeing initrd memory: 16384K
> >> NetWinder Floating Point Emulator V0.97 (double precision)
> >> JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
> >> ROMFS MTD (C) 2007 Red Hat, Inc.
> >> msgmni has been set to 120
> >> alg: No test for stdrng (krng)
> >> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> >> io scheduler noop registered
> >> io scheduler deadline registered
> >> io scheduler cfq registered (default)
> >> brd: module loaded
> >> loop: module loaded
> >> Uniform Multi-Platform E-IDE driver
> >> ide-gd driver 1.18
> >> ide-cd driver 5.00
> >> PPP generic driver version 2.4.2
> >> PPP Deflate Compression module registered
> >> PPP BSD Compression module registered
> >> PPP MPPE Compression module registered
> >> NET: Registered protocol family 24
> >> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> >> CSLIP: code copyright 1989 Regents of the University of California.
> >> mice: PS/2 mouse device common for all mice
> >> TCP cubic registered
> >> RAMDISK: gzip image found at block 0
> >> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
> >> recommended
> >> VFS: Mounted root (ext2 filesystem) on device 1:0.
> >> Freeing init memory: 116K
> >> Warning: unable to open an initial console.
> >> Kernel panic - not syncing: Attempted to kill init!
> >> [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
> >> (panic+0x40/0x12c)
> >> [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
> >> [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
> >> (do_group_exit+0x84/0xb8)
> >> [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
> >> (sys_exit_group+0x14/0x20)
> >> [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
> >> (ret_fast_syscall+0x0/0x28)
> >
> > looks like whatever you're trying to run as init doesn't have
> /dev/console
> > available.
> Ben, I make sure there is /dev/console in his rootfs directory.
> nitin vishnoi, do you confirm you need the ext to mount the ramdisk?
>
> maybe you can decrease 'ramdisk=32768' to 'ramdisk=8192'.
>
> >there seems to be no evidence of UARTs being added in the
> > setup, are they being registered with the serial driver properly?
> >
> > --
> > Ben
> >
> > Q:      What's a light-year?
> > A:      One-third less calories than a regular year.
> >
> >
>
>
>
> --
> *linux-arm-kernel mailing list
> mail addr:linux-arm-kernel at lists.infradead.org<addr%3Alinux-arm-kernel@lists.infradead.org>
> you can subscribe by:
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
> * linux-arm-NUC900 mailing list
> mail addr:NUC900 at googlegroups.com <addr%3ANUC900@googlegroups.com>
> main web: https://groups.google.com/group/NUC900
> you can subscribe it by sending me mail:
> mcuos.com at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100729/e2e53f83/attachment.html>

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-29  1:53   ` Wan ZongShun
  2010-07-29  3:38     ` nitin vishnoi
@ 2010-07-29  9:08     ` Russell King - ARM Linux
  2010-07-30  3:55       ` nitin vishnoi
  2010-07-30 10:40     ` nitin vishnoi
  2 siblings, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux @ 2010-07-29  9:08 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jul 29, 2010 at 09:53:11AM +0800, Wan ZongShun wrote:
> >> Console: colour dummy device 80x30
> >> console [ttySAC3] enabled

Okay, so the kernel console driver appears...

> >> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> >> Mount-cache hash table entries: 512
> >> CPU: Testing write buffer coherency: ok
> >> NET: Registered protocol family 16
> >> whats up blady
> >> hello
> >> entered machine init
> >> S3C Power Management, Copyright 2004 Simtec Electronics
> >> S3C2450: Initialising architecture
> >> SPA s3c2450_init
> >> S3C2450: IRQ Support
> >> bio: create slab <bio-0> at 0
> >> SCSI subsystem initialized
> >> NET: Registered protocol family 2
> >> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> >> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> >> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> >> TCP: Hash tables configured (established 2048 bind 2048)
> >> TCP reno registered
> >> UDP hash table entries: 256 (order: 0, 4096 bytes)
> >> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> >> NET: Registered protocol family 1
> >> Trying to unpack rootfs image as initramfs...
> >> rootfs image is not initramfs (no cpio magic); looks like an initrd
> >> Freeing initrd memory: 16384K
> >> NetWinder Floating Point Emulator V0.97 (double precision)
> >> JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
> >> ROMFS MTD (C) 2007 Red Hat, Inc.
> >> msgmni has been set to 120
> >> alg: No test for stdrng (krng)
> >> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> >> io scheduler noop registered
> >> io scheduler deadline registered
> >> io scheduler cfq registered (default)
> >> brd: module loaded
> >> loop: module loaded
> >> Uniform Multi-Platform E-IDE driver
> >> ide-gd driver 1.18
> >> ide-cd driver 5.00
> >> PPP generic driver version 2.4.2
> >> PPP Deflate Compression module registered
> >> PPP BSD Compression module registered
> >> PPP MPPE Compression module registered
> >> NET: Registered protocol family 24
> >> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> >> CSLIP: code copyright 1989 Regents of the University of California.
> >> mice: PS/2 mouse device common for all mice
> >> TCP cubic registered
> >> RAMDISK: gzip image found at block 0
> >> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
> >> recommended
> >> VFS: Mounted root (ext2 filesystem) on device 1:0.
> >> Freeing init memory: 116K
> >> Warning: unable to open an initial console.

But nowhere in these messages do I see the user-level tty drivers for the
serial ports - which means that you don't have a userland console driver.

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-29  9:08     ` Russell King - ARM Linux
@ 2010-07-30  3:55       ` nitin vishnoi
  0 siblings, 0 replies; 10+ messages in thread
From: nitin vishnoi @ 2010-07-30  3:55 UTC (permalink / raw)
  To: linux-arm-kernel

i am gettting the following error while porting 2.6.31.4 kernel on s3c2451
board.

Starting kernel ...


Uncompressing
Linux.......................................................................
done, booting the kernel.
Linux version 2.6.31.14 (root at ubntu-desktop) (gcc version 4.1.2) #19 Fri Jul
30 09:14:47 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2450
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2450 EVT3 (id 0x32450003)
SPA   epll  80200102  Mpll  80640061   clkdiv0 557
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
MHz
S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram0 initrd=0x30800000,8M ramdisk=24576
init=/bin/sh  console=ttySAC3,115200 mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 54392KB available (1888K code, 245K data, 92K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:109
irq: clearing subpending status 02000006
irq: clearing subpending status 02000002
timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
Console: colour dummy device 80x30
s3c24xx_serial_init_ports: initialising ports...
console [ttySAC3] enabled
Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
entered machine init
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2450: Initialising architecture
SPA s3c2450_init
S3C2450: IRQ Support
bio: create slab <bio-0> at 0
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 122
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
RAMDISK: gzip image found at block 0
uncompression error
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 92K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!

what may be the reason.

On Thu, Jul 29, 2010 at 2:38 PM, Russell King - ARM Linux <
linux@arm.linux.org.uk> wrote:

> On Thu, Jul 29, 2010 at 09:53:11AM +0800, Wan ZongShun wrote:
> > >> Console: colour dummy device 80x30
> > >> console [ttySAC3] enabled
>
> Okay, so the kernel console driver appears...
>
> > >> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> > >> Mount-cache hash table entries: 512
> > >> CPU: Testing write buffer coherency: ok
> > >> NET: Registered protocol family 16
> > >> whats up blady
> > >> hello
> > >> entered machine init
> > >> S3C Power Management, Copyright 2004 Simtec Electronics
> > >> S3C2450: Initialising architecture
> > >> SPA s3c2450_init
> > >> S3C2450: IRQ Support
> > >> bio: create slab <bio-0> at 0
> > >> SCSI subsystem initialized
> > >> NET: Registered protocol family 2
> > >> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> > >> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> > >> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> > >> TCP: Hash tables configured (established 2048 bind 2048)
> > >> TCP reno registered
> > >> UDP hash table entries: 256 (order: 0, 4096 bytes)
> > >> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> > >> NET: Registered protocol family 1
> > >> Trying to unpack rootfs image as initramfs...
> > >> rootfs image is not initramfs (no cpio magic); looks like an initrd
> > >> Freeing initrd memory: 16384K
> > >> NetWinder Floating Point Emulator V0.97 (double precision)
> > >> JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
> > >> ROMFS MTD (C) 2007 Red Hat, Inc.
> > >> msgmni has been set to 120
> > >> alg: No test for stdrng (krng)
> > >> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> > >> io scheduler noop registered
> > >> io scheduler deadline registered
> > >> io scheduler cfq registered (default)
> > >> brd: module loaded
> > >> loop: module loaded
> > >> Uniform Multi-Platform E-IDE driver
> > >> ide-gd driver 1.18
> > >> ide-cd driver 5.00
> > >> PPP generic driver version 2.4.2
> > >> PPP Deflate Compression module registered
> > >> PPP BSD Compression module registered
> > >> PPP MPPE Compression module registered
> > >> NET: Registered protocol family 24
> > >> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> > >> CSLIP: code copyright 1989 Regents of the University of California.
> > >> mice: PS/2 mouse device common for all mice
> > >> TCP cubic registered
> > >> RAMDISK: gzip image found at block 0
> > >> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck
> is
> > >> recommended
> > >> VFS: Mounted root (ext2 filesystem) on device 1:0.
> > >> Freeing init memory: 116K
> > >> Warning: unable to open an initial console.
>
> But nowhere in these messages do I see the user-level tty drivers for the
> serial ports - which means that you don't have a userland console driver.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100730/5c5aba6c/attachment-0001.html>

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-29  1:53   ` Wan ZongShun
  2010-07-29  3:38     ` nitin vishnoi
  2010-07-29  9:08     ` Russell King - ARM Linux
@ 2010-07-30 10:40     ` nitin vishnoi
  2010-07-30 15:25       ` Martin Fuzzey
  2 siblings, 1 reply; 10+ messages in thread
From: nitin vishnoi @ 2010-07-30 10:40 UTC (permalink / raw)
  To: linux-arm-kernel

Hi now i am able the uart info also.Bu stil not getting the prompt.
and getting the following log.

Starting kernel ...


Uncompressing
Linux......................................................................
done, booting the kernel.
Linux version 2.6.31.14 (root at ubntu-desktop) (gcc version 4.1.2) #34 Fri Jul
30 15:33:38 IST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2450
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2450 EVT3 (id 0x32450003)
SPA   epll  80200102  Mpll  80640061   clkdiv0 557
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk 66.666
MHz
S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/ram initrd=0x30800000,8M ramdisk=24576
init=/sbin/init console=ttySAC3,115200 mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 54428KB available (1916K code, 245K data, 88K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:109
irq: clearing subpending status 02000006
irq: clearing subpending status 02000002
timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
Console: colour dummy device 80x30
s3c24xx_serial_init_ports: initialising ports...
console [ttySAC3] enabled
Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
entered machine init
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2450: Initialising architecture
SPA s3c2450_init
S3C2450: IRQ Support
bio: create slab <bio-0> at 0
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
JFFS2 version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 122
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
s3c24xx_serial_probe: adding port
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c24xx_serial_probe: adding port
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c24xx_serial_probe: adding port
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
s3c24xx_serial_probe: adding port
s3c2410-uart.3: s3c2410_serial3 at MMIO 0x5000c000 (irq = 94) is a S3C2410
brd: module loaded
loop: module loaded
RAMDISK: gzip image found at block 0
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 88K
Kernel panic - not syncing: Attempted to kill init!


On Thu, Jul 29, 2010 at 7:23 AM, Wan ZongShun <mcuos.com@gmail.com> wrote:

> 2010/7/28 Ben Dooks <ben-linux@fluff.org>:
> > On Wed, Jul 28, 2010 at 08:51:06AM +0530, nitin vishnoi wrote:
> >> Hi
> >>
> >> I am porting the 2.6.33.6 kernel,which i took from kernel.org.I am
> trying to
> >> port it on samsung-s3c2451 board.
> >> But i am not getting the shell prompt,due to getting the following
> error.Any
> >> body can tell due to what this error i am getting?
> >>
> >> Starting kernel ...
> >>
> >>
> >> Uncompressing Linux... done, booting the kernel.
> >> Linux version 2.6.33.6 (root at ubntu-desktop) (gcc version 4.2.2) #12 Mon
> Jul
> >> 26 18:39:19 IST 2010
> >> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> >> CPU: VIVT data cache, VIVT instruction cache
> >> Machine: SMDK2450
> >> Ignoring unrecognised tag 0x00000000
> >> Memory policy: ECC disabled, Data cache writeback
> >> CPU S3C2450 EVT3 (id 0x32450003)
> >> SPA   epll  80200102  Mpll  80640061   clkdiv0 557
> >> S3C24XX Clocks, (c) 2004 Simtec Electronics
> >> S3C2450: mpll on 800.000 MHz, cpu 400.000 MHz, mem 133.333 MHz, pclk
> 66.666
> >> MHz
> >> S3C2450: epll on 96.000 MHz, usb-bus 48.000 MHz
> >> Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> 16256
> >> Kernel command line: root=/dev/ram0 initrd=0x30800000,16M ramdisk=32768
> >> init=/bin/sh console=ttySAC3,115200 mem=64M
> >> PID hash table entries: 256 (order: -2, 1024 bytes)
> >> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> >> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> >> Memory: 64MB = 64MB total
> >> Memory: 45432KB available (2588K code, 271K data, 116K init, 0K highmem)
> >> Hierarchical RCU implementation.
> >> NR_IRQS:109
> >> irq: clearing subpending status 02000006
> >> irq: clearing subpending status 02000002
> >> timer tcon=00000000, tcnt 28af, tcfg 00000f00,00000000, usec 00007ae2
> >> Console: colour dummy device 80x30
> >> console [ttySAC3] enabled
> >> Calibrating delay loop... 398.95 BogoMIPS (lpj=997376)
> >> Mount-cache hash table entries: 512
> >> CPU: Testing write buffer coherency: ok
> >> NET: Registered protocol family 16
> >> whats up blady
> >> hello
> >> entered machine init
> >> S3C Power Management, Copyright 2004 Simtec Electronics
> >> S3C2450: Initialising architecture
> >> SPA s3c2450_init
> >> S3C2450: IRQ Support
> >> bio: create slab <bio-0> at 0
> >> SCSI subsystem initialized
> >> NET: Registered protocol family 2
> >> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> >> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> >> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> >> TCP: Hash tables configured (established 2048 bind 2048)
> >> TCP reno registered
> >> UDP hash table entries: 256 (order: 0, 4096 bytes)
> >> UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
> >> NET: Registered protocol family 1
> >> Trying to unpack rootfs image as initramfs...
> >> rootfs image is not initramfs (no cpio magic); looks like an initrd
> >> Freeing initrd memory: 16384K
> >> NetWinder Floating Point Emulator V0.97 (double precision)
> >> JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
> >> ROMFS MTD (C) 2007 Red Hat, Inc.
> >> msgmni has been set to 120
> >> alg: No test for stdrng (krng)
> >> Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
> >> io scheduler noop registered
> >> io scheduler deadline registered
> >> io scheduler cfq registered (default)
> >> brd: module loaded
> >> loop: module loaded
> >> Uniform Multi-Platform E-IDE driver
> >> ide-gd driver 1.18
> >> ide-cd driver 5.00
> >> PPP generic driver version 2.4.2
> >> PPP Deflate Compression module registered
> >> PPP BSD Compression module registered
> >> PPP MPPE Compression module registered
> >> NET: Registered protocol family 24
> >> SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
> >> CSLIP: code copyright 1989 Regents of the University of California.
> >> mice: PS/2 mouse device common for all mice
> >> TCP cubic registered
> >> RAMDISK: gzip image found at block 0
> >> EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is
> >> recommended
> >> VFS: Mounted root (ext2 filesystem) on device 1:0.
> >> Freeing init memory: 116K
> >> Warning: unable to open an initial console.
> >> Kernel panic - not syncing: Attempted to kill init!
> >> [<c002b900>] (unwind_backtrace+0x0/0xe0) from [<c003fe9c>]
> >> (panic+0x40/0x12c)
> >> [<c003fe9c>] (panic+0x40/0x12c) from [<c0042cac>] (do_exit+0x58/0x57c)
> >> [<c0042cac>] (do_exit+0x58/0x57c) from [<c0043254>]
> >> (do_group_exit+0x84/0xb8)
> >> [<c0043254>] (do_group_exit+0x84/0xb8) from [<c004329c>]
> >> (sys_exit_group+0x14/0x20)
> >> [<c004329c>] (sys_exit_group+0x14/0x20) from [<c0025e80>]
> >> (ret_fast_syscall+0x0/0x28)
> >
> > looks like whatever you're trying to run as init doesn't have
> /dev/console
> > available.
> Ben, I make sure there is /dev/console in his rootfs directory.
> nitin vishnoi, do you confirm you need the ext to mount the ramdisk?
>
> maybe you can decrease 'ramdisk=32768' to 'ramdisk=8192'.
>
> >there seems to be no evidence of UARTs being added in the
> > setup, are they being registered with the serial driver properly?
> >
> > --
> > Ben
> >
> > Q:      What's a light-year?
> > A:      One-third less calories than a regular year.
> >
> >
>
>
>
> --
> *linux-arm-kernel mailing list
> mail addr:linux-arm-kernel at lists.infradead.org<addr%3Alinux-arm-kernel@lists.infradead.org>
> you can subscribe by:
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
> * linux-arm-NUC900 mailing list
> mail addr:NUC900 at googlegroups.com <addr%3ANUC900@googlegroups.com>
> main web: https://groups.google.com/group/NUC900
> you can subscribe it by sending me mail:
> mcuos.com at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100730/7f2a60aa/attachment.html>

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-30 10:40     ` nitin vishnoi
@ 2010-07-30 15:25       ` Martin Fuzzey
  2010-08-02  6:12         ` nitin vishnoi
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Fuzzey @ 2010-07-30 15:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
On Fri, Jul 30, 2010 at 12:40 PM, nitin vishnoi <nitvishnoi@gmail.com> wrote:
> Hi now i am able the uart info also.Bu stil not getting the prompt.
> and getting the following log.
>
> Starting kernel ...
>
>
> Uncompressing
> Linux......................................................................
> done, booting the kernel.
> Linux version 2.6.31.14 (root at ubntu-desktop) (gcc version 4.1.2) #34 Fri Jul
> 30 15:33:38 IST 2010
> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> CPU: VIVT data cache, VIVT instruction cache
> Kernel command line: root=/dev/ram initrd=0x30800000,8M ramdisk=24576
> init=/sbin/init console=ttySAC3,115200 mem=64M
> RAMDISK: gzip image found at block 0
> EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem) on device 1:0.
> Freeing init memory: 88K
> Kernel panic - not syncing: Attempted to kill init!
>

Looks like the init process is terminating unexpectedly.
What's /sbin/init for you?
How is it compiled? (could it be a OABI / EABI issue?)

What happens if you try booting with  init=/bin/sh   ?
or try using a script like this as init

#! /bin/sh
echo "Test stdout"
echo "Test console" > /dev/console
echo "Test tty1" > /dev/tty1
/bin/ls -l /dev > /dev/tty1

Cheers,
Martin

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

* not coming prompt in 2.6.33.6 kernel
  2010-07-30 15:25       ` Martin Fuzzey
@ 2010-08-02  6:12         ` nitin vishnoi
  0 siblings, 0 replies; 10+ messages in thread
From: nitin vishnoi @ 2010-08-02  6:12 UTC (permalink / raw)
  To: linux-arm-kernel

Hi
Finally i got the prompt,
the problem was in toolchain.I compiled the busybox and kernel with other
new toolchain and made the ramdisk filesystem.Than i got the prompt.

Regards

Nitin

On Fri, Jul 30, 2010 at 8:55 PM, Martin Fuzzey <mfuzzey@gmail.com> wrote:

> Hi,
> On Fri, Jul 30, 2010 at 12:40 PM, nitin vishnoi <nitvishnoi@gmail.com>
> wrote:
> > Hi now i am able the uart info also.Bu stil not getting the prompt.
> > and getting the following log.
> >
> > Starting kernel ...
> >
> >
> > Uncompressing
> >
> Linux......................................................................
> > done, booting the kernel.
> > Linux version 2.6.31.14 (root at ubntu-desktop) (gcc version 4.1.2) #34 Fri
> Jul
> > 30 15:33:38 IST 2010
> > CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> > CPU: VIVT data cache, VIVT instruction cache
> > Kernel command line: root=/dev/ram initrd=0x30800000,8M ramdisk=24576
> > init=/sbin/init console=ttySAC3,115200 mem=64M
> > RAMDISK: gzip image found at block 0
> > EXT2-fs warning: maximal mount count reached, running e2fsck is
> recommended
> > VFS: Mounted root (ext2 filesystem) on device 1:0.
> > Freeing init memory: 88K
> > Kernel panic - not syncing: Attempted to kill init!
> >
>
> Looks like the init process is terminating unexpectedly.
> What's /sbin/init for you?
> How is it compiled? (could it be a OABI / EABI issue?)
>
> What happens if you try booting with  init=/bin/sh   ?
> or try using a script like this as init
>
> #! /bin/sh
> echo "Test stdout"
> echo "Test console" > /dev/console
> echo "Test tty1" > /dev/tty1
> /bin/ls -l /dev > /dev/tty1
>
> Cheers,
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100802/7342104e/attachment.html>

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

end of thread, other threads:[~2010-08-02  6:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28  3:21 not coming prompt in 2.6.33.6 kernel nitin vishnoi
2010-07-28  9:43 ` Ben Dooks
2010-07-28 11:41   ` nitin vishnoi
2010-07-29  1:53   ` Wan ZongShun
2010-07-29  3:38     ` nitin vishnoi
2010-07-29  9:08     ` Russell King - ARM Linux
2010-07-30  3:55       ` nitin vishnoi
2010-07-30 10:40     ` nitin vishnoi
2010-07-30 15:25       ` Martin Fuzzey
2010-08-02  6:12         ` nitin vishnoi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).