You are not logged in.

#1 2020-10-24 23:13:09

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

accessing DVD/CDrom not possible as user

$  cat /proc/sys/dev/cdrom/info

gives

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr0
drive speed:		24
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		1
Can write DVD-R:	1
Can write DVD-RAM:	1
Can read MRW:		1
Can write MRW:		1
Can write RAM:		1

It appeared I was already member of the cdrom group but I did

$ sudo usermod -a -G cdrom trilobite

If I use the file manager as sudo

 $ sudo thunar

the cdrom appears as cdrom0

It is probably something simple?  That I am missing or did wrong.  Thanks!


{Linux-using people I haven't met are friends yet to be made.}

Offline

#2 2020-10-24 23:33:54

hhh
Meep!
Registered: 2015-09-17
Posts: 10,755
Website

Re: accessing DVD/CDrom not possible as user

I can't troubleshoot this, but I can offer a suggestion. Post the content of /etc/fstab

Offline

#3 2020-10-25 01:14:09

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

Thanks. 
this is /etc/fstab

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/wja6910--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=78774bc4-007f-43d6-b3e5-c5574b3374cd /boot           ext2    defaults        0       2
/dev/mapper/trilobite--vg-swap_1 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0

{Linux-using people I haven't met are friends yet to be made.}

Offline

#4 2020-10-25 07:47:34

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 750

Re: accessing DVD/CDrom not possible as user

If you run thunar and have automount set, it will be mounted under /media/root/* and not acessible for you I think.

what is the result, if you in terminal, as user, give command

mount /dev/sr0 

// Regards rbh

Offline

#5 2020-10-25 18:26:34

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

I get this;

$ mount /dev/sr0 
mount: no medium found on /dev/sr0

Note BTW, that this is two machines running Lithium, and both ran Linux Mint before with the drives accessible.  Both are DVD drives, but I didn't think that was important. This only came up because someone I gave a computer tried a DVD and reported the problem. Thanks.

Last edited by trilobite (2020-10-25 18:37:06)


{Linux-using people I haven't met are friends yet to be made.}

Offline

#6 2020-10-25 19:25:43

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,305

Re: accessing DVD/CDrom not possible as user

Have you tried to mount the DVD manually?

What kind of DVD. data, movie ...?


You must unlearn what you have learned.
    -- yoda

Offline

#7 2020-10-25 20:05:48

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

PackRat wrote:

Have you tried to mount the DVD manually?

What kind of DVD. data, movie ...?

Thanks, but it doesn't matter what kind of CD or dvd, or its contents.  It appears the issue is the drives being recognized by the operating system.  I'm beyond my knowledge.

I checked out further.  If I open Thunar file manager

$ sudo thunar

, the drive does appear.  But the same error when I try to access it of

mount: no medium found on /dev/sr0

When I eject the cdrom in thunar ($sudo thunar), the error comes up:

eject: unable to eject, last error: Inappropriate ioctl for device

Note that the drive spins and makes sounds like it should. The "io" I assume is "input / output' in ioctl. Additional things (I'm over my head here)

 $sudo hdparm -D1 /dev/cdrom
[sudo] password for trilobite: 

/dev/cdrom:
 setting drive defect management to 1
 HDIO_DRIVE_CMD(defectmgmt) failed: Input/output error

Last edited by trilobite (2020-10-25 20:15:47)


{Linux-using people I haven't met are friends yet to be made.}

Offline

#8 2020-10-25 20:28:15

sleekmason
Member
Registered: 2018-05-22
Posts: 259

Re: accessing DVD/CDrom not possible as user

From the Debian Wiki here:
https://wiki.debian.org/CDDVD
If you have xorriso installed, or are willing to:)

xorriso -devices

Shows on my computer:

Full drive scan done
-----------------------------------------------------------------------------
0  -dev '/dev/sr0' rwrw-- :  'HL-DT-ST' 'DVD+-RW GA11N' 

There is a lot more info on that page that may help.
Also, just to note, your fstab was fine:)

Offline

#9 2020-10-25 20:57:05

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

Thanks.  I did

xorriso -devices

the output is unhappy I think:

xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Beginning to scan for devices ...
libburn : FAILURE : SCSI command 12h yielded host problem: 0x4 SG_ERR_DID_BAD_TARGET (Bad target, device not responding ?)
libburn : FATAL : Lost connection to drive
xorriso : SORRY : No drives found
xorriso : aborting : -abort_on 'FAILURE' encountered 'FATAL'

{Linux-using people I haven't met are friends yet to be made.}

Offline

#10 2020-10-26 03:11:53

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,031

Re: accessing DVD/CDrom not possible as user

trilobite wrote:

Thanks.  I did

xorriso -devices

the output is unhappy I think:

xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.

Beginning to scan for devices ...
libburn : FAILURE : SCSI command 12h yielded host problem: 0x4 SG_ERR_DID_BAD_TARGET (Bad target, device not responding ?)
libburn : FATAL : Lost connection to drive
xorriso : SORRY : No drives found
xorriso : aborting : -abort_on 'FAILURE' encountered 'FATAL'

Check the cable connection on the drive and reseat it (on both ends) or otherwise perhaps replace the cable with a new one. What is the make and model of this DVD drive? If the cable is not the issue the drive may be failing and needs to be replaced.


Real Men Use Linux

Offline

#11 2020-10-26 15:41:35

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

I can live boot another distro from DVD from the drive. No issues. Also can boot from usb and access from live distro.


{Linux-using people I haven't met are friends yet to be made.}

Offline

#12 2020-10-26 17:43:55

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

The problem is replicated on 2 HP-Compaq laptops HP6910 and HP6930.  Further research.  I called up two people I gave away 2 previous computers to.  It's not happening with an equally aged Dell Vostro and a Toshiba, all installed with the same USB stick.  These folks are using the DVD drive with no trouble.

Because the 2 HPs play nicely with other distros, there's obviously somethings missing to make their specific DVD drives work.  It's identified as Optiarc AD-7561S in the HP6930.  I believe these are 2007 vintage computers.

This is not mission critical my any means. I give these old computers away to elderly isolated people. So long as they know there's no DVD, it'll be okay.  Perhaps support for some really old hardware is dropped?


{Linux-using people I haven't met are friends yet to be made.}

Offline

#13 2020-10-26 18:22:14

sleekmason
Member
Registered: 2018-05-22
Posts: 259

Re: accessing DVD/CDrom not possible as user

Just a thought. Did you originally install to these computers using usb or the cd drive?

If installed using usb, could the installer recognizing the usb as 'cdrom' during install somehow lead to this type of corruption after install?

Offline

#14 2020-10-26 19:34:27

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 750

Re: accessing DVD/CDrom not possible as user

I searched the net for

HP6930 Optiarc AD-7561S DVD error linux

Your experince is the same as in this thread from Arch forum in 2012:
[Solved] Optiarc DVD RW AD-7561S AH03 not working consistently.

That poster gave up on the DVD..

Last edited by rbh (2020-10-26 19:35:00)


// Regards rbh

Offline

#15 2020-10-26 21:51:36

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

These are both interesting responses.  Thanks very much for tracking things down for me.  So good of you.

The wrong ident for the cdrom is worthy of another investigation.   No harm trying.   (I certainly have time: sunset about 17:30 (5;30pm) and it's been -15°C over nights. We need snow!)

The Arch Linux post suggests that perhaps support for this drive has been dropped I guess.  Which would make me suspect that it has something software controlled that is normally hardware.  As far as I understand these HP computers were mass produced cheap things for the business market.  Relatively robust, basically designed to be like replaceable office water machines. 

I would never have known about the DVD drives.  I never usually test them as I go through these old machines. Rare use of DVDs these days.

Mild brag: I'm at 14 free laptops since March I've gotten ready to give to (mostly elderly) people, who can't go anywhere during the pandemic, and don't have computers.  If they're in towns, there's free (quite slow but usable) internet which is a bonus.

Last edited by trilobite (2020-10-26 21:55:13)


{Linux-using people I haven't met are friends yet to be made.}

Offline

#16 2020-10-26 22:06:18

sleekmason
Member
Registered: 2018-05-22
Posts: 259

Re: accessing DVD/CDrom not possible as user

trilobite wrote:

Mild brag: I'm at 14 free laptops since March I've gotten ready to give to (mostly elderly) people, who can't go anywhere during the pandemic, and don't have computers.  If they're in towns, there's free (quite slow but usable) internet which is a bonus.

Too cool!! I have thought about doing something similar. You are an inspiration:)

So, if I understand you correctly, some other distros might not have this problem with the same computer? Well, Hope you get it tracked down.  maybe somebody will still come along with the quick answer:)

Offline

#17 2020-10-27 14:13:16

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 750

Re: accessing DVD/CDrom not possible as user

@trilobite, maybe you should try a new post in HP forum?, if no one here has some good solution...


// Regards rbh

Offline

#18 2020-10-27 20:36:44

trilobite
Member
From: Saskatchewan, Canada
Registered: 2017-06-27
Posts: 47

Re: accessing DVD/CDrom not possible as user

Your points are good ones again. 

Yes, the drive did work with LinuxMint 15? I think it way.  It's whatever I had lying around.  Not sure that makes diff to it not working now.  The drive is an old timer with something quirky in it.

Re HP forums.  I'll have a look, if there's some specific place you've in mind let me know.  I've got a HP tower, with a WinXP sticker on it.  Though it has Win7 in it.  It looks it's age.  But runs.  And it has a DVD drive wink

People just throw these things out.  These and old bicycles.  I'm also collecting those.  They're more work to refurb, so I'm giving to the local bicycle co-op which fixes and sells at very low cost. Linux and Bicycles will be the name of the pub I open.  Full of interesting people, wearing masks, socially distant.

Last edited by trilobite (2020-10-27 20:37:07)


{Linux-using people I haven't met are friends yet to be made.}

Offline

#19 2020-10-27 21:00:31

damo
....moderator....
Registered: 2015-08-20
Posts: 6,404

Re: accessing DVD/CDrom not possible as user

trilobite wrote:

...Linux and Bicycles will be the name of the pub I open...

GNUbikes


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB