TOSHIBA' 'DVD-ROM SD-R2102'

Asked by ALONSO on 2011-03-14

Hi, I have a Compaq Presario 1505us with Ubuntu 10.04 like only one OS, and I can no use CD-DVD-Rom SD-R2102.
Hola, tengo un Compaq Presario 1505us con Ubuntu 10.04 como único SO, y no puedo usar la unidad de CD-DVD-Rom SD-R2102.

I try: sudo ls -lR /dev/disk
He intentado: sudo ls -lR /dev/disk

Result: /dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 2011-03-13 20:43 pci-0000:00:1f.1-scsi-0:0:0:0-part7 -> ../../sda7
lrwxrwxrwx 1 root root 9 2011-03-13 20:43 pci-0000:00:1f.1-scsi-1:0:0:0 -> ../../sr0

I try: cdrecord -fix
He intentado: cdrecord -fix

Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identification : 'DVD-ROM SD-R2102'
Revision : '1A16'
Device seems to be: Generic mmc2 DVD-ROM.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
wodim: Cannot load media.

I try: ~$ wodim -checkdrive
He intentado: ~$ wodim -checkdrive

Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identification : 'DVD-ROM SD-R2102'
Revision : '1A16'
Device seems to be: Generic mmc2 DVD-ROM.
wodim: Cannot load media with this drive!
wodim: Try to load media by hand.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R

And nothing happens!! What can I do?
Y no pasa nada!! Qué puedo hacer?

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-18
Last reply:
ALONSO (alonsp2gb) said : #1

I try:
He intentado:

ubuntu@ubuntu:~$ sudo apt-cdrom add --auto-detect
Using CD-ROM mount point /media/apt/
Identifying.. [746c9a0fff457615f28f51a1919d0cf8-2]
Scanning disc for index files..
Found 0 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
W: Failed to mount '/dev/sr0' to '/media/apt/'
E: Unable to locate any package files, perhaps this is not a Debian Disc or the wrong architecture?
ubuntu@ubuntu:~$ sudo synaptic --add-cdrom /media/APTonCD/
ubuntu@ubuntu:~$ sudo apt-get install -o Debug::Acquire::cdrom=true some-package-from-the-cd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package some-package-from-the-cd

ubuntu@ubuntu:~$ sudo apt-get install -o Debug::Acquire::cdrom=true setup-package-from-the-cd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package setup-package-from-the-cd

ubuntu@ubuntu:~$ sudo strace -vvfs1024 -o /tmp/probe-smart.txt /lib/udev/udisks-probe-ata-smart /dev/sda
UDISKS_ATA_SMART_IS_AVAILABLE=1

ubuntu@ubuntu:~$ sudo gedit /lib/udev/rules.d/80-udisks.rules

Result:

# Do not edit this file, it will be overwritten on updates
#

# import names for PCI storage controllers
#
SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"

# Set eSATA port type for known eSATA CardBus adapters - first we want to ensure
# the device is on a cardbus controller (upper PCI device) - then we check
# vid/pid (lower PCI device)
#
SUBSYSTEM=="scsi_host", ATTRS{class}=="0x060700", GOTO="ata_port_cardbus"
GOTO="ata_port_cardbus_end"
LABEL="ata_port_cardbus"
# Mass storage controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
#
SUBSYSTEMS=="pci", ATTRS{vendor}=="0x1095", ATTRS{device}=="0x3512", ENV{UDISKS_ATA_PORT_CONNECTOR_TYPE}="ata_sata_external"
LABEL="ata_port_cardbus_end"

# probe SAS expanders
#
# (hmm, this might be racy, we might not have the BSG device just yet - if
# this is the case we can trigger a 'change' on the sas_expander device
# when the bsg device appears)
#
SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="udisks-probe-sas-expander /sys/%p"

##############################################################################################################

# from here on, we only care about block devices
ACTION!="add|change", GOTO="udisks_end"
SUBSYSTEM!="block", GOTO="udisks_end"
KERNEL=="ram*", GOTO="udisks_end"

##############################################################################################################

# probe ide-cd drives

# probe filesystem metadata of optical drives which have a media inserted
KERNEL=="hd*", ENV{ID_CDROM_MEDIA}=="?*", \
        ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="?*", \
        IMPORT{program}="/sbin/blkid -o udev -p -u noraid -O $env{ID_CDROM_MEDIA_SESSION_LAST_OFFSET} $tempnode"
# single-session CDs do not have ID_CDROM_MEDIA_SESSION_LAST_OFFSET
KERNEL=="hd*", ENV{ID_CDROM_MEDIA}=="?*", \
        ENV{ID_CDROM_MEDIA_SESSION_LAST_OFFSET}=="", \
        IMPORT{program}="/sbin/blkid -o udev -p -u noraid $tempnode"

##############################################################################################################

# Mark devices that shouldn't be automounted / autoassembled etc.
#
# Deny all, then punch holes for what looks like physical drives
# (TODO: this heuristic might need some work)
#

ENV{UDISKS_PRESENTATION_NOPOLICY}="1"
KERNEL=="sd*|hd*|sr*|mmcblk*|mspblk*", ENV{UDISKS_PRESENTATION_NOPOLICY}="0"

##############################################################################################################

# we only care about change events on device-mapper
# devices - never touch the device on add events
KERNEL=="dm-*", ACTION!="change", GOTO="udisks_end"

# honor the flag that device-mapper sets if the device should be ignored
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="udisks_end"
ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="udisks_end"

# import UDISKS_DM_* and UDISKS_LVM2_* properties - the long-term plan is to make the lvm2 and
# device-mapper packages provide this information
#
KERNEL=="dm-*", IMPORT{program}="udisks-dm-export %M %m"

# Make udevd synthesize a 'change' uevent when last opener of a rw-fd closes the fd - this
# should be part of the device-mapper rules
KERNEL=="dm-*", OPTIONS+="watch"

##############################################################################################################

# Probe for partition tables; this really should be part of udev / util-linux-ng
#

# skip rules for inappropriate block devices
KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*", GOTO="probe_parttable_end"

# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
KERNEL=="hd*[!0-9]", ATTR{removable}=="1", SUBSYSTEMS=="ide", ATTRS{media}=="disk|floppy", GOTO="probe_parttable_end"
KERNEL=="hd*[0-9]", ATTR{removable}=="1", GOTO="probe_parttable_end"

# don't scan for partition tables on empty discs
KERNEL=="sr*|hd*", ENV{ID_CDROM_MEDIA}!="?*", GOTO="probe_parttable_end"

# scan for partition tables both on whole-disk and partitions
#
IMPORT{program}="udisks-part-id $tempnode"

LABEL="probe_parttable_end"

##############################################################################################################

# pick up data from MD components; this REALLY should be done by rules installed
# by mdadm or the kernel package
#
ENV{ID_FS_TYPE}!="linux_raid_member", GOTO="md_end"

# avoid probing if it has already been done earlier
#
ENV{MD_LEVEL}!="", GOTO="md_end"
IMPORT{program}="/sbin/mdadm --examine --export $tempnode"

LABEL="md_end"

##############################################################################################################

# Check if a disk is ATA SMART capable
#

# USB ATA enclosures with a SAT layer
KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"

# ATA disks driven by libata
KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"

# ATA disks connected via SAS (not driven by libata)
KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="udisks-probe-ata-smart $tempnode"

# Example rule for tagging a device with a specific media type. Where and
# how to store this database needs some thought.
#
SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_MS}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:2", ENV{ID_DRIVE_FLASH_SM}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0248", ENV{ID_INSTANCE}=="0:3", ENV{ID_DRIVE_FLASH_SD}="1"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:0", ENV{ID_DRIVE_FLASH_CF}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:1", ENV{ID_DRIVE_FLASH_SM}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:2", ENV{ID_DRIVE_FLASH_SD}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INSTANCE}=="0:3", ENV{ID_DRIVE_FLASH_MS}="1"

# APPLE SD Card Reader (MacbookPro5,4)
#
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="8403", ENV{ID_DRIVE_FLASH_SD}="1"

# Common theme
#
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*SD_Reader*", ENV{ID_DRIVE_FLASH_SD}="1"
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*CF_Reader*", ENV{ID_DRIVE_FLASH_CF}="1"
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*SM_Reader*", ENV{ID_DRIVE_FLASH_SM}="1"
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*MS_Reader*", ENV{ID_DRIVE_FLASH_MS}="1"

##############################################################################################################

# If previous rules did not set an icon, provide a default one for media players

ENV{UDISKS_PRESENTATION_ICON_NAME}=="?*", GOTO="udisks_media_player_end"

ENV{ID_MEDIA_PLAYER}=="?*", ENV{UDISKS_PRESENTATION_ICON_NAME}="multimedia-player"
ENV{ID_MEDIA_PLAYER}=="apple-ipod", ENV{UDISKS_PRESENTATION_ICON_NAME}="multimedia-player-ipod"

# Apple iPod Video
#
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="1209", ENV{UDISKS_PRESENTATION_ICON_NAME}="multimedia-player-ipod-white"

LABEL="udisks_media_player_end"

##############################################################################################################

# PC floppy drives
#
KERNEL=="fd*", ENV{ID_DRIVE_FLOPPY}="1"

# USB floppy drives
#
SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", ENV{ID_DRIVE_FLOPPY}="1"

# ATA Zip drives
#
ENV{ID_VENDOR}=="*IOMEGA*", ENV{ID_MODEL}=="*ZIP*", ENV{ID_DRIVE_FLOPPY_ZIP}="1"

##############################################################################################################

# Partitions which desktops should not display
#

# Apple Bootstrap partitions
ENV{UDISKS_PARTITION_SCHEME}=="apm", ENV{UDISKS_PARTITION_TYPE}=="Apple_Bootstrap", ENV{UDISKS_PRESENTATION_HIDE}="1"

# special MBR partition types (EFI, hidden, etc.)
# see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
ENV{UDISKS_PARTITION_SCHEME}=="mbr", \
  ENV{UDISKS_PARTITION_TYPE}=="0x00|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef", \
  ENV{UDISKS_PRESENTATION_HIDE}="1"

# special GUID-identified partition types
# see http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
ENV{UDISKS_PARTITION_SCHEME}=="gpt", \
  ENV{UDISKS_PARTITION_TYPE}=="C12A7328-F81F-11D2-BA4B-00A0C93EC93B|21686148-6449-6E6F-744E-656564454649", \
  ENV{UDISKS_PRESENTATION_HIDE}="1"

# APM recovery/tool partitions which are useless on Linux
ENV{UDISKS_PARTITION_SCHEME}=="apm", \
  ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD_SmartWare", \
  ENV{UDISKS_PRESENTATION_HIDE}="1"

# recovery partitions (taken from old hal rules)
ENV{ID_FS_TYPE}=="ntfs|vfat", \
  ENV{ID_FS_LABEL}=="RECOVERY|HP_RECOVERY|Recovery Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002", \
  ENV{UDISKS_PRESENTATION_HIDE}="1"

# read-only non-Linux software installer partitions
ENV{ID_VENDOR}=="Sony", ENV{ID_MODEL}=="PRS*Launcher", ENV{UDISKS_PRESENTATION_HIDE}="1"

##############################################################################################################

LABEL="udisks_end"

Somebody help me with it?
Alguien puede ayudarme?

ALONSO (alonsp2gb) said : #2

Now I see I can not access the floppy!!
Ahora veo que no puedo acceder al floppy!!

ubuntu@ubuntu:~$ sudo fdmount
fdmount (/dev/fd0): Can't access /fd0: No such file or directory

ubuntu@ubuntu:~$ floppycontrol --resetnow 2
can't open floppy drive: Permission denied
Usage: floppycontrol [-p] [-a ] [-t ] [-r ] [-R ] [-e ] [-f] [-x] [-d file] [-F ] [-T] [--debug] [--nodebug] [--message] [--nomessage] [--silent_dcl_clear] [--noisy_dcl_clear] [-c ] [--hlt ] [--hut ] [--srt ] [-o ] [-u ] [-s ] [--rps ] [-O ] [--cylinders ] [--tracks ] [--timeout ] [-i ] [-A string] [-C ] [-n ] [--resetnow long] [-P] [--printfdcstate] [--pollstate] [--clrwerror] [--printwerror] [--broken_dcl] [--working_dcl] [--inverted_dcl] [--no_inverted_dcl] [--messages] [--no_messages]
Type floppycontrol --help to get a more complete help
ubuntu@ubuntu:~$ floppycontrol --help > floppycontrol.txt
ubuntu@ubuntu:~$ floppycontrol -P
can't open floppy drive: Permission denied
Usage: floppycontrol [-p] [-a ] [-t ] [-r ] [-R ] [-e ] [-f] [-x] [-d file] [-F ] [-T] [--debug] [--nodebug] [--message] [--nomessage] [--silent_dcl_clear] [--noisy_dcl_clear] [-c ] [--hlt ] [--hut ] [--srt ] [-o ] [-u ] [-s ] [--rps ] [-O ] [--cylinders ] [--tracks ] [--timeout ] [-i ] [-A string] [-C ] [-n ] [--resetnow long] [-P] [--printfdcstate] [--pollstate] [--clrwerror] [--printwerror] [--broken_dcl] [--working_dcl] [--inverted_dcl] [--no_inverted_dcl] [--messages] [--no_messages]
Type floppycontrol --help to get a more complete help
ubuntu@ubuntu:~$ sudo floppycontrol -P
    disk_writable
spinup= -51823
select= -51823
first_read= 0
probed_fmt= 0
cylinder= 0
maxblock= 136
maxcylinder= 1
generation= 1
keep data= 0
refs= 1
device= 0
last_checked= 0
ubuntu@ubuntu:~$ mount -t iso9660 /dev/cdrom /cdrom
mount: only root can do that
ubuntu@ubuntu:~$ sudo mount -t iso9660 /dev/cdrom /cdrom
mount: no medium found on /dev/sr0
ubuntu@ubuntu:~$ sudo mount -t iso9660 /dev/cdrom /cdrom
mount: no medium found on /dev/sr0
ubuntu@ubuntu:~$ mkdir /mnt
mkdir: cannot create directory `/mnt': File exists
ubuntu@ubuntu:~$ mount -t msdos /dev/fd0 /mnt
mount: only root can do that
ubuntu@ubuntu:~$ sudo mount -t msdos /dev/fd0 /mnt
ubuntu@ubuntu:~$ sudo gedit /etc/modules
ubuntu@ubuntu:~$ sudo modprobe floppy
ubuntu@ubuntu:~$ dmesg | grep -i floppy
[ 7.648208] Floppy drive(s): fd0 is 1.44M
ubuntu@ubuntu:~$ ln -s /auto/A /A
ln: creating symbolic link `/A': Permission denied
ubuntu@ubuntu:~$ sudo ln -s /auto/A /A
ubuntu@ubuntu:~$ /devices/dm_0
bash: /devices/dm_0: No such file or directory
ubuntu@ubuntu:~$ FilesystemCreate (in 's' fstype,
bash: syntax error near unexpected token `in'
ubuntu@ubuntu:~$ FilesystemCreate
FilesystemCreate: command not found
ubuntu@ubuntu:~$ FilesystemCheck
FilesystemCheck: command not found
ubuntu@ubuntu:~$ floppy-fstype=auto,sync :/dev/fd0
floppy-fstype=auto,sync: command not found
ubuntu@ubuntu:~$ ln -s /auto/floppy /A
ln: creating symbolic link `/A': File exists
ubuntu@ubuntu:~$ devkit-disks --inhibit-polling /dev/fd0 &
[1] 4832
ubuntu@ubuntu:~$ devkit-disks: command not found
^C
[1]+ Exit 127 devkit-disks --inhibit-polling /dev/fd0
ubuntu@ubuntu:~$ ps auxwwf | egrep poll
root 3980 0.0 0.1 3608 1208 ? S 04:34 0:00 \_ hald-addon-storage: no polling on /dev/fd0 because it is explicitly disabled
root 3983 0.0 0.1 3608 1204 ? S 04:34 0:00 \_ hald-addon-storage: no polling because /dev/sdb is locked via HAL
root 3985 0.0 0.1 3608 1212 ? S 04:34 0:00 \_ hald-addon-storage: no polling because /dev/sr0 is locked via HAL
root 3901 0.0 0.0 5176 968 ? S 04:34 0:01 \_ udisks-daemon: polling /dev/sdb /dev/sr0
ubuntu 4837 0.0 0.0 3316 772 pts/0 S+ 08:11 0:00 \_ egrep --color=auto poll
ubuntu@ubuntu:~$ ps -ef --forest | grep hal
108 3889 1 0 04:34 ? 00:00:00 /usr/sbin/hald
root 3890 3889 0 04:34 ? 00:00:00 \_ hald-runner
root 3966 3890 0 04:34 ? 00:00:00 \_ hald-addon-input: Listening on /dev/input/event5 /dev/input/event1 /dev/input/event0 /dev/input/event3 /dev/input/event2
root 3968 3890 0 04:34 ? 00:00:00 \_ /usr/lib/hal/hald-addon-rfkill-killswitch
root 3969 3890 0 04:34 ? 00:00:00 \_ /usr/lib/hal/hald-addon-leds
root 3980 3890 0 04:34 ? 00:00:00 \_ hald-addon-storage: no polling on /dev/fd0 because it is explicitly disabled
108 3982 3890 0 04:34 ? 00:00:00 \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3983 3890 0 04:34 ? 00:00:00 \_ hald-addon-storage: no polling because /dev/sdb is locked via HAL
root 3985 3890 0 04:34 ? 00:00:00 \_ hald-addon-storage: no polling because /dev/sr0 is locked via HAL
root 4152 4136 0 04:36 ? 00:00:00 \_ udisks --inhibit -- hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gpartedbin
root 4153 4152 0 04:36 ? 00:00:00 \_ hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gpartedbin
ubuntu 4848 4188 0 08:14 pts/0 00:00:00 \_ grep --color=auto hal
ubuntu@ubuntu:~$

Help!!

Can you help with this problem?

Provide an answer of your own, or ask ALONSO for more information if necessary.

To post a message you must log in.