Olivier,

it looks like your squashfs was mounted correctly.
The most important thing is to look in your squashfs (rootfs.squashfs in
this case), see if you see the following files:

/linuxrc
/init

It is ok if you have one or the other; just make sure the file is
executatble and the first two few lines should have the following:

#!/bin/sh

export PATH="/bin:/usr/bin:/sbin:/usr/sbin"

mknod /dev/null c 1 3
mknod /dev/zero c 1 5

udevd &
udevadm trigger &
udevadm settle &




good luck








On Mon, May 2, 2011 at 6:00 PM, Olivier Fauchon <[email protected]>wrote:

>
> Hi...
>
> I compiled generic-embedded target with T2 8.0  (
> https://svn.exactcode.de/t2/branches/8.0 Rev:39052)
>
> It compiles properly, but when I run kernel and rootfs with :
>
> qemu -kernel /tmp/vmlinuz -append ' ramdisk_size=100000 root=/dev/ram
> loglevel=8' -initrd /tmp/rootfs.squashfs
>
> I get ::
>
>
> RAMDISK: Loading 42391KiB [1 disk] into ram disk... \
> input: ImExPS/2 Generic Explorer Mouse as
> /devices/platform/i8042/serio1/input/input3
> done.
> VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
> Freeing unused kernel memory: 344k freed
> Write protecting the kernel text: 2068k
> Write protecting the kernel read-only data: 712k
> ./run: line 2: mount: command not found
> ./run: line 3: mount: command not found
> ./run: line 4: mkdir: command not found
> ./run: line 5: mount: command not found
> ./run: line 6: mkdir: command not found
> ./run: line 7: mount: command not found
> ./run: line 8: mount: command not found
> could not chown/chmod tty device
> could not chown/chmod tty device
> could not chown/chmod tty device
> could not chown/chmod tty device
> could not chown/chmod tty device
> could not chown/chmod tty device
> could not chown/chmod tty device
> Clocksource tsc unstable (delta = -110171398 ns)
> Switching to clocksource hpet
> could not chown/chmod tty device
> could not chown/chmod tty device
> ....
>
>
> ... and I don't have login prompt ...
>
> Any help welcome/
>
> Olivier
>
>
> --
> Olivier Fauchon
> www.oflabs.com
>
>
>
> ----------------------------------------------------------- If you wish to
> unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to