SCSI INQUIRY FAILED

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
sjox
Donor
Posts: 42
Joined: 14. Nov 2012, 17:29

SCSI INQUIRY FAILED

Post by sjox »

Hello!

I have an annoying Problem with my CD/DVD drive.
If i put in a CD or DVD the system freeze and i have to turn off and on again.

The Problem is seen in the output of dmesg:
.
[ 17.246755] scsi scan: 96 byte inquiry failed. Consider BLIST_INQUIRY_36 for this device
[ 17.247730] scsi 3:0:0:0: CD-ROM MATSHITA DVD-RAM UJ-820S 1.00 PQ: 0 ANSI: 5
[ 24.042530] sr0: scsi-1 drive
[ 24.042608] cdrom: Uniform CD-ROM driver Revision: 3.20
.
Rarely the boot ist essential faster and the problem is non-existent, then the output looks like:
.
[ 107.894140] scsi 3:0:0:0: CD-ROM MATSHITA DVD-RAM UJ-820S 1.00 PQ: 0 ANSI: 5
[ 107.897382] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 107.897392] cdrom: Uniform CD-ROM driver Revision: 3.20
.
There is a unsophisticated solution:
The comand "rescan-scsi-bus" in the "rc.local" makes it!

But this solution is not very smart because:
a)
If i have forgotten a CD in the drive from the last session, the boot hangs.
b)
Every boot take very long about scsi scanning. (see above - line with "96 byte inquiry failed")
c)
Mabye its "only" a timing problem - waiting at least 20 seconds at the lilo-prompt, making the remainder boot fast and ok!

Is there a possible scsi-kernel-parameter for lilo.conf?

(My current append-line in lilo.conf but it don't help:
append="rootfstype=ext4 max_scsi_luns=8 vt.default_utf8=1")

My system is the 14.1 Openbox with non-pae kernel! (huge.s)
(Linux darkstar 3.10.17 #2 Wed Oct 23 17:46:52 CDT 2013 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux)


thanks
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: SCSI INQUIRY FAILED

Post by gapan »

Just a guess: try adding:

Code: Select all

libata.dma=0
to your kernel options.
Image
Image
User avatar
sjox
Donor
Posts: 42
Joined: 14. Nov 2012, 17:29

Re: SCSI INQUIRY FAILED

Post by sjox »

thanks for the hint, unfortunately it doesn't work...
I have found and tested many other kernelparameters, the also could not help!
(tested with Slackware too)
So i will stay with the command "rescan-scsi-bus" at the end of boot!
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: SCSI INQUIRY FAILED

Post by gapan »

You could also try using a newer version o the kernel. If it is a kernel problem, it might have been fixed. But it might be a hardware problem after all...
Image
Image
User avatar
sjox
Donor
Posts: 42
Joined: 14. Nov 2012, 17:29

Re: SCSI INQUIRY FAILED

Post by sjox »

Damn - it works!
libata.dma=0 already helped!!
After changing the parameters in "lilo.conf" i have probably forgotten to command "lilo" or made a silly typo.
In my defense it was dizzying because sometimes it worked well.

By the way:
Debian (Wheezy) has other problems (touchpad, hard disk or extremely slow)
but the DVD drive has always worked well :o

Now currently i only changed the DVD drive to PIO-Mode (libata.dma=1).

Thank you very much!
Post Reply