Unable to open console /start init - more info (jffs2)
Brian T.
btuch at usa.net
Thu Mar 13 08:06:44 EST 2003
I got it working. It was the way the devices were not being created with
mknod, but with "touch /dev/@console,c,5,1"...etc.....
Don't know why it stopped working with a newer version kernel/jffs2 image
maker, but I'm happy now. Thanks for the help!
-Brian
----- Original Message -----
From: "Brian T." <btuch at usa.net>
To: <tglx at linutronix.de>; <linux-mtd at lists.infradead.org>
Sent: Wednesday, March 12, 2003 12:27 PM
Subject: Re: Unable to open console /start init - more info (jffs2)
> Thanks for the reply.
>
> > - The kernel was compiled without support for virtual terminals.
> I tried adding in virtual console support, and I just get a bunch of
> pc_keyb: controller jammed (0x17) errors, and then it times out
> and keeps booting, eventually with the same end result.
>
> > - /dev/ttyX is not there
> /dev/console and /dev/ttyS0 *should* be there. I haven't changed
anything
> with the that part of the Makefile which creates those files, all though
> maybe thats
> part of the problem; maybe this newer version of JFFS2 doesn't like the
way
> they
> are created. All the /dev/ files are created with example: "touch
> ./somedir/dev/@console,c,5,1"
> which worked fine with the older distro I'm using. The jffs2 images is
then
> made
> on ./somedir/.
>
> > - Wrong root partition
> My root partition is MTD partition #1. When the kernel comes up, so I
need
> to specify which partition to use as root? Or does it scan them and use
the
> first one it finds? If I need to specify which one is to be mounted as
the
> root partition, any idea how I do that?
>
> If I removed /sbin/init from the build and put my flash image on the
ROMFS,
> then main.c gets past the first init trial, and attempts the others, and
> then fails. If I
> leave it there, then it stops at /sbin/init, which I believe proves that
it
> is mounting the right MTD partition; but am still unsure.
>
> Kind regards,
>
> -Brian
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
More information about the linux-mtd
mailing list