Your message dated Thu, 02 Jan 2003 15:55:23 +0900 with message-id <[EMAIL PROTECTED]> and subject line glibc bug: sysconf(_SC_NPROCESSORS_CONF) mis-parses v2.4.19rc3ac3 /proc/cpuinfo has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 31 Jul 2002 13:32:18 +0000 >From [EMAIL PROTECTED] Wed Jul 31 08:32:18 2002 Return-path: <[EMAIL PROTECTED]> Received: from sunny.pacific.net.au [203.25.148.40] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 17ZtaL-0006iZ-00; Wed, 31 Jul 2002 08:32:17 -0500 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id g6VDWGSs022008 for <[EMAIL PROTECTED]>; Wed, 31 Jul 2002 23:32:16 +1000 (EST) Received: from charon (charon.pacific.net.au [210.23.131.99]) by wisma.pacific.net.au with ESMTP id XAA25104 for <[EMAIL PROTECTED]>; Wed, 31 Jul 2002 23:32:16 +1000 (EST) From: "David Luyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: glibc bug: sysconf(_SC_NPROCESSORS_CONF) mis-parses v2.4.19rc3ac3 /proc/cpuinfo Date: Wed, 31 Jul 2002 23:32:15 +1000 Organization: Pacific Internet (Australia) Message-ID: <00c801c23896$af7a1a60$[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Delivered-To: [EMAIL PROTECTED] Package: libc6 Version: 2.2.5-10 The libc6 in Debian/Stable mis-parses /proc/cpuinfo from Linux kernel v2.4.19rc3ac3 when doing a sysconf(_SC_NPROCESSORS_CONF). This is in sysdeps/unix/sysv/linux/getsysstats.c in the GET_NPROCS_PARSER #define. Basically it counts both "processor" and "processor id" as CPUs, causing it to count 4 CPUs in a 2 CPU system. (resultant problem - procps mis-estimates Hz as 50 rather than 100 and then gets process start times and other such things wrong in its output) /proc/cpuinfo follows: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 11 model name : Intel(R) Pentium(R) III CPU family 1133MHz stepping : 1 cpu MHz : 1125.856 cache size : 512 KB processor id : 0 siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 2247.88 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 11 model name : Intel(R) Pentium(R) III CPU family 1133MHz stepping : 1 cpu MHz : 1125.856 cache size : 512 KB processor id : 0 siblings : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 2247.88 David. -- David Luyer Phone: +61 3 9674 7525 Network Development Manager P A C I F I C Fax: +61 3 9699 8693 Pacific Internet (Australia) I N T E R N E T Mobile: +61 4 1111 BYTE http://www.pacific.net.au/ NASDAQ: PCNTF --------------------------------------- Received: (at 154967-done) by bugs.debian.org; 2 Jan 2003 06:55:25 +0000 >From [EMAIL PROTECTED] Thu Jan 02 00:55:25 2003 Return-path: <[EMAIL PROTECTED]> Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 18TzGG-0006xf-00; Thu, 02 Jan 2003 00:55:25 -0600 Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73]) by oris.opensource.gr.jp (Postfix) with ESMTP id A5BCCC351C for <[EMAIL PROTECTED]>; Thu, 2 Jan 2003 15:55:23 +0900 (JST) Date: Thu, 02 Jan 2003 15:55:23 +0900 Message-ID: <[EMAIL PROTECTED]> From: GOTO Masanori <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: glibc bug: sysconf(_SC_NPROCESSORS_CONF) mis-parses v2.4.19rc3ac3 /proc/cpuinfo User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-4.0 required=5.0 tests=QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01,USER_AGENT version=2.41 X-Spam-Level: > The libc6 in Debian/Stable mis-parses /proc/cpuinfo from Linux kernel > v2.4.19rc3ac3 when doing a sysconf(_SC_NPROCESSORS_CONF). > > This is in sysdeps/unix/sysv/linux/getsysstats.c in the > GET_NPROCS_PARSER #define. > > Basically it counts both "processor" and "processor id" as CPUs, causing > it to count 4 CPUs in a 2 CPU system. > > (resultant problem - procps mis-estimates Hz as 50 rather than 100 and > then gets process start times and other such things wrong in its output) > > /proc/cpuinfo follows: > > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 11 > model name : Intel(R) Pentium(R) III CPU family 1133MHz > stepping : 1 > cpu MHz : 1125.856 > cache size : 512 KB > processor id : 0 It's kernel side problem, the current kernel says "physical id". seq_printf(m, "physical id\t: %d\n",phys_proc_id[n]); Upgrade your kernel. I close this bug. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]