LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-08-2021, 08:46 AM   #1
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Rep: Reputation: Disabled
CD-ROM not detected


Hi everyone. I am a relatively new user. I want to find/detect my CD-ROM drive in Linux Debian 10, possibly I need non free firmware to make it work. I get the messages below with few commands that I tired.

Code:
root@debian:~# lsblk -io NAME,TYPE,SIZE,MOUNTPOINT,FSTYPE,MODEL
NAME                  TYPE    SIZE MOUNTPOINT FSTYPE MODEL
sda                   disk  149,1G                   WDC_WD1600BEVS-6
|-sda1                part    487M /boot      ext2   
|-sda2                part      1K                   
`-sda5                part  148,6G            crypto 
  `-sda5_crypt        crypt 148,6G            LVM2_m 
    |-debian--vg-root lvm   147,6G /          ext4   
    `-debian--vg-swap_1
                      lvm     976M [SWAP]     swap   
root@debian:~# cat /proc/sys/dev/cdrom/info
cat: /proc/sys/dev/cdrom/info: Arquivo ou diretório inexistente
root@debian:~# blkid
/dev/sda1: UUID="d7d03b1b-d63f-482c-9c6b-dd216a104bb2" TYPE="ext2" PARTUUID="a7c8731e-01"
/dev/sda5: UUID="667bf251-d8f0-4390-9c24-030c251209b5" TYPE="crypto_LUKS" PARTUUID="a7c8731e-05"
/dev/mapper/sda5_crypt: UUID="SNOAOV-dpzp-JkKe-sGpi-TBzg-FndR-3kDcP5" TYPE="LVM2_member"
/dev/mapper/debian--vg-root: UUID="94c27b6a-100a-4b11-90aa-35ac7931badb" TYPE="ext4"
/dev/mapper/debian--vg-swap_1: UUID="cd473679-a23a-4754-930b-6a62fb8c9423" TYPE="swap"
root@debian:~# mount /dev/sr0
mount: /media/cdrom0: special device /dev/sr0 does not exist.
I would appreciate some help to solve this.
Thanks in advance.

Last edited by Cibernauta; 03-08-2021 at 08:54 AM. Reason: Spelling mistakes
 
Old 03-08-2021, 09:02 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,640

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Examine your bootlog (try dmesg) and see if the hardware is detected.
Is it set to recognize it in the BIOS? (on some hardware it can be turned off there.)
 
Old 03-08-2021, 09:46 AM   #3
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
As far as I can understand dmesg does not detect it, but it is turned on in the BIOS, BIOS can boot from CD. I installed Debian 10 through a minimum CD net install for 32-bits using an external CD-ROM drive due to the present reason. As long as I remember the drive was then recognized during the install but the firmware was non free, possibly.
 
Old 03-08-2021, 09:47 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Special firmware should not be required. However, we do not know what type of drive you are trying to use i.e USB, SATA or even IDE.

If it is a regular internal IDE or SATA CDROM drive, as posted make sure it is enabled in the BIOS/UEFI settings.
 
Old 03-08-2021, 10:37 AM   #5
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
It is ATAPI/IDE acordingly to BIOS information. It is enabled in BIOS. Not USB. Possibly it is a "Mitsumi" drive.

Last edited by Cibernauta; 03-08-2021 at 10:43 AM.
 
Old 03-08-2021, 10:51 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Is your hard drive SATA?
 
Old 03-08-2021, 11:03 AM   #7
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
I get this. Not sure if it is SATA (or ATA). I own an old laptop (HP Pavilion dv 6500).

Code:
root@debian:~# lshw -class disk 
  *-disk                    
       description: ATA Disk
       product: WDC WD1600BEVS-6
       vendor: Western Digital
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/sda
       version: 1G04
       serial: WD-WXCX07368431
       size: 149GiB (160GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=a7c8731e
 
Old 03-08-2021, 11:15 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
What HDD controller info you see in 'lspci -k' output, no need to post all of it, just controllers part, like this example output from my computer:
Code:
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        Subsystem: Super Micro Computer Inc 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
        Kernel driver in use: ahci
0b:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
        Subsystem: Super Micro Computer Inc ASM1062 Serial ATA Controller
        Kernel driver in use: ahci
 
Old 03-08-2021, 11:19 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
That is your hard drive which is a SATA.

From the specifications I found on your laptop I would assume your CD drive is also SATA.

Since the output of the lshw does not show the cdrom drive and going by your previous posts that it is enabled it could be just broken.

Last edited by michaelk; 03-08-2021 at 11:20 AM.
 
Old 03-08-2021, 11:49 AM   #10
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
I see this, I think it is related to the hd.
Code:
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
        Subsystem: Hewlett-Packard Company Pavilion dv6700
        Kernel driver in use: ata_piix
        Kernel modules: ata_piix, ata_generic
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
 
Old 03-08-2021, 11:52 AM   #11
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
Before I installed Debian the drive was working. As I wrote there was an related occurrence during the install. Thanks for your posts and time.
 
Old 03-08-2021, 12:52 PM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
One more thing, please run 'lspci -nnk' and get the PCI ID for this IDE controller. In below example [8086:a282] is the PCI ID.
Code:
00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
And another thing, are there any hd* device nodes in /dev/ ?
 
Old 03-08-2021, 04:00 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Just thoughts.

Laptops have some parts on a daughterboard. Also Knoppix had a boot parameter to get some drives working. So either you need to get daughterboard working or the parameter for unique drive.

Just to check. Can you boot to a bootable cd/dvd?
 
Old 03-09-2021, 05:07 PM   #14
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You also should look in /dev and see if there is a /dev/cdrom there; If so then the device is seen and configured. /dev/sr0 is (usually) the physical device, linked to by /dev/cdrom, but if a disk is not in there is no way to mount it. With a disk it should give you a /dev/cdrom0 to mount.

For you as a user, you likely cannot use it unless you are a member of the cdrom group. The command "groups" will tell you which groups your user belongs to.

Also, you mostly cannot do anything with the cdrom unless a disk is in the drive.
 
Old 03-09-2021, 05:39 PM   #15
Cibernauta
LQ Newbie
 
Registered: Mar 2021
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: Disabled
I could not solve this problem. As my installation was giving me too many problems and made the computer running slow I tried a lightweight distro (Parrot Linux Home) which is also based in Debian and has some nice programs installed. I have no problems anymore with CD/DVD drive (the same I was using) and the computer runs faster. It was possible to boot from CDs in BIOS, that was not the problem. I imagine it has to do about Debian Policies in terms of non free firmware and software.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Motherboard see's DVD rom, Is configured to boot dvd rom, but not booting from dvd Carlo1973 Linux - Hardware 6 08-21-2010 11:44 AM
[SOLVED] CD-ROM not detected, then hard disk not detected helpless-new-fulla Linux - Newbie 4 06-28-2010 01:39 AM
New install, cd rom and dvd rom do not work sniperhf Linux - Hardware 3 06-08-2004 05:24 PM
CD-ROM not detected emolina Linux - Hardware 15 09-07-2003 01:40 PM
DVD-ROM not detected CD-RW mistaken as CD-ROM Device DarkXtar Slackware 21 06-02-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration