Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40758 - Default udev.rules miscategorizes ide devices as dsps on amd 760mpx motherboard
Summary: Default udev.rules miscategorizes ide devices as dsps on amd 760mpx motherboard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 13:59 UTC by Greg Gilbert
Modified: 2004-02-08 08:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Gilbert 2004-02-07 13:59:50 UTC
The default /etc/udev/udev.rules files shipped with the udev-16-r1  ebuild contains a line that maps pci devices at 00:07.1 to the /dev/dsp1 name. On AMD 760MPX based systems this is the ide controller, and results in a single /dev/dsp1   being created instead of hard drive devices.


Reproducible: Always
Steps to Reproduce:
1. Buy amd 760mpx based mother board
2. Install gentoo and udev on it
3. Remove the /sbin/rc line that extracts a full /dev tree over the empty /dev directory udev will try populating (try tar -jxpf /lib/udev-state/devices.tar.bz2 -C /dev
)
4. Reboot


Actual Results:  
System will not boot successfully because /dev/hda* does not exist and 
usr,var,tmp,home could not be mounted.

Expected Results:  
/dev/hda* should have been created, allowing the system to boot

The rules that are causing problems are:

# sound card with PCI bus id 00:0b.0 to be the first sound card
BUS="pci", ID="00:0b.0", NAME="dsp"
                                                                                
# sound card with PCI bus id 00:07.1 to be the second sound card
BUS="pci", ID="00:07.1", NAME="dsp1"

in /etc/udev/udev.rules
Comment 1 ferret 2004-02-07 15:05:21 UTC
IMHO, all those random example rules should be commented out.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-08 08:59:36 UTC
Fixed in -r1.