Jeff Dike schrieb:
>> Hmmm... so I have cpu0 similar to yours. What version
>> of UML and libc do you have?
>
> UML 2.6.26 and an older libc:
>
> % ls -l /lib/libc.so.6
> lrwxrwxrwx 1 root root 11 Jun 2 2007 /lib/libc.so.6 -> libc-2.5.so
>
> Looking through libc at
>
> http://www.google.com/
Jeff Dike wrote:
> I see it counting cpu lines in /proc/stat, which is what I'm
> seeing. It will also look at /proc/cpuinfo. Can you strace your
> version and see if it's looking there at all?
No.. looks like they changed the method:
open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGE
On Mon, Aug 04, 2008 at 10:59:36PM +0200, Stanislav Meduna wrote:
> Hmmm... so I have cpu0 similar to yours. What version
> of UML and libc do you have?
UML 2.6.26 and an older libc:
% ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 11 Jun 2 2007 /lib/libc.so.6 -> libc-2.5.so
Looking through libc
Jeff Dike wrote:
> sysconf seems to be looking at /proc/stat, which looks like this here:
>
> cpu 80 0 157 12771 984 0 0 0 0
> cpu0 80 0 157 12771 984 0 0 0 0
> intr 15259 12519 0 75 0 2590 0 0 0 0 0 0 74 0 0 1
> ctxt 8081
> btime 1217881784
> processes 1144
>
On Mon, Aug 04, 2008 at 03:58:04PM +0200, Stanislav Meduna wrote:
> Hi,
>
> the following program
>
> ===
> #include
> #include
>
> main()
> {
>printf("Number of processors: %d\n", sysconf(_SC_NPROCESSORS_CONF));
> }
> ===
>
> produces
>
>Number of processors: 0
>
> on my system.
W
On Mon, Jul 28, 2008 at 04:31:06PM +0200, Luca Saiu wrote:
> That feature works very well, but as far as I can understand from the
> source and from my tests, it's limited to OSS.
The host audio driver just uses the host's /dev/sound/dsp and
/dev/sound/mixer. Are these OSS-specific? If so, and
On Sat, Aug 02, 2008 at 02:54:08PM +0900, Mattia Dongili wrote:
> FWIW I can't reproduce this on 2.6.26.
Thanks for letting me know. Too bad it's still a mystery though.
Jeff
--
Work email - jdike at linux dot intel dot com
---
On Mon, Aug 04, 2008 at 02:40:01PM +0200, Stanislav Meduna wrote:
> this is just to let you know that the /dev/random problems
> are still not solved in the 2.6.26 version. A small dictionary
> attack on sshd (in my case 260 tries over 12 minutes)
> are able to produce
>
> auth.log.0:Aug 3 05:30:
Hi,
the following program
===
#include
#include
main()
{
printf("Number of processors: %d\n", sysconf(_SC_NPROCESSORS_CONF));
}
===
produces
Number of processors: 0
on my system.
# uname -a
Linux dirk 2.6.26 #1 Wed Jul 30 10:56:10 CEST 2008 i686 GNU/Linux
# cat /proc/cpuinfo
proces
Hi,
this is just to let you know that the /dev/random problems
are still not solved in the 2.6.26 version. A small dictionary
attack on sshd (in my case 260 tries over 12 minutes)
are able to produce
auth.log.0:Aug 3 05:30:35 dirk sshd[1825]: fatal: Couldn't obtain random bytes
(error
60438947
10 matches
Mail list logo