Welcome in this Forum - This information is closed after your registration automaticly

You are watching this forum as a guest with limited access to discussion and other functions. If you register for free you can create new topics unter your name, send other members private messages, take part on polls and other special functions. The registration is very simple and free !

Now register for free.

Already registered ? Login now !

Username:
Password:

  Log me on automatically each visit
  Hide my online status this session

qpxtool 0.7.0-rc1 stucks NEC ND-3520AW drive after the test

everything around NEC

Moderators: ShultZ, piewie

qpxtool 0.7.0-rc1 stucks NEC ND-3520AW drive after the test

Postby LeXa2 » Tue Nov 10, 2009 13:24

My NEC ND-3520AW get's stuck after I run qpxtool error correction test. System refuses to mount any CD/DVD inserted into it, readom tests fails with:
Code: Select all
"readom: Input/output error. Error on sector 49 not corrected. Total of 50 errors."
like errors, and even qscan fails on any other type of test except for "errc" with the following message:

Code: Select all
[lexa2@lexa2 ~]$ qscan -d /dev/sr0 -t rt
qScan 0.7 (C) 2007-2009  Gennady "ShultZ" Kozlov
qscan: using device '/dev/sr0': '_NEC    ' 'DVD_RW ND-3520AW' '3.07'
Running READ transfer rate test for CD at speed 48...
Using READ CD command
SpinUp using READ CD command...

:-[ SEEK failed with SK=5h/ASC=2Ch/ACQ=00h]: COMMAND SEQUENCE ERROR

:-[ READ_CD failed with SK=5h/ASC=2Ch/ACQ=00h]: COMMAND SEQUENCE ERROR

:-[ SEEK failed with SK=5h/ASC=2Ch/ACQ=00h]: COMMAND SEQUENCE ERROR
Reading blocks: 0 - 355838 (694 MB)

:-[ READ_CD failed with SK=5h/ASC=2Ch/ACQ=00h]: COMMAND SEQUENCE ERROR
Read error! Terminating scan...

Test time:   0.00s
avg speed: 146.720 X  22008 kB/s


Looks like qpxtool's "errc" test code leaves the drive in some special mode/state that is incompatible with the normal drive operations. So far I hadn't found any way to reset drive back to a working state except for rebooting computer.
LeXa2
 
Posts: 3
Joined: Mon Mar 10, 2008 10:02
Location: Moscow, Russia

Re: qpxtool 0.7.0-rc1 stucks NEC ND-3520AW drive after the test

Postby LeXa2 » Tue Nov 10, 2009 15:52

Code inspection showed that the plugin for the NEC drives in still 'work-in-progress'. There were obvious error in it that cmd_end_scan() method wasn't called in the end of scan which caused drive to stay in the error check mode. Here is quick-n-dirty patch for qpxtool-0.7.0-rc1 which corrects utility behavior:

qpxtool-0.7.0-rc1-fix-NEC.patch:
Code: Select all
diff -Nur qpxtool-0.7.0_RC1/plugins/nec/qscan_plugin.cpp qpxtool-0.7.0_RC1.lx2/plugins/nec/qscan_plugin.cpp
--- qpxtool-0.7.0_RC1/plugins/nec/qscan_plugin.cpp      2009-11-02 14:10:23.000000000 +0300
+++ qpxtool-0.7.0_RC1.lx2/plugins/nec/qscan_plugin.cpp  2009-11-10 17:39:54.000000000 +0300
@@ -137,7 +137,7 @@

int  scan_nec::end_test()
{
-//     nec_end_scan();
+       cmd_scan_end();
        test=0;
        return 0;
}
LeXa2
 
Posts: 3
Joined: Mon Mar 10, 2008 10:02
Location: Moscow, Russia

Re: qpxtool 0.7.0-rc1 stucks NEC ND-3520AW drive after the test

Postby ShultZ » Tue Nov 10, 2009 22:52

LeXa2 wrote:Code inspection showed that the plugin for the NEC drives in still 'work-in-progress'.

Sorry, NEC plugin rewritten from old (0.6.1) code, but still had not fully tested... thanks for patch!
Plextor PX-5224TA, PX-716A, PX-755A, PX-760SA,
Yamaha CRW-F1, ASUS BLT-1814, NEC 3450, LiteOn H20A
User avatar
ShultZ
Developer
 
Posts: 32
Joined: Mon May 15, 2006 16:40
Location: Moscow, Russia


Return to NEC related Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron