[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#279983: general: /dev/cdrom does not work.

Package: general
Followup-For: Bug #279983

The cdrom doesnot work too. One of them randomly works.
This happend with two computers with about same debain version, but
different cdrom boxes.

chypre:~# mount /cdrom/
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

chypre:~#  dmesg | tail
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
SMB connection re-established (-5)
SMB connection re-established (-5)
attempt to access beyond end of device
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
attempt to access beyond end of device
sr0: rw=0, want=68, limit=4
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

chypre:~# cat /etc/fstab  | grep cdrom
/dev/sr0        /cdrom          iso9660 ro,user,noauto          0

chypre:~# ls -l /dev/cdrom
lrwxrwxrwx  1 root root 4 2005-12-09 19:06 /dev/cdrom -> scd0

chypre:~# mount /dev/scd0 /cdrom/
mount: you must specify the filesystem type

chypre:~# sudo mount -t iso9660 /dev/scd0 /cdrom/
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

chypre:~# ls /dev/disk/*
ata-Maxtor_6Y080L0_Y2LT5GPE        ata-Maxtor_6Y080L0_Y2LT5GPE-part2
ata-Maxtor_6Y080L0_Y2LT5GPE-part4  ata-Maxtor_6Y080L0_Y2LT5GPE-part6
ata-Maxtor_6Y080L0_Y2LT5GPE-part1  ata-Maxtor_6Y080L0_Y2LT5GPE-part3
ata-Maxtor_6Y080L0_Y2LT5GPE-part5  ata-Maxtor_6Y080L0_Y2LT5GPE-part7


pci-0000:00:1f.1-ide-0:0        pci-0000:00:1f.1-ide-0:0-part2
pci-0000:00:1f.1-ide-0:0-part4  pci-0000:00:1f.1-ide-0:0-part6
pci-0000:00:1f.1-ide-0:0-part1  pci-0000:00:1f.1-ide-0:0-part3
pci-0000:00:1f.1-ide-0:0-part5  pci-0000:00:1f.1-ide-0:0-part7

40447DC2447DBB6C                      F4DF-2018

chypre:~# cat /proc/scsi/sg/device_strs
TSSTcorp        DVD-ROM TS-H352A        TS03

chypre:~# cat /proc/ide/hdc/model

chypre:~# cat /proc/ide/hdc/driver
ide-scsi version 0.92

cypre:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: TSSTcorp Model: DVD-ROM TS-H352A Rev: TS03
  Type:   CD-ROM                           ANSI SCSI revision: 02

chypre:~# cat /proc/scsi/sg/version
30533   3.5.33 [20050328]
chypre:~# cat /proc/scsi/sg/devices
0       0       0       0       5       1       5       0       1
chypre:~# cat /proc/scsi/sg/device_hdr
host    chan    id      lun     type    opens   qdepth  busy    online
chypre:~# cat /proc/scsi/sg/device_hdr

chypre:~# ls -F /dev
adsp      mixer1    ptyc0  ptyec  ptyr8  ptyu4  ptyx0  ptyzc       tty18
tty58  ttyc2  ttyee  ttyra   ttys4   ttyu2  ttywe  ttyza
agpgart   net/      ptyc1  ptyed  ptyr9  ptyu5  ptyx1  ptyzd       tty19
tty59  ttyc3  ttyef  ttyrb   ttyS4   ttyu3  ttywf  ttyzb
audio     null      ptyc2  ptyee  ptyra  ptyu6  ptyx2  ptyze       tty2
tty6   ttyc4  ttyp0  ttyrc   ttyS40  ttyu4  ttyx0  ttyzc
audio1    parport0  ptyc3  ptyef  ptyrb  ptyu7  ptyx3  ptyzf       tty20
tty60  ttyc5  ttyp1  ttyrd   ttyS41  ttyu5  ttyx1  ttyzd
cdrom@    parport1  ptyc4  ptyp0  ptyrc  ptyu8  ptyx4  ram0        tty21
tty61  ttyc6  ttyp2  ttyre   ttyS42  ttyu6  ttyx2  ttyze
console   parport2  ptyc5  ptyp1  ptyrd  ptyu9  ptyx5  ram1        tty22
tty62  ttyc7  ttyp3  ttyrf   ttyS43  ttyu7  ttyx3  ttyzf
core@     parport3  ptyc6  ptyp2  ptyre  ptyua  ptyx6  ram10       tty23
tty63  ttyc8  ttyp4  ttys0   ttyS44  ttyu8  ttyx4  urandom
disk/     port      ptyc7  ptyp3  ptyrf  ptyub  ptyx7  ram11       tty24
tty7   ttyc9  ttyp5  ttyS0   ttyS45  ttyu9  ttyx5  vcs
dsp       ppp       ptyc8  ptyp4  ptys0  ptyuc  ptyx8  ram12       tty25
tty8   ttyca  ttyp6  ttys1   ttyS46  ttyua  ttyx6  vcs1
dsp1      psaux     ptyc9  ptyp5  ptys1  ptyud  ptyx9  ram13       tty26
tty9   ttycb  ttyp7  ttyS1   ttyS47  ttyub  ttyx7  vcs2
dvd@      ptmx      ptyca  ptyp6  ptys2  ptyue  ptyxa  ram14       tty27
ttya0  ttycc  ttyp8  ttyS10  ttys5   ttyuc  ttyx8  vcs3
fd@       pts/      ptycb  ptyp7  ptys3  ptyuf  ptyxb  ram15       tty28
ttya1  ttycd  ttyp9  ttyS11  ttyS5   ttyud  ttyx9  vcs4
fd0       ptya0     ptycc  ptyp8  ptys4  ptyv0  ptyxc  ram2        tty29
ttya2  ttyce  ttypa  ttyS12  ttys6   ttyue  ttyxa  vcs5
full      ptya1     ptycd  ptyp9  ptys5  ptyv1  ptyxd  ram3        tty3
ttya3  ttycf  ttypb  ttyS13  ttyS6   ttyuf  ttyxb  vcs6
hda       ptya2     ptyce  ptypa  ptys6  ptyv2  ptyxe  ram4        tty30
ttya4  ttyd0  ttypc  ttyS14  ttys7   ttyv0  ttyxc  vcs7
hda1      ptya3     ptycf  ptypb  ptys7  ptyv3  ptyxf  ram5        tty31
ttya5  ttyd1  ttypd  ttyS15  ttyS7   ttyv1  ttyxd  vcs8
hda2      ptya4     ptyd0  ptypc  ptys8  ptyv4  ptyy0  ram6        tty32
ttya6  ttyd2  ttype  ttyS16  ttys8   ttyv2  ttyxe  vcsa
hda3      ptya5     ptyd1  ptypd  ptys9  ptyv5  ptyy1  ram7        tty33
ttya7  ttyd3  ttypf  ttyS17  ttyS8   ttyv3  ttyxf  vcsa1
hda4      ptya6     ptyd2  ptype  ptysa  ptyv6  ptyy2  ram8        tty34
ttya8  ttyd4  ttyq0  ttyS18  ttys9   ttyv4  ttyy0  vcsa2
hda5      ptya7     ptyd3  ptypf  ptysb  ptyv7  ptyy3  ram9        tty35
ttya9  ttyd5  ttyq1  ttyS19  ttyS9   ttyv5  ttyy1  vcsa3
hda6      ptya8     ptyd4  ptyq0  ptysc  ptyv8  ptyy4  random      tty36
ttyaa  ttyd6  ttyq2  ttys2   ttysa   ttyv6  ttyy2  vcsa4
hda7      ptya9     ptyd5  ptyq1  ptysd  ptyv9  ptyy5  rtc         tty37
ttyab  ttyd7  ttyq3  ttyS2   ttysb   ttyv7  ttyy3  vcsa5
hpet      ptyaa     ptyd6  ptyq2  ptyse  ptyva  ptyy6  scd0        tty38
ttyac  ttyd8  ttyq4  ttyS20  ttysc   ttyv8  ttyy4  vcsa6
hwrng     ptyab     ptyd7  ptyq3  ptysf  ptyvb  ptyy7  sequencer   tty39
ttyad  ttyd9  ttyq5  ttyS21  ttysd   ttyv9  ttyy5  vcsa7
i2c-0     ptyac     ptyd8  ptyq4  ptyt0  ptyvc  ptyy8  sequencer2  tty4
ttyae  ttyda  ttyq6  ttyS22  ttyse   ttyva  ttyy6  vcsa8
initctl|  ptyad     ptyd9  ptyq5  ptyt1  ptyvd  ptyy9  sg0         tty40
ttyaf  ttydb  ttyq7  ttyS23  ttysf   ttyvb  ttyy7  video1394/
input/    ptyae     ptyda  ptyq6  ptyt2  ptyve  ptyya  shm/        tty41
ttyb0  ttydc  ttyq8  ttyS24  ttyt0   ttyvc  ttyy8  vmmon
kmem      ptyaf     ptydb  ptyq7  ptyt3  ptyvf  ptyyb  snd/        tty42
ttyb1  ttydd  ttyq9  ttyS25  ttyt1   ttyvd  ttyy9  vmnet0
kmsg      ptyb0     ptydc  ptyq8  ptyt4  ptyw0  ptyyc  sndstat@    tty43
ttyb2  ttyde  ttyqa  ttyS26  ttyt2   ttyve  ttyya  vmnet1
log=      ptyb1     ptydd  ptyq9  ptyt5  ptyw1  ptyyd  sr0@        tty44
ttyb3  ttydf  ttyqb  ttyS27  ttyt3   ttyvf  ttyyb  vmnet8
loop/     ptyb2     ptyde  ptyqa  ptyt6  ptyw2  ptyye  stderr@     tty45
ttyb4  ttye0  ttyqc  ttyS28  ttyt4   ttyw0  ttyyc  xconsole|
loop0     ptyb3     ptydf  ptyqb  ptyt7  ptyw3  ptyyf  stdin@      tty46
ttyb5  ttye1  ttyqd  ttyS29  ttyt5   ttyw1  ttyyd  zero
loop1     ptyb4     ptye0  ptyqc  ptyt8  ptyw4  ptyz0  stdout@     tty47
ttyb6  ttye2  ttyqe  ttys3   ttyt6   ttyw2  ttyye
loop2     ptyb5     ptye1  ptyqd  ptyt9  ptyw5  ptyz1  tty         tty48
ttyb7  ttye3  ttyqf  ttyS3   ttyt7   ttyw3  ttyyf
loop3     ptyb6     ptye2  ptyqe  ptyta  ptyw6  ptyz2  tty0        tty49
ttyb8  ttye4  ttyr0  ttyS30  ttyt8   ttyw4  ttyz0
loop4     ptyb7     ptye3  ptyqf  ptytb  ptyw7  ptyz3  tty1        tty5
ttyb9  ttye5  ttyr1  ttyS31  ttyt9   ttyw5  ttyz1
loop5     ptyb8     ptye4  ptyr0  ptytc  ptyw8  ptyz4  tty10       tty50
ttyba  ttye6  ttyr2  ttyS32  ttyta   ttyw6  ttyz2
loop6     ptyb9     ptye5  ptyr1  ptytd  ptyw9  ptyz5  tty11       tty51
ttybb  ttye7  ttyr3  ttyS33  ttytb   ttyw7  ttyz3
loop7     ptyba     ptye6  ptyr2  ptyte  ptywa  ptyz6  tty12       tty52
ttybc  ttye8  ttyr4  ttyS34  ttytc   ttyw8  ttyz4
lp0       ptybb     ptye7  ptyr3  ptytf  ptywb  ptyz7  tty13       tty53
ttybd  ttye9  ttyr5  ttyS35  ttytd   ttyw9  ttyz5
MAKEDEV@  ptybc     ptye8  ptyr4  ptyu0  ptywc  ptyz8  tty14       tty54
ttybe  ttyea  ttyr6  ttyS36  ttyte   ttywa  ttyz6
mapper/   ptybd     ptye9  ptyr5  ptyu1  ptywd  ptyz9  tty15       tty55
ttybf  ttyeb  ttyr7  ttyS37  ttytf   ttywb  ttyz7
mem       ptybe     ptyea  ptyr6  ptyu2  ptywe  ptyza  tty16       tty56
ttyc0  ttyec  ttyr8  ttyS38  ttyu0   ttywc  ttyz8
mixer     ptybf     ptyeb  ptyr7  ptyu3  ptywf  ptyzb  tty17       tty57
ttyc1  ttyed  ttyr9  ttyS39  ttyu1   ttywd  ttyz9

chypre:~# dpkg -l | grep udev
ii  udev                                 0.068-2                  /dev/
management daemon

However it migth work on the other machine (as it can not work) , with random unknow

gay@islande:~$ cat /proc/ide/hdc/model
gay@islande:~$ cat /proc/ide/hdc/driver
ide-scsi version 0.92
gay@islande:~$ ls -l /dev/cdrom
lrwxrwxrwx  1 root root 4 2005-12-21 16:02 /dev/cdrom -> scd0
gay@islande:~$ ls -l /dev/scd0
brw-rw----  1 root cdrom 11, 0 2005-12-21 16:02 /dev/scd0
gay@islande:~$ sudo mount -t iso9660 /dev/scd0 /cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
gay@islande:~$ ls /cdrom/
Addons   autorun.exe  autorun.inf  Docs      install.sh  rr_moved
autorun  autorun.htm  Data         Examples  linux.bin   setup.exe

Note: this might be unrelated, but vmware workstation is installed on
both computers.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Reply to: