Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo not detecting my CD/DVD drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grell
n00b
n00b


Joined: 02 Feb 2006
Posts: 12

PostPosted: Wed Jun 17, 2015 8:17 pm    Post subject: Gentoo not detecting my CD/DVD drive Reply with quote

Hello, I am running Gentoo on amd64 hardware using the 4.0.5-gentoo kernel. I am having a problem where Gentoo does not recognize my CD drive at all. Brasero doesn't see it, xfburn does not see it, it does not show up when I use cdrecord -scanbus (only my SATA hard drives show up there). I am guessing that the kernel simply was not compiled with support for my CD drive as it works fine on my Debian installation (I dual boot Debian and Gentoo). I just don't know which drivers I need to compile in. It is a SATA DVD/CD burning drive. Thanks in advance.

-Grell
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Wed Jun 17, 2015 8:18 pm    Post subject: Reply with quote

Please post the output of lspci and lspci -n.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
grell
n00b
n00b


Joined: 02 Feb 2006
Posts: 12

PostPosted: Wed Jun 17, 2015 8:25 pm    Post subject: Reply with quote

Here is lspci output:
Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port B)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port D)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port E)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890 PCI to PCI bridge (PCI express gpp port G)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)
06:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)


Here is lspci -n output:
Code:
00:00.0 0600: 1002:5a14 (rev 02)
00:02.0 0604: 1002:5a16
00:04.0 0604: 1002:5a18
00:05.0 0604: 1002:5a19
00:07.0 0604: 1002:5a1b
00:11.0 0106: 1002:4390 (rev 40)
00:12.0 0c03: 1002:4397
00:12.2 0c03: 1002:4396
00:13.0 0c03: 1002:4397
00:13.2 0c03: 1002:4396
00:14.0 0c05: 1002:4385 (rev 42)
00:14.1 0101: 1002:439c (rev 40)
00:14.2 0403: 1002:4383 (rev 40)
00:14.3 0601: 1002:439d (rev 40)
00:14.4 0604: 1002:4384 (rev 40)
00:14.5 0c03: 1002:4399
00:15.0 0604: 1002:43a0
00:16.0 0c03: 1002:4397
00:16.2 0c03: 1002:4396
00:18.0 0600: 1022:1600
00:18.1 0600: 1022:1601
00:18.2 0600: 1022:1602
00:18.3 0600: 1022:1603
00:18.4 0600: 1022:1604
00:18.5 0600: 1022:1605
02:00.0 0200: 10ec:8168 (rev 09)
03:00.0 0c03: 1b21:1042
04:00.0 0c03: 1b21:1042
06:00.0 0300: 10de:0fc1 (rev a1)
06:00.1 0403: 10de:0e1b (rev a1)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43186
Location: 56N 3W

PostPosted: Wed Jun 17, 2015 8:47 pm    Post subject: Reply with quote

grell,

It would be useful to know if your CD is SATA ore IDE anyway, here is some things to be going on with.

Code:
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)

Using IDE mode on your SATA controller is a very bad thing. Its indended to be used only once by Windows users and then only long enough to install the AHCI driver.
IDE mode also disables some ports, so if you have a SATA CDROM connected to a disabled port ...

Check your kernel settings.
Code:
  │ │      < > ATA/ATAPI/MFM/RLL support (DEPRECATED) (NEW)  ----                       │ │ 
  │ │          SCSI device support  --->                                                │ │ 
  │ │      <*> Serial ATA and Parallel ATA drivers (libata)  --->


SCSI device support --->
Code:
  │ │      < > RAID Transport Class (NEW)                                               │ │ 
  │ │      -*- SCSI device support                                                      │ │ 
  │ │      [ ] SCSI: use blk-mq I/O path by default (NEW)                               │ │ 
  │ │      [*] legacy /proc/scsi/ support (NEW)                                         │ │ 
  │ │          *** SCSI support type (disk, tape, CD-ROM) ***                           │ │ 
  │ │      <*> SCSI disk support                                                        │ │ 
  │ │      < > SCSI tape support (NEW)                                                  │ │ 
  │ │      < > SCSI OnStream SC-x0 tape support (NEW)                                   │ │ 
  │ │      <*> SCSI CDROM support                                                       │ │ 
  │ │      [*]   Enable vendor-specific extensions (for SCSI CDROM)                     │ │ 
  │ │      <*> SCSI generic support
Your CDROM will appear as /dev/sr0 which is a SCSI devico name, even if its PATA.

<*> Serial ATA and Parallel ATA drivers (libata) --->
Code:
  │ │        <*>   AHCI SATA support                                                       │ │ 
  │ │        [*]   ATA SFF support (for legacy IDE and PATA) (NEW)                         │ │ 
  │ │                *** SFF controllers with custom DMA interface ***                     │ │ 
  │ │        [*]     ATA BMDMA support (NEW)                                               │ │ 
  │ │                  *** SATA SFF controllers with BMDMA ***                             │ │ 
  │ │        <*>       AMD/NVidia PATA support


Rebuild and reinstall your kernel. Go into the BIOS and switch your SATA support to AHCI. It will be legacy/IDE now.
Boot into yor new kernel.

lspci should say
Code:
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
which will give you inproved hard drive access times and your CDROM should be on /dev/sr0.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
grell
n00b
n00b


Joined: 02 Feb 2006
Posts: 12

PostPosted: Thu Jun 18, 2015 12:02 am    Post subject: Reply with quote

NeddySeagoon wrote:

Rebuild and reinstall your kernel. Go into the BIOS and switch your SATA support to AHCI. It will be legacy/IDE now.
Boot into yor new kernel.

lspci should say
Code:
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
which will give you inproved hard drive access times and your CDROM should be on /dev/sr0.
Switching it to AHCI in the BIOS did the trick, thank you for your support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum