Re: RE: New Kernel by roman

From: Ganse <gansemail_at_gmail.com>
Date: Tue, 12 Dec 2006 14:32:25 -0700

On Wed, 13 Dec 2006 01:17:00 +0800
Chiu <chiu0602_at_gmail.com> wrote:

> My rx3175 also got same problem
> When it is booting up, it shows many:
>
> Bad eraseblock ### at 0x########
>
> And finally:
>
> Kernel panic - not Syncing: No init found. Try passing init# Option
> to kernel
>
> Shall the new version image put all things into SD card instead of
> internal RAM/ROM?

"Bad eraseblock" would lead me to believe that the SD card is nearing
the end of its life. Of course, it may be that the kernel is just not
finding the root device.

On my rx3115, I repartitioned my SD card into two pieces, a FAT16
partition (type 0x6 in fdisk) first and a Linux (type 0x83 in fdisk)
partition, formatted as ext2. I unpacked Roman's fs tarball into that.

You probably know this already, but: Please please please back up your
SD card, using fdisk nukes anything existing on there.

The FAT16 partition had to be formatted with win2k, mkdosfs kept
failing. Make sure you format it before trying to access it in windows,
it gets very confused sometimes. That means right click on the thing
before you left click on it.

I copied the kernel, haret, and default.txt to the FAT partition. Using
haret, it boots just fine.

If your layout is different, you can certainly change the
"root=/dev/mmcblk0p2" line in default.txt. Be sure to change the fstab
on the Linux ext2 partition as well, and the mount point for your SD
card if necessary.

You can't run it as a loopback filesystem without an initrd, you might
try running the new kernel with the older initrd (from Dancar's
minidistros) and creating a loopback ext2 filesystem with Roman's
image. You'll need to update the fstab for that too. Likely the initrd
will have to be modified a bit, but it shouldn't be too bad. It's just
a loopback filesystem as well.

If you want more details on how to do the things above, send me an
email with iPAQ in the subject (to bypass my spam filter) and I'll try
to give you as much insight as I can.

Hope that helps a bit,
Ganse
Received on Tue Dec 12 2006 - 16:33:43 EST

This archive was generated by hypermail 2.2.0 : Tue Dec 12 2006 - 16:33:57 EST