* [BUG] DVD assigned wrong SCSI level when using SCSI emulation
@ 2006-01-20 22:38 Alex Davis
2006-01-21 9:45 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Alex Davis @ 2006-01-20 22:38 UTC (permalink / raw)
To: linux-kernel
I've noticed that since I upgraded to 2.6.15, my IDE DVD ROM
is assigned a bogus SCSI level. Here is output from /proc/scsi/scsi:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVD-ROM GDR8082N Rev: 0106
Type: CD-ROM ANSI SCSI revision: 0xffffffff
Here's what I get with 2.6.8.1:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVD-ROM GDR8082N Rev: 0106
Type: CD-ROM ANSI SCSI revision: 02
I did a little digging, and it seems that in drivers/scsi/sr.c,
function get_capabilities(), the call to scsi_mode_sense() is failing (it's returning 134217730).
On a side note, I can't watch DVDs on 2.6.15.
I have ide-scsi and sr-mod loaded as modules.
gcc version is 3.3.6
Here is the config for 2.6.8.1 : http://linux.ace-technologies.biz/config-2.6.8.1
Here is the config for 2.6.15: http://linux.ace-technologies.biz/config-2.6.15
I've tried booting with hdc=scsi; makes no difference.
Here's an excerpt from /var/log/messages:
Jan 19 20:46:29 boss kernel: [ 1.662575] hdc: HL-DT-STDVD-ROM GDR8082N, ATAPI CD/DVD-ROM drive
Jan 19 20:46:29 boss kernel: [ 1.969598] ide1 at 0x170-0x177,0x376 on irq 15
Jan 19 20:46:29 boss kernel: [ 2.039442] IP route cache hash table entries: 65536 (order: 6,
262144 bytes)
Jan 19 20:46:29 boss kernel: [ 2.039716] TCP established hash table entries: 262144 (order: 9,
2097152 bytes)
Jan 19 20:46:29 boss kernel: [ 2.040901] TCP bind hash table entries: 65536 (order: 7, 524288
bytes)
Jan 19 20:46:29 boss kernel: [ 2.042093] Using IPI Shortcut mode
Jan 19 20:46:29 boss kernel: [ 2.052961] VFS: Mounted root (ext2 filesystem) readonly.
Jan 19 20:46:29 boss kernel: [ 4.801179] ide-scsi is deprecated for cd burning! Use ide-cd and
give dev=/dev/hdX as device
Jan 19 20:46:29 boss kernel: [ 4.954103] sr0: scsi-1 drive
I've seen this same phenomena in the dmesg output of another posting on this list.
I can test patches if needed.
Additional info will be provided upon request.
-Alex
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] DVD assigned wrong SCSI level when using SCSI emulation
2006-01-20 22:38 [BUG] DVD assigned wrong SCSI level when using SCSI emulation Alex Davis
@ 2006-01-21 9:45 ` Jan Engelhardt
0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2006-01-21 9:45 UTC (permalink / raw)
To: Alex Davis; +Cc: linux-kernel
>I've noticed that since I upgraded to 2.6.15, my IDE DVD ROM
>is assigned a bogus SCSI level. Here is output from /proc/scsi/scsi:
You are not using ide-scsi, are you?
>Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: HL-DT-ST Model: DVD-ROM GDR8082N Rev: 0106
> Type: CD-ROM ANSI SCSI revision: 0xffffffff
>
>Here's what I get with 2.6.8.1:
>
>Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: HL-DT-ST Model: DVD-ROM GDR8082N Rev: 0106
> Type: CD-ROM ANSI SCSI revision: 02
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] DVD assigned wrong SCSI level when using SCSI emulation
2006-01-21 15:40 Alex Davis
@ 2006-01-21 17:04 ` Jan Engelhardt
0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2006-01-21 17:04 UTC (permalink / raw)
To: Alex Davis; +Cc: linux-kernel
>>>I've noticed that since I upgraded to 2.6.15, my IDE DVD ROM
>>>is assigned a bogus SCSI level. Here is output from /proc/scsi/scsi:
>>
>>You are not using ide-scsi, are you?
>
>Yes, I am. as a module. I stated that in the original post.
>
I remember people called it broken.
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] DVD assigned wrong SCSI level when using SCSI emulation
@ 2006-01-21 15:40 Alex Davis
2006-01-21 17:04 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Alex Davis @ 2006-01-21 15:40 UTC (permalink / raw)
To: linux-kernel
Jan Engelhardt wrote:
>>I've noticed that since I upgraded to 2.6.15, my IDE DVD ROM
>>is assigned a bogus SCSI level. Here is output from /proc/scsi/scsi:
>
>You are not using ide-scsi, are you?
Yes, I am. as a module. I stated that in the original post.
I code, therefore I am
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-21 17:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20 22:38 [BUG] DVD assigned wrong SCSI level when using SCSI emulation Alex Davis
2006-01-21 9:45 ` Jan Engelhardt
2006-01-21 15:40 Alex Davis
2006-01-21 17:04 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).