LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CD/DVD Rom not working in Ubuntu 8.04 on Lenovo Ideapad Y710 (https://www.linuxquestions.org/questions/linux-newbie-8/cd-dvd-rom-not-working-in-ubuntu-8-04-on-lenovo-ideapad-y710-686982/)

PiraeusStef 11-28-2008 09:49 PM

CD/DVD Rom not working in Ubuntu 8.04 on Lenovo Ideapad Y710
 
Hello,
I have a Lenovo Ideapad Y710 and having problems with my CD/DVD drive.

After installed Hardy Heron the DVD drive stopped working in both Vista (pre-installed) and Ubuntu. Soon I figured out how to correct the problem in Vista (had to delete an entry in the registry) but could not correct it in Ubuntu. I am kinda new on Linux and I will appreciate any help.
It so pitty since all works well and its superafast laptop.

jstephens84 11-29-2008 02:50 PM

What is the drive not doing? It would help us if you provided a little more info. But for starters if it is not playing a music cd when inserted try opening up a terminal and typing the following.
Code:

sudo mount /dev/cdrom /media/cdrom
you might have to change cdrom to where it actually needs to be. Man I really need to get my vm up and running so that I can test other dist.

PiraeusStef 11-29-2008 06:28 PM

Hello and thanks for the post,
My case is not that easy. Its kinda weird.
When I try to mount it I get mount: special device /dev/cdrom does not exist.(Have tried all possible names)
The drive works for sure since I am using it on Vista and an Ubuntu VMWare workstation on the same laptop....! When I boot with the Ubuntu VM it mounts the cdrom automaticaly as normal.
So it is not working when boot with Grub.
And one more funny thing. Any CD/DVD rom does not work. I have also try with an external one and also did not showed up.
My question now is is it any way to go through the boot logs and see if there is an error message there.
Once again thanks.

jstephens84 11-29-2008 09:30 PM

yes. what we will do is pipe the bootup kernel messages to a log file
Code:

dmesg >> KernelMessages.log
this will create a file with the bootup messages in it.

PiraeusStef 11-30-2008 08:33 AM

Kernelmessage.log
 
Hello,
The log is to long to post in the Thread. It does not have anything obvious on it regarding the CD/DVD rom.
What I am looking for?
I believe the problem starts on the Laptop´s Bios but not 100% sure yet.
The old good days of IBM are over. Those new ones even they perform beptter than the ThinkPads they suck on Support. The BIOS is so poor for such a machine.

Thank you again.
If you have any idea please let me know.
Stef

jstephens84 11-30-2008 10:08 AM

All we are looking for is any references to when it trys to mount the cdrom or even if it makes mention of the cdrom.

PiraeusStef 12-01-2008 09:16 AM

Unfortunately there is nothing regarding the CD.
Thats very strange. Any ideas.
If the problem is the BIOS (not letting the drive to show up) then I should be able to do something with my external one.

jstephens84 12-01-2008 10:14 AM

I don't really think the problem is with the bios but more so with how the vm is acting with the system. Have you checked your vm settings?

farslayer 12-01-2008 11:17 AM

you should have something in the logs if the system sees the drive. are you sure you looked at that log close enough ?
have you tried searching teh log for the DVD drive ?..

Quote:

it-etch:/# cat /var/log/dmesg | grep -i dvd
hda: PHILIPS DVD+/-RW DVD8801, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
as you can see from the results my DVD Drive is /dev/hda


You can use the following commands to see what drive mappings are in place on your system for the CDROM/DVD

it-etch:/# sg_map26 --result=2 --symlink /dev/cdrom
/dev/dvd
/dev/cdrom
/dev/sr0
/dev/scd0

it-etch:/# sg_map26 --result=2 --symlink /dev/dvdrw
/dev/dvdrw
/dev/cdrw
/dev/hda

PiraeusStef 12-02-2008 08:32 AM

On my ubuntu-vm the DVD mounted without issues and listed. See below

stefanos@ubuntu-vm:~$ cat /var/log/dmesg |grep -i dvd
[ 11.046103] scsi 1:0:0:0: CD-ROM Optiarc DVD RW AD-7560A D803 PQ: 0 ANSI: 5
[ 11.591174] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

stefanos@ubuntu-vm:~$ sg_map26 --result=2 --symlink /dev/cdrom
/dev/dvdrw
/dev/dvd
/dev/cdrw
/dev/cdrom
/dev/sr0
/dev/scd0

Those entries do not exist on when directly boot.

PiraeusStef 12-02-2008 08:47 AM

stefanos@Y710:~$ sg_map26 --result=2 --symlink /dev/cdrom
stat failed on /dev/cdrom: No such file or directory

Thats strange.
Keep in mind though that VMware workstation uses a virtual BIOS.
I will give you little more history of the setup.
When first installed Ubuntu I used grub as bootloader for both Vista and Ubuntu.
This had the result to disable the DVD or any DVD/CD on the system.
Could not use it in vista too. Then I used neogrub boot loader and booted from the Windows side. That gave me the hard drive back in Vista but not fixed the problem in Ubuntu.
So I have stack.
Thanks and I appreciate your help. Any ideas. If is not the BIOS then what else we can blame. Grub????? But Grub is used in both vm and real systems.

PiraeusStef 12-02-2008 09:27 AM

Quote:

Originally Posted by PiraeusStef (Post 3361787)
stefanos@Y710:~$ sg_map26 --result=2 --symlink /dev/cdrom
stat failed on /dev/cdrom: No such file or directory

Thats strange.
Keep in mind though that VMware workstation uses a virtual BIOS.
I will give you little more history of the setup.
When first installed Ubuntu I used grub as bootloader for both Vista and Ubuntu.
This had the result to disable the DVD or any DVD/CD on the system.
Could not use it in vista too. Then I used neogrub boot loader and booted from the Windows side. That gave me the hard drive back in Vista but not fixed the problem in Ubuntu.
So I have stack.
Thanks and I appreciate your help. Any ideas. If is not the BIOS then what else we can blame. Grub????? But Grub is used in both vm and real systems.
Check this out too.

stefanos@Y710:~$ cat /var/log/dmesg|grep -i hda
[ 49.011082] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS.

farslayer 12-02-2008 09:49 AM

That last post is a Sound card driver..


I didn't catch at first that this is on a Virtual Machine..
Did you verify your VM config ?

http://www.vmware.com/support/gsx25/...vd-cd_gsx.html

PiraeusStef 12-02-2008 01:33 PM

Ok my bad I will try to Clear it.
I have 2 ubuntu installations. The laptop is dual boot Vista/Ubuntu
and within Vista I have a VM Ubuntu.
The clean install has the DVD problem. The VM works fine exept compiz which was expected.
I hope this makes thinks clear.

jstephens84 12-02-2008 08:01 PM

Ok so that makes things a little more clear. So if we understand you the problem is with your actual Ubuntu installation, NOT the vm correct? If that is true then is the previous post about the dvd mounting under the VM or the Actual Installation?

PiraeusStef 12-03-2008 06:40 AM

Yes Correct,
The mount showed above is from the VM.
The actual Ubuntu installation does not creat even the device in the /dev dir. It seems like do not see it at all , like is not there while booting.

farslayer 12-03-2008 08:08 AM

Interesting this problem is NOT unique to you..

Quote:

I can confirm that this also occurs on a new Lenovo IdeaPad Y710, which has an IDE connected Optiarc DVD RW AD-7560A. I was able to boot the install CD for the 64-bit version of Ubuntu 8.04 and install went fine, but the DVD/CD drive is not even seen after the initial reboot. Oddly, when booting the PC, the disk drive activity light stays on constantly until the CD drawer is opened - it then acts normally.

I don't even get the /dev/scd0 device, and I can't find anything in the DMESG output or the system logs that is meaningful to me.

I've tried the all_generic_ide=1 and that made no difference. I even set the region of the DVD drive (from the preinstalled Vista partition) to 1 and that did not make any difference either.

I'm thinking I might have to go back to Gutsy, or maybe even find another distro (nah, just kidding) - I really need to have a working CD/DVD/R/RW drive...
I believe this guy has a different problem than the bug thread he posted in but the symptoms look like what you are experiencing.
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/228624

another report is here.. http://ubuntuforums.org/archive/index.php/t-925803.html




This looks like it may be a bug in Ubuntu with your hardware.. (the VM install doesn't really count because it's simulated hardware)

Have you tried any other Linux Distros on this hardware ?

jstephens84 12-03-2008 11:27 AM

Wow if you do a google search you will see that alot of people are having problems. Here is a lenovo forum post with similar problems. http://forums.lenovo.com/lnv/board/m...thread.id=2557

PiraeusStef 12-05-2008 07:15 AM

Hello,
I found that post in the Lenovo support forum.

I found a solution, mi CD/DVD unit doesn’t work after I install Fedora Core 8 and It was not possible to see it form Windows and from Linux, but in the web I found that someone has the same problem he or she fixed, and has the solution but in linux and is: that in the grub.conf in the line where says Kernel…….. put acpi=off. It works now I can see my CD/DVD unit in linux but I still can’t see it in Windows….. ?

Under ubuntu there is no grub.conf file. I wanted to give a try to the option acpi=off and see what it will happens. I can't find thr conf file. The above post is for FC8.

jstephens84 12-05-2008 08:06 AM

Quote:

Originally Posted by PiraeusStef (Post 3365377)
Hello,
I found that post in the Lenovo support forum.

I found a solution, mi CD/DVD unit doesn’t work after I install Fedora Core 8 and It was not possible to see it form Windows and from Linux, but in the web I found that someone has the same problem he or she fixed, and has the solution but in linux and is: that in the grub.conf in the line where says Kernel…….. put acpi=off. It works now I can see my CD/DVD unit in linux but I still can’t see it in Windows….. ?

Under ubuntu there is no grub.conf file. I wanted to give a try to the option acpi=off and see what it will happens. I can't find thr conf file. The above post is for FC8.

You should be able to find grub.conf at /boot/grub/. Also after reading my last post it just hit me that I should probably clarify that I was really surprised that I found that many people with similar problems. So please don't take it Like I was being a smart a**.

farslayer 12-05-2008 08:37 AM

grub.conf is probably /boot/grub/grub.cfg on Ubuntu

PiraeusStef 12-05-2008 08:45 AM

No , no worries.
I believe (after I contacted Lenovo support ) that the are awared of the problem but since is not the pre-installed OS they do not want to help.
They help me although to get around on the Vista problem with the DVD.
After I installed the Ubuntu in first place I lost CD/DVD in both Vista and Ubuntu. And there are a lot of people with the same problem.

About grub.conf There is not one anywhere ( I did #find / -iname grub.conf) and returned nothing.

Can I manually create the file.? I noticed that my VM-Ubuntu does not have also. Is that strange. Can this be the mother of my problem.

Thanks again for your time.

PiraeusStef 12-05-2008 08:49 AM

there is no grub.cfg either.

farslayer 12-05-2008 09:11 AM

Maybe your distro is still using /boot/grub/menu.lst for the menu options rather than the grub.conf file.

http://wiki.linuxquestions.org/wiki/Grub.conf
Quote:

The default location is in /boot/grub/menu.lst. The .lst suffix stands for menu list, not menu first. The file contains configuration options (like default boot entry, (grub.enbug.org) color, timeout and password settings) and a list of menu entries. The file is often managed by some tool from the distribution itself, so when kernels are installed or removed the boot menu list gets automatically updated. Another common location is /etc/grub.conf but this is often a link file to the /boot/grub file.

PiraeusStef 12-05-2008 10:08 AM

Case Solved
 
Okay it worked. I have add acpi=off in the Kernel load command and the DVD/CD mount without problem.
I got some error messages on the boot regarding my BIOS.

kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=889c5cee-fae3-440a-beba-9dec970a426b ro quiet splash acpi=off

Case Solved
I will do some more testing.

Thank you very much both of you.


All times are GMT -5. The time now is 03:11 AM.