• How to access a SSD SATA in Vxworks 6.9

    From ericyang7928@gmail.com@21:1/5 to All on Thu Dec 1 22:25:54 2016
    Hi Marcao,

    Is ahci00 your SATA disk?
    You can try to change disk to ahci00 and do some file operatons.

    Marcao於 2016年2月15日星期一 UTC+8下午6時58分55秒寫道:
    Hi all,
    I am new using vxworks.
    Please, can someone help me in accessing a SSD SATA drive?
    I added some of the components for my SSD SATA drive and after it boots up, I get these messages:

    Instantiating /ram0 as rawFs, device = 0x1
    ahciDrv: Controller 0 initializing...
    ahciDrv: Controller 0 port 1, drive 0 found.
    ahciDrv: Controller 0 port 2, drive 1 found.
    Instantiating /ahci00:1 as rawFs, device = 0x30001
    Instantiating /ahci00:2 as rawFs, device = 0x40001
    Instantiating /ahci00:3 as rawFs, device = 0x50001
    Instantiating /ahci00:4 as rawFs, device = 0x60001
    Instantiating /ahci00:5 as rawFs, device = 0x70001
    Instantiating /ahci01:1 as rawFs, device = 0xa0001
    ataDrv: Controller 0 initializing...
    ataDrv returned ERROR from usrRoot. taskDelay 29
    0xa7c8b40 (tRootTask):
    Controller 0 reset timeout. ERROR
    ataDrv: Controller 1 initializing...
    ataDrv returned ERROR from usrRoot. taskDelay 29
    0xa7c8b40 (tRootTask):
    Controller 1 reset timeout. ERROR
    Instantiating /ram as rawFs, device = 0xe0001
    Formatting /ram for DOSFS
    Instantiating /ram as rawFs, device = 0xe0001
    Formatting...Retrieved old volume params with %38 confidence:
    Volume Parameters: FAT type: FAT32, sectors per cluster 0
    0 FAT copies, 0 clusters, 0 sectors per FAT
    Sectors reserved 0, hidden 0, FAT sectors 0
    Root dir entries 0, sysId (null) , serial number e300000
    Label:" " ...
    Disk with 64 sectors of 512 bytes will be formatted with:
    Volume Parameters: FAT type: FAT12, sectors per cluster 1
    2 FAT copies, 54 clusters, 1 sectors per FAT
    Sectors reserved 1, hidden 0, FAT sectors 2
    Root dir entries 112, sysId VXDOS12 , serial number e300000
    Label:" " ...
    OK.

    I have the device being listed according to the "devs" command, as seen below:

    devs
    drv name
    0 /null
    1 /tyCo/0
    1 /tyCo/1
    2 /aioPipe/0xa7c8b40
    4 /ram0
    4 /ahci00:1
    4 /ahci00:2
    4 /ahci00:3
    4 /ahci00:4
    4 /ahci00:5
    4 /ahci01:1
    3 /bd0
    8 host_2:
    3 /ram
    10 /vio
    11 /tgtsvr

    I know that I can access my Usb Memory stick by doing this:
    cd ("/bd0")

    I was trying to do something similar with my SSD.

    Thanks a lot for you time and help,
    Rgds
    Marcao

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marcao@21:1/5 to All on Mon Feb 15 04:58:52 2016
    Hi all,
    I am new using vxworks.
    Please, can someone help me in accessing a SSD SATA drive?
    I added some of the components for my SSD SATA drive and after it boots up, I get these messages:

    Instantiating /ram0 as rawFs, device = 0x1
    ahciDrv: Controller 0 initializing...
    ahciDrv: Controller 0 port 1, drive 0 found.
    ahciDrv: Controller 0 port 2, drive 1 found.
    Instantiating /ahci00:1 as rawFs, device = 0x30001
    Instantiating /ahci00:2 as rawFs, device = 0x40001
    Instantiating /ahci00:3 as rawFs, device = 0x50001
    Instantiating /ahci00:4 as rawFs, device = 0x60001
    Instantiating /ahci00:5 as rawFs, device = 0x70001
    Instantiating /ahci01:1 as rawFs, device = 0xa0001
    ataDrv: Controller 0 initializing...
    ataDrv returned ERROR from usrRoot. taskDelay 29
    0xa7c8b40 (tRootTask):
    Controller 0 reset timeout. ERROR
    ataDrv: Controller 1 initializing...
    ataDrv returned ERROR from usrRoot. taskDelay 29
    0xa7c8b40 (tRootTask):
    Controller 1 reset timeout. ERROR
    Instantiating /ram as rawFs, device = 0xe0001
    Formatting /ram for DOSFS
    Instantiating /ram as rawFs, device = 0xe0001
    Formatting...Retrieved old volume params with %38 confidence:
    Volume Parameters: FAT type: FAT32, sectors per cluster 0
    0 FAT copies, 0 clusters, 0 sectors per FAT
    Sectors reserved 0, hidden 0, FAT sectors 0
    Root dir entries 0, sysId (null) , serial number e300000
    Label:" " ...
    Disk with 64 sectors of 512 bytes will be formatted with:
    Volume Parameters: FAT type: FAT12, sectors per cluster 1
    2 FAT copies, 54 clusters, 1 sectors per FAT
    Sectors reserved 1, hidden 0, FAT sectors 2
    Root dir entries 112, sysId VXDOS12 , serial number e300000
    Label:" " ...
    OK.

    I have the device being listed according to the "devs" command, as seen below:

    devs
    drv name
    0 /null
    1 /tyCo/0
    1 /tyCo/1
    2 /aioPipe/0xa7c8b40
    4 /ram0
    4 /ahci00:1
    4 /ahci00:2
    4 /ahci00:3
    4 /ahci00:4
    4 /ahci00:5
    4 /ahci01:1
    3 /bd0
    8 host_2:
    3 /ram
    10 /vio
    11 /tgtsvr

    I know that I can access my Usb Memory stick by doing this:
    cd ("/bd0")

    I was trying to do something similar with my SSD.

    Thanks a lot for you time and help,
    Rgds
    Marcao

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)