Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-05 Thread Joshua Hudson
I booted directly to a shell and started the system by hand. After
mounting devtmpfs, /dev/sr? were not created. Started udevd and they
were.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Michael Biebl
Am 04.07.2015 um 21:09 schrieb Joshua Hudson:
 Devices not created by kernel. Verified by stopping udev.
 

Sorry, what are you trying to say here? Please be more verbose.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Michael Biebl
Am 04.07.2015 um 21:41 schrieb Joshua Hudson:
 Update: problem disappeared after cold boot. Additional information
 gained from experiment:
 
 devtmpfs does not create /dev/sr? nodes on this system. udevd does once 
 started.

No, as explained. udevd doesn't create the /dev/sr* device node.

The /etc/init.d/udev init script does mount the devtmpfs file system,
maybe you are confusing that with udevd creating the device node.
That said, your initramfs should already mount devtmpfs.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Joshua Hudson
It is important to note that without the device node, attempting to
eject /dev/sr0 or /dev/sr1 is going to fail. Some (notably apple)
cdroms don't have eject buttons.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Michael Biebl
Am 04.07.2015 um 19:08 schrieb Joshua:
 Package: udev
 Version: 215-17
 Severity: serious
 Justification: Policy 9.1
 
 Dear Maintainer,
 
 *** Reporter, please consider answering these questions, where appropriate ***
 
* What led up to the situation?
 
 Noticed CDROM drive spinning up every 30 seconds. (This CDROM drive spins up 
 on media sense.)
 Noticed /dev/sr? missing from system.
 
 Regression from initial Jessie release.
 
* What exactly did you do (or not do) that was effective (or
  ineffective)?
 
 Tried reading internet pages to fidn out why.
 
* What was the outcome of this action?
 
 Can't make the devices appear except by mknod.
 
* What outcome did you expect instead?
 
 /dev/sr? always present, don't poll cdrom devices except on demand.
 
 *** End of the template - remove these template lines ***

Afaik, the /dev/sr* device node is created by the kernel (via devtmpfs)
and not by udev. So what you describe sounds like an issue with your kernel.
The only thing udev does is create symlinks and apply permissions.

Please point out where udev is at fault, otherwise we'll have to close
this bug report.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Joshua Hudson
Devices not created by kernel. Verified by stopping udev.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#791430: udev tries to make /dev/sr? nodes only when cdrom in drive, causing problems

2015-07-04 Thread Joshua Hudson
Update: problem disappeared after cold boot. Additional information
gained from experiment:

devtmpfs does not create /dev/sr? nodes on this system. udevd does once started.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org