Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ls and cd commands in VxWorks

1,171 views
Skip to first unread message

Srinivas B T

unread,
Jul 13, 2004, 5:20:00 AM7/13/04
to
HI,

-> devs
drv name
0 /null
1 /tyCo/0
3 /ata0a
5 srinivasbt:
6 /vio
value = 25 = 0x19

I am getting the following error if I exec the ls "/ata0a"
...
usrFdiskPartLib warning: disk partition table is not initialized
usrFdiskPartLib warning: use usrFdiskPartCreate( 0xfdffa4c8, 1) to
initialize th
e disk as a single partition
0xfdf8f290 (tShell): dosFsLib.c : Malformed boot sector. Offset 0,
value 18667.
At the end of boot sector
0xfdf8f290 (tShell): dosFsLib.c : Problem finding volume data, trying
to use the
next block as boot block.
0xfdf8f290 (tShell): dosFsLib.c : Malformed boot sector. Offset Can't
open "0, v
alue /ata0a144.
0xfdf8f290".
(tShell): value = dosFsLib.c : Ensure this device is formatted and
partitions a
re properly handled.
...

The disk (DiskOnChip IDE Pro 128MB, m-systems) is formatted on windows
2000 Microsoft Windows 2000 [Version 5.00.2195]in FAT.
FAT32 also gives same kind of error.

Any inputs from similar experiences welcome,

Thanks in advance,
Srinivas

HollowMan

unread,
Jul 19, 2004, 12:47:24 PM7/19/04
to
On vxWorks library, when it mounts a DOS FS, it always check the
"bootSector". Bootsector could be the first or the last sector of
the file system.
Every boot sector should have a signature - 0x55AA. You'll see those
errors if it doesn't.

The NT format probably doesn't necessarily maintain the bootSector,
I'm not sure. When that's the case, you won't be able to mount it.


KOkon.

Srinivas B T

unread,
Jul 20, 2004, 1:03:23 AM7/20/04
to
HI,

Now I am able to mount the ATA device (M-systems Disk On chip and
samsung Hard disk) and create, read, write file on the disk.
The problem is with the Compact flashes Sandisk 32MB and Toshiba 32MB
that I am not able to write, read or create files, there is a cache
error. Even if I reduce the size of the cache, it gives the same
error.

Any experiences dosFS on compact flashes and the differences with the
DOC/HDD
Pls put you valuable comments....


Srinivas

HollowMan <John...@kumbaya.org> wrote in message news:<wWSKc.42$MR4....@nntp1-sf.pbi.net>...

0 new messages