The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Gentoo not seeing DVD Drive

    Discussion in 'Linux Compatibility and Software' started by TornMorals, Jan 9, 2008.

  1. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    I'm running Gentoo Linux on my Sager NP9261 which has a "DUAL Pioneer Combo 8x8x6x4x Dual Layer DVD +/-R/RW 5x DVD-RAM 24x CD-R/RW" and from what I can find it's a DVR-K17. Obviously the DVD drive shows up in the Live CD and it also shows up under Windowz but when I but into my Gentoo installation it isn't there.
    Just wondering if anyone had any ideas on getting it to detect and use.
    Thanks
     
  2. notyou

    notyou Notebook Deity

    Reputations:
    652
    Messages:
    1,562
    Likes Received:
    0
    Trophy Points:
    55
    So... you can't see it when there's nothing in it?
    Does it still work if you put in a CD/DVD?
     
  3. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    LOL! Even if there's something in it of course. I'd be a bit worried about my mental state if that was the problem. CD's DVD's nothing detects. I noticed that when I was installing Gentoo that it was on /dev/hda. But hda doesn't exist. There isn't anything hd* at all in /dev/. Nor dose /dev/cdrom exist. Also there isn't anything but my single hard drive under serial. /dev/sda.
    I do remember when I was running Ubuntu that it was under /dev/sdb and that during the installation of Gentoo lspci saw the drive as a serial device.

    Edit: also lspci dose not see it in the fully emerged system.
     
  4. notyou

    notyou Notebook Deity

    Reputations:
    652
    Messages:
    1,562
    Likes Received:
    0
    Trophy Points:
    55
    I find that my hard drive and cd drive is found under /media, check there.
    You may also need to update/install a more recent kernel.
    Other than that, I don't know, you should check with John B since he definitely knows more about Linux than me.
     
  5. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Do you have /dev/sr0 ?
     
  6. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    For the /media the DVD drive isn't even seen as hardware so there wont be anything mounted yet. Also I have the latest stable kernel the gentoo-sources has to offer.

    Nope no /dev/sr0
     
  7. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Could you post the output of dmesg | grep DVD ?
     
  8. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    No output from the DVD. (Ah love grep)
    Being that there's no output and I don't see anything dangerous to me to be posting I'll attach a whole dump of what dmesg gave me.
    LOL it made me put .txt at the end...
     

    Attached Files:

  9. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Could you type lsmod and post the output?
     
  10. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Module Size Used by
    iptable_filter 4992 0
    ip_tables 18792 1 iptable_filter
    x_tables 17032 1 ip_tables
    nvidia 6999252 36
    iwl3945 155956 0
    mac80211 124164 1 iwl3945
    cfg80211 8784 1 mac80211
     
  11. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Please type it as root.
     
  12. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    That is as root.
    Also I never expected someone to respond so fast and thank you too!
     
  13. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    It's a pleasure :)

    Try modprobe ata_piix
     
  14. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    FATAL: Module ata_piix not found.
     
  15. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    And modprobe piix ?
     
  16. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Same thing. Any idea where that is located in make menuconfig? I could try rebuilding my kernel with that set as a module. I'm google'n it now.
     
  17. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    Have you compiled the kernel?
     
  18. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Yea. It's a custom one right now. Though the first time I installed Gentoo I used "Gen-Kernel" and it didn't show up so it seems that not even Gen-Kernel built it in. Heh this things fast. ~10 min to build it!
     
  19. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
  20. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Thanks. I'm working on that. I was trying to boot to Ubuntu to see what was loading in it but I have to burn a new CD for it (Yay for having extra PC's).
    That link has a lot of good information!

    Edit: Him... Wheres the +Rep button...
     
  21. John B

    John B Notebook Prophet

    Reputations:
    1,767
    Messages:
    4,195
    Likes Received:
    0
    Trophy Points:
    105
    The middle button under the avatar.
     
  22. jas

    jas Notebook Evangelist

    Reputations:
    697
    Messages:
    622
    Likes Received:
    5
    Trophy Points:
    31
    John's right. You are probably missing the ata_piix, or sometimes called around here, piix support. I have a current laptop too, (Asus V1S), and the way I was able to recognize my optical drive was to make sure I either built the Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support, (more commonly known as ata_piix, because that's what the module is called), into the kernel or build it as a module. To make sure you have this support configured into your kernel do the following as root, (I'm going to assume you are going to /usr/src/linux and typing make menuconfig to build your kernel configuration and not editing your /usr/src/linux/.config file directly);
    Code:
    cd /usr/src/linux
    make menuconfig
    
    Then you need to use the menu for Linux Kernel Configuration and go through the following choices. Device Drivers --> Serial ATA (prod) and Parallel ATA (experimental) drivers --> and then make sure that the Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support selection is either selected with an asterisk (*) which means the support will be built into the kernel, or with an M (M), which means that you will build the support as a module. Then finish your kernel building and installation process by doing the following from the /usr/src/linux directory;
    Code:
    make && make modules_install
    cp /usr/src/linux/arch/i386/boot/bzImage /boot/[whatever you name your kernel]
    cp /usr/src/linux/System.map /boot/[whatever you name your System.map]
    cp /usr/src/linux/.config /boot/[whatever you name your config file]
    
    You also may want to backup your existing kernel, System.map, and config files you have in /boot, by renaming them to [their name].old or something like that. BTW, if it matters to you, I would recommend building the support into your kernel and not building it as a module. My reasoning is that I like to build modules for things that can be taken off of my laptop, and building support into the kernel for stuff that can't.

    However, if you go the module route, you will need to make sure that the module is loaded either automatically via udev, (which it was for me), or manually through adding the module name, ata_piix, to your /etc/modules.autoload.d/kernel-2.6 file. I would recommend after building and installing your kernel, to just reboot and see if your optical drive is found, because the module should autoload. If it doesn't, open a terminal window as root, and do another lsmod to see if ata_piix is loaded. If the module did not autoload, then modprobe ata_piix again, and this time it should load the module, and you should be able to see your optical drive. Then you can edit your kernel-2.6 file as I mentioned above to autoload the module in the future.

    Good Luck..
     
  23. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Him... ata_piix is already built into my current kernel. Looks like I'll have to dig around more and figure out how exactly it is connected, being that ata_piix is the driver that Ubuntu is using to run it, and the Gentoo Minimal disc too.
    Thanks for the post I had no clue on where it was and figured I'd check back here before starting to dig around!
     
  24. jas

    jas Notebook Evangelist

    Reputations:
    697
    Messages:
    622
    Likes Received:
    5
    Trophy Points:
    31
    You need to make sure you install into /boot and then boot your system, with the newly built kernel. The easiest way to check that piix support is being loaded, is right after you boot up in Gentoo (not the install or live cd), if you open up a terminal and as root, type the following command;
    Code:
    dmesg |grep -i piix
    you should see something like the following;
    Code:
    ata_piix 0000:00:1f.1: version 2.12
    scsi4 : ata_piix
    scsi5 : ata_piix
    That will let you know that the support is being loaded. But loading that module is just part of enabling CD support in your kernel. You also need to make sure you have support for SCSI CDROM either built into your kernel or loaded as a module. Just to make sure you should see if you get anything from issuing the following command;
    Code:
    dmesg |grep -i cd-rom
    If your CD is not being detected, you should get nothing from typing that command. If you post the sections of your /usr/src/linux/.config file between the following section headers, we can probably figure out what's up..
    Code:
    #
    # SCSI device support
    #
    
    [post everything between these sections in your response]
    
    #
    # Fusion MPT device support
    #
    Good Luck..
     
  25. TornMorals

    TornMorals Notebook Enthusiast

    Reputations:
    0
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    15
    Thanks for the response! Sorry for the down time. Been quite loaded with school work and all.

    Here's the config
    Code:
    #
    # SCSI device support
    #
     CONFIG_RAID_ATTRS is not set
    CONFIG_SCSI=y
    CONFIG_SCSI_DMA=y
    # CONFIG_SCSI_TGT is not set
    CONFIG_SCSI_NETLINK=y
    # CONFIG_SCSI_PROC_FS is not set
    
    #
    # SCSI support type (disk, tape, CD-ROM)
    #
    CONFIG_BLK_DEV_SD=y
    # CONFIG_CHR_DEV_ST is not set
    # CONFIG_CHR_DEV_OSST is not set
    CONFIG_BLK_DEV_SR=y
    # CONFIG_BLK_DEV_SR_VENDOR is not set
    CONFIG_CHR_DEV_SG=y
    # CONFIG_CHR_DEV_SCH is not set
    
    #
    # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
    #
    # CONFIG_SCSI_MULTI_LUN is not set
    CONFIG_SCSI_CONSTANTS=y
    # CONFIG_SCSI_LOGGING is not set
    # CONFIG_SCSI_SCAN_ASYNC is not set
    CONFIG_SCSI_WAIT_SCAN=m
    
    #
    # SCSI Transports
    #
    CONFIG_SCSI_SPI_ATTRS=y
    CONFIG_SCSI_FC_ATTRS=y
    # CONFIG_SCSI_ISCSI_ATTRS is not set
    # CONFIG_SCSI_SAS_LIBSAS is not set
    CONFIG_SCSI_LOWLEVEL=y
    # CONFIG_ISCSI_TCP is not set
    # CONFIG_BLK_DEV_3W_XXXX_RAID is not set
    # CONFIG_SCSI_3W_9XXX is not set
    # CONFIG_SCSI_ACARD is not set
    # CONFIG_SCSI_AACRAID is not set
    # CONFIG_SCSI_AIC7XXX is not set
    # CONFIG_SCSI_AIC7XXX_OLD is not set
    CONFIG_SCSI_AIC79XX=y
    CONFIG_AIC79XX_CMDS_PER_DEVICE=32
    CONFIG_AIC79XX_RESET_DELAY_MS=4000
    # CONFIG_AIC79XX_DEBUG_ENABLE is not set
    CONFIG_AIC79XX_DEBUG_MASK=0
    # CONFIG_AIC79XX_REG_PRETTY_PRINT is not set
    # CONFIG_SCSI_AIC94XX is not set
    # CONFIG_SCSI_ARCMSR is not set
    # CONFIG_MEGARAID_NEWGEN is not set
    # CONFIG_MEGARAID_LEGACY is not set
    # CONFIG_MEGARAID_SAS is not set
    # CONFIG_SCSI_HPTIOP is not set
    # CONFIG_SCSI_DMX3191D is not set
    # CONFIG_SCSI_EATA is not set
    # CONFIG_SCSI_FUTURE_DOMAIN is not set
    # CONFIG_SCSI_GDTH is not set
    # CONFIG_SCSI_IPS is not set
    # CONFIG_SCSI_INITIO is not set
    # CONFIG_SCSI_INIA100 is not set
    # CONFIG_SCSI_STEX is not set
    # CONFIG_SCSI_SYM53C8XX_2 is not set
    # CONFIG_SCSI_IPR is not set
    # CONFIG_SCSI_QLOGIC_1280 is not set
    # CONFIG_SCSI_QLA_FC is not set
    # CONFIG_SCSI_QLA_ISCSI is not set
    # CONFIG_SCSI_LPFC is not set
    # CONFIG_SCSI_DC395x is not set
    # CONFIG_SCSI_DC390T is not set
    # CONFIG_SCSI_DEBUG is not set
    # CONFIG_SCSI_SRP is not set
    CONFIG_ATA=y
    # CONFIG_ATA_NONSTANDARD is not set
    CONFIG_ATA_ACPI=y
    CONFIG_SATA_AHCI=y
    CONFIG_SATA_SVW=y
    CONFIG_ATA_PIIX=y
    # CONFIG_SATA_MV is not set
    CONFIG_SATA_NV=y
    # CONFIG_PDC_ADMA is not set
    CONFIG_SATA_NV=y
    # CONFIG_PDC_ADMA is not set
    # CONFIG_SATA_QSTOR is not set
    # CONFIG_SATA_PROMISE is not set
    # CONFIG_SATA_SX4 is not set
    CONFIG_SATA_SIL=y
    # CONFIG_SATA_SIL24 is not set
    # CONFIG_SATA_SIS is not set
    # CONFIG_SATA_ULI is not set
    CONFIG_SATA_VIA=y
    # CONFIG_SATA_VITESSE is not set
    # CONFIG_SATA_INIC162X is not set
    # CONFIG_PATA_ALI is not set
    # CONFIG_PATA_AMD is not set
    # CONFIG_PATA_ARTOP is not set
    # CONFIG_PATA_ATIIXP is not set
    # CONFIG_PATA_CMD640_PCI is not set
    # CONFIG_PATA_CMD64X is not set
    # CONFIG_PATA_CS5520 is not set
    # CONFIG_PATA_CS5530 is not set
    # CONFIG_PATA_CYPRESS is not set
    # CONFIG_PATA_EFAR is not set
    # CONFIG_ATA_GENERIC is not set
    # CONFIG_PATA_HPT366 is not set
    # CONFIG_PATA_HPT37X is not set
    # CONFIG_PATA_HPT3X2N is not set
    # CONFIG_PATA_HPT3X3 is not set
    # CONFIG_PATA_IT821X is not set
    # CONFIG_PATA_IT8213 is not set
    # CONFIG_PATA_JMICRON is not set
    # CONFIG_PATA_TRIFLEX is not set
    # CONFIG_PATA_MARVELL is not set
    # CONFIG_PATA_MPIIX is not set
    # CONFIG_PATA_OLDPIIX is not set
    # CONFIG_PATA_NETCELL is not set
    # CONFIG_PATA_NS87410 is not set
    # CONFIG_PATA_OPTI is not set
    # CONFIG_PATA_OPTIDMA is not set
    # CONFIG_PATA_PDC_OLD is not set
    # CONFIG_PATA_RADISYS is not set
    # CONFIG_PATA_RZ1000 is not set
    # CONFIG_PATA_SC1200 is not set
    # CONFIG_PATA_SERVERWORKS is not set
    # CONFIG_PATA_PDC2027X is not set
    # CONFIG_PATA_SIL680 is not set
    # CONFIG_PATA_SIS is not set
    # CONFIG_PATA_VIA is not set
    # CONFIG_PATA_WINBOND is not set
    CONFIG_MD=y
    # CONFIG_BLK_DEV_MD is not set
    CONFIG_BLK_DEV_DM=y
    # CONFIG_DM_DEBUG is not set
    # CONFIG_DM_CRYPT is not set
    # CONFIG_DM_SNAPSHOT is not set
    # CONFIG_DM_MIRROR is not set
    # CONFIG_DM_ZERO is not set
    # CONFIG_DM_MULTIPATH is not set
    # CONFIG_DM_DELAY is not set
    # CONFIG_BLK_DEV_DM_BBR is not set
    
    #
    # Fusion MPT device support
    #
    
    Got some help over on the Gentoo Forums. The problem was that the "IDE interface: JMicron Technologies, Inc. JMB368 IDE controller" wasnt enabled in the kernel. Heh compleatly missed that. Complete failure on my part.
    Now I know and now all my kernels are configured extreamly more minimalistic on the slower box's.