NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/40997: mmcformat -B -O /dev/cd0d fails



>Number:         40997
>Category:       bin
>Synopsis:       mmcformat -B -O /dev/cd0d fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 11 18:35:00 +0000 2009
>Originator:     David Young
>Release:        NetBSD 4.99.73
>Organization:
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933
>Environment:
System: NetBSD elmendorf.ojctech.com 4.99.73 NetBSD 4.99.73 (ojctech.com) #0: 
Fri Oct 31 16:57:55 CST 2008 
dyoung%cuw.ojctech.com@localhost:/u3/dyoung/pristine-nbsd/i386/O/sys/arch/i386/compile/ojctech.com
 i386
Architecture: i386
Machine: i386
>Description:
mmcformat cannot format a CD-RW very shortly after blanking a CD-RW.
For example, if the mmcformat commands calls for both blanking and
formatting, sudo mmcformat -D -B -O /dev/cd0d, mmcformat fails:

 99 % / ETA 00:00:02
/dev/cd0d: Check Condition on CDB: 00 00 00 00 00 00
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Not Ready, Long Write In Progress
         SKSV: Progress Indicator: 65357
 99 % - ETA 00:00:01
/dev/cd0d: Check Condition on CDB: 00 00 00 00 00 00
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Not Ready, Long Write In Progress
         SKSV: Progress Indicator: 65490
 99 % \ ETA 00:00:00
/dev/cd0d: Check Condition on CDB: 00 00 00 00 00 00
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Not Ready, Long Write In Progress
100 % | ETA 00:00:00
success!

/dev/cd0d: Check Condition on CDB: 23 00 00 00 00 00 00 00 0c 00
    SENSE KEY: Not Ready
     ASC/ASCQ: Logical Unit Not Ready, Long Write In Progress
While reading format capabilities : Input/output error

>How-To-Repeat:
Insert a CD-RW into the disk drawer.  Run
sudo mmcformat -D -B -O /dev/cd0d.
>Fix:
A workaround is to run mmcformat -B, wait a while, and then run
mmcformat -O.

For a proper fix, perhaps mmcformat should wait for outstanding
blanking/formatting commands to complete on the drive before either
quitting or starting a new command?



Home | Main Index | Thread Index | Old Index