* 2 IDE cd-roms + ide-scsi = 4 scsi cdroms ???
@ 2001-09-14 22:07 Joseph Cheek
0 siblings, 0 replies; 3+ messages in thread
From: Joseph Cheek @ 2001-09-14 22:07 UTC (permalink / raw)
To: linux-kernel
hi,
i added a second ide cdrom to this system and now notice that i have
four scsi cdroms show up. really weird. this was on 2.4.7-ac10 and
repros on 2.4.9-ac10.
when i had one cdrom (/dev/hdc) i had just one scsi cdrom after loading
ide-scsi (/dev/sr0).
relevant /var/log/messages portion:
Sep 14 08:58:07 sanfrancisco kernel: SCSI subsystem driver Revision: 1.00
Sep 14 08:58:07 sanfrancisco kernel: scsi0 : SCSI host adapter emulation
for IDE ATAPI | LST System Analysis Friddevices
Sep 14 08:58:07 sanfrancisco kernel: Vendor: LITE-ON Model: LTR-12101B
Rev: LS3G
Sep 14 08:58:07 sanfrancisco kernel: Type: CD-ROM
ANSI SCSI revision: 02
Sep 14 08:58:07 sanfrancisco kernel: Vendor: LITE-ON Model: LTR-12101B
Rev: LS3G
Sep 14 08:58:07 sanfrancisco kernel: Type: CD-ROM
ANSI SCSI revision: 02
Sep 14 08:58:07 sanfrancisco kernel: Vendor: COMPAQ Model: CRD-8322B
Rev: 1.06
Sep 14 08:58:07 sanfrancisco kernel: Type: CD-ROM
ANSI SCSI revision: 02
Sep 14 08:58:07 sanfrancisco kernel: Vendor: COMPAQ Model: CRD-8322B
Rev: 1.06
Sep 14 08:58:07 sanfrancisco kernel: Type: CD-ROM
ANSI SCSI revision: 02
Sep 14 08:58:07 sanfrancisco kernel: Attached scsi CD-ROM sr0 at scsi0,
channel 0, id 0, lun 0
Sep 14 08:58:07 sanfrancisco kernel: Attached scsi CD-ROM sr1 at scsi0,
channel 0, id 0, lun 1
Sep 14 08:58:07 sanfrancisco kernel: Attached scsi CD-ROM sr2 at scsi0,
channel 0, id 1, lun 0
Sep 14 08:58:07 sanfrancisco kernel: Attached scsi CD-ROM sr3 at scsi0,
channel 0, id 1, lun 1
Sep 14 08:58:07 sanfrancisco kernel: sr0: scsi3-mmc drive: 20x/20x
writer cd/rw xa/form2 cdda tray
Sep 14 08:58:07 sanfrancisco kernel: Uniform CD-ROM driver Revision: 3.12
Sep 14 08:58:07 sanfrancisco kernel: sr1: scsi3-mmc drive: 20x/20x
writer cd/rw xa/form2 cdda tray
Sep 14 08:58:07 sanfrancisco kernel: sr2: scsi3-mmc drive: 32x/32x cd/rw
xa/form2 cdda tray
Sep 14 08:58:07 sanfrancisco kernel: sr3: scsi3-mmc drive: 32x/32x cd/rw
xa/form2 cdda tray
# cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.12 2000/10/18
drive name: sr3 sr2 sr1 sr0
drive speed: 32 32 20 20
drive # of slots: 1 1 1 1
Can close tray: 1 1 1 1
Can open tray: 1 1 1 1
Can lock tray: 1 1 1 1
Can change speed: 1 1 1 1
Can select disk: 0 0 0 0
Can read multisession: 1 1 1 1
Can read MCN: 1 1 1 1
Reports media changed: 1 1 1 1
Can play audio: 1 1 1 1
Can write CD-R: 0 0 1 1
Can write CD-RW: 0 0 1 1
Can read DVD: 0 0 0 0
Can write DVD-R: 0 0 0 0
Can write DVD-RAM: 0 0 0 0
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: LITE-ON Model: LTR-12101B Rev: LS3G
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: LITE-ON Model: LTR-12101B Rev: LS3G
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: COMPAQ Model: CRD-8322B Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 01
Vendor: COMPAQ Model: CRD-8322B Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02
# lsmod
Module Size Used by
nfs 73120 1 (autoclean)
lockd 48352 1 (autoclean) [nfs]
sunrpc 64416 1 (autoclean) [nfs lockd]
ospm_system 2192 0 (unused)
ospm_busmgr 11392 0 [ospm_system]
af_packet 9200 1 (autoclean)
nls_iso8859-1 2832 1 (autoclean)
nls_cp437 4352 1 (autoclean)
vfat 9264 1 (autoclean)
fat 29760 0 (autoclean) [vfat]
mga 97952 0 (unused)
agpgart 25920 1
parport_pc 23504 0
parport 24512 0 [parport_pc]
es1371 29952 0
gameport 1520 0 [es1371]
ac97_codec 9072 0 [es1371]
3c59x 25184 1
usb-uhci 21376 0 (unused)
usbcore 49440 1 [usb-uhci]
sound 54912 0 (unused)
soundcore 3856 6 [es1371 sound]
ide-scsi 7376 0
sr_mod 12416 0
scsi_mod 50208 2 [ide-scsi sr_mod]
cdrom 27392 0 [sr_mod]
ide-floppy 10992 0
thanks!
joe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2 IDE cd-roms + ide-scsi = 4 scsi cdroms ???
2001-09-14 23:59 Douglas Gilbert
@ 2001-09-15 0:09 ` Ignacio Vazquez-Abrams
0 siblings, 0 replies; 3+ messages in thread
From: Ignacio Vazquez-Abrams @ 2001-09-15 0:09 UTC (permalink / raw)
To: linux-kernel
On Fri, 14 Sep 2001, Douglas Gilbert wrote:
> Joseph,
> Try turning off CONFIG_SCSI_MULTI_LUN in your kernel
> config and recompile your kernel (or modules in your case
> because lsmod shows all your scsi components are modules).
>
> This will stop 2 luns being seen for each actual
> device.
So then here's a question:
Why does the ide-scsi driver provide 2 LUN's? I can understand in the case of
changers/jukeboxes, but why for single-disc drives?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2 IDE cd-roms + ide-scsi = 4 scsi cdroms ???
@ 2001-09-14 23:59 Douglas Gilbert
2001-09-15 0:09 ` Ignacio Vazquez-Abrams
0 siblings, 1 reply; 3+ messages in thread
From: Douglas Gilbert @ 2001-09-14 23:59 UTC (permalink / raw)
To: Joseph Cheek; +Cc: linux-kernel
Joseph Cheek <joseph@cheek.com> wrote:
> i added a second ide cdrom to this system and now notice that i have
> four scsi cdroms show up. really weird. this was on 2.4.7-ac10 and
> repros on 2.4.9-ac10.
>
> when i had one cdrom (/dev/hdc) i had just one scsi cdrom after loading
> ide-scsi (/dev/sr0).
Joseph,
Try turning off CONFIG_SCSI_MULTI_LUN in your kernel
config and recompile your kernel (or modules in your case
because lsmod shows all your scsi components are modules).
This will stop 2 luns being seen for each actual
device.
Doug Gilbert
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-15 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-14 22:07 2 IDE cd-roms + ide-scsi = 4 scsi cdroms ??? Joseph Cheek
2001-09-14 23:59 Douglas Gilbert
2001-09-15 0:09 ` Ignacio Vazquez-Abrams
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).