Professional Web Applications Themes

enable acpi - FreeBSD

Hello Could anyone tell me how to enable acpi with FreeBSD 5.3? I read on the FreeBSD that acpi isn't enabled in some cases. When I shutted down with FreeBSD 5.2.1, the power of my pc automaticaly goes down and with 5.3 not. How do I enable acpi? Thanks Koen...

  1. #1

    Default enable acpi

    Hello
    Could anyone tell me how to enable acpi with FreeBSD 5.3?
    I read on the FreeBSD that acpi isn't enabled in some cases. When I
    shutted down with FreeBSD 5.2.1, the power of my pc automaticaly goes
    down and with 5.3 not. How do I enable acpi?

    Thanks
    Koen
    koen Guest

  2. #2

    Default ntp problems (strata too high)

    Hi,

    I am having problems getting my client machine syncing with hy ntp
    server. Details follow -

    doing a ntpdate -d 192.168.16.1 on the client returns

    12 Mar 19:35:56 ntpdate[1443]: ntpdate 4.2.0-a Thu Nov 4 22:31:39 UTC
    2004 (1)
    Looking for host 192.168.16.1 and service ntp
    transmit(192.168.16.1)
    receive(192.168.16.1)
    transmit(192.168.16.1)
    receive(192.168.16.1)
    transmit(192.168.16.1)
    receive(192.168.16.1)
    transmit(192.168.16.1)
    receive(192.168.16.1)
    transmit(192.168.16.1)
    192.168.16.1: Server dropped: strata too high
    server 192.168.16.1, port 123
    stratum 16, precision -20, leap 11, trust 000
    refid [192.168.16.1], delay 0.02574, dispersion 0.00000
    transmitted 4, in filter 4
    reference time: 00000000.00000000 Thu, Feb 7 2036 6:28:16.000
    originate timestamp: c5ddc31c.eacb5afa Sat, Mar 12 2005 19:35:56.917
    transmit timestamp: c5ddc31d.053aaf24 Sat, Mar 12 2005 19:35:57.020
    filter delay: 0.02579 0.02577 0.02574 0.02574
    0.00000 0.00000 0.00000 0.00000
    filter offset: -0.10333 -0.10334 -0.10334 -0.10334
    0.000000 0.000000 0.000000 0.000000
    delay 0.02574, dispersion 0.00000
    offset -0.103344
    ------------


    On the server ntpq -cas returns -

    ind assID status conf reach auth condition last_event cnt
    ================================================== =========
    1 15532 b024 yes yes none reject reachable 2
    2 15533 b024 yes yes none reject reachable 2
    3 15534 b024 yes yes none reject reachable 2
    4 15535 b024 yes yes none reject reachable 2
    -------------------

    and ntpq -p returns

    remote refid st t when poll reach delay offset
    jitter
    ================================================== ============================
    clueful.shagged 195.66.241.3 2 u 107 256 17 33.901 199.499
    14.837
    sky.nuxi.it 217.11.227.68 3 u 108 256 17 68.775 212.512
    17.382
    i157107.upc-i.c 193.79.237.14 2 u 107 256 17 54.001 203.632
    9.815
    62.152.126.5 146.48.83.182 3 u 109 256 17 58.000 201.334
    9.996
    --------------------

    ntp.conf on server is

    restrict 192.168.16.0 mask 255.255.255.0 nomodify notrap
    restrict 127.0.0.1

    server uk.pool.ntp.org
    server 0.pool.ntp.org
    server 1.pool.ntp.org
    server 2.pool.ntp.org

    logfile /var/log/ntp.log
    -------------------

    (server ip is 192.168.16.1, client is 192.168.16.200)

    doing a ntpdate uk.pool.ntp.org from either server or client syncs fine.

    Any help would be much appreciated.

    Cheers,
    Martin

    martinmcc@orbweavers.co.uk Guest

  3. #3

    Default Re: ntp problems (strata too high)

    This seems to have sorted itself out - it appears to have been working all
    along, I was just being a bit impatient - i.e. it takes a while for the
    ntpd server to sync with the other servers, and while it does that it will
    not answer queries. After a while it will sync with the other servers and
    happily anser requests (that is my assumption anyway).

    cheers,
    Martin

     

    martinmcc@orbweavers.co.uk Guest

  4. #4

    Default Re: enable acpi



    On 03/13/05 03:17 koen de wijs said the following: 

    acpi related, but on freebsd 4.11 (cvsupped and built on 24 march).

    i've compiled with device acpica in the kernel, but i get sporadic page
    faults as attached.

    i do know that acpica is experimental and that LINT does warn of kernel
    panics and machine hangs. however i was wondering if anyone has got this
    working succesfully on any machine.

    the box in question is a Benq Joybook 6000 with the following dmesg segment:

    Mar 29 17:50:44 prophet /kernel: Copyright (c) 1992-2005 The FreeBSD Project.
    Mar 29 17:50:44 prophet /kernel: Copyright (c) 1979, 1980, 1983, 1986,
    1988, 1989, 1991, 1992, 1993, 1994
    Mar 29 17:50:44 prophet /kernel: The Regents of the University of
    California. All rights reserved.
    Mar 29 17:50:44 prophet /kernel: FreeBSD 4.11-STABLE #3: Tue Mar 29
    17:40:52 MYT 2005
    Mar 29 17:50:44 prophet /kernel:
    alphaque.com:/usr/obj/usr/src/sys/ALPHAQUE
    Mar 29 17:50:44 prophet /kernel: Timecounter "i8254" frequency 1193182 Hz
    Mar 29 17:50:44 prophet /kernel: Timecounter "TSC" frequency 1395479702 Hz
    Mar 29 17:50:44 prophet /kernel: CPU: Intel(R) Pentium(R) M processor
    1400MHz (1395.48-MHz 686-class CPU)
    Mar 29 17:50:44 prophet /kernel: Origin = "GenuineIntel" Id = 0x695
    Stepping = 5
    Mar 29 17:50:44 prophet /kernel:
    Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8 ,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FX SR,SSE,SSE2,TM,PBE>
    Mar 29 17:50:44 prophet /kernel: real memory = 234815488 (229312K bytes)
    Mar 29 17:50:44 prophet /kernel: avail memory = 223420416 (218184K bytes)
    Mar 29 17:50:44 prophet /kernel: Preloaded elf kernel "kernel" at 0xc04a4000.
    Mar 29 17:50:44 prophet /kernel: netsmb_dev: loaded
    Mar 29 17:50:44 prophet /kernel: Pentium Pro MTRR support enabled
    Mar 29 17:50:44 prophet /kernel: md0: Malloc disk
    Mar 29 17:50:44 prophet /kernel: Using $PIR table, 6 entries at 0xc00fe840
    Mar 29 17:50:44 prophet /kernel: acpi0: <INSYDE RSDT_000> on motherboard
    Mar 29 17:50:44 prophet /kernel: acpi0: power button is handled as a fixed
    feature programming model.
    Mar 29 17:50:44 prophet /kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
    Mar 29 17:50:44 prophet /kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
    port 0x1008-0x100b on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_cpu0: <CPU> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_tz0: <thermal zone> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_button0: <Sleep Button> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_lid0: <Control Method Lid Switch> on
    acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_button1: <Power Button> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_acad0: <AC adapter> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_cmbat0: <Control method Battery> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_cmbat1: <Control method Battery> on acpi0
    Mar 29 17:50:44 prophet /kernel: acpi_ec0: <embedded controller> port
    0x66,0x62 on acpi0

    and the following acpi sysctls:

    hw.acpi.supported_sleep_state: S3 S4 S5
    hw.acpi.power_button_state: S5
    hw.acpi.sleep_button_state: S1
    hw.acpi.lid_switch_state: S1
    hw.acpi.standby_state: S1
    hw.acpi.suspend_state: S3
    hw.acpi.sleep_delay: 0
    hw.acpi.s4bios: 1
    hw.acpi.verbose: 0
    hw.acpi.disable_on_poweroff: 1
    hw.acpi.cpu.max_speed: 8
    hw.acpi.cpu.current_speed: 8
    hw.acpi.cpu.performance_speed: 8
    hw.acpi.cpu.economy_speed: 4
    hw.acpi.thermal.min_runtime: 0
    hw.acpi.thermal.polling_rate: 30
    hw.acpi.thermal.tz0.temperature: 3152
    hw.acpi.thermal.tz0.active: 1
    hw.acpi.thermal.tz0.thermal_flags: 0
    hw.acpi.thermal.tz0._PSV: 3762
    hw.acpi.thermal.tz0._HOT: -1
    hw.acpi.thermal.tz0._CRT: 3762
    hw.acpi.thermal.tz0._ACx: 3760 3130 -1 -1 -1 -1 -1 -1 -1 -1
    hw.acpi.acline: 1
    hw.acpi.battery.life: -1
    hw.acpi.battery.time: -1
    hw.acpi.battery.state: 7
    hw.acpi.battery.units: 2
    hw.acpi.battery.info_expire: 5

    any pointers would be much appreciated.

    --
    Regards, /\_/\ "All dogs go to heaven."
    com (0 0) http://www.alphaque.com/
    +==========================----oOO--(_)--OOo----==========================+
    | for a in past present future; do |
    | for b in clients employers associates relatives neighbours pets; do |
    | echo "The opinions here in no way reflect the opinions of my $a $b." |
    | done; done |
    +================================================= ========================+

    Mar 29 17:55:10 prophet /kernel.working: kernel trap 12 with interrupts disabled
    Mar 29 17:55:10 prophet /kernel.working:
    Mar 29 17:55:10 prophet /kernel.working:
    Mar 29 17:55:10 prophet /kernel.working: Fatal trap 12: page fault while in kernel mode
    Mar 29 17:55:10 prophet /kernel.working: fault virtual address = 0x70
    Mar 29 17:55:10 prophet /kernel.working: fault code = supervisor read, page not present
    Mar 29 17:55:10 prophet /kernel.working: instruction pointer = 0x8:0xc01bb87c
    Mar 29 17:55:10 prophet /kernel.working: stack pointer = 0x10:0xc03a0528
    Mar 29 17:55:10 prophet /kernel.working: frame pointer = 0x10:0xc03a054c
    Mar 29 17:55:10 prophet /kernel.working: code segment = base 0x0, limit 0xfffff, type 0x1b
    Mar 29 17:55:10 prophet /kernel.working: = DPL 0, pres 1, def32 1, gran 1
    Mar 29 17:55:10 prophet /kernel.working: processor eflags = resume, IOPL = 0
    Mar 29 17:55:10 prophet /kernel.working: current process = Idle
    Mar 29 17:55:10 prophet /kernel.working: interrupt mask = net tty bio cam
    Mar 29 17:55:10 prophet /kernel.working: trap number = 12
    Mar 29 17:55:10 prophet /kernel.working: panic: page fault
    Mar 29 17:55:10 prophet /kernel.working:
    Mar 29 17:55:10 prophet /kernel.working: syncing disks...
    Mar 29 17:55:10 prophet /kernel.working:
    Mar 29 17:55:10 prophet /kernel.working: Fatal trap 12: page fault while in kernel mode
    Mar 29 17:55:10 prophet /kernel.working: fault virtual address = 0x30
    Mar 29 17:55:10 prophet /kernel.working: fault code = supervisor read, page not present
    Mar 29 17:55:10 prophet /kernel.working: instruction pointer = 0x8:0xc029ac00
    Mar 29 17:55:10 prophet /kernel.working: stack pointer = 0x10:0xc03a0258
    Mar 29 17:55:10 prophet /kernel.working: frame pointer = 0x10:0xc03a0260
    Mar 29 17:55:10 prophet /kernel.working: code segment = base 0x0, limit 0xfffff, type 0x1b
    Mar 29 17:55:10 prophet /kernel.working: = DPL 0, pres 1, def32 1, gran 1
    Mar 29 17:55:10 prophet /kernel.working: processor eflags = interrupt enabled, resume, IOPL = 0
    Mar 29 17:55:11 prophet /kernel.working: current process = Idle
    Mar 29 17:55:11 prophet /kernel.working: interrupt mask = net tty bio cam
    Mar 29 17:55:11 prophet /kernel.working: trap number = 12
    Mar 29 17:55:11 prophet /kernel.working: panic: page fault
    Mar 29 17:55:11 prophet /kernel.working: Uptime: 1m52s
    Mar 29 17:55:11 prophet /kernel.working: Terminate ACPI
    Mar 29 17:55:11 prophet /kernel.working: Automatic reboot in 15 seconds - press a key on the console to abort
    Mar 29 17:55:11 prophet /kernel.working: Rebooting...


    Dinesh Guest

Similar Threads

  1. acpi
    By Johan van de Sande in forum Ubuntu
    Replies: 0
    Last Post: May 6th, 02:53 PM
  2. ACPI bios error!!
    By Sam in forum Windows Server
    Replies: 0
    Last Post: June 22nd, 05:52 AM
  3. Activating ACPI supend and ACPI Hibernate in klaptop
    By Marino Fernandez in forum Debian
    Replies: 12
    Last Post: July 31st, 12:50 PM
  4. ACPI HOWTO v1.1
    By Emma Jane Hogbin in forum Debian
    Replies: 1
    Last Post: July 7th, 07:20 PM
  5. ACPI on Debian
    By Raffaele Sandrini in forum Debian
    Replies: 2
    Last Post: July 7th, 05:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139