CDR says: Attempt to query device size failed...

1999-02-13 Thread Ben Stuyts
I've been getting the following message, usually within a minute or so after  
booting. It shows up only once, and doesn't seem to interfere with normal  
operation of the CDR:

(cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd1:ahc0:0:5:0): NOT READY asc:4,0
(cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
cd1 at ahc0 bus 0 target 5 lun 0
cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
cause not reportable

This is not a new error. It has been happening for several months now, but I  
never got around to reporting this.

Any idea what the problem is?

Thanks,
Ben

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Lee Cremeans
On Sat, Feb 13, 1999 at 10:44:24PM +0100, Ben Stuyts wrote:
 I've been getting the following message, usually within a minute or so after  
 booting. It shows up only once, and doesn't seem to interfere with normal  
 operation of the CDR:
 
 (cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd1:ahc0:0:5:0): NOT READY asc:4,0
 (cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
 cd1: 3.300MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
 cause not reportable

Is the drive empty? It seems to me it's complaining because you don't have a
disk in.

-- 
++
| Lee Cremeans -- Manassas, VA, USA  (WakkyMouse on DALnet and WTnet)|  
|lcrem...@tidalwave.net| http://st-lcremean.tidalwave.net/~lee   |


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Kenneth D. Merry
Ben Stuyts wrote...
 I've been getting the following message, usually within a minute or so after  
 booting. It shows up only once, and doesn't seem to interfere with normal  
 operation of the CDR:
 
 (cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd1:ahc0:0:5:0): NOT READY asc:4,0
 (cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
 cd1: 3.300MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
 cause not reportable
 
 This is not a new error. It has been happening for several months now, but I  
 never got around to reporting this.
 
 Any idea what the problem is?

It probably just means your drive doesn't have a CD in it.  I've seen
similar reports for other Philips and HP CD-R drives.  In fact, that's why
0x04-type errors are acceptable for the CD driver's attach routine.  It
used to be that if it got an error back, the CD driver would only continue
to attach if that error was a medium not present error.  Because of those
Philips and HP drives, though, the CD driver will attach even if the error
is a not ready type error.

Did you boot with -v?  You probably shouldn't be getting the large error
message above, just the condensed error message from the CD driver if
you're not booting with -v.

Ken
-- 
Kenneth Merry
k...@plutotech.com

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Ben Stuyts
On Sat, 13 Feb 1999, Chris D. Faulhaber wrote:

  cd1: Attempt to query device size failed: NOT READY, Logical unit not
  ready, cause not reportable

 There is no CD in the drive, which makes the device 'not ready' and therefore
 unable to query device size.

 If you put a CD in the drive and reboot, you shouldn't get this error.

Correct. I forgot to mention in my original post that I also have another  
cdrom player in my system, and it doesn't generate this error. (cd0: MATSHITA  
CD-ROM CR-506 8S05 Removable CD-ROM SCSI-2 device) That's why I thought it  
was odd.

Thanks for the reply!

Ben

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Ben Stuyts
On Sat, 13 Feb 1999, Chris D. Faulhaber wrote:

 Interesting, this happens to both my CDR and regular CD:

 cd0 at ahc0 bus 0 target 3 lun 0
 cd0: MATSHITA CD-ROM CR-508 XS03 Removable CD-ROM SCSI-2 device
 cd0: 10.0MB/s transfers (10.0MHz, offset 15)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: PHILIPS CDD2600 1.07 Removable CD-ROM SCSI-2 device
 cd1: 3.300MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,
 cause not reportable

 It may simply be the way the different devices report that the device is not
 ready/no medium present in the sense data...
 ...if no one else has any good ideas, I may just get a trace of the bus this
 evening and see exactly what is being reported (and when).

Thanks, just let me know if I can do anything to help. I've just remade world  
and kernel, and here's the latest data from both my drives I get with boot  
-v:

(cd0:ahc0:0:4:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd0:ahc0:0:4:0): NOT READY asc:3a,0
(cd0:ahc0:0:4:0): Medium not present
cd0 at ahc0 bus 0 target 4 lun 0
cd0: MATSHITA CD-ROM CR-506 8S05 Removable CD-ROM SCSI-2 device
cd0: 10.0MB/s transfers (10.0MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
...
(cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(cd1:ahc0:0:5:0): NOT READY asc:4,0
(cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
cd1 at ahc0 bus 0 target 5 lun 0
cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
cause not reportable

From this you can see that both drives report differently that the tray is  
empty. Medium not present sounds less of a problem than ... cause not  
reportable. Also, cd0 status is shown immediately on booting, while cd1  
status takes about a minute or so to appear.

Ben

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Ben Stuyts
On Sat, 13 Feb 1999, Kenneth D. Merry wrote:

  (cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
  (cd1:ahc0:0:5:0): NOT READY asc:4,0
  (cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
  cd1 at ahc0 bus 0 target 5 lun 0
  cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
  cd1: 3.300MB/s transfers
  cd1: Attempt to query device size failed: NOT READY, Logical unit not
  ready, cause not reportable

 It probably just means your drive doesn't have a CD in it.  I've seen
 similar reports for other Philips and HP CD-R drives.  In fact, that's why
 0x04-type errors are acceptable for the CD driver's attach routine.  It
 used to be that if it got an error back, the CD driver would only continue
 to attach if that error was a medium not present error.  Because of those
 Philips and HP drives, though, the CD driver will attach even if the error
 is a not ready type error.

Makes sense. I forgot to mention in my original post that I also have another  
cdrom player in my system, and it doesn't generate this error. (cd0:  
MATSHITA CD-ROM CR-506 8S05 Removable CD-ROM SCSI-2 device) That's why I  
thought it was odd.

 Did you boot with -v?  You probably shouldn't be getting the large error
 message above, just the condensed error message from the CD driver if
 you're not booting with -v.

Yes, I did boot with -v. I though it would be useful to give some more info  
about what the driver returned. If I boot w/o -v, I just get the last three or  
four lines of the message.

Thanks for the reply!

Ben

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


RE: CDR says: Attempt to query device size failed...

1999-02-13 Thread Chris D. Faulhaber
On 13-Feb-99 Ben Stuyts wrote:
 I've been getting the following message, usually within a minute or so after 
 booting. It shows up only once, and doesn't seem to interfere with normal  
 operation of the CDR:
 
 (cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd1:ahc0:0:5:0): NOT READY asc:4,0
 (cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
 cd1: 3.300MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Logical unit not ready, 
 cause not reportable
 
 This is not a new error. It has been happening for several months now, but I 
 never got around to reporting this.
 
 Any idea what the problem is?

There is no CD in the drive, which makes the device 'not ready' and therefore
unable to query device size.

If you put a CD in the drive and reboot, you shouldn't get this error.

 
 Thanks,
 Ben
 


- Chris

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Chris D. Faulhaber

On 13-Feb-99 Ben Stuyts wrote:
 On Sat, 13 Feb 1999, Chris D. Faulhaber wrote:
 
  cd1: Attempt to query device size failed: NOT READY, Logical unit not
  ready, cause not reportable
 
 There is no CD in the drive, which makes the device 'not ready' and
 therefore
 unable to query device size.

 If you put a CD in the drive and reboot, you shouldn't get this error.
 
 Correct. I forgot to mention in my original post that I also have another  
 cdrom player in my system, and it doesn't generate this error. (cd0:
 MATSHITA  
 CD-ROM CR-506 8S05 Removable CD-ROM SCSI-2 device) That's why I thought it  
 was odd.
 
 Thanks for the reply!
 
 Ben

Interesting, this happens to both my CDR and regular CD:

cd0 at ahc0 bus 0 target 3 lun 0
cd0: MATSHITA CD-ROM CR-508 XS03 Removable CD-ROM SCSI-2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ahc0 bus 0 target 5 lun 0
cd1: PHILIPS CDD2600 1.07 Removable CD-ROM SCSI-2 device 
cd1: 3.300MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,
cause not reportable

It may simply be the way the different devices report that the device is not
ready/no medium present in the sense data...
...if no one else has any good ideas, I may just get a trace of the bus this
evening and see exactly what is being reported (and when).

- Chris

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message


Re: CDR says: Attempt to query device size failed...

1999-02-13 Thread Kenneth D. Merry
Ben Stuyts wrote...
 On Sat, 13 Feb 1999, Chris D. Faulhaber wrote:
 
  Interesting, this happens to both my CDR and regular CD:
 
  cd0 at ahc0 bus 0 target 3 lun 0
  cd0: MATSHITA CD-ROM CR-508 XS03 Removable CD-ROM SCSI-2 device
  cd0: 10.0MB/s transfers (10.0MHz, offset 15)
  cd0: Attempt to query device size failed: NOT READY, Medium not present
  cd1 at ahc0 bus 0 target 5 lun 0
  cd1: PHILIPS CDD2600 1.07 Removable CD-ROM SCSI-2 device
  cd1: 3.300MB/s transfers
  cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,
  cause not reportable
 
  It may simply be the way the different devices report that the device is not
  ready/no medium present in the sense data...
  ...if no one else has any good ideas, I may just get a trace of the bus this
  evening and see exactly what is being reported (and when).
 
 Thanks, just let me know if I can do anything to help. I've just remade world 
  
 and kernel, and here's the latest data from both my drives I get with boot  
 -v:

There's really nothing to look into or trace.  This is a well known problem
with Philips/HP CD-R's.  They bogusly report logical unit not ready when
no CD is in the drive.  Most CDROM drives report medium not present.

i.e., this is all normal, your drives aren't broken.

 (cd0:ahc0:0:4:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd0:ahc0:0:4:0): NOT READY asc:3a,0
 (cd0:ahc0:0:4:0): Medium not present
 cd0 at ahc0 bus 0 target 4 lun 0
 cd0: MATSHITA CD-ROM CR-506 8S05 Removable CD-ROM SCSI-2 device
 cd0: 10.0MB/s transfers (10.0MHz, offset 15)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 ...
 (cd1:ahc0:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
 (cd1:ahc0:0:5:0): NOT READY asc:4,0
 (cd1:ahc0:0:5:0): Logical unit not ready, cause not reportable
 cd1 at ahc0 bus 0 target 5 lun 0
 cd1: PHILIPS CDD2600 1.06 Removable CD-ROM SCSI-2 device
 cd1: 3.300MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Logical unit not ready,  
 cause not reportable
 
 From this you can see that both drives report differently that the tray is  
 empty. Medium not present sounds less of a problem than ... cause not  
 reportable. Also, cd0 status is shown immediately on booting, while cd1  
 status takes about a minute or so to appear.

The fact that the Philips/HP CD-R's take a long time to report the fact
that they have no media is also known.  For some reason, it takes the
drives up to 20 seconds to respond to a read capacity when they're empty.
We then retry the read command, which takes up to another 20 seconds.

If you want the probe message to appear quicker, leave a CD in the drive.

Ken
-- 
Kenneth Merry
k...@plutotech.com

To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message