Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47219 - udev does not create cdrom entry in /dev
Summary: udev does not create cdrom entry in /dev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 07:22 UTC by Marcelo Borges Ribeiro
Modified: 2004-04-08 17:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/modprobe.devfs seems borked (modprobe.devfs,8.72 KB, application/octet-stream)
2004-04-08 09:21 UTC, Aaron Peterson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Borges Ribeiro 2004-04-08 07:22:00 UTC
I installed udev from gentoo's guide (I removed devfs suport from kernel and create those 2 dev entries) and everything works fine, except my cdrom that are missing. I'm using kernel 2.6.5 and scsi emulation for cdrom (my cdrdao does not suport atapi write so I use scsi emulation). I got a device called sg0 in /dev/ but it is not a block device, must be my iomega paralel zip drive.

Reproducible: Always
Steps to Reproduce:
1.Use scsi emulation
2.change from devfs to udev
3.boot the system

Actual Results:  
No cdrom support

Expected Results:  
Cdrom support
Comment 1 Aaron Peterson 2004-04-08 08:41:28 UTC
for me it was the symlink to /dev/dvd

You can of course ln -s your own  /dev/cdrom to /dev/scsi/whatever
as a temporary work arround
Comment 2 Aaron Peterson 2004-04-08 09:05:40 UTC
oh, I'm using ide, (no scsi emulation)


and I also didn't get a bunch of other symlinks, and my /dev/ directory is very full of long names, and when I startup, I get a lot of errors about not being able to lstat devices like /dev/msomething 

My computer works, but it sure complains a lot, and it took some knowledge that an end user shouldn't have to know.

I'm also fighting with /dev/fb0  and /dev/fb/0 not being listed, but that is probably something to do with using nvidia-agp (wich has it's own errors on startup) and udev...  not just udev, so I'm gonna read sommore, but it might be relaited.
Comment 3 Aaron Peterson 2004-04-08 09:21:51 UTC
Created attachment 28897 [details]
/etc/modprobe.devfs seems borked

I didn't touch my devfs.

I've got a couple seemingly borked config files, That I didn't mess with :O

Note, I used genkernel to compile my kernel.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-04-08 09:32:30 UTC
The block device (the one you can mount) should be /dev/sr0 (you must have the 'sr' module compiled in kernel or loaded). /dev/sg0 is for direct input to the cdrom, as when you burn with a cd-writer.
Comment 5 Marcelo Borges Ribeiro 2004-04-08 17:01:39 UTC
Thanks, I solve the problem with a modprobe in sr_mod and sr0 appears in
/dev and I can now mount my cdrom.