Skip to contentSkip to conversation

getting cdrom into ide-scsi

DISCUSSION Paulo Jorge O. C. Matos 4 participants 6 messages Dec 21, 2002 – Dec 23, 2002

lore
Share & tools
lore
#0 lore raw

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,

Signature · 7 lines
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!
#1 lore raw

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?

Quoted 17 lines · Paulo Jorge O. C. Matos

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"

Quoted 21 lines

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,

Signature · 12 lines
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 [email protected]
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/

#3 lore raw
In reply to Paulo Jorge O. C. Matos

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.

Quoted 38 lines · Paulo Jorge O. C. Matos

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,

Signature · 12 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to The Daemon Balrog
Quoted 3 lines · The Daemon Balrog

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

Quoted 52 lines · Paulo Jorge O. C. Matos
Quoted 18 lines

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"

Quoted 21 lines

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,

Signature · 12 lines
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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 12 lines
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to Xavier
Quoted 11 lines

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

Quoted 45 lines

Xavier.

Quoted 16 lines · Paulo Jorge O. C. Matos

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"

Quoted 18 lines

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,

Signature · 12 lines
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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 7 lines
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!
#5 lore raw
In reply to Paulo Jorge O. C. Matos
Quoted 3 lines · Paulo Jorge O. C. Matos

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.

Signature · 1 line
Glynn Clements <[email protected]>