Please help with mounting the CD ROM

If none of the more specific forums is the right place to ask

Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 07:02

version debian 10 unaltered.

I tried to use the debian doc but I could not mount my cd rom on a new computer. THank you in advance.
https://wiki.debian.org/CDDVD
http://www.tldp.org/HOWTO/CDROM-HOWTO/x289.html#AEN1008

cat /proc/filesystems | grep iso
iso9660

dmesg kernel log
[ 1.837984] scsi 2:0:0:0: CD-ROM HL-DT-ST DVD+-RW GU90N A1C3 PQ: 0 ANSI: 5
[ 1.852732] usb 1-8: new low-speed USB device number 2 using xhci_hcd
[ 1.960990] sr 2:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 1.960992] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.961111] sr 2:0:0:0: Attached scsi CD-ROM sr0

sudo mount /dev/cdrom /media/cd
mount: /media/cd: can't read superblock on /dev/sr0.

sudo cdrskin --devices
cdrskin 1.5.0 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
cdrskin: Overview of accessible drives (1 found) :
-----------------------------------------------------------------------------
0 dev='/dev/sr0' rwrw-- : 'HL-DT-ST' 'DVD+-RW GU90N'
-----------------------------------------------------------------------------


/var/log/messages

Oct 25 09:38:52 debian-t kernel: [ 6346.340514] sr 2:0:0:0: [sr0] tag#28 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 25 09:38:52 debian-t kernel: [ 6346.340520] sr 2:0:0:0: [sr0] tag#28 Sense Key : Illegal Request [current]
Oct 25 09:38:52 debian-t kernel: [ 6346.340524] sr 2:0:0:0: [sr0] tag#28 Add. Sense: Illegal mode for this track
Oct 25 09:38:52 debian-t kernel: [ 6346.340528] sr 2:0:0:0: [sr0] tag#28 CDB: Read(10) 28 00 00 02 9a 2c 00 00 02 00



ll /dev/cdrom
lrwxrwxrwx 1 root root 3 okt 25 09:23 /dev/cdrom -> sr0

dd if=/dev/cdrom of=/dev/null bs=2048
dd: fel vid läsning av '/dev/cdrom': In/ut-fel
0+0 poster in
0+0 poster ut
0 byte kopierade, 0,0799289 s, 0,0 kB/s

with the /ver/log/messages
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725047] scsi_io_completion_action: 100 callbacks suppressed
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725056] sr 2:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725060] sr 2:0:0:0: [sr0] tag#1 Sense Key : Illegal Request [current]
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725065] sr 2:0:0:0: [sr0] tag#1 Add. Sense: Illegal mode for this track
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725069] sr 2:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Oct 25 10:08:52 debian-thierry kernel: [ 8146.725071] print_req_error: 100 callbacks suppressed
Oct 25 10:08:52 debian-thierry kernel: [ 8146.760980] sr 2:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 25 10:08:52 debian-thierry kernel: [ 8146.760982] sr 2:0:0:0: [sr0] tag#2 Sense Key : Illegal Request [current]
Oct 25 10:08:52 debian-thierry kernel: [ 8146.760983] sr 2:0:0:0: [sr0] tag#2 Add. Sense: Illegal mode for this track
Oct 25 10:08:52 debian-thierry kernel: [ 8146.760984] sr 2:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00 00 00 00 00 00 00 02 00
Oct 25 10:08:52 debian-thierry kernel: [ 8146.760988] buffer_io_error: 94 callbacks suppressed
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 07:24

I am stuck to understand this:

"If not, then a possible cause is the device file. Make sure than the device file in the /dev directory has the correct major and minor numbers as listed previously for your drive type. Check that the permissions on the device file allow reading and writing."


the dmesg mentions the scsi driver

so I tried those commands from the wiki but it did not solve the problem

# mknod /dev/scd0 b 11 0
# mknod /dev/scd1 b 11 1
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 07:50

initially iso did not show up in /proc/devices
I am very sure of it

It started to show up after I used the command
mount -t iso9660

So I suspect that the iso support is not accurately attached to my kernel. But I use the default debian 10 kernel. SO I am surprized.

I also tried rebooting.

uname -a
Linux debian-t 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux

The alternatives of a HW failure on a new computer or a broken debian are quite close to 0.

The major and minor numbers seem to match the one for the SCSI driver.

Moreover, this line was auto-added to my /etc/fstab

/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 08:04

I think now that I confused cat /proc/filesystems and /proc/devices
So iso must be attached the the defualt debian 10 kernel.
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby L_V » 2019-10-25 08:07

To clarify what you try to mount, is your CD-ROM player empty ? Or with something readable in it ?
+
Code: Select all
lsblk --scsi --paths
Last edited by L_V on 2019-10-25 08:11, edited 1 time in total.
L_V
 
Posts: 1125
Joined: 2007-03-19 09:04

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 08:09

LIBBLKID_DEBUG=all blkid -p -o udev /dev/sr0

Code: Select all
3430: libblkid:     INIT: library debug mask: 0xffff
3430: libblkid:     INIT: library version: 2.33.1 [09-Jan-2019]
Available "LIBBLKID_DEBUG=<name>[,...]|<mask>" debug masks:
   all      [0xffff] : info about all subsystems
   cache    [0x0004] : blkid tags cache
   config   [0x0008] : config file utils
   dev      [0x0010] : device utils
   devname  [0x0020] : /proc/partitions evaluation
   devno    [0x0040] : conversions to device name
   evaluate [0x0080] : tags resolving
   help     [0x0001] : this help
   lowprobe [0x0100] : superblock/raids/partitions probing
   buffer   [0x2000] : low-probing buffers
   probe    [0x0200] : devices verification
   read     [0x0400] : cache parsing
   save     [0x0800] : cache writing
   tag      [0x1000] : tags utils
3430: libblkid: LOWPROBE: allocate a new probe
3430: libblkid: LOWPROBE: zeroize wiper
3430: libblkid: LOWPROBE: CDROM: read sector 682164 failed In/ut-fel
3430: libblkid: LOWPROBE: CDROM: reduce size from 349274112 to 349267968.
3430: libblkid: LOWPROBE: ready for low-probing, offset=0, size=349267968
3430: libblkid: LOWPROBE: whole-disk: YES, regfile: NO
3430: libblkid: LOWPROBE: start probe
3430: libblkid: LOWPROBE: zeroize wiper
3430: libblkid: LOWPROBE: chain safeprobe superblocks ENABLED
3430: libblkid: LOWPROBE: --> starting probing loop [SUBLKS idx=-1]
3430: libblkid: LOWPROBE: [15] drbdproxy_datalog:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [19] DM_verity_hash:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [20] DM_integrity:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [21] crypto_LUKS:
3430: libblkid: LOWPROBE:    call probefunc()
3430: libblkid: LOWPROBE:    read: off=0 len=512
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [26] BitLocker:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [27] vfat:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [30] xfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [32] exfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [33] ext4dev:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [34] ext4:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [35] ext3:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [36] ext2:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [38] reiserfs:
3430: libblkid: LOWPROBE:    read: off=8192 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=8192 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [39] reiser4:
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [40] jfs:
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [41] udf:
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [42] iso9660:
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=32768 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [43] zfs_member:
3430: libblkid: LOWPROBE:    call probefunc()
3430: libblkid:    PROBE: probe_zfs

3430: libblkid: LOWPROBE:    read: off=0 len=262144
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [44] hfsplus:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [45] hfs:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [46] ufs:
3430: libblkid: LOWPROBE:    call probefunc()
3430: libblkid: LOWPROBE:    read: off=0 len=1377
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [47] hpfs:
3430: libblkid: LOWPROBE:    read: off=8192 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [48] sysv:
3430: libblkid: LOWPROBE:    call probefunc()
3430: libblkid: LOWPROBE:    read: off=512 len=512
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [49] xenix:
3430: libblkid: LOWPROBE:    read: off=2048 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=2048 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [50] ntfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [51] ReFS:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [52] cramfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [53] romfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [54] minix:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [55] gfs:
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [56] gfs2:
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [57] ocfs:
3430: libblkid: LOWPROBE:    read: off=8192 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [58] ocfs2:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=2048 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=4096 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=8192 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [59] oracleasm:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [60] vxfs:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [61] squashfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [62] squashfs3:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [63] nss:
3430: libblkid: LOWPROBE:    read: off=4096 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [64] btrfs:
3430: libblkid: LOWPROBE:    read: off=65536 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [65] ubifs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [66] bfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [67] VMFS:
3430: libblkid: LOWPROBE:    read: off=2097152 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [68] befs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [69] nilfs2:
3430: libblkid: LOWPROBE:    call probefunc()
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [70] exfat:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [71] f2fs:
3430: libblkid: LOWPROBE:    read: off=1024 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [72] mpool:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: [73] apfs:
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: <-- leaving probing loop (failed=1) [SUBLKS idx=73]
3430: libblkid: LOWPROBE: freeing values list
3430: libblkid: LOWPROBE: chain safeprobe topology DISABLED
3430: libblkid: LOWPROBE: chain safeprobe partitions ENABLED
3430: libblkid: LOWPROBE: --> starting probing loop [PARTS idx=-1]
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: gpt: ---> call probefunc()
3430: libblkid: LOWPROBE:    read: off=0 len=512
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: gpt: <--- (rc = 1)
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: ultrix: ---> call probefunc()
3430: libblkid: LOWPROBE:    read: off=15872 len=512
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: ultrix: <--- (rc = 1)
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=28672 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE:    read: off=0 len=1024
3430: libblkid: LOWPROBE:    read failed: In/ut-fel
3430: libblkid: LOWPROBE: atari: ---> call probefunc()
3430: libblkid: LOWPROBE: atari: <--- (rc = 1)
3430: libblkid: LOWPROBE: <-- leaving probing loop (failed=1) [PARTS idx=12]
3430: libblkid: LOWPROBE: parts: start probing for partition entry
3430: libblkid: LOWPROBE: parts: end probing for partition entry [nothing]
3430: libblkid: LOWPROBE: partitions probe done [rc=1]
3430: libblkid: LOWPROBE: end probe
3430: libblkid: LOWPROBE: zeroize wiper
3430: libblkid: LOWPROBE: free probe
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 08:50

THank you L_V for the help.

An audio CD is located in the CD ROM. ANd I wait 1 minute after the insertion for the LED light to stop blinking.

your command produces this:

lsblk --scsi --paths
NAME HCTL TYPE VENDOR MODEL REV TRAN
/dev/sr0 2:0:0:0 rom HL-DT-ST HL-DT-ST_DVD+_-RW_GU90N A1C3 sata
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby L_V » 2019-10-25 08:53

Is your CDROM automatically detected by UDEV ?
Code: Select all
udevadm monitor --env
udevadm info -a -p $(udevadm info -q path -n /dev/sr0)
L_V
 
Posts: 1125
Joined: 2007-03-19 09:04

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 09:05

L_V wrote:Is your CDROM automatically detected by UDEV ?
Code: Select all
udevadm monitor --env
udevadm info -a -p $(udevadm info -q path -n /dev/sr0)


The first command gets stuck. And here is the second command's output. But I can't answer your question.

Code: Select all
sudo udevadm info -a -p $(udevadm info -q path -n /dev/sr0)

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

  looking at device '//devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0':
    KERNEL=="sr0"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{hidden}=="0"
    ATTR{inflight}=="       0        0"
    ATTR{range}=="1"
    ATTR{capability}=="119"
    ATTR{events}=="media_change eject_request"
    ATTR{size}=="682176"
    ATTR{removable}=="1"
    ATTR{ro}=="0"
    ATTR{alignment_offset}=="0"
    ATTR{discard_alignment}=="0"
    ATTR{events_async}==""
    ATTR{stat}=="     567        0     4688    19904        0        0        0        0        0    19932    19932        0        0        0        0"
    ATTR{events_poll_msecs}=="-1"
    ATTR{ext_range}=="1"

  looking at parent device '//devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0/2:0:0:0':
    KERNELS=="2:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sr"
    ATTRS{evt_mode_parameter_change_reported}=="0"
    ATTRS{queue_ramp_up_period}=="120000"
    ATTRS{timeout}=="30"
    ATTRS{queue_type}=="none"
    ATTRS{evt_inquiry_change_reported}=="0"
    ATTRS{iodone_cnt}=="0xbc3"
    ATTRS{eh_timeout}=="10"
    ATTRS{evt_lun_change_reported}=="0"
    ATTRS{iocounterbits}=="32"
    ATTRS{queue_depth}=="1"
    ATTRS{iorequest_cnt}=="0xe08"
    ATTRS{rev}=="A1C3"
    ATTRS{evt_media_change}=="0"
    ATTRS{device_blocked}=="0"
    ATTRS{blacklist}=="NOREPORTLUN"
    ATTRS{evt_capacity_change_reported}=="0"
    ATTRS{type}=="5"
    ATTRS{vendor}=="HL-DT-ST"
    ATTRS{ncq_prio_enable}=="0"
    ATTRS{evt_soft_threshold_reached}=="0"
    ATTRS{scsi_level}=="6"
    ATTRS{model}=="DVD+-RW GU90N   "
    ATTRS{device_busy}=="0"
    ATTRS{dh_state}=="detached"
    ATTRS{ioerr_cnt}=="0xb"
    ATTRS{state}=="running"

  looking at parent device '//devices/pci0000:00/0000:00:17.0/ata3/host2/target2:0:0':
    KERNELS=="target2:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '//devices/pci0000:00/0000:00:17.0/ata3/host2':
    KERNELS=="host2"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '//devices/pci0000:00/0000:00:17.0/ata3':
    KERNELS=="ata3"
    SUBSYSTEMS==""
    DRIVERS==""

  looking at parent device '//devices/pci0000:00/0000:00:17.0':
    KERNELS=="0000:00:17.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="ahci"
    ATTRS{dma_mask_bits}=="64"
    ATTRS{local_cpulist}=="0-11"
    ATTRS{ari_enabled}=="0"
    ATTRS{class}=="0x010601"
    ATTRS{subsystem_vendor}=="0x1028"
    ATTRS{label}=="Onboard - SATA"
    ATTRS{index}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{d3cold_allowed}=="1"
    ATTRS{msi_bus}=="1"
    ATTRS{numa_node}=="-1"
    ATTRS{device}=="0xa352"
    ATTRS{vendor}=="0x8086"
    ATTRS{driver_override}=="(null)"
    ATTRS{subsystem_device}=="0x0860"
    ATTRS{enable}=="1"
    ATTRS{consistent_dma_mask_bits}=="64"
    ATTRS{local_cpus}=="fff"
    ATTRS{revision}=="0x10"
    ATTRS{irq}=="126"

  looking at parent device '//devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby L_V » 2019-10-25 09:12

seems OK.
And this
Code: Select all
udisksctl info -b /dev/sr0
udisksctl mount -b /dev/sr0
L_V
 
Posts: 1125
Joined: 2007-03-19 09:04

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 09:17

Here are the results. I may take some time before answering.

Code: Select all
udisksctl info -b /dev/sr0
/org/freedesktop/UDisks2/block_devices/sr0:
  org.freedesktop.UDisks2.Block:
    Configuration:              [('fstab', {'fsname': <b'/dev/sr0'>, 'dir': <b'/media/cdrom0'>, 'type': <b'udf,iso9660'>, 'opts': <b'user,noauto'>, 'freq': <0>, 'passno': <0>})]
    CryptoBackingDevice:        '/'
    Device:                     /dev/sr0
    DeviceNumber:               2816
    Drive:                      '/org/freedesktop/UDisks2/drives/HL_DT_ST_DVD_2b_2f_RW_GU90N_KZAIAGA2106'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          false
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         
    IdLabel:                   
    IdType:                     
    IdUUID:                     
    IdUsage:                   
    IdVersion:                 
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sr0
    ReadOnly:                   true
    Size:                       349274112
    Symlinks:                   /dev/cdrom
                                /dev/cdrw
                                /dev/disk/by-id/ata-HL-DT-ST_DVD+_-RW_GU90N_KZAIAGA2106
                                /dev/disk/by-id/wwn-0x5001480000000000
                                /dev/disk/by-path/pci-0000:00:17.0-ata-3
                                /dev/dvd
                                /dev/dvdrw
    UserspaceMountOptions:     



Code: Select all
udisksctl mount -b /dev/sr0
Object /org/freedesktop/UDisks2/block_devices/sr0 is not a mountable filesystem.


and same result with the option --filesystem-type iso9660
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby L_V » 2019-10-25 09:21

Code: Select all
lsblk -o name,fstype /dev/sr0
L_V
 
Posts: 1125
Joined: 2007-03-19 09:04

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 09:23

here I found one cannot use udisksctl if the device was not mounted first
https://bugs.freedesktop.org/show_bug.cgi?id=52357
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 09:24

Code: Select all
lsblk -o name,fstype /dev/sr0
NAME FSTYPE
sr0 
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Re: Please help with mounting the CD ROM

Postby MagicPoulp » 2019-10-25 09:26

here it says audio CDs cannot be mounted.

https://bbs.archlinux.org/viewtopic.php?id=131299

I am mainly interested in playing the music on the CD.
MagicPoulp
 
Posts: 219
Joined: 2018-11-05 21:30

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable