Hello,
I'm using an embedded PC with RTLinux.
The software now runs on my desktop, but I have to move it into a IDE flash-disk
for the embedded PC.
I know that some of You have managed to do so. Unfortunately I have some problems
with it:
The kernel is loading well, but wenn initrd tries to read the initrd.image from
the flash drive, there are lots of errors like:
> end_request: I/O error, dev 01:00, sector 16382
After some hundered (?) lines of it theres only one other line:
>
> VFS: mounted root (ext2 filesystem)
then the PC stops. I only can scroll with Shift - PageUp/Down, but nothing else.
I've written an ext2 filesystem with my /bin /sbin etc. stuff in it. But the stuff
isn't the problem I think, because
of these general reading errors. (Under my desktop linux are no problems reading
or writing the disk).
Here's the lilo.conf which I used to make the flash bootable:
>
> > ------------------------------------------------------------------------
> > # Start LILO global Section
> > boot=/dev/hda
> > read-only
> > vga = normal
>
> > verbose = 5
>
> > # End LILO global section
> > #
> > # Linux bootable partition config begins
> > image = /boot/headkernel
> > initrd= /initrd.image
> > root = /dev/ram
> > label = headlinux
> > # Linux bootable partition config ends
> >
>
>
I start Lilo with the command:
>
> lilo -r /rdisk -C /etc/lilo.conf
>
In /rdisk are all my files for the flash disk (I don't want to mess up my desktop
config files...)
However, I think that lilo is writing the initrd.image to my desktop drive,
because, with verbose=5 it tells the CHS-Values, which are impossible for the
flash (for example sector=63, the flash has only 32 sectors). Also lilo is
permanently telling about "Bios Drive 0x82".
This writing to the desktop's harddrive isn't bothering my system, because i
always boot it by floppy.
My config: ASUS P2S-B Board, one SCSI drive with WinNT (Bootable), one SCSI Drive
with Linux (Floppyboot),
IDE Flash Disk (bootable)
I hope somebody can help me,
have a nice weekend,
Bernd
--
[EMAIL PROTECTED], http://www.basysprint.de
basysPrint GmbH, Guelzer Str. 15, 19258 Boizenburg, Germany
Tel.: ++49-38847-99-163, Fax:++49-38847-99-192
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/