[Bug 574690] [NEW] cdrom device names do not start from /dev/cdrom

jargon at iki.fi jargon at iki.fi
Mon May 3 18:57:56 UTC 2010


Public bug reported:

On my system replacing a broken DVD device caused first cd-rom/dvd
device being listed as /dev/cdrom1 instead of /dev/cdrom.

This is a problem because a lot of application assume that first CD
device is at /dev/cdrom and fail to iterate devices if first device is
at /dev/cdrom1. Of course user can manually change applications to use
/dev/cdrom1, but average user does not realize the problem.

I have been using Linux for 10 years, and it took me 10 minutes to
figure out what's wrong.

Steps to reproduce:

1. Remove current CDROM or DVD device
2. Install new one, the new one will be at /dev/cdrom1 even as old one is removed

Suggested fix:
1. Make sure that first CDROM device is always accessible from /dev/cdrom

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  jargon     8740 F.... pulseaudio
CRDA: Error: [Errno 2] Tiedostoa tai hakemistoa ei ole
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdbdf8000 irq 19'
   Mixer name	: 'Analog Devices AD1986A'
   Components	: 'HDA:11d41986,1043818f,00100500'
   Controls      : 38
   Simple ctrls  : 22
Date: Mon May  3 21:49:55 2010
HibernationDevice: RESUME=UUID=aabe55ff-1475-4f11-8a71-46a388c525ff
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
MachineType: ASUSTek Computer INC. P5PL2-E
ProcCmdLine: root=UUID=61ed44bf-2424-4706-b7bf-989f984d70e3 ro quiet splash
ProcEnviron:
 LANGUAGE=fi_FI:fi:en_GB:en
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 
SourcePackage: linux
WpaSupplicantLog:
 
dmi.bios.date: 12/22/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0501
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5PL2-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev x.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: Rev 1.xx
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0501:bd12/22/2006:svnASUSTekComputerINC.:pnP5PL2-E:pvrRev1.xx:rvnASUSTeKComputerINC.:rnP5PL2-E:rvrRevx.xx:cvnASUSTekComputerINC.:ct3:cvrRev1.xx:
dmi.product.name: P5PL2-E
dmi.product.version: Rev 1.xx
dmi.sys.vendor: ASUSTek Computer INC.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug filesystem i386 lucid needs-upstream-testing

-- 
cdrom device names do not start from /dev/cdrom
https://bugs.launchpad.net/bugs/574690
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list