Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman

On Fri, May 18, 2007 at 11:14:50AM +0300, Simon Phoenix wrote:
 
 I have the same error message since version 1.42.2.3 of the atapi-cam.c.
 Hangs while writing media was fixed in 1.42.2.4, but this error message
 not disappear.
 
 acd0: DMA limited to UDMA33, controller found non-ATA66 cable
 acd0: DVDR ASUS DRW-1604P/1.09 at ata1-master UDMA33
 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
 0x01

Yes; and from what little I know about this, it is a necessary thing
to have atapicam as a kernel device because USB flash drives require it:

camcontrol devlist
PLEXTOR CD-R   PX-W1610A 1.04at scbus1 target 0 lun 0 (cd0,pass0)
SanDisk Cruzer Mini 0.3  at scbus2 target 0 lun 0 (da0,pass1)

Without this:

device   atapicam

there is no use for this:

device  da  # Direct Access (disks)

What I cannot figure out is why only two people are reporting the
existence of this problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Fri, May 18, 2007 at 11:14:50AM +0300, Simon Phoenix wrote:
  I have the same error message since version 1.42.2.3 of the atapi-cam.c.
  Hangs while writing media was fixed in 1.42.2.4, but this error message
  not disappear.
 
  acd0: DMA limited to UDMA33, controller found non-ATA66 cable
  acd0: DVDR ASUS DRW-1604P/1.09 at ata1-master UDMA33
  acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
  0x01

 What I cannot figure out is why only two people are reporting the
 existence of this problem.

The reason I have not commented on this is that, other than the error message 
on boot, I have not had any problems.

~ %camcontrol devlist
LITE-ON LTR-32123S XS0U  at scbus2 target 0 lun 0 (cd0,pass0)

~ %dmesg | grep acd0
acd0: CDRW LITE-ON LTR-32123S/XS0U at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

~ %grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03 09:38:54 
thomas Exp $);

Cheers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
[NB: I'm using the archive for -questions to reply to Norbert Papke]

Norbert, you do not have the same file that I have.

You have:

grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
09:38:54 thomas Exp $);

I have:

grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
16:19:42 thomas Exp $);

If you don't wish to have the issue I have, I think it might be wise
to refrain from updating your source tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 [NB: I'm using the archive for -questions to reply to Norbert Papke]

 Norbert, you do not have the same file that I have.

 You have:

 grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
 09:38:54 thomas Exp $);

 I have:

 grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
 16:19:42 thomas Exp $);

Apologies.  I joined the thread late and didn't pick on the specific version 
you were having problems with.

 If you don't wish to have the issue I have, I think it might be wise
 to refrain from updating your source tree.

Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
have successfully copied a data CD using K3B.  But then, I may not be testing 
the right thing.  Is there a specific operation that you are having problems 
with?

Cheers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Norbert Papke wrote:
 On May 19, 2007, Joe Altman wrote:
  [NB: I'm using the archive for -questions to reply to Norbert Papke]
 
  Norbert, you do not have the same file that I have.
 
  You have:
 
  grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
  __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
  09:38:54 thomas Exp $);
 
  I have:
 
  grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
  __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
  16:19:42 thomas Exp $);

 Apologies.  I joined the thread late and didn't pick on the specific
 version you were having problems with.

  If you don't wish to have the issue I have, I think it might be wise
  to refrain from updating your source tree.

 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
 than the ILLEGAL REQUEST error on boot, I am not experiencing any
 problems.  I have successfully copied a data CD using K3B.  But then, I may
 not be testing the right thing.  Is there a specific operation that you are
 having problems with?

 Cheers.

I didn't notice this while I was copying the CD, but checking the logs I see 
additional errors:

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00

Not sure if these are significant.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
 
 Apologies.  I joined the thread late and didn't pick on the specific version 
 you were having problems with.

That's okay; I just wanted to point out that perhaps you should not
update source...

 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
 the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
 have successfully copied a data CD using K3B.  But then, I may not be testing 
 the right thing.  Is there a specific operation that you are having problems 
 with?

Buh...then I just don't know. Can you play a music CD?  For me, Grip
and XMMS act as if no audio CD is in the tray.

I can mount a data CD, unmount it, and then the tray will not open. I
suspect a reboot will be required to open it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:08:01PM -0700, Norbert Papke wrote:
 
 I didn't notice this while I was copying the CD, but checking the logs I see 
 additional errors:
 
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00
 
 Not sure if these are significant.

I wrote to the maintainer for atapi-cam.c; here is his reply:

* Joe Altman, 2007-05-19 :

 My apologies for disturbing you; I imagine that you are quite busy,
 but I wonder if you are the thomas listed here:

 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5
 2007/05/15
 16:19:42 thomas Exp $);

I am, and I just wanted to acknowledge your message, unfortunately I
won't be able to further look into it immediately, as I'm about to
leave for vacation... I'm keeping it on my inbound list, feel free to
ping me if I don't get back to you within 2 weeks.

All the best,
Thomas.


So I guess I wait.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
 
 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
 the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
 have successfully copied a data CD using K3B.  But then, I may not be testing 
 the right thing.  Is there a specific operation that you are having problems 
 with?

I've pulled atapicam from my kernel file, and the problem has
vanished.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
  Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
  than the ILLEGAL REQUEST error on boot, I am not experiencing any
  problems.  I have successfully copied a data CD using K3B.  But then, I
  may not be testing the right thing.  Is there a specific operation that
  you are having problems with?

 Buh...then I just don't know. Can you play a music CD?  For me, Grip
 and XMMS act as if no audio CD is in the tray.

I have just ripped a CD using Grip.  It worked fine.  Subjectively, it seemed 
faster than before (not sure if this makes any sense).  I noticed the 
following error repeated once for every track ripped:

acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 ascq=0x00

I didn't try xmms, I don't have it installed.

 I can mount a data CD, unmount it, and then the tray will not open. I
 suspect a reboot will be required to open it.

I have had no problems with opening the tray.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Norbert Papke
On May 19, 2007, Joe Altman wrote:
 On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
  Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other
  than the ILLEGAL REQUEST error on boot, I am not experiencing any
  problems.  I have successfully copied a data CD using K3B.  But then, I
  may not be testing the right thing.  Is there a specific operation that
  you are having problems with?

 I've pulled atapicam from my kernel file, and the problem has
 vanished.

I am glad you have a work-around.

Cheers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-18 Thread Simon Phoenix
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Joe Altman said the following on 18.05.2007 06:24:
 The subject line contains the dmesg that indicates...something; the
 symptom is that CDs aren't seen by the drive:
 
 acd0: CDRW PLEXTOR CD-R PX-W1610A/1.04 at ata1-master PIO4
 
 uname -a
 
 FreeBSD chthonic.chthonixia.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed
 May 16 00:16:21 EDT 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CHTHONIC  i386
 
 Old kernel and associated modules:
 
 May 11, 21:35 EDT. 
 
 Looking via Google for the error turns up this thread on -stable:
 
 
 
 Andrei V. Lavreniyuk bamston at reactor-xg.kiev.ua
 Mon Apr 23 09:08:54 UTC 2007
 
 Hi!
 
 I believe the culprit is somewhere in a recent MFC to atapi-cam.c
 (rev 1.42.2.3) reverting to rev 1.42.2.2 fixes both the k3b system
 hangs and INQUIRY ILLEGAL REQUEST errors here.
 
 I utillized the version of atapi-cam.c (rev. 1.42.2.1) and all works
 normally.
 
 ===
 
 I have this version of the file:
 
 #include sys/cdefs.h
 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15 
 16:19:42 thomas Exp $);
 
 So AFAICT, either this was not the relevant file; or a fix for the
 bug was never committed; or perhaps a fix was committed, but doesn't
 quite work; or perhaps the bug crept back in...but I don't know.
 
 In any event, I need a clue: is this file, atapi-cam.c, the one to
 assume contains the source of this error? If so, I suppose I need to
 submit a bug report.
 

I have the same error message since version 1.42.2.3 of the atapi-cam.c.
Hangs while writing media was fixed in 1.42.2.4, but this error message
not disappear.

acd0: DMA limited to UDMA33, controller found non-ATA66 cable
acd0: DVDR ASUS DRW-1604P/1.09 at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
0x01

- --
Best regards,
Simon Phoenix (Phoenix Lab.)
- ---
KeyID: 0x2569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTWB1hLjVFCVp0wsRCrVAAJ9hhjF9hjzn2pfhA8OeRjEsBJn5dQCgyaXo
ZuaMWuPND6PJ3WLQ3CieYY4=
=TARg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-17 Thread Joe Altman
The subject line contains the dmesg that indicates...something; the
symptom is that CDs aren't seen by the drive:

acd0: CDRW PLEXTOR CD-R PX-W1610A/1.04 at ata1-master PIO4

uname -a

FreeBSD chthonic.chthonixia.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed
May 16 00:16:21 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CHTHONIC  i386

Old kernel and associated modules:

May 11, 21:35 EDT. 

Looking via Google for the error turns up this thread on -stable:



Andrei V. Lavreniyuk bamston at reactor-xg.kiev.ua
Mon Apr 23 09:08:54 UTC 2007

Hi!

 I believe the culprit is somewhere in a recent MFC to atapi-cam.c
 (rev 1.42.2.3) reverting to rev 1.42.2.2 fixes both the k3b system
 hangs and INQUIRY ILLEGAL REQUEST errors here.

I utillized the version of atapi-cam.c (rev. 1.42.2.1) and all works
normally.

===

I have this version of the file:

#include sys/cdefs.h
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15 16:19:42 
thomas Exp $);

So AFAICT, either this was not the relevant file; or a fix for the
bug was never committed; or perhaps a fix was committed, but doesn't
quite work; or perhaps the bug crept back in...but I don't know.

In any event, I need a clue: is this file, atapi-cam.c, the one to
assume contains the source of this error? If so, I suppose I need to
submit a bug report.

Thanks, and best regards,

Joe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]