HELP: Initializing Partition Table (?)
Thomas.Doerfler at imd-systems.de
Mon Jul 26 15:15:16 UTC 2004
it seems you do not have a IDE driver or it is not initialized.
I have also written a sample/test application called "fileio"
(in c/src/tests/samples/fileio). If you look at the "system.h"
file, you will see, that there is a special device driver table:
rtems_driver_address_table Device_drivers =
/* important: ATA driver must be after ide drivers */
If the last two entries are missing, hard disk access is not
> Hi all,
> I am trying to access my hard disk and floppy using
> rtems. I am using the fsmount source code of
> Thomas.Doerfler at imd-systems.de.
> First thing I am trying is to initialize partition
> (should be partition table initialization executed
> after mount operation??? I am trying it before!)
> I am using rtems 4.6 in a linux mandrake box in a i386
> The source code I have is the following:
> rc = rtems_ide_part_table_initialize("/dev/hda");
> I can see it failling in the for cicle of the
> rtems_ide_part_table_initialize() function in the
> ide_part_table.c file. It fails when it try to get the
> partition table! The source of the failure is in the
> stat() function which doesnt find the hda!
> If I list all existing directories in the /dev I see
> this hierarchie:
> Where is the hda???
> Should I try to initialize partition table for
> /dev/hda or should I initialize partition table for
> /dev/ide ?
> Why hda doesnt exists?
> If I try to initialize partition table for /dev/ide it
> works well but it raises an exception 13 at the end
> and freezes...
> What I am doing wrong?
> Any help?
> Is there any readme or tutorial or how-to explaining
> How to mount msdos file system in RTEMS?
> Many thanks,
> (rtems beginner)
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
More information about the users