CD/DVD drive not detected on Lenovo3000-N200 with ACPI enabled

Bug #856253 reported by Graham Parker
This bug report is a duplicate of:  Bug #198319: Lenovo 3000 N200 DVD-rom missing. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Seth Forshee

Bug Description

- I have a clean install of linux ubuntu 11.04 on my Lenovo3000-N200 Laptop.

- The CDROM/DVDROM will not load and mount a disc and I can not enable wireless networking. The network manager on the task tray states that wireless is disabled by hardware switch. Wireless is enabled in the BIOS and the switch on the laptop is enabled. Wireless works when I swap the ubuntu HDD with a Windows HDD to test. Power Management settings for the battery is also available.

- When I start up the Laptop and ubuntu with acpi=off in the grub.cfg, the DCROM/DVDROM loads and mounts a disc ok, but Power Management for the Battery is now not available. Wireless still does not work.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D1', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf4500000 irq 46'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,17aa3c19,00100100'
   Controls : 20
   Simple ctrls : 9
Date: Thu Sep 22 19:43:49 2011
HibernationDevice: RESUME=UUID=22ce6467-ced8-4456-9baf-de82e83c8808
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MachineType: LENOVO 0687A31
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic root=UUID=141aba7b-5868-4dc8-9ad6-a11bda38c0fe ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/10/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 66ET60WW (0.11 )
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnLENOVO:bvr66ET60WW(0.11):bd06/10/2008:svnLENOVO:pn0687A31:pvrLENOVO3000N200:rvnLENOVO:rnINVALID:rvrNotApplicable:cvnLENOVO:ct10:cvrN/A:
dmi.product.name: 0687A31
dmi.product.version: LENOVO3000 N200
dmi.sys.vendor: LENOVO

Revision history for this message
Graham Parker (guaham) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Graham Parker (guaham) wrote :

Forgot to add, but the Laptop also does not shut down to power off without using the power button.

Revision history for this message
Seth Forshee (sforshee) wrote :

It's probably better if you file separate issues for each of these problems. They may or may not be related. If they aren't related then it makes for confusion on the bug report.

For your wireless issue, see if running the following commands in a terminal helps:

  sudo modprobe -r acer_wmi
  rfkill unblock all

It seems that acer_wmi is sometimes matching against the WMI device on some Lenovo models, and when it gets loaded it's compatible enough to function at a basic level but incompatible enough to break things. I'm not sure what the resolution is, but if the above gets your wireless working then it will at least confirm that this is behind your wireless issue.

Revision history for this message
Graham Parker (guaham) wrote :

The commands you suggested worked once and wifi was activated, but when I rebooted wifi was not activated and your commands did not work again. Any ideas what that would suggest?

Happy to move the wireless problem to another bug, will do shortly.

Revision history for this message
Graham Parker (guaham) wrote :

I have logged the Wireless problem on Bug #857297

Revision history for this message
Graham Parker (guaham) wrote :

The acpi affecting the CDRW/DVDRW and battery power management functions is still an issue on this ticket.

Revision history for this message
Graham Parker (guaham) wrote :

I have done much testing to no avail so far. Seems like maybe something to do with ata_piix but not sure. There are so many reports across the www of people losing cdrom in relation to acpi after installing upgrades of linux. It's hard to believe there isn't an answer.

Simply put, if I disable acpi=off in the grub boot menu then the cdrom works.

But it is not acceptable to turn off acpi as it is required for much of the other hardware functionality, one of which is power management that is very important when running on battery. Hope someone can point me in the right direction of something new to try.

Revision history for this message
Graham Parker (guaham) wrote :

Output with acpi disabled --> acpi=off
# dmesg | grep sr0
[ 2.498187] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 2.498358] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 5684.010205] VFS: busy inodes on changed media or resized disk sr0

Output with acpi enabled
# dmesg | grep sr0
(no output)

Revision history for this message
Graham Parker (guaham) wrote :

Output with acpi disabled --> acpi=off
# lsscsi
[0:0:1:0] cd/dvd HL-DT-ST DVDRAM GMA-4082N TX07 /dev/sr0
[2:0:0:0] disk ATA Hitachi HTS54503 PB3O /dev/sda

Output with acpi enabled
# lsscsi
[2:0:0:0] disk ATA Hitachi HTS54503 PB3O /dev/sda
(no cd/dvd exists)

Revision history for this message
Graham Parker (guaham) wrote :

Tearing my hair out... whats left of it lol :)

Seth Forshee (sforshee)
summary: - acpi issue on Lenovo3000-N200 with Ubuntu 11.04
+ CD/DVD drive not detected on Lenovo3000-N200 with ACPI enabled
Revision history for this message
Graham Parker (guaham) wrote :

Hi Seth, attached dsl files.

Regards,
Graham.

Revision history for this message
Graham Parker (guaham) wrote :

dsl0

Revision history for this message
Graham Parker (guaham) wrote :

dsl1

Revision history for this message
Graham Parker (guaham) wrote :

Hi Seth

Hope I did this right, I can only appear to attach one file at a time.

Have attached each of the following:
DSDT.DSL
SSDT0.dsl
SSDT1.dsl
SSDT2.dsl

Regards,
Graham.

Revision history for this message
Graham Parker (guaham) wrote :

Still no luck with CDRW/DVDRW not functional after much playing around, still tearing my hair out, I dont want to reload Windows :(

Revision history for this message
Seth Forshee (sforshee) wrote :

Please test the latest mainline build (v3.1-rc9 currently) and see if the issue still exists there. Instructions for installing mainline builds can be found at the link below. Thanks!

https://wiki.ubuntu.com/Kernel/MainlineBuilds

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Graham Parker (guaham) wrote :

Hi Seth,

With v3.1-rc9 installed....

CDRW/DVDRW does not work
Wireless does not work again - should I put this bit on the wireless bug?

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 856253] Re: CD/DVD drive not detected on Lenovo3000-N200 with ACPI enabled

On Wed, Oct 12, 2011 at 12:43:33PM -0000, Graham Parker wrote:
> Hi Seth,
>
> With v3.1-rc9 installed....
>
> CDRW/DVDRW does not work

Okay, thanks for testing.

You mentioned something about reports of people loosing cdrom after
upgrading. Was there a previous version where your cdrom did work?

> Wireless does not work again - should I put this bit on the wireless bug?

No, it just doesn't have the fix I generated yet.

Revision history for this message
Graham Parker (guaham) wrote :

Oh yes, just from searching for any answers, it seems there a others experience similar. Maybe same issue maybe not.

The last version I recall where the cdrom mounted ok was Ubuntu 10.10 as I recall. I went back to my original Vista builld as there was some software I needed to use, but now longer require this so am back on Ubuntu, where I prefer to be, but I don't really want to go back to an older version, and not enjoy the benefits of the latest version of Ubuntu and Kernel.

Revision history for this message
Seth Forshee (sforshee) wrote :

I'm not suggesting that you should go back, but if it worked in a previous release then we can probably find what changed to break it.

Maverick is based off of kernel 2.6.35. So why don't you try installing the following three mainline builds, in order, until you find the first one where the CDROM doesn't work, and then let me know which kernel that is.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-maverick/
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/

After you install these builds you'll need to reboot, then press the Shift button immediately after the BIOS screen disappears, and hold it until a menu comes up. Use your keyboard to navigate to the "Older kernel versions" option, then select the kernel version that you are testing.

Note that after testing a kernel and booting into a different one, it's perfectly fine to remove the test kernels. It's not recommended to remove the kernel you are currently using, however.

Thanks!

Changed in linux (Ubuntu):
assignee: nobody → Seth Forshee (sforshee)
importance: Undecided → Medium
Revision history for this message
Graham Parker (guaham) wrote :

Hi Seth

Thanks, I'll give those versions a go and let you know.

Sorry, I wasn't meaning you were suggesting I should back rev to an older version permantly, was just a thought I had re: keeping up with the newer versions which I just happen to express above :)

Revision history for this message
Graham Parker (guaham) wrote :

Just clarifying, I tried each of the kernel versions above and the CDROM didnt work with acpi enabled for each.

Revision history for this message
Seth Forshee (sforshee) wrote :

That's odd, given that 2.6.35 was the version used in 10.10. Let's go back further then. Start at the beginning of the list, and you can stop at the first one you test that doesn't work.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33/
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/

Revision history for this message
Graham Parker (guaham) wrote :

Will do Seth, I'll test as above.

Revision history for this message
Graham Parker (guaham) wrote :

Very strange, none of these worked either? So what does that mean? I don't understand...

Revision history for this message
Seth Forshee (sforshee) wrote :

If none of those work, it means your CD drive should have been broken at least as far back as lucid (10.04). Lucid is based off the 2.6.32 kernel. Are you sure that it worked in at least one of 10.04 or 10.10?

Revision history for this message
Graham Parker (guaham) wrote :

I was sure it did, becasue I used to play the odd music CD, I must be going mad :) I do recall using KDE at one part, so I installed this on 11.10 but still no good. I wouldn't think KDE would have any effect on the CD operation though. Is there something that I would need to compile into the Kernel that might recognise enable the CD, or is it going to be something needing modifying in acpi functionallity so acpi can still be used with the CD enabled?

Revision history for this message
Seth Forshee (sforshee) wrote :

I found an older report of this issue (bug #198319) that indicates that this problem is somehow related to grub (switching from lilo to grub caused the problem to appear, switching back made it go away) and that when grub was installed in a dual-boot scenario the drive stops working under Windows as well. This may explain why the old kernels aren't working now but were before.

Also noted there is that if you disable the drive in your bios settings, the drive starts working again. Can you verify this?

Revision history for this message
Graham Parker (guaham) wrote :

Interesting that worked in bug #198319 in cases where lilo was installed, although I installed fresh 11.04 and 11.10 from scratch so no lilo upgraded to switch to grub, just straight fresh install to grub.

I checked out bug #198319, interesting, but unsure why it would it possibly work in those cases where lilo is installed but not grub, what could grub be doing to disable the cdrom?

There isn't an option to disable optical drive on the Lenovo 3000 N200, only choice of SATA controller type AHCI or Compatible. I tried both but the cdrom still did not work. I also set BIOS defaults but cdrom still did not work.

The only way I can get the cdrom to load is by setting acpi=off in grub loader but this is not suitable as power functions are not active, battery management not enabled, fans not controlled etc., not good for effective cooling.

Revision history for this message
Graham Parker (guaham) wrote :

Hi Seth,

Just wondering if anything might have come to mind as to why the cdrom is not working with Ubuntu? I'm kind of lost without this being functional, especially writing capabilities.

Cheers,
Graham.

Revision history for this message
Seth Forshee (sforshee) wrote :

It's definitely odd that grub would be causing the cdrom to go undetected. I'm not very familiar with grub, so I have a hard time knowing what it might be doing to cause this.

Since this really looks the same as bug #198319, I'm going to mark this one as a duplicate and change that one to affecting grub, and perhaps someone who works on grub can take a look.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.