cd drive lock does not work after oneiric upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Because the eject button on my laptop's CD drive is highly susceptible to being pressed accidentally, I use "eject -i 1" to lock the CD drive from being ejected when the button is pressed.
After upgrading to oneiric, this stopped working. stracing eject shows that it is correctly finding the /dev/sr0 node, opening it, and ioctl'ing it correctly, but if I press the eject button afterwards, the drive still ejects.
access(
readlink(
lstat("/dev", {st_mode=
lstat("/dev/sr0", {st_mode=
readlink(
stat("/dev/sr0", {st_mode=
open("/etc/mtab", O_RDONLY) = 3
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "rootfs / rootfs rw 0 0\nsysfs /sy"..., 1024) = 1020
stat("rootfs", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("sysfs", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("proc", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("udev", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("devpts", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("tmpfs", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("fusectl", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("/
stat("none", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("none", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("none", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("none", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("none", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("binfmt_misc", 0x7fff9b738900) = -1 ENOENT (No such file or directory)
stat("gvfs-
read(3, "", 1024) = 0
close(3) = 0
munmap(
open("/etc/fstab", O_RDONLY) = 3
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "# /etc/fstab: static file system"..., 4096) = 671
read(3, "", 4096) = 0
close(3) = 0
munmap(
stat("/dev/sr0", {st_mode=
geteuid() = 1000
open("/dev/sr0", O_RDWR|O_NONBLOCK) = 3
ioctl(3, CDROM_LOCKDOOR, 0x1) = 0
fstat(1, {st_mode=
mmap(NULL, 4096, PROT_READ|
write(1, "CD-Drive may NOT be ejected with"..., 47CD-Drive may NOT be ejected with device button
) = 47
exit_group(0) = ?
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xd2620000 irq 47'
Mixer name : 'Conexant CX20590'
Components : 'HDA:14f1506e,
Controls : 8
Simple ctrls : 5
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC (unknown)'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
CheckboxSubmission: d27dbc9ce664752
CheckboxSystem: bb422ca46d02494
Date: Tue Sep 20 08:50:04 2011
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: LENOVO 41786VU
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.60
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: Upgraded to oneiric on 2011-09-18 (2 days ago)
dmi.bios.date: 03/31/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 83ET53WW (1.23 )
dmi.board.
dmi.board.name: 41786VU
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 41786VU
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: regression-release |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Thank you for taking the time to file a bug report on this issue.
However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.
We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.
If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.
Thank you for your help, we really do appreciate it.