Bug 161538

Summary: /dev/cpu nodes screwed up again.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-15 06:30:33 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Dave Jones 2005-06-23 22:31:39 EDT
We already went through fixing this for FC3, now we have a new variant of this

(22:25:48:root@nwo:~)# ll /dev/cpu*
crw-rw----  1 root root 203, 0 Jun 20 04:07 /dev/cpu0
crw-rw----  1 root root 203, 1 Jun 20 04:07 /dev/cpu1
crw-rw----  1 root root 203, 2 Jun 20 04:07 /dev/cpu2
crw-rw----  1 root root 203, 3 Jun 20 04:07 /dev/cpu3

These should be /dev/cpu/N/cpuid
where N is 0 -> 3

Likewise, there should be msr nodes in /dev/cpu/N/

For some reason, I have no /dev/cpu dir at all.

Why does this keep breaking ?
Comment 1 Dave Jones 2005-09-05 01:20:05 EDT
fwiw, rawhide now has this braindamage too. Though a slightly different variant.
It now has symlinks from /dev/cpuN to /dev/cpu/N/cpu
Those symlinks are unnecessary. /dev/cpu/N/cpuid should be the only nodes that
Comment 2 Dave Jones 2005-11-05 00:22:19 EST
rawhide now seems fixed, fc4 still borken.
Comment 3 Dave Jones 2005-11-13 00:29:37 EST
actually, I take that back.
Rawhide has /dev/cpu/0/cpu  which should be /dev/cpu/0/cpuid

FC4 still has the useless /dev/cpuN symlinks, and similar 'cpu' instead of
'cpuid' breakage.

This breaks x86info, and any other package relying on these nodes being in the
right place.