WinCE6.0 RC2

This is a discussion on WinCE6.0 RC2 within the Software-Testing forums in Theory and Concepts category; Hello mates, Can anybody help?? I'm running following test: tux -d disktest -c"/disk DSK1: -zorch" Where DSK1 is a Nand Flash FMD Block Device Driver. Before installing RC2 this test was working fine After installing RC2, and do a couple of changes in the registry and the driver to make use of it through a kind of wrapper (not doing a complete new flash driver): - driver: links to fmdwrapperpdd.lib instead of fal.lib changed dll name from smflash.dll to nandfmd.dll *.def file changed - registry: "PartitionDriver" from mspart.dll to flashpart.dll [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH] old: "Dll"="smflash.dll" new: "Dll"="flashmdd.dll" "FlashPddDll"="nandfmd.dll" Now the test fails. ...

Go Back   Application Development Forum > Theory and Concepts > Software-Testing

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-12-2008, 08:11 AM
Hector Bujanda
Guest
 
Default WinCE6.0 RC2

Hello mates,
Can anybody help??

I'm running following test:
tux -d disktest -c"/disk DSK1: -zorch"

Where DSK1 is a Nand Flash FMD Block Device Driver.
Before installing RC2 this test was working fine

After installing RC2, and do a couple of changes in the registry and the
driver to make use of it through a kind of wrapper (not doing a complete new
flash driver):
- driver:
links to fmdwrapperpdd.lib instead of fal.lib
changed dll name from smflash.dll to nandfmd.dll
*.def file changed
- registry:
"PartitionDriver" from mspart.dll to flashpart.dll
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
old:
"Dll"="smflash.dll"
new:
"Dll"="flashmdd.dll"
"FlashPddDll"="nandfmd.dll"

Now the test fails. It seems that the new mdd layer doesn't support
DISK_IOCTL_FORMAT_MEDIA
(All tests using DSK1: fail because of the same problem; while tests at the
Filesystem lever work fine)
Here is the log.

BEGIN GROUP: FSDTEST.DLL
<TESTCASE ID=4002>
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: Format mass storage disk
*** Test ID: 4002
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: -zorch
*** Kernel Mode: No
*** Random Seed: 24430
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA) failed
error 31
FAIL: FormatMedia() failed; error 31
END TEST: "Format mass storage disk", FAILED, Time=0.050
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
*** TEST COMPLETED
***
*** Test Name: Format mass storage disk
*** Test ID: 4002
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: -zorch
*** Kernel Mode: No
*** Result: Failed
*** Random Seed: 24430
*** Thread Count: 1
*** Execution Time: 0:00:00.050
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^


Reply With Quote
  #2  
Old 08-12-2008, 10:49 AM
RyeCatcher
Guest
 
Default Re: WinCE6.0 RC2

Before the April's patch for CE6, most of the CETK test cases for NAND Flash
can not be used. The disktest should pass if April's update has been
finished.

--
RyeCatcher

Shanghai, China




"Hector Bujanda" <hector_bujanda@digi.com> 写入消息新闻:eWGzYSH$IHA.4124@TK2MSFTNGP05.phx.gbl ...
> Hello mates,
> Can anybody help??
>
> I'm running following test:
> tux -d disktest -c"/disk DSK1: -zorch"
>
> Where DSK1 is a Nand Flash FMD Block Device Driver.
> Before installing RC2 this test was working fine
>
> After installing RC2, and do a couple of changes in the registry and the
> driver to make use of it through a kind of wrapper (not doing a complete
> new
> flash driver):
> - driver:
> links to fmdwrapperpdd.lib instead of fal.lib
> changed dll name from smflash.dll to nandfmd.dll
> *.def file changed
> - registry:
> "PartitionDriver" from mspart.dll to flashpart.dll
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
> old:
> "Dll"="smflash.dll"
> new:
> "Dll"="flashmdd.dll"
> "FlashPddDll"="nandfmd.dll"
>
> Now the test fails. It seems that the new mdd layer doesn't support
> DISK_IOCTL_FORMAT_MEDIA
> (All tests using DSK1: fail because of the same problem; while tests at
> the Filesystem lever work fine)
> Here is the log.
>
> BEGIN GROUP: FSDTEST.DLL
> <TESTCASE ID=4002>
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> *** TEST STARTING
> ***
> *** Test Name: Format mass storage disk
> *** Test ID: 4002
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: -zorch
> *** Kernel Mode: No
> *** Random Seed: 24430
> *** Thread Count: 0
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
> DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
> FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA) failed
> error 31
> FAIL: FormatMedia() failed; error 31
> END TEST: "Format mass storage disk", FAILED, Time=0.050
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
> *** TEST COMPLETED
> ***
> *** Test Name: Format mass storage disk
> *** Test ID: 4002
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: -zorch
> *** Kernel Mode: No
> *** Result: Failed
> *** Random Seed: 24430
> *** Thread Count: 1
> *** Execution Time: 0:00:00.050
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>
>



Reply With Quote
  #3  
Old 08-13-2008, 05:26 AM
Hector Bujanda
Guest
 
Default Re: WinCE6.0 RC2

Hi RyeCatcher,

I already have April, May and Jun QFEs installed.
My disktest.dll date is 8th April 2008. It was replaced on
\Backup\080430_2008M04\ so I guess it was installed in the QFE you
mention.

So that's not the issue I'n seeing.

Thanks anyway


"RyeCatcher" <daniel.chi.sh@gmail.com> wrote in message
news:%23aoVdpI$IHA.5192@TK2MSFTNGP04.phx.gbl...
> Before the April's patch for CE6, most of the CETK test cases for NAND
> Flash can not be used. The disktest should pass if April's update has been
> finished.
>
> --
> RyeCatcher
>
> Shanghai, China
>
>
>
>
> "Hector Bujanda" <hector_bujanda@digi.com>
> 写入消息新闻:eWGzYSH$IHA.4124@TK2MSFTNGP05.phx.gbl ...
>> Hello mates,
>> Can anybody help??
>>
>> I'm running following test:
>> tux -d disktest -c"/disk DSK1: -zorch"
>>
>> Where DSK1 is a Nand Flash FMD Block Device Driver.
>> Before installing RC2 this test was working fine
>>
>> After installing RC2, and do a couple of changes in the registry and the
>> driver to make use of it through a kind of wrapper (not doing a complete
>> new
>> flash driver):
>> - driver:
>> links to fmdwrapperpdd.lib instead of fal.lib
>> changed dll name from smflash.dll to nandfmd.dll
>> *.def file changed
>> - registry:
>> "PartitionDriver" from mspart.dll to flashpart.dll
>> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
>> old:
>> "Dll"="smflash.dll"
>> new:
>> "Dll"="flashmdd.dll"
>> "FlashPddDll"="nandfmd.dll"
>>
>> Now the test fails. It seems that the new mdd layer doesn't support
>> DISK_IOCTL_FORMAT_MEDIA
>> (All tests using DSK1: fail because of the same problem; while tests at
>> the Filesystem lever work fine)
>> Here is the log.
>>
>> BEGIN GROUP: FSDTEST.DLL
>> <TESTCASE ID=4002>
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> *** TEST STARTING
>> ***
>> *** Test Name: Format mass storage disk
>> *** Test ID: 4002
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: -zorch
>> *** Kernel Mode: No
>> *** Random Seed: 24430
>> *** Thread Count: 0
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
>> DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>> FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA) failed
>> error 31
>> FAIL: FormatMedia() failed; error 31
>> END TEST: "Format mass storage disk", FAILED, Time=0.050
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>> *** TEST COMPLETED
>> ***
>> *** Test Name: Format mass storage disk
>> *** Test ID: 4002
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: -zorch
>> *** Kernel Mode: No
>> *** Result: Failed
>> *** Random Seed: 24430
>> *** Thread Count: 1
>> *** Execution Time: 0:00:00.050
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>
>>

>
>



Reply With Quote
  #4  
Old 08-13-2008, 12:10 PM
Hector Bujanda
Guest
 
Default Re: WinCE6.0 RC2

I've advance a little bit!!!!



After this QFE.... In the test arguments you have to add '/store /flash' (I
saw it in a previous post)

Now the test report:

- DISK_COMMON: Will open disk as a store (using OpenStore())
- "flash" specified, will use flash IOCTLS
- It uses IOCTL_FLASH_FORMAT_PARTITION instead of
DISK_IOCTL_FORMAT_MEDIA



With these additional arguments the 'flshwear' test passes as before the R2
mdd model.



But following test 'disktest' seems to not recognize properly the '/flash'
argument it keeps on using the DISK_IOCTL_FORMAT_MEDIA and finally fails.

Not sure if while formatting or while writting to sector 0 (FAIL:
ReadWriteDisk(WRITE) at sector 0)

I hope this is logical sector 0 as my physical sector 0,1.... are protected
by BLOCK_STATUS_RESERVED as I have there my bootloader.



Command Line: "/disk DSK1: /store /flash -zorch".
DISK_COMMON: Disk Device Name = DSK1:
DISK_COMMON: Will open disk as a store (using OpenStore())
DISKTEST: Max Sectors per operation = 128
<TESTGROUP>

*** ================================================== ================
*** SUITE INFORMATION
***
*** Suite Name: N/A (built on the fly)
*** Suite Description: N/A
*** Number of Tests: 26
*** ================================================== ================

*** ================================================== ================
*** SYSTEM INFORMATION
***
*** Date and Time: 08/13/2008 5:12 PM (Wednesday)
***
*** Device Name: CCX9M24432443001
***
*** OS Version: 6.00
*** Build Number: 0
*** Platform ID: 3 "Windows CE"
*** Version String: ""
***
*** Processor Type: 0x00000A11 (2,577) "StrongARM"
*** Processor Architecture: 0x0005 (5) "ARM"
*** Page Size: 0x00001000 (4,096)
*** Minimum App Address: 0x00010000 (65,536)
*** Maximum App Address: 0x7FFFFFFF (2,147,483,647)
*** Active Processor Mask: 0x00000001
*** Number Of Processors: 1
*** Allocation Granularity: 0x00010000 (65,536)
*** Processor Level: 0x0004 (4)
*** Processor Revision: 0x0000 (0)
*** ================================================== ================

*** ================================================== ================
*** MEMORY INFO
***
*** Memory Total: 32,620,544 bytes
*** Memory Used: 10,735,616 bytes
*** Memory Free: 21,884,928 bytes
***
*** Kernel Used: 401,408 bytes
*** Water Mark: 5,340 pages
***
*** Store Total: 10,817,536 bytes
*** Store Used: 770,048 bytes
*** Store Free: 10,047,488 bytes
*** ================================================== ================

opened user-specified mass storage device: "DSK1:"
Total Sectors: 65536
Bytes Per Sector: 2048
Cylinders: 1024
Heads: 1
Sectors: 64
Flags: 0x00000008
BEGIN GROUP: FSDTEST.DLL
<TESTCASE ID=4002>
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: Format mass storage disk
*** Test ID: 4002
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: /store /flash -zorch
*** Kernel Mode: No
*** Random Seed: 8133
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
BEGIN TEST: "Format mass storage disk", Threads=0, Seed=8133
DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
END TEST: "Format mass storage disk", PASSED, Time=0.016
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
*** TEST COMPLETED
***
*** Test Name: Format mass storage disk
*** Test ID: 4002
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: /store /flash -zorch
*** Kernel Mode: No
*** Result: Passed
*** Random Seed: 8133
*** Thread Count: 1
*** Execution Time: 0:00:00.016
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^

</TESTCASE RESULT="PASSED">
<TESTCASE ID=4003>
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: Write, Read, Verify 1 sector at at time
*** Test ID: 4003
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: /store /flash -zorch
*** Kernel Mode: No
*** Random Seed: 26597
*** Thread Count: 0
*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
BEGIN TEST: "Write, Read, Verify 1 sector at at time", Threads=0,
Seed=26597
DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
reading + writing + comparing 1 sectors @ sector 0...
DeviceIoControl() failed; error 87
FAIL: ReadWriteDisk(WRITE) at sector 0
END TEST: "Write, Read, Verify 1 sector at at time", FAILED, Time=0.055
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
*** TEST COMPLETED
***
*** Test Name: Write, Read, Verify 1 sector at at time
*** Test ID: 4003
*** Library Path: \disktest.dll
*** Command Line: /disk DSK1: /store /flash -zorch
*** Kernel Mode: No
*** Result: Failed
*** Random Seed: 26597
*** Thread Count: 1
*** Execution Time: 0:00:00.055
*** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^














"Hector Bujanda" <hector_bujanda@digi.com> wrote in message
news:OZNMdaS$IHA.4380@TK2MSFTNGP02.phx.gbl...
> Hi RyeCatcher,
>
> I already have April, May and Jun QFEs installed.
> My disktest.dll date is 8th April 2008. It was replaced on
> \Backup\080430_2008M04\ so I guess it was installed in the QFE you
> mention.
>
> So that's not the issue I'n seeing.
>
> Thanks anyway
>
>
> "RyeCatcher" <daniel.chi.sh@gmail.com> wrote in message
> news:%23aoVdpI$IHA.5192@TK2MSFTNGP04.phx.gbl...
>> Before the April's patch for CE6, most of the CETK test cases for NAND
>> Flash can not be used. The disktest should pass if April's update has
>> been finished.
>>
>> --
>> RyeCatcher
>>
>> Shanghai, China
>>
>>
>>
>>
>> "Hector Bujanda" <hector_bujanda@digi.com>
>> 写入消息新闻:eWGzYSH$IHA.4124@TK2MSFTNGP05.phx.gbl ...
>>> Hello mates,
>>> Can anybody help??
>>>
>>> I'm running following test:
>>> tux -d disktest -c"/disk DSK1: -zorch"
>>>
>>> Where DSK1 is a Nand Flash FMD Block Device Driver.
>>> Before installing RC2 this test was working fine
>>>
>>> After installing RC2, and do a couple of changes in the registry and the
>>> driver to make use of it through a kind of wrapper (not doing a complete
>>> new
>>> flash driver):
>>> - driver:
>>> links to fmdwrapperpdd.lib instead of fal.lib
>>> changed dll name from smflash.dll to nandfmd.dll
>>> *.def file changed
>>> - registry:
>>> "PartitionDriver" from mspart.dll to flashpart.dll
>>> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
>>> old:
>>> "Dll"="smflash.dll"
>>> new:
>>> "Dll"="flashmdd.dll"
>>> "FlashPddDll"="nandfmd.dll"
>>>
>>> Now the test fails. It seems that the new mdd layer doesn't support
>>> DISK_IOCTL_FORMAT_MEDIA
>>> (All tests using DSK1: fail because of the same problem; while tests at
>>> the Filesystem lever work fine)
>>> Here is the log.
>>>
>>> BEGIN GROUP: FSDTEST.DLL
>>> <TESTCASE ID=4002>
>>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>> *** TEST STARTING
>>> ***
>>> *** Test Name: Format mass storage disk
>>> *** Test ID: 4002
>>> *** Library Path: \disktest.dll
>>> *** Command Line: /disk DSK1: -zorch
>>> *** Kernel Mode: No
>>> *** Random Seed: 24430
>>> *** Thread Count: 0
>>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
>>> DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>>> FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA) failed
>>> error 31
>>> FAIL: FormatMedia() failed; error 31
>>> END TEST: "Format mass storage disk", FAILED, Time=0.050
>>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>> *** TEST COMPLETED
>>> ***
>>> *** Test Name: Format mass storage disk
>>> *** Test ID: 4002
>>> *** Library Path: \disktest.dll
>>> *** Command Line: /disk DSK1: -zorch
>>> *** Kernel Mode: No
>>> *** Result: Failed
>>> *** Random Seed: 24430
>>> *** Thread Count: 1
>>> *** Execution Time: 0:00:00.050
>>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>>
>>>

>>
>>

>
>



Reply With Quote
  #5  
Old 08-19-2008, 06:58 PM
Vadim Yushprakh
Guest
 
Default Re: WinCE6.0 RC2

Hector,

The disktest test is a little bit different. It doesn't support flash ioctls
directly, however it issue standard block driver read/write commands if you
pass the /part flag on the commandline.

e.g. "/disk DSK1: /part /zorch".

Thanks!

--Vadim Yushprakh

"Hector Bujanda" <hector_bujanda@digi.com> wrote in message
news:OyWyT8V$IHA.4380@TK2MSFTNGP02.phx.gbl...
> I've advance a little bit!!!!
>
>
>
> After this QFE.... In the test arguments you have to add '/store /flash'
> (I saw it in a previous post)
>
> Now the test report:
>
> - DISK_COMMON: Will open disk as a store (using OpenStore())
> - "flash" specified, will use flash IOCTLS
> - It uses IOCTL_FLASH_FORMAT_PARTITION instead of
> DISK_IOCTL_FORMAT_MEDIA
>
>
>
> With these additional arguments the 'flshwear' test passes as before the
> R2 mdd model.
>
>
>
> But following test 'disktest' seems to not recognize properly the '/flash'
> argument it keeps on using the DISK_IOCTL_FORMAT_MEDIA and finally fails.
>
> Not sure if while formatting or while writting to sector 0 (FAIL:
> ReadWriteDisk(WRITE) at sector 0)
>
> I hope this is logical sector 0 as my physical sector 0,1.... are
> protected by BLOCK_STATUS_RESERVED as I have there my bootloader.
>
>
>
> Command Line: "/disk DSK1: /store /flash -zorch".
> DISK_COMMON: Disk Device Name = DSK1:
> DISK_COMMON: Will open disk as a store (using OpenStore())
> DISKTEST: Max Sectors per operation = 128
> <TESTGROUP>
>
> *** ================================================== ================
> *** SUITE INFORMATION
> ***
> *** Suite Name: N/A (built on the fly)
> *** Suite Description: N/A
> *** Number of Tests: 26
> *** ================================================== ================
>
> *** ================================================== ================
> *** SYSTEM INFORMATION
> ***
> *** Date and Time: 08/13/2008 5:12 PM (Wednesday)
> ***
> *** Device Name: CCX9M24432443001
> ***
> *** OS Version: 6.00
> *** Build Number: 0
> *** Platform ID: 3 "Windows CE"
> *** Version String: ""
> ***
> *** Processor Type: 0x00000A11 (2,577) "StrongARM"
> *** Processor Architecture: 0x0005 (5) "ARM"
> *** Page Size: 0x00001000 (4,096)
> *** Minimum App Address: 0x00010000 (65,536)
> *** Maximum App Address: 0x7FFFFFFF (2,147,483,647)
> *** Active Processor Mask: 0x00000001
> *** Number Of Processors: 1
> *** Allocation Granularity: 0x00010000 (65,536)
> *** Processor Level: 0x0004 (4)
> *** Processor Revision: 0x0000 (0)
> *** ================================================== ================
>
> *** ================================================== ================
> *** MEMORY INFO
> ***
> *** Memory Total: 32,620,544 bytes
> *** Memory Used: 10,735,616 bytes
> *** Memory Free: 21,884,928 bytes
> ***
> *** Kernel Used: 401,408 bytes
> *** Water Mark: 5,340 pages
> ***
> *** Store Total: 10,817,536 bytes
> *** Store Used: 770,048 bytes
> *** Store Free: 10,047,488 bytes
> *** ================================================== ================
>
> opened user-specified mass storage device: "DSK1:"
> Total Sectors: 65536
> Bytes Per Sector: 2048
> Cylinders: 1024
> Heads: 1
> Sectors: 64
> Flags: 0x00000008
> BEGIN GROUP: FSDTEST.DLL
> <TESTCASE ID=4002>
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> *** TEST STARTING
> ***
> *** Test Name: Format mass storage disk
> *** Test ID: 4002
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: /store /flash -zorch
> *** Kernel Mode: No
> *** Random Seed: 8133
> *** Thread Count: 0
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=8133
> DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
> END TEST: "Format mass storage disk", PASSED, Time=0.016
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
> *** TEST COMPLETED
> ***
> *** Test Name: Format mass storage disk
> *** Test ID: 4002
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: /store /flash -zorch
> *** Kernel Mode: No
> *** Result: Passed
> *** Random Seed: 8133
> *** Thread Count: 1
> *** Execution Time: 0:00:00.016
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>
> </TESTCASE RESULT="PASSED">
> <TESTCASE ID=4003>
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> *** TEST STARTING
> ***
> *** Test Name: Write, Read, Verify 1 sector at at time
> *** Test ID: 4003
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: /store /flash -zorch
> *** Kernel Mode: No
> *** Random Seed: 26597
> *** Thread Count: 0
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
> BEGIN TEST: "Write, Read, Verify 1 sector at at time", Threads=0,
> Seed=26597
> DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
> reading + writing + comparing 1 sectors @ sector 0...
> DeviceIoControl() failed; error 87
> FAIL: ReadWriteDisk(WRITE) at sector 0
> END TEST: "Write, Read, Verify 1 sector at at time", FAILED, Time=0.055
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
> *** TEST COMPLETED
> ***
> *** Test Name: Write, Read, Verify 1 sector at at time
> *** Test ID: 4003
> *** Library Path: \disktest.dll
> *** Command Line: /disk DSK1: /store /flash -zorch
> *** Kernel Mode: No
> *** Result: Failed
> *** Random Seed: 26597
> *** Thread Count: 1
> *** Execution Time: 0:00:00.055
> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> "Hector Bujanda" <hector_bujanda@digi.com> wrote in message
> news:OZNMdaS$IHA.4380@TK2MSFTNGP02.phx.gbl...
>> Hi RyeCatcher,
>>
>> I already have April, May and Jun QFEs installed.
>> My disktest.dll date is 8th April 2008. It was replaced on
>> \Backup\080430_2008M04\ so I guess it was installed in the QFE you
>> mention.
>>
>> So that's not the issue I'n seeing.
>>
>> Thanks anyway
>>
>>
>> "RyeCatcher" <daniel.chi.sh@gmail.com> wrote in message
>> news:%23aoVdpI$IHA.5192@TK2MSFTNGP04.phx.gbl...
>>> Before the April's patch for CE6, most of the CETK test cases for NAND
>>> Flash can not be used. The disktest should pass if April's update has
>>> been finished.
>>>
>>> --
>>> RyeCatcher
>>>
>>> Shanghai, China
>>>
>>>
>>>
>>>
>>> "Hector Bujanda" <hector_bujanda@digi.com>
>>> 写入消息新闻:eWGzYSH$IHA.4124@TK2MSFTNGP05.phx.gbl ...
>>>> Hello mates,
>>>> Can anybody help??
>>>>
>>>> I'm running following test:
>>>> tux -d disktest -c"/disk DSK1: -zorch"
>>>>
>>>> Where DSK1 is a Nand Flash FMD Block Device Driver.
>>>> Before installing RC2 this test was working fine
>>>>
>>>> After installing RC2, and do a couple of changes in the registry and
>>>> the
>>>> driver to make use of it through a kind of wrapper (not doing a
>>>> complete new
>>>> flash driver):
>>>> - driver:
>>>> links to fmdwrapperpdd.lib instead of fal.lib
>>>> changed dll name from smflash.dll to nandfmd.dll
>>>> *.def file changed
>>>> - registry:
>>>> "PartitionDriver" from mspart.dll to flashpart.dll
>>>> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
>>>> old:
>>>> "Dll"="smflash.dll"
>>>> new:
>>>> "Dll"="flashmdd.dll"
>>>> "FlashPddDll"="nandfmd.dll"
>>>>
>>>> Now the test fails. It seems that the new mdd layer doesn't support
>>>> DISK_IOCTL_FORMAT_MEDIA
>>>> (All tests using DSK1: fail because of the same problem; while tests at
>>>> the Filesystem lever work fine)
>>>> Here is the log.
>>>>
>>>> BEGIN GROUP: FSDTEST.DLL
>>>> <TESTCASE ID=4002>
>>>> ***
>>>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>>> *** TEST STARTING
>>>> ***
>>>> *** Test Name: Format mass storage disk
>>>> *** Test ID: 4002
>>>> *** Library Path: \disktest.dll
>>>> *** Command Line: /disk DSK1: -zorch
>>>> *** Kernel Mode: No
>>>> *** Random Seed: 24430
>>>> *** Thread Count: 0
>>>> ***
>>>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>>> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
>>>> DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>>>> FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>>>> failed error 31
>>>> FAIL: FormatMedia() failed; error 31
>>>> END TEST: "Format mass storage disk", FAILED, Time=0.050
>>>> ***
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>>> *** TEST COMPLETED
>>>> ***
>>>> *** Test Name: Format mass storage disk
>>>> *** Test ID: 4002
>>>> *** Library Path: \disktest.dll
>>>> *** Command Line: /disk DSK1: -zorch
>>>> *** Kernel Mode: No
>>>> *** Result: Failed
>>>> *** Random Seed: 24430
>>>> *** Thread Count: 1
>>>> *** Execution Time: 0:00:00.050
>>>> ***
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>>>
>>>>
>>>
>>>

>>
>>

>
>


Reply With Quote
  #6  
Old 08-22-2008, 08:50 AM
Hector Bujanda
Guest
 
Default Re: WinCE6.0 RC2

Thanks a lot, with that argument, now the disktest, disktest_perf tests that
were failing seems to work as they were before the R2 model.. I have to
study the results deeper.

Buji

"Vadim Yushprakh" <vadimy@microsoft.com> wrote in message
news:%23SjPW8kAJHA.5580@TK2MSFTNGP04.phx.gbl...
> Hector,
>
> The disktest test is a little bit different. It doesn't support flash
> ioctls directly, however it issue standard block driver read/write
> commands if you pass the /part flag on the commandline.
>
> e.g. "/disk DSK1: /part /zorch".
>
> Thanks!
>
> --Vadim Yushprakh
>
> "Hector Bujanda" <hector_bujanda@digi.com> wrote in message
> news:OyWyT8V$IHA.4380@TK2MSFTNGP02.phx.gbl...
>> I've advance a little bit!!!!
>>
>>
>>
>> After this QFE.... In the test arguments you have to add '/store /flash'
>> (I saw it in a previous post)
>>
>> Now the test report:
>>
>> - DISK_COMMON: Will open disk as a store (using OpenStore())
>> - "flash" specified, will use flash IOCTLS
>> - It uses IOCTL_FLASH_FORMAT_PARTITION instead of
>> DISK_IOCTL_FORMAT_MEDIA
>>
>>
>>
>> With these additional arguments the 'flshwear' test passes as before the
>> R2 mdd model.
>>
>>
>>
>> But following test 'disktest' seems to not recognize properly the
>> '/flash' argument it keeps on using the DISK_IOCTL_FORMAT_MEDIA and
>> finally fails.
>>
>> Not sure if while formatting or while writting to sector 0 (FAIL:
>> ReadWriteDisk(WRITE) at sector 0)
>>
>> I hope this is logical sector 0 as my physical sector 0,1.... are
>> protected by BLOCK_STATUS_RESERVED as I have there my bootloader.
>>
>>
>>
>> Command Line: "/disk DSK1: /store /flash -zorch".
>> DISK_COMMON: Disk Device Name = DSK1:
>> DISK_COMMON: Will open disk as a store (using OpenStore())
>> DISKTEST: Max Sectors per operation = 128
>> <TESTGROUP>
>>
>> *** ================================================== ================
>> *** SUITE INFORMATION
>> ***
>> *** Suite Name: N/A (built on the fly)
>> *** Suite Description: N/A
>> *** Number of Tests: 26
>> *** ================================================== ================
>>
>> *** ================================================== ================
>> *** SYSTEM INFORMATION
>> ***
>> *** Date and Time: 08/13/2008 5:12 PM (Wednesday)
>> ***
>> *** Device Name: CCX9M24432443001
>> ***
>> *** OS Version: 6.00
>> *** Build Number: 0
>> *** Platform ID: 3 "Windows CE"
>> *** Version String: ""
>> ***
>> *** Processor Type: 0x00000A11 (2,577) "StrongARM"
>> *** Processor Architecture: 0x0005 (5) "ARM"
>> *** Page Size: 0x00001000 (4,096)
>> *** Minimum App Address: 0x00010000 (65,536)
>> *** Maximum App Address: 0x7FFFFFFF (2,147,483,647)
>> *** Active Processor Mask: 0x00000001
>> *** Number Of Processors: 1
>> *** Allocation Granularity: 0x00010000 (65,536)
>> *** Processor Level: 0x0004 (4)
>> *** Processor Revision: 0x0000 (0)
>> *** ================================================== ================
>>
>> *** ================================================== ================
>> *** MEMORY INFO
>> ***
>> *** Memory Total: 32,620,544 bytes
>> *** Memory Used: 10,735,616 bytes
>> *** Memory Free: 21,884,928 bytes
>> ***
>> *** Kernel Used: 401,408 bytes
>> *** Water Mark: 5,340 pages
>> ***
>> *** Store Total: 10,817,536 bytes
>> *** Store Used: 770,048 bytes
>> *** Store Free: 10,047,488 bytes
>> *** ================================================== ================
>>
>> opened user-specified mass storage device: "DSK1:"
>> Total Sectors: 65536
>> Bytes Per Sector: 2048
>> Cylinders: 1024
>> Heads: 1
>> Sectors: 64
>> Flags: 0x00000008
>> BEGIN GROUP: FSDTEST.DLL
>> <TESTCASE ID=4002>
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> *** TEST STARTING
>> ***
>> *** Test Name: Format mass storage disk
>> *** Test ID: 4002
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: /store /flash -zorch
>> *** Kernel Mode: No
>> *** Random Seed: 8133
>> *** Thread Count: 0
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=8133
>> DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
>> END TEST: "Format mass storage disk", PASSED, Time=0.016
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>> *** TEST COMPLETED
>> ***
>> *** Test Name: Format mass storage disk
>> *** Test ID: 4002
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: /store /flash -zorch
>> *** Kernel Mode: No
>> *** Result: Passed
>> *** Random Seed: 8133
>> *** Thread Count: 1
>> *** Execution Time: 0:00:00.016
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>
>> </TESTCASE RESULT="PASSED">
>> <TESTCASE ID=4003>
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> *** TEST STARTING
>> ***
>> *** Test Name: Write, Read, Verify 1 sector at at time
>> *** Test ID: 4003
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: /store /flash -zorch
>> *** Kernel Mode: No
>> *** Random Seed: 26597
>> *** Thread Count: 0
>> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>> BEGIN TEST: "Write, Read, Verify 1 sector at at time", Threads=0,
>> Seed=26597
>> DeviceIoControl(0x00511303, DISK_IOCTL_FORMAT_MEDIA)
>> reading + writing + comparing 1 sectors @ sector 0...
>> DeviceIoControl() failed; error 87
>> FAIL: ReadWriteDisk(WRITE) at sector 0
>> END TEST: "Write, Read, Verify 1 sector at at time", FAILED, Time=0.055
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>> *** TEST COMPLETED
>> ***
>> *** Test Name: Write, Read, Verify 1 sector at at time
>> *** Test ID: 4003
>> *** Library Path: \disktest.dll
>> *** Command Line: /disk DSK1: /store /flash -zorch
>> *** Kernel Mode: No
>> *** Result: Failed
>> *** Random Seed: 26597
>> *** Thread Count: 1
>> *** Execution Time: 0:00:00.055
>> *** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Hector Bujanda" <hector_bujanda@digi.com> wrote in message
>> news:OZNMdaS$IHA.4380@TK2MSFTNGP02.phx.gbl...
>>> Hi RyeCatcher,
>>>
>>> I already have April, May and Jun QFEs installed.
>>> My disktest.dll date is 8th April 2008. It was replaced on
>>> \Backup\080430_2008M04\ so I guess it was installed in the QFE you
>>> mention.
>>>
>>> So that's not the issue I'n seeing.
>>>
>>> Thanks anyway
>>>
>>>
>>> "RyeCatcher" <daniel.chi.sh@gmail.com> wrote in message
>>> news:%23aoVdpI$IHA.5192@TK2MSFTNGP04.phx.gbl...
>>>> Before the April's patch for CE6, most of the CETK test cases for NAND
>>>> Flash can not be used. The disktest should pass if April's update has
>>>> been finished.
>>>>
>>>> --
>>>> RyeCatcher
>>>>
>>>> Shanghai, China
>>>>
>>>>
>>>>
>>>>
>>>> "Hector Bujanda" <hector_bujanda@digi.com>
>>>> 写入消息新闻:eWGzYSH$IHA.4124@TK2MSFTNGP05.phx.gbl ...
>>>>> Hello mates,
>>>>> Can anybody help??
>>>>>
>>>>> I'm running following test:
>>>>> tux -d disktest -c"/disk DSK1: -zorch"
>>>>>
>>>>> Where DSK1 is a Nand Flash FMD Block Device Driver.
>>>>> Before installing RC2 this test was working fine
>>>>>
>>>>> After installing RC2, and do a couple of changes in the registry and
>>>>> the
>>>>> driver to make use of it through a kind of wrapper (not doing a
>>>>> complete new
>>>>> flash driver):
>>>>> - driver:
>>>>> links to fmdwrapperpdd.lib instead of fal.lib
>>>>> changed dll name from smflash.dll to nandfmd.dll
>>>>> *.def file changed
>>>>> - registry:
>>>>> "PartitionDriver" from mspart.dll to flashpart.dll
>>>>> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NANDFLASH]
>>>>> old:
>>>>> "Dll"="smflash.dll"
>>>>> new:
>>>>> "Dll"="flashmdd.dll"
>>>>> "FlashPddDll"="nandfmd.dll"
>>>>>
>>>>> Now the test fails. It seems that the new mdd layer doesn't support
>>>>> DISK_IOCTL_FORMAT_MEDIA
>>>>> (All tests using DSK1: fail because of the same problem; while tests
>>>>> at the Filesystem lever work fine)
>>>>> Here is the log.
>>>>>
>>>>> BEGIN GROUP: FSDTEST.DLL
>>>>> <TESTCASE ID=4002>
>>>>> ***
>>>>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>>>> *** TEST STARTING
>>>>> ***
>>>>> *** Test Name: Format mass storage disk
>>>>> *** Test ID: 4002
>>>>> *** Library Path: \disktest.dll
>>>>> *** Command Line: /disk DSK1: -zorch
>>>>> *** Kernel Mode: No
>>>>> *** Random Seed: 24430
>>>>> *** Thread Count: 0
>>>>> ***
>>>>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv vvvvvvvvvvvvvvvv
>>>>> BEGIN TEST: "Format mass storage disk", Threads=0, Seed=24430
>>>>> DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>>>>> FAILED: DeviceIoControl(0x00511103, DISK_IOCTL_FORMAT_MEDIA)
>>>>> failed error 31
>>>>> FAIL: FormatMedia() failed; error 31
>>>>> END TEST: "Format mass storage disk", FAILED, Time=0.050
>>>>> ***
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>>>> *** TEST COMPLETED
>>>>> ***
>>>>> *** Test Name: Format mass storage disk
>>>>> *** Test ID: 4002
>>>>> *** Library Path: \disktest.dll
>>>>> *** Command Line: /disk DSK1: -zorch
>>>>> *** Kernel Mode: No
>>>>> *** Result: Failed
>>>>> *** Random Seed: 24430
>>>>> *** Thread Count: 1
>>>>> *** Execution Time: 0:00:00.050
>>>>> ***
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:05 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.