linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* getting cdrom into ide-scsi
@ 2002-12-21 12:12 Paulo Jorge O. C. Matos
  2002-12-21 15:56 ` The Daemon Balrog
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paulo Jorge O. C. Matos @ 2002-12-21 12:12 UTC (permalink / raw)
  To: linux-admin

Hi all,

To record a cd I need to put my cdrom writer in ide-scsi so that's what 
I did. cdwriter is /dev/hdb, normal cdrom is /dev/hdd. I did:
image = /vmlinuz-2.4.17
   root = /dev/hda2
   label = Linux-2.4.17
   read-only
   append="hdb=ide-scsi"

But then I needed to duplicate a cd so normal cdrom also needs ide-scsi so:
image = /vmlinuz-2.4.17
   root = /dev/hda2
   label = Linux-2.4.17
   read-only
   append="hdb=ide-scsi, hdd=ide-scsi"

But now hdb no longer appears in cdrecord -scanbus, only hdd shows up. 
hdb is not! How can I put both?
And then, what's the device I should listen to, for listening audio 
cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
/dev/hdd respectively are no longer working!


Best regards,
-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
  - > http://mega.ist.utl.pt/~pocm                               2003!!!
  ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: getting cdrom into ide-scsi
  2002-12-21 12:12 getting cdrom into ide-scsi Paulo Jorge O. C. Matos
@ 2002-12-21 15:56 ` The Daemon Balrog
  2002-12-21 20:10   ` Paulo Jorge O. C. Matos
  2002-12-21 19:41 ` Xavier
  2002-12-23  7:50 ` Glynn Clements
  2 siblings, 1 reply; 6+ messages in thread
From: The Daemon Balrog @ 2002-12-21 15:56 UTC (permalink / raw)
  To: linux-admin

Paulo, probably the /dev/hd* devices are redirected to /dev/sr[0123...].
Do a dmesg command and watch for that devices. What do you see?

On Sat, 2002-12-21 at 10:12, Paulo Jorge O. C. Matos wrote:
> Hi all,
> 
> To record a cd I need to put my cdrom writer in ide-scsi so that's what 
> I did. cdwriter is /dev/hdb, normal cdrom is /dev/hdd. I did:
> image = /vmlinuz-2.4.17
>    root = /dev/hda2
>    label = Linux-2.4.17
>    read-only
>    append="hdb=ide-scsi"
> 
> But then I needed to duplicate a cd so normal cdrom also needs ide-scsi so:
> image = /vmlinuz-2.4.17
>    root = /dev/hda2
>    label = Linux-2.4.17
>    read-only
>    append="hdb=ide-scsi, hdd=ide-scsi"
> 
> But now hdb no longer appears in cdrecord -scanbus, only hdd shows up. 
> hdb is not! How can I put both?
> And then, what's the device I should listen to, for listening audio 
> cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
> /dev/hdd respectively are no longer working!
> 
> 
> Best regards,
> -- 
> Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
> Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
> Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
>   - > http://mega.ist.utl.pt/~pocm                               2003!!!
>   ---	
> 	Yes, God had a deadline...
> 		So, He wrote it all in Lisp!
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


_______________________________________________________________________
Busca Yahoo!
O melhor lugar para encontrar tudo o que você procura na Internet
http://br.busca.yahoo.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: getting cdrom into ide-scsi
  2002-12-21 12:12 getting cdrom into ide-scsi Paulo Jorge O. C. Matos
  2002-12-21 15:56 ` The Daemon Balrog
@ 2002-12-21 19:41 ` Xavier
  2002-12-21 20:11   ` Paulo Jorge O. C. Matos
  2002-12-23  7:50 ` Glynn Clements
  2 siblings, 1 reply; 6+ messages in thread
From: Xavier @ 2002-12-21 19:41 UTC (permalink / raw)
  To: linux-admin

hi,

I've got the same kind of configuration as you.
The devices show up as /dev/sr0 and /dev/sr1 (if you don't forget
to compile the sr_mod module, as I first did ;).
You simply should'nt use a comma between kernel parameters, 
in the "append" line.
My lilo.conf append line looks like this:
 append="hdc=ide-scsi hdd=ide-scsi"
Modify this line, run lilo, reboot and tell us if it really was 
the problem ;)

Xavier.


On Sat, Dec 21, 2002 at 12:12:15PM +0000, Paulo Jorge O. C. Matos wrote:
> Hi all,
> 
> To record a cd I need to put my cdrom writer in ide-scsi so that's what 
> I did. cdwriter is /dev/hdb, normal cdrom is /dev/hdd. I did:
> image = /vmlinuz-2.4.17
>   root = /dev/hda2
>   label = Linux-2.4.17
>   read-only
>   append="hdb=ide-scsi"
> 
> But then I needed to duplicate a cd so normal cdrom also needs ide-scsi so:
> image = /vmlinuz-2.4.17
>   root = /dev/hda2
>   label = Linux-2.4.17
>   read-only
>   append="hdb=ide-scsi, hdd=ide-scsi"
> 
> But now hdb no longer appears in cdrecord -scanbus, only hdd shows up. 
> hdb is not! How can I put both?
> And then, what's the device I should listen to, for listening audio 
> cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
> /dev/hdd respectively are no longer working!
> 
> 
> Best regards,
> -- 
> Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
> Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
> Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
>  - > http://mega.ist.utl.pt/~pocm                               2003!!!
>  ---	
> 	Yes, God had a deadline...
> 		So, He wrote it all in Lisp!
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: getting cdrom into ide-scsi
  2002-12-21 15:56 ` The Daemon Balrog
@ 2002-12-21 20:10   ` Paulo Jorge O. C. Matos
  0 siblings, 0 replies; 6+ messages in thread
From: Paulo Jorge O. C. Matos @ 2002-12-21 20:10 UTC (permalink / raw)
  To: The Daemon Balrog; +Cc: linux-admin

The Daemon Balrog wrote:
> Paulo, probably the /dev/hd* devices are redirected to /dev/sr[0123...].
> Do a dmesg command and watch for that devices. What do you see?
> 

You're right! Thanks a lot! :)

Best regards,
Paulo

> On Sat, 2002-12-21 at 10:12, Paulo Jorge O. C. Matos wrote:
> 
>>Hi all,
>>
>>To record a cd I need to put my cdrom writer in ide-scsi so that's what 
>>I did. cdwriter is /dev/hdb, normal cdrom is /dev/hdd. I did:
>>image = /vmlinuz-2.4.17
>>   root = /dev/hda2
>>   label = Linux-2.4.17
>>   read-only
>>   append="hdb=ide-scsi"
>>
>>But then I needed to duplicate a cd so normal cdrom also needs ide-scsi so:
>>image = /vmlinuz-2.4.17
>>   root = /dev/hda2
>>   label = Linux-2.4.17
>>   read-only
>>   append="hdb=ide-scsi, hdd=ide-scsi"
>>
>>But now hdb no longer appears in cdrecord -scanbus, only hdd shows up. 
>>hdb is not! How can I put both?
>>And then, what's the device I should listen to, for listening audio 
>>cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
>>/dev/hdd respectively are no longer working!
>>
>>
>>Best regards,
>>-- 
>>Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
>>Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
>>Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
>>  - > http://mega.ist.utl.pt/~pocm                               2003!!!
>>  ---	
>>	Yes, God had a deadline...
>>		So, He wrote it all in Lisp!
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 
> _______________________________________________________________________
> Busca Yahoo!
> O melhor lugar para encontrar tudo o que você procura na Internet
> http://br.busca.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
  - > http://mega.ist.utl.pt/~pocm                               2003!!!
  ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: getting cdrom into ide-scsi
  2002-12-21 19:41 ` Xavier
@ 2002-12-21 20:11   ` Paulo Jorge O. C. Matos
  0 siblings, 0 replies; 6+ messages in thread
From: Paulo Jorge O. C. Matos @ 2002-12-21 20:11 UTC (permalink / raw)
  To: Xavier; +Cc: linux-admin


> hi,
> 
> I've got the same kind of configuration as you.
> The devices show up as /dev/sr0 and /dev/sr1 (if you don't forget
> to compile the sr_mod module, as I first did ;).
> You simply should'nt use a comma between kernel parameters, 
> in the "append" line.
> My lilo.conf append line looks like this:
>  append="hdc=ide-scsi hdd=ide-scsi"
> Modify this line, run lilo, reboot and tell us if it really was 
> the problem ;)
> 

You're just about right. Everything is working great now. Thanks a lot!

Best regards,

Paulo

> Xavier.
> 
> 
> On Sat, Dec 21, 2002 at 12:12:15PM +0000, Paulo Jorge O. C. Matos wrote:
> 
>>Hi all,
>>
>>To record a cd I need to put my cdrom writer in ide-scsi so that's what 
>>I did. cdwriter is /dev/hdb, normal cdrom is /dev/hdd. I did:
>>image = /vmlinuz-2.4.17
>>  root = /dev/hda2
>>  label = Linux-2.4.17
>>  read-only
>>  append="hdb=ide-scsi"
>>
>>But then I needed to duplicate a cd so normal cdrom also needs ide-scsi so:
>>image = /vmlinuz-2.4.17
>>  root = /dev/hda2
>>  label = Linux-2.4.17
>>  read-only
>>  append="hdb=ide-scsi, hdd=ide-scsi"
>>
>>But now hdb no longer appears in cdrecord -scanbus, only hdd shows up. 
>>hdb is not! How can I put both?
>>And then, what's the device I should listen to, for listening audio 
>>cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
>>/dev/hdd respectively are no longer working!
>>
>>
>>Best regards,
>>-- 
>>Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
>>Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
>>Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
>> - > http://mega.ist.utl.pt/~pocm                               2003!!!
>> ---	
>>	Yes, God had a deadline...
>>		So, He wrote it all in Lisp!
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
Instituto Superior Tecnico - Lisbon          WISHING YOU A MERRY
Software & Computer Engineering - A.I.        CHRISTMAS, AND A GREAT
  - > http://mega.ist.utl.pt/~pocm                               2003!!!
  ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: getting cdrom into ide-scsi
  2002-12-21 12:12 getting cdrom into ide-scsi Paulo Jorge O. C. Matos
  2002-12-21 15:56 ` The Daemon Balrog
  2002-12-21 19:41 ` Xavier
@ 2002-12-23  7:50 ` Glynn Clements
  2 siblings, 0 replies; 6+ messages in thread
From: Glynn Clements @ 2002-12-23  7:50 UTC (permalink / raw)
  To: pocm; +Cc: linux-admin


Paulo Jorge O. C. Matos wrote:

> And then, what's the device I should listen to, for listening audio 
> cd's. /dev/cdrom and /dev/cdrom1 that are pointing to /dev/hdb and 
> /dev/hdd respectively are no longer working!

SCSI CD-ROM devices may be called either "scd*" (e.g. "/dev/scd0") or
"sr*" (e.g. "/dev/sr0"); this is the name to which the /dev/cdrom
symlink should point, e.g.

	$ ls -l /dev/cdrom
	lrwxrwxrwx    1 glynn    root            4 Apr  2  2002 /dev/cdrom -> scd0


These devices are used for reading from the CD, and behave identically
to IDE CD-ROM devices. Regardless of the name, the device will be a
block device with major number 11, e.g.

	$ ls -l /dev/scd0
	brw-------    1 glynn    disk      11,   0 May  5  1998 /dev/scd0

CD writing is handled by a separated SCSI "generic" device, e.g. 
/dev/sg0; however, most software seems to use bus/target/LUN
addresses, so you seldom need to refer to the generic device.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-23  7:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-21 12:12 getting cdrom into ide-scsi Paulo Jorge O. C. Matos
2002-12-21 15:56 ` The Daemon Balrog
2002-12-21 20:10   ` Paulo Jorge O. C. Matos
2002-12-21 19:41 ` Xavier
2002-12-21 20:11   ` Paulo Jorge O. C. Matos
2002-12-23  7:50 ` Glynn Clements

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).