NSLU2-Linux
view · edit · print · history

OpenSlug.AddExternalCDROMorDVD History

Hide minor edits - Show changes to markup

March 31, 2006, at 08:47 PM by mrkzander --
Changed lines 14-36 from:

(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) usb 1-2.3: USB disconnect, address 8

usb 1-2.3: new high speed USB device using ehci_hcd and address 9

scsi6 : SCSI emulation for USB Mass Storage devices

usb-storage: device found at 9

usb-storage: waiting for device to settle before scanning

  Vendor: LITE-ON   Model: DVDRW SHW-1635S   Rev: YS0J?

  Type:   CD-ROM                             ANSI SCSI revision: 00

sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray

Attached scsi CD-ROM sr0 at scsi6, channel 0, id 0, lun 0

usb-storage: device scan complete (:tableend:)

to:
usb 1-2.3: USB disconnect, address 8
usb 1-2.3: new high speed USB device using ehci_hcd and address 9
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
Vendor: LITE-ON Model: DVDRW SHW-1635S Rev: YS0J?
Type: CD-ROM ANSI SCSI revision: 00
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi6, channel 0, id 0, lun 0
usb-storage: device scan complete
Added line 29:
Changed lines 53-70 from:

(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) Module isofs sr_mod cdrom (:row:) Size 26684 9476 29564 (:cell:) Used by 0 0 2 sr_mod (:tableend:)

to:
ModuleSizeUsed by
isofs266840
sr_mod94760
cdrom295642 sr_mod
March 31, 2006, at 08:37 PM by mrkzander --
Changed line 69 from:

(:cell:)

to:

(:row:)

March 31, 2006, at 08:36 PM by mrkzander --
Changed lines 65-68 from:

Module Size Used by isofs 26684 0 sr_mod 9476 0 cdrom 29564 2 sr_mod

to:

Module isofs sr_mod cdrom

March 31, 2006, at 08:35 PM by mrkzander --
Deleted line 65:

(:cell:)

Deleted line 66:
Deleted line 67:
Added lines 69-78:

(:cell:) Size 26684 9476 29564 (:cell:) Used by 0 0 2 sr_mod

March 31, 2006, at 08:33 PM by mrkzander --
Changed line 66 from:
to:

(:cell:)

March 31, 2006, at 08:32 PM by mrkzander --
Added line 66:
Added line 68:
Added line 70:
March 31, 2006, at 08:32 PM by mrkzander --
Changed line 1 from:

After fumbling through the dark with something that should be an easy task, I finaly managed to get an external CDROM attached to my Slug.

to:

After fumbling through the dark with something that should be an easy task, I finnaly managed to get an external CDROM attached to my Slug.

March 31, 2006, at 08:31 PM by mrkzander --
Changed lines 4-6 from:

(This also works with DVD drives)

to:
Changed lines 40-41 from:

Put a CDROM in the drive and attempt to mount it.

to:

Put a CDROM or DVDROM in the drive and attempt to mount it.

Changed lines 79-80 from:

Put a CDROM in to the drive and try to mount it.

to:

Put a CDROM or DVDROM in to the drive and try to mount it.

March 31, 2006, at 08:30 PM by mrkzander --
Changed lines 4-6 from:
to:

(This also works with DVD drives)

Changed lines 44-47 from:
  1. mount -t iso9660 -o ro /dev/sr0 /mnt

If you get no errors then you will have the CDROM mounted under /mnt.

to:
  • mount -t iso9660 -o ro /dev/sr0 /mnt

(you may have another device name. I have seen /dev/scd0)

No returned errors will mean that you have successfully mounted the CDROM under /mnt.

Added lines 79-88:

Check 'dmesg' again and make sure that you have 'Attached scsi CD-ROM' messages.

Put a CDROM in to the drive and try to mount it.

  • mount -t iso9660 -o ro /dev/sr0 /mnt

(you may have another device name. I have seen /dev/scd0)

No returned errors will mean that you have successfully mounted the CDROM under /mnt.

March 31, 2006, at 08:24 PM by mrkzander --
Changed lines 7-11 from:

Get yourself an external USB CDROM/DVD drive and plug it in to the Slug. I purchased an ADS USB2?.0 to IDE external enclosure and put a Lite-ON DVDRW (SHW-1635S) drive in it. One warning though. Most HP and Sony drives marked as internal? will not work with generic external USB cases. I'm not sure why but the first DVD drive I tried out, HP DVD640cI?, was not recognised in Linux(Debian) or Windows XP.

When you plug the external USB drive in you should see messages like these when running 'dmesg'

to:

Get yourself an external USB CDROM/DVD drive and plug it in to the Slug. I purchased an ADS USB2?.0 external enclosure and put an IDE Lite-ON DVDRW (SHW-1635S) drive in it. One warning though. Most HP and Sony drives marked as internal? will not work with generic external USB cases. I'm not sure why but the first DVD drive I tried out, HP DVD640cI?, was not recognised in Linux(Debian) or Windows XP.

Are We Recognised

When you plug the external USB drive in you should see messages like these from 'dmesg'

(:table border=0 width=100% bgcolor=#eeffee:) (:cell:)

Changed lines 35-39 from:

If you don't see the "Vendor" stuff, try another drive, or give up. There's nothing that can be don because your drive/enclusure combination does not work together. This isn't a Linux issue but a Firmware/BIOS issue between the drive and enclosure.

to:

(:tableend:)

If you don't see the 'Vendor' stuff there's nothing that can be done. Your drive/enclusure combination do not work together. This isn't a Linux issue but a Firmware/BIOS issue between the drive and enclosure. Try another drive/enclosure combination, or give up.

If you seen the 'Vendor' stuff and the message regarding 'Attached scsi CD-ROM sr0' then you may be in luck! Linux recognised the drive and has attached it. Put a CDROM in the drive and attempt to mount it.

  1. mount -t iso9660 -o ro /dev/sr0 /mnt

If you get no errors then you will have the CDROM mounted under /mnt.

Any error about missing block device will mean that you need to install and load some kernel modules.

Required Kernel Modules

You know that your drive is supported by does not get attached so you now have to verify that all the needed kernel modules have been installed and loaded.

These kernel modules have to be installed for CDROM support.

  • ipkg install kernel-module-cdrom
  • ipkg install kernel-module-sr-mod
  • ipkg install kernel-module-isofs

They also have to be loaded. Do a 'lsmod' and check to see if they are. You should see something like this.

(:table border=0 width=100% bgcolor=#eeffee:) (:cell:) Module Size Used by isofs 26684 0 sr_mod 9476 0 cdrom 29564 2 sr_mod (:tableend:)

To load the modules you can do this.

  • modprobe cdrom
  • modprobe sr_mod
  • modprobe isofs
March 31, 2006, at 07:45 PM by mrkzander --
Added line 13:
Added line 15:
Added line 17:
Added line 19:
Added line 21:
Added line 23:
Added line 25:
Added line 27:
Added line 29:
Added line 31:
March 31, 2006, at 07:44 PM by mrkzander --
Changed lines 5-9 from:

!! First things first

to:

First things first

Get yourself an external USB CDROM/DVD drive and plug it in to the Slug. I purchased an ADS USB2?.0 to IDE external enclosure and put a Lite-ON DVDRW (SHW-1635S) drive in it. One warning though. Most HP and Sony drives marked as internal? will not work with generic external USB cases. I'm not sure why but the first DVD drive I tried out, HP DVD640cI?, was not recognised in Linux(Debian) or Windows XP.

When you plug the external USB drive in you should see messages like these when running 'dmesg'

usb 1-2.3: USB disconnect, address 8 usb 1-2.3: new high speed USB device using ehci_hcd and address 9 scsi6 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 9 usb-storage: waiting for device to settle before scanning

  Vendor: LITE-ON   Model: DVDRW SHW-1635S   Rev: YS0J?
  Type:   CD-ROM                             ANSI SCSI revision: 00

sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray Attached scsi CD-ROM sr0 at scsi6, channel 0, id 0, lun 0 usb-storage: device scan complete

If you don't see the "Vendor" stuff, try another drive, or give up. There's nothing that can be don because your drive/enclusure combination does not work together. This isn't a Linux issue but a Firmware/BIOS issue between the drive and enclosure.

March 31, 2006, at 06:56 PM by mrkzander -- How to add an External CDROM to your Slug
Added lines 1-9:

After fumbling through the dark with something that should be an easy task, I finaly managed to get an external CDROM attached to my Slug. This is how you can do it too.

!! First things first

view · edit · print · history · Last edited by mrkzander.
Originally by mrkzander.
Page last modified on March 31, 2006, at 08:47 PM