From owner-freebsd-current Tue Feb 26 13:23:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail48.fg.online.no (mail48-s.fg.online.no [148.122.161.48]) by hub.freebsd.org (Postfix) with ESMTP id 86C7737B428 for ; Tue, 26 Feb 2002 13:22:59 -0800 (PST) Received: from gandalf.xu.nordahl.net (ti200720a080-0205.bb.online.no [80.212.236.205]) by mail48.fg.online.no (8.9.3/8.9.3) with ESMTP id WAA00274; Tue, 26 Feb 2002 22:22:45 +0100 (MET) Date: Tue, 26 Feb 2002 22:22:45 +0100 (CET) From: Frode Nordahl X-X-Sender: frode@gandalf.xu.nordahl.net To: Poul-Henning Kamp Cc: freebsd-current@FreeBSD.ORG Subject: Re: calcru: negative time of XXX In-Reply-To: <42947.1014740358@critter.freebsd.dk> Message-ID: <20020226221930.A2098-100000@gandalf.xu.nordahl.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 26 Feb 2002, Poul-Henning Kamp wrote: > please send me /var/run/dmesg.boot from a "boot -v" on a current kernel > and output from "sysctl kern.timecounter" please ? $ sysctl kern.timecounter kern.timecounter.nmicrotime: 3838 kern.timecounter.nnanotime: 3 kern.timecounter.nmicrouptime: 1 kern.timecounter.nnanouptime: 4 kern.timecounter.ngetmicrotime: 13562 kern.timecounter.ngetnanotime: 1 kern.timecounter.ngetmicrouptime: 25811 kern.timecounter.ngetnanouptime: 19 kern.timecounter.hardware: ACPI $ cat /var/run/dmesg.boot Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #1: Sun Feb 24 22:06:53 CET 2002 root@gandalf.xu.nordahl.net:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0535000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05350b4. Calibrating clock(s) ... TSC clock: 400916162 Hz, i8254 clock: 1193202 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 400911616 Hz CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134152192 (131008K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x0055c000 - 0x07fe7fff, 128499712 bytes (31372 pages) avail memory = 125100032 (122168K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fad90 bios32: Entry = 0xfb200 (c00fb200) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xf0000+0xb230 pnpbios: Found PnP BIOS data at 0xc00fbe90 pnpbios: Entry = f0000:bec0 Rev = 1.0 Other BIOS signatures found: null: random: mem: Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 7 entries at 0xc00fdf00 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_pcib0: port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0 pci0: physical bus=0 map[10]: type 3, range 32, base e0000000, size 26, enabled found-> vendor=0x8086, dev=0x7190, revid=0x03 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 found-> vendor=0x8086, dev=0x7191, revid=0x03 bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 map[10]: type 1, range 32, base e8102000, size 12, enabled map[14]: type 1, range 32, base e8000000, size 20, enabled found-> vendor=0x1013, dev=0x6003, revid=0x01 bus=0, slot=4, func=0 class=04-01-00, hdrtype=0x00, mfdev=0 intpin=a, irq=9 powerspec 2 supports D0 D1 D2 D3 current D0 found-> vendor=0x8086, dev=0x7110, revid=0x02 bus=0, slot=7, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 map[20]: type 4, range 32, base 0000f000, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 map[20]: type 4, range 32, base 0000e000, size 5, enabled found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 intpin=d, irq=3 map[90]: type 4, range 32, base 00005000, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x02 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 map[10]: type 1, range 32, base e8100000, size 12, enabled map[14]: type 4, range 32, base 0000e400, size 8, enabled found-> vendor=0x0675, dev=0x1702, revid=0x00 bus=0, slot=15, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 intpin=a, irq=5 map[10]: type 4, range 32, base 0000e800, size 7, enabled map[14]: type 1, range 32, base e8101100, size 7, enabled found-> vendor=0x10b7, dev=0x9055, revid=0x24 bus=0, slot=16, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=9 powerspec 1 supports D0 D1 D2 D3 current D0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xd000-0xdfff pcib1: memory decode 0xe4000000-0xe5ffffff pcib1: prefetched decode 0xe6000000-0xe6ffffff pci1: physical bus=1 map[10]: type 3, range 32, base e6000000, size 24, enabled map[14]: type 1, range 32, base e4000000, size 14, enabled map[18]: type 1, range 32, base e5000000, size 23, enabled found-> vendor=0x102b, dev=0x0521, revid=0x03 bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 powerspec 1 supports D0 D3 current D0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci0: at device 4.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=03 ostat0=50 ostat2=50 ata1-master: ATAPI 00 00 ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=50 stat1=00 ata1-master: ATA 01 a5 ata1: devices=09 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 3 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) pci0: at device 15.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xe8101100-0xe810117f irq 9 at device 16.0 on pci0 xl0: Ethernet address: 00:50:04:4c:22:77 xl0: media options word: a xl0: found MII/AUTO miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: xl0 attached fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A unknown: not probed (disabled) ppc0: using extended I/O port range ppc0: EPP SPP ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 unknown: not probed (disabled) psmcpnp0 irq 12 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0047 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:4 psm0: syncmask:08, syncbits:08 unknown: not probed (disabled) unknown: not probed (disabled) ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it fdc: fdc0 already exists; skipping it ppc: ppc0 already exists; skipping it sio: sio0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa0: if_ep: <3Com 3C509-Combo EtherLink III> at port 0x210-0x220 irq 10 ex_isa_identify() sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: