public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.17.13 Uninitialized variable / printf timing
@ 2006-09-10 17:08 Nico Schottelius
  2006-09-13  0:49 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Nico Schottelius @ 2006-09-10 17:08 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]

Hello!

When booting 2.6.17.13 on my Geode, kprintf enabled with timing output,
it looks a bit strange (the first 24 lines):

--------------------------------------------------------------------------------

  Booting 'Zwerg - 2.6.17.13'
                
root (hd0,1)    
 Filesystem type is jfs, partition type 0x83
kernel /usr/src/linux-2.6.17.13/arch/i386/boot/bzImage root=/dev/hda2
console=t
tyS0,38400      
   [Linux-bzImage, setup=0x1400, size=0x10afff]
                
[42949372.960000] Linux version 2.6.17.13-zwerg (root@buche) (gcc
version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)) #1 Sun Sep 10
16:15:23 UTC 2006
[42949372.960000] BIOS-provided physical RAM map:
[42949372.960000]  BIOS-e820: 0000000000000000 - 000000000009fc00
(usable)
[42949372.960000]  BIOS-e820: 000000000009fc00 - 00000000000a0000
(reserved)
[42949372.960000]  BIOS-e820: 00000000000f0000 - 0000000000100000
(reserved)
[42949372.960000]  BIOS-e820: 0000000000100000 - 0000000008000000
(usable)
[42949372.960000]  BIOS-e820: 00000000fff0000 - 0000000100000000
(reserved)
[42949372.960000] 128MB LOWMEM available.
[42949372.960000] DMI not present or invalid.
[42949372.960000] ACPI: Unable to locate RSDP
[42949372.960000] Allocating PCI resources starting at 10000000 (gap:
08000000:f7f00000)
[42949372.960000] Built 1 zonelists
[42949372.960000] Kernel command line: root=/dev/hda2
console=ttyS0,38400
[42949372.960000] No local APIC present or hardware disabled
[42949372.960000] Initializing CPU#0
[42949372.960000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    0.000000] Detected 266.663 MHz processor.
[   20.718339] Using tsc for high-res timesource
[   20.718638] Console: colour dummy device 80x25
[   21.045363] Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
[   21.067257] Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
[   21.129713] Memory: 127256k/131072k available 333k kernel code, 3420k
reserved, 498k data, 124k init, 0k highmem)
[   21.161087] Checking if this processor honours the WP bit even in
supervisor mode... Ok.
[   21.328007] Calibrating delay using timer specific routine.. 534.16
BogoMIPS (lpj=2670830)
[   21.353474] Mount-cache hash table entries: 512
[   21.368758] CPU: NSC Unknown stepping 01
[   21.380743] Checking 'hlt' instruction... OK.
[   21.394059] SMP alternatives: switching to UP code
[   21.408503] Freeing SMP alternatives: 0k freed
[...]
--------------------------------------------------------------------------------

Just wanted to ask whether this is ...
   a) wanted
   b) not yet seen
   c) nothing one should care about

Nico

-- 
``...if there's one thing about Linux users, they're do-ers, not whiners.''
(A quotation of Andy Patrizio I completely agree with)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.17.13 Uninitialized variable / printf timing
  2006-09-10 17:08 2.6.17.13 Uninitialized variable / printf timing Nico Schottelius
@ 2006-09-13  0:49 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2006-09-13  0:49 UTC (permalink / raw)
  To: Nico Schottelius; +Cc: LKML

On Sun, 10 Sep 2006 19:08:37 +0200 Nico Schottelius wrote:

> Hello!
> 
> When booting 2.6.17.13 on my Geode, kprintf enabled with timing output,
> it looks a bit strange (the first 24 lines):
> 
> --------------------------------------------------------------------------------
> 
>   Booting 'Zwerg - 2.6.17.13'
>                 
> root (hd0,1)    
>  Filesystem type is jfs, partition type 0x83
> kernel /usr/src/linux-2.6.17.13/arch/i386/boot/bzImage root=/dev/hda2
> console=t
> tyS0,38400      
>    [Linux-bzImage, setup=0x1400, size=0x10afff]
>                 
> [42949372.960000] Linux version 2.6.17.13-zwerg (root@buche) (gcc
> version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)) #1 Sun Sep 10
> 16:15:23 UTC 2006
> [42949372.960000] BIOS-provided physical RAM map:
> [42949372.960000]  BIOS-e820: 0000000000000000 - 000000000009fc00
> (usable)
> [42949372.960000]  BIOS-e820: 000000000009fc00 - 00000000000a0000
> (reserved)
> [42949372.960000]  BIOS-e820: 00000000000f0000 - 0000000000100000
> (reserved)
> [42949372.960000]  BIOS-e820: 0000000000100000 - 0000000008000000
> (usable)
> [42949372.960000]  BIOS-e820: 00000000fff0000 - 0000000100000000
> (reserved)
> [42949372.960000] 128MB LOWMEM available.
> [42949372.960000] DMI not present or invalid.
> [42949372.960000] ACPI: Unable to locate RSDP
> [42949372.960000] Allocating PCI resources starting at 10000000 (gap:
> 08000000:f7f00000)
> [42949372.960000] Built 1 zonelists
> [42949372.960000] Kernel command line: root=/dev/hda2
> console=ttyS0,38400
> [42949372.960000] No local APIC present or hardware disabled
> [42949372.960000] Initializing CPU#0
> [42949372.960000] PID hash table entries: 1024 (order: 10, 4096 bytes)
> [    0.000000] Detected 266.663 MHz processor.
> [   20.718339] Using tsc for high-res timesource
> [   20.718638] Console: colour dummy device 80x25
> [   21.045363] Dentry cache hash table entries: 16384 (order: 4, 65536
> bytes)
> [   21.067257] Inode-cache hash table entries: 8192 (order: 3, 32768
> bytes)
> [   21.129713] Memory: 127256k/131072k available 333k kernel code, 3420k
> reserved, 498k data, 124k init, 0k highmem)
> [   21.161087] Checking if this processor honours the WP bit even in
> supervisor mode... Ok.
> [   21.328007] Calibrating delay using timer specific routine.. 534.16
> BogoMIPS (lpj=2670830)
> [   21.353474] Mount-cache hash table entries: 512
> [   21.368758] CPU: NSC Unknown stepping 01
> [   21.380743] Checking 'hlt' instruction... OK.
> [   21.394059] SMP alternatives: switching to UP code
> [   21.408503] Freeing SMP alternatives: 0k freed
> [...]
> --------------------------------------------------------------------------------
> 
> Just wanted to ask whether this is ...
>    a) wanted
>    b) not yet seen
>    c) nothing one should care about

It's intentional.  It helps with checking for code that cares
about timer^W jiffy rollovers.  The kernel starts "time" at -5 minutes
then the jiffy count rolls over soon.  From include/linux/jiffies.h:

/*
 * Have the 32 bit jiffies value wrap 5 minutes after boot
 * so jiffies wrap bugs show up earlier.
 */
#define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))

---
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-13  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10 17:08 2.6.17.13 Uninitialized variable / printf timing Nico Schottelius
2006-09-13  0:49 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox