lkml.org 
[lkml]   [2006]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectopenpromfs issue
Hello list,


on a machine with 2 X UltraSPARC-II, doing ls -l in the openpromfs tree
shows both CPUs, but not quite correctly:

/proc/openprom# ls -l
...
88 dr-xr-xr-x 2 root root 0 May 12 11:04 SUNW,UltraSPARC-II@1c,0
88 dr-xr-xr-x 2 root root 0 May 12 11:04 SUNW,UltraSPARC-II@1c,0
...

What's wrong is obviously that there cannot be two directories with the
same name (and on top, the same inode number).

# uname -a
Linux mason 2.6.13-1.1603sp13smp #1 SMP Mon Apr 10 12:38:32 EDT 2006
sparc64 sparc64 sparc64 GNU/Linux
(Aurora Linux 2.0)

# prtconf -pv
...
Node 0xf0085030
: 00000017
: 00000011
: 000000a0
: 00000009
: 00000001
: 00000040
: 00200000
: 00000040
: 00000001
: 00000020
: 00004000
: 00000040
: 00000002
: 00000020
: 00004000
: 00000000
: 17d78400
: 000001c0.00000000.00000000.00000008
device_type: 'cpu'
name: 'SUNW,UltraSPARC-II'
Node 0xf008539c
: 00000017
: 00000011
: 000000a0
: 00000009
: 00000001
: 00000040
: 00200000
: 00000040
: 00000001
: 00000020
: 00004000
: 00000040
: 00000002
: 00000020
: 00004000
: 00000001
: 17d78400
: 000001c2.00000000.00000000.00000008
device_type: 'cpu'
name: 'SUNW,UltraSPARC-II'
...


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-15 17:08    [W:0.048 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site