HELP: Initializing Partition Table (?)
Joe OS
joe_os2001 at yahoo.com
Mon Jul 26 10:09:39 UTC 2004
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
table.
(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
BSP686!
The source code I have is the following:
main(...)
{
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:
/
---dev
------console
------ide
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,
Joe
(rtems beginner)
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the users
mailing list