DVD Drive does not work

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

DVD Drive does not work

Post by Vermilion »

Hello,

I had to wipe my complete SSD and did a new clean install of GhostBSD 20.04. Now my DVD drive does not work. It does not show up any DVDs or CDs and also when I want to burn, it does not show up any drive or media.

When rebooting from Ubuntu via USB the DVD Drive works as usual.

devfs.rules is as usual:

Code: Select all

[devfsrules_common=7]
add path 'acd[0-9]*' mode 666
add path 'ad[0-9]*' mode 666
add path 'ada[0-9]*' mode 666
add path 'cd[0-9]*' mode 666
add path 'cx23885*' mode 666
add path 'cx88*' mode 666
add path 'da[0-9]*' mode 666
add path 'dri/*' mode 666
add path 'drm/*' mode 666
add path 'dvb/*' mode 666
add path 'fd[0-9]*' mode 666
add path 'iicdev*' mode 666
add path 'lpt[0-9]*' mode 666
add path 'mmcsd[0-9]*' mode 666
add path 'pass[0-9]*' mode 666
add path 'tuner[0-9]*' mode 666
add path 'ugen[0-9]*' mode 666
add path 'ulpt[0-9]*' mode 666
add path 'unlpt[0-9]*' mode 666
add path 'usb/*' mode 666
add path 'usbctl' mode 666
add path 'uscan[0-9]*' mode 666
add path 'uvisor[0-9]*' mode 666
add path 'video[0-9]*' mode 666
add path 'xpt[0-9]*' mode 666
EDIT: I also checked this lines at devfs.conf (firtst two of them were commented out, I added some lines)

Code: Select all

# Commonly used by many ports
link	cd0	cdrom
link	cd0	dvd
perm    cd*     0666
perm    xpt*    0666
perm    pass*   0666
Regards Verm

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

Hello again,

I checked another machine with DVD drive, (it is still not updated to last release) and there I see that I did not need to make the changes to devfs.conf.

But I did dmesg and it showed me following:

Code: Select all

grep cd0
ses0: cd0,pass1 in 'Slot 01', SATA Slot: scbus1 target 0
cd0 at ahcich1 bus 0 scbus1 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GU40N QX21> Removable CD-ROM SCSI device
cd0: Serial Number M42BC352157
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes)
cd0: 0MB (1 2048 byte sectors)
(cd0:ahcich1:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd0:ahcich1:0:0:0): CAM status: SCSI Status Error
(cd0:ahcich1:0:0:0): SCSI status: Check Condition
(cd0:ahcich1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
(cd0:ahcich1:0:0:0): Error 6, Unretryable error
(cd0:ahcich1:0:0:0): cddone: got error 0x6 back
When doing this similar on ubuntu the drive works as usual and dmesg does not show me an error.

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

That's serious problem! I have updated just another Notebook and now I got same error there, too!

User avatar
ericbsd
Developer
Posts: 1516
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 47 times
Been thanked: 75 times

Re: DVD Drive does not work

Post by ericbsd »

We did switch from the unmaintained gnome-mount and hald to sysutils/automount that use FreeBSD devd. Yesterday I have sent an automount update it should fine now I have been able to get DVD and CD to automount with the new update.

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

Hello Eric, as I see on the one notebook it works again, fine! Hope my Thinkpad will too. Thanks

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

Hello again,

on my Thinkpad where I did a fresh and clean install of GhostBSD 20.04 it still does not work. I still get the same error as in my second post, after the automount upgrade. My automount Version is 1.7.3 there.

User avatar
ericbsd
Developer
Posts: 1516
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 47 times
Been thanked: 75 times

Re: DVD Drive does not work

Post by ericbsd »

Did you reboot?

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

Of Course. I did the upgrade in the morning and tried 1,5 Hours ago. Still no DVD avaiable for me. I tried as normal user and as Operator.

Vermilion
Posts: 39
Joined: Sat Jan 18, 2020 5:52 am
Has thanked: 2 times
Been thanked: 5 times

Re: DVD Drive does not work

Post by Vermilion »

I don´t know if that may help or not, on my ThinkPad it only upgraded the automount. On my other Notebook It upgraded from 20.03 to 20.04, I suppose.

Post Reply