Re: [Fault-injection-developer] RE: e100 frame reception test result draft.
Status: Alpha
Brought to you by:
rustyl
From: Rusty L. <ru...@li...> - 2003-02-19 16:22:18
|
Kevin, Could you publish a test plan with detailed test procedures for recreating your e100 test cases. For the purposes of the fault injection project, it is actually more valuable to see a practical example of how to utilize the fault injection features to perform useful device driver testing then it is to publish the results of testing. =20 (Don't get me wrong, test results are a good thing, especially if you find a reproducible bug.) --rustyl On Wed, 2003-02-19 at 01:35, Wang, Stanley wrote: > =20 >=20 > -----Original Message----- > From: Gao, Kevin=20 > Sent: 2003-02-19 17:01 > To: Zhuang, Louis; Wang, Frank; Wang, Stanley > Subject: e100 frame reception test result draft. >=20 >=20 > E100 frame reception test has been done, the result draft is as follow: >=20 > any comment? :) >=20 > =20 >=20 > -Kevin >=20 > =20 >=20 > 1. Set =E2=80=98S=E2=80=99 bit of RFD which is under received when dr= iver reads the > SCB status register. Driver always send a RU_START command.=20 >=20 > =20 >=20 > OK. The e100 driver checks the hardware status and reacts properly :) >=20 > =20 >=20 > 2. Set =E2=80=98S=E2=80=99 bit of RFD which has been received when dr= iver reads the > SCB status register. Driver ignores the operation.=20 >=20 > =20 >=20 > OK. The 'S' bit is set by driver and read by hardware. Hence the driver > doesn't care it.=20 >=20 > <?xml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:off= ice" /> >=20 >=20 > 3. Set both =E2=80=98C=E2=80=99 and =E2=80=98OK=E2=80=99 bit of RFD t= o zero when driver reads the > SCB status register, the network cannot start, and driver will hanged, a > timeout will throw out.=20 >=20 > If the 'C' bit equals zero, the driver will treat this rfd as an incomple= te > packet and just wait untile 'C' equals one.=20 >=20 > =20 >=20 > 4. Set =E2=80=98C=E2=80=99 bit of RFD to 0, and set =E2=80=98OK=E2=80= =99 bit of RFD to 1 when driver > reads the SCB status register, the result is the same as process 2.=20 >=20 > =20 >=20 > process 2 or 3 ? >=20 > =20 >=20 > =20 >=20 > 5. Set =E2=80=98C=E2=80=99 bit of RFD to 1, and set =E2=80=98OK=E2=80= =99 bit of RFD to 0 when driver > reads the SCB status register, the result is the same as process 2.=20 >=20 > =20 >=20 > process 2 or 3 ?=20 >=20 > =20 >=20 > 6. Set =E2=80=98CRC=E2=80=99 bit of RFD to 1 when driver reads the SC= B status > register, the driver ignores this operation.=20 >=20 > =20 >=20 > The driver should check this bit. >=20 > =20 >=20 > =20 >=20 > 7. Set =E2=80=98Alignment error=E2=80=99 bit of RFD to 1 when driver = reads the SCB > status register, the driver ignores this operation.=20 >=20 > =20 >=20 > The driver should check this bit.=20 >=20 > =20 >=20 > 8. Set =E2=80=98Run out of buffer=E2=80=99 bit of RFD to 1 when drive= r reads the SCB > status register, the driver ignores this operation. >=20 > =20 >=20 > The driver should check this bit. >=20 > 9. Set =E2=80=98Frame too short=E2=80=99 bit of RFD to 1 when driver = reads the SCB > status register, the driver ignores this operation. >=20 > The driver should check this bit. > =20 > =20 > =20 >=20 |