* CD Changer @ 2003-01-19 21:30 Alexandre April 2003-01-20 4:28 ` Randy.Dunlap 2003-01-20 7:23 ` Jan-Benedict Glaw 0 siblings, 2 replies; 9+ messages in thread From: Alexandre April @ 2003-01-19 21:30 UTC (permalink / raw) To: linux-kernel I need to be able to export all 4 of my CDR-251 4x4 CD Changer using NFS or SAMBA. I found some way to do it but never been able to accomplish it, cause of older kernel. I'm running on a 2.4.18-14 kernel. Any idea how ? Alex ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-19 21:30 CD Changer Alexandre April @ 2003-01-20 4:28 ` Randy.Dunlap 2003-01-20 12:57 ` Alexandre April 2003-01-20 7:23 ` Jan-Benedict Glaw 1 sibling, 1 reply; 9+ messages in thread From: Randy.Dunlap @ 2003-01-20 4:28 UTC (permalink / raw) To: Alexandre April; +Cc: linux-kernel On Sun, 19 Jan 2003, Alexandre April wrote: | I need to be able to export all 4 of my CDR-251 4x4 CD Changer | using NFS or SAMBA. I found some way to do it but never been able to | accomplish it, cause of older kernel. I'm running on a 2.4.18-14 kernel. | | Any idea how ? The only CD changer patch I know of is for 2.2.x. Did you already look at this? http://unfix.org/projects/changer/ -- ~Randy ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 4:28 ` Randy.Dunlap @ 2003-01-20 12:57 ` Alexandre April 2003-01-20 13:28 ` David D. Hagood 0 siblings, 1 reply; 9+ messages in thread From: Alexandre April @ 2003-01-20 12:57 UTC (permalink / raw) To: Randy.Dunlap; +Cc: linux-kernel I'm using kernel 2.4.x and to be able to use that patch I'll have do modify some compatibility issue, and I don't have time righht now to to that ! Alex ----- Original Message ----- From: "Randy.Dunlap" <rddunlap@osdl.org> To: "Alexandre April" <alexandre.april@sympatico.ca> Cc: <linux-kernel@vger.kernel.org> Sent: Sunday, January 19, 2003 11:28 PM Subject: Re: CD Changer > On Sun, 19 Jan 2003, Alexandre April wrote: > > | I need to be able to export all 4 of my CDR-251 4x4 CD Changer > | using NFS or SAMBA. I found some way to do it but never been able to > | accomplish it, cause of older kernel. I'm running on a 2.4.18-14 kernel. > | > | Any idea how ? > > The only CD changer patch I know of is for 2.2.x. > Did you already look at this? > http://unfix.org/projects/changer/ > > -- > ~Randy > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 12:57 ` Alexandre April @ 2003-01-20 13:28 ` David D. Hagood 0 siblings, 0 replies; 9+ messages in thread From: David D. Hagood @ 2003-01-20 13:28 UTC (permalink / raw) To: Alexandre April; +Cc: linux-kernel Alexandre April wrote: > I'm using kernel 2.4.x and to be able to use that patch I'll have do modify > some compatibility issue, and I don't have time righht now to to that ! The problem is that Linus did not see fit to make the IDE changer code present an IDE changer as multiple block devices, as a SCSI changer is. As a result, you cannot mount each disk in the changer seperately - all you have is a tool to change which disk is accessed by the single block device. Linus's stated position is that since a disk change takes a fair amount of time, in a situation where multiple users are accessing different disks the system could thrash between the disks and go nowhere, slowly. If you search old LKML posts of about three years ago you should be able to find his exact post. Now, I would dispute the logic, since the SCSI changer behavior is identical - I have both a SCSI changer and an IDE changer, and the SCSI changer will thrash if multiple processes are accessing different disks. Since SCSI does it, I see no reason why IDE cannot be allowed the same behavior. However, it's called "Linux" not "Davix"... However, given that you can buy a 120G drive for US$120 or so, a changer has a lot less utility now-a-days. Just buy a cheap hard disk and copy the CDs onto it. That way, you have faster access, switch time is eliminated, and wear-and-tear on the disks and the changer are eliminated. You could even DD the disk to a file, and mount that file as an ISO9660 file system using loopback, thus preserving all the "CD-ishness" of the data. Even if users wish to change disks - you can store a lot of disks in 120G of storage - just copy the disk over and mount the copy. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-19 21:30 CD Changer Alexandre April 2003-01-20 4:28 ` Randy.Dunlap @ 2003-01-20 7:23 ` Jan-Benedict Glaw 2003-01-20 12:56 ` Alexandre April 1 sibling, 1 reply; 9+ messages in thread From: Jan-Benedict Glaw @ 2003-01-20 7:23 UTC (permalink / raw) To: linux-kernel [-- Attachment #1: Type: text/plain, Size: 1110 bytes --] On Sun, 2003-01-19 16:30:12 -0500, Alexandre April <alexandre.april@sympatico.ca> wrote in message <002c01c2c001$f36db9f0$0a01a8c0@aaprilhome>: > I need to be able to export all 4 of my CDR-251 4x4 CD Changer > using NFS or SAMBA. I found some way to do it but never been able to > accomplish it, cause of older kernel. I'm running on a 2.4.18-14 kernel. I used to use a 7way CD-Changer (a SCSI model) over years. It's quite simple, no patches requited. I simply had to switch on "Scan all LUNs" in kernel's config. Then, all four slots appear as separate devices so you can mount them all (in parallel) and share them (by NFS/SMB/...). However, because there's actually only one CD drive inside the box, persormance suck mountains is you access two (or more) CDs at a time, because they're constantly swapped... MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur fuer einen Freien Staat voll Freier Bürger" | im Internet! Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 7:23 ` Jan-Benedict Glaw @ 2003-01-20 12:56 ` Alexandre April 2003-01-20 13:19 ` Jan-Benedict Glaw 0 siblings, 1 reply; 9+ messages in thread From: Alexandre April @ 2003-01-20 12:56 UTC (permalink / raw) To: Jan-Benedict Glaw, linux-kernel Does it work for IDE CD changer as well ? Alex ----- Original Message ----- From: "Jan-Benedict Glaw" <jbglaw@lug-owl.de> To: <linux-kernel@vger.kernel.org> Sent: Monday, January 20, 2003 2:23 AM Subject: Re: CD Changer ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 12:56 ` Alexandre April @ 2003-01-20 13:19 ` Jan-Benedict Glaw 2003-01-20 13:23 ` Alexandre April 0 siblings, 1 reply; 9+ messages in thread From: Jan-Benedict Glaw @ 2003-01-20 13:19 UTC (permalink / raw) To: linux-kernel [-- Attachment #1: Type: text/plain, Size: 726 bytes --] On Mon, 2003-01-20 07:56:31 -0500, Alexandre April <alexandre.april@sympatico.ca> wrote in message <00d201c2c083$5aceb460$0500000b@shiva.com>: > Does it work for IDE CD changer as well ? Well, they don't exactly have "LUNs", as this is a SCSI thing. You'd possibly try the ide-scsi module on it, though. Basically, _all_ CD-ROM drives are (based on their commands) SCSI devices controlled over an IDE bus. Maybe ide-scsi works here... MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur fuer einen Freien Staat voll Freier Bürger" | im Internet! Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 13:19 ` Jan-Benedict Glaw @ 2003-01-20 13:23 ` Alexandre April 2003-01-20 13:39 ` Markus Plail 0 siblings, 1 reply; 9+ messages in thread From: Alexandre April @ 2003-01-20 13:23 UTC (permalink / raw) To: Jan-Benedict Glaw, linux-kernel Well I tried using ide-scsi for the CD changer device but without your "Scan all LUNs" and it showed only one device so I suppose if I turn that switch on I'll probably gonna see all 4 cd in different LUNs. Do you have the exact swicth for Scan all LUNs ? Alex ----- Original Message ----- From: "Jan-Benedict Glaw" <jbglaw@lug-owl.de> To: <linux-kernel@vger.kernel.org> Sent: Monday, January 20, 2003 8:19 AM Subject: Re: CD Changer ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: CD Changer 2003-01-20 13:23 ` Alexandre April @ 2003-01-20 13:39 ` Markus Plail 0 siblings, 0 replies; 9+ messages in thread From: Markus Plail @ 2003-01-20 13:39 UTC (permalink / raw) To: linux-kernel * Alexandre April writes: >Well I tried using ide-scsi for the CD changer device but without your >"Scan all LUNs" and it showed only one device so I suppose if I turn >that switch on I'll probably gonna see all 4 cd in different LUNs. >Do you have the exact swicth for Scan all LUNs ? [plail@plailis_lfs]grep LUN /usr/src/linux/.config # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # CONFIG_SCSI_MULTI_LUN is not set SCSI support -> Probe all LUNs on each SCSI device HTH Markus ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-01-20 13:32 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-01-19 21:30 CD Changer Alexandre April 2003-01-20 4:28 ` Randy.Dunlap 2003-01-20 12:57 ` Alexandre April 2003-01-20 13:28 ` David D. Hagood 2003-01-20 7:23 ` Jan-Benedict Glaw 2003-01-20 12:56 ` Alexandre April 2003-01-20 13:19 ` Jan-Benedict Glaw 2003-01-20 13:23 ` Alexandre April 2003-01-20 13:39 ` Markus Plail
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox