Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-13 Thread Matt Dainty
* Soren Kristensen so...@soekris.com [2011-12-11 10:00:05]:
 
 ACPI is on my long list of things to do, I'll better move it up, the 
 basic ACPI stuff needed is not that complicated.
 
 The ACPI Power is really complicated, but I have no plan to support 
 that, as active power management is not something you want or need on a 
 always on platform

Would the ACPI Power support also cover the CPU speed/power throttling?

Matt
-- 
Phased plasma rifle in a forty-watt range?
Hey, just what you see, pal.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-13 Thread Nicholas Esborn
On 12/13/2011 04:33 AM, Matt Dainty wrote:
 * Soren Kristensen so...@soekris.com [2011-12-11 10:00:05]:

 ACPI is on my long list of things to do, I'll better move it up, the 
 basic ACPI stuff needed is not that complicated.

 The ACPI Power is really complicated, but I have no plan to support 
 that, as active power management is not something you want or need on a 
 always on platform
 
 Would the ACPI Power support also cover the CPU speed/power throttling?

ACPI can be used to provide CPU P-state throttling, but in the case of
Intel CPUs, I think SpeedStep is probably a better/easier way to go.
Most OSes support it, as long as they can identify the CPU.

On FreeBSD, the eist driver already sees that the CPUs support
SpeedStep, but doesn't attach due to not having the CPU in its
configuration table.

-nick

 Matt


-- 
n...@desert.net - all messages cryptographically signed



signature.asc
Description: OpenPGP digital signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-11 Thread Soren Kristensen
Hi Nick  List,

Nicholas Esborn wrote:

 From what I have seen, mptable and atpic support are both designated as
 legacy capabilities on FreeBSD.  The FreeBSD developers may not want to
 re-enable them in GENERIC.  Support for non-ACPI configurations could
 become increasingly tenuous.

 With luck, the required options will remain available for some time to
 come, but it seems like an ACPI BIOS would be a very positive
 development for the longevity of the Net6501 with modern operating systems.

ACPI is on my long list of things to do, I'll better move it up, the 
basic ACPI stuff needed is not that complicated.

The ACPI Power is really complicated, but I have no plan to support 
that, as active power management is not something you want or need on a 
always on platform


Best Regards,


Soren Kristensen

CEO  Chief Engineer
Soekris Engineering, Inc.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-10 Thread Nicholas Esborn
On 12/10/2011 06:07 AM, Denis Fortin wrote:
 On 2011-12-08 08:55, Aragon Gouveiaara...@phat.za.net wrote:
 On 12/07/11 23:00, Soren Kristensen wrote:
 I don't have the knowledge to find out where and why FreeBSD stops, but
 if some FreeBSD hacker can go down and tell me why, I will do what I can
 do fix it if the BIOS need a little adjustment

 Considering all the ACPI error messages, I guess it's a problem there
 somewhere.  The freebsd-acpi@ mailing list is a good place to seek ACPI
 wizards. :)
 
 If I try to boot FreeBSD 9.0-RC2 in verbose mode with amd64 and i386 and 
 compare the boot messages side-by-side, there are as many error messages 
 about ACPI with the (successful) i386 boot than with the (failed) amd64 
 boot.
 
 The amd64 boot ends with the following lines:
   panic: No usable event timer found!
   cpuid = 0
   KDB: stack backtrace:
   #0 0x80867e4e at kdb_backtrace+0x5e
   #1 0x80832ab7 at panic+0x187
   #2 0x80b5250b at cpu_initclocks_bsp+0x3cb
   #3 0x807e9ec0 at initclocks+0x20
   #4 0x807e7507 at mi_startup+0x77
   #5 0x8029f6ec at btext+0x2c
   Uptime: 1s
   Automatic reboot in 15 seconds - press a key on the console to abort
 
 Whereas the i386 boot goes on at this same spot with:
   lapic: Divisor 2, Frequency 50001280 Hz
   Timecounters tick every 1.000 msec
 
 Somehow, the LAPIC timer is reported with the i386 boot thus:
   MPTable: Soekris  net6501 
   Event timer LAPIC quality 400
   FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
   FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID:  0
cpu1 (AP/HT): APIC ID:  1
 
 but not on the amd64 boot.
 
 Also, the i386 reports early on:
   MP Configuration Table version 1.4 found at 0xc00fe110
 
 and *not* the amd64 boot.
 
 Anyway, just some preliminary information in case it triggers an Ah-ha! 
 with some of the list members.

I was able to boot FreeBSD/amd64 9.0-RC3 just now.

The key was to enable mptable and atpic support in the kernel.

device  atpic  # Optional legacy pic support
device  mptable# Optional MPSPEC mptable support

I also removed device acpi, but that may not have been necessary.

-nick

 Cheers,
 
 Denis F.
 ___
 Soekris-tech mailing list
 Soekris-tech@lists.soekris.com
 http://lists.soekris.com/mailman/listinfo/soekris-tech


-- 
n...@desert.net - all messages cryptographically signed



signature.asc
Description: OpenPGP digital signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-10 Thread Denis Fortin
On 2011-12-11 01:54, Nicholas Esborn wrote:
 I was able to boot FreeBSD/amd64 9.0-RC3 just now. The key was to 
 enable mptable and atpic support in the kernel. device atpic # 
 Optional legacy pic support device mptable # Optional MPSPEC mptable 
 support I also removed device acpi, but that may not have been 
 necessary. -nick

This is excellent news.

Based on your input and what I had found earlier, I made a couple of 
FreeBSD 9.0-RC3 kernels to play with the options, and I found that 
device mptable is needed for the FreeBSD/amd64 kernel to boot on the 
net6501.

Anyway, it's good to know that we'll be able to build and use 64-bit 
kernels... but I doubt we can get device mptable enabled in GENERIC at 
this late stage of the 9.0 release cycle (we are at RC3).

Cheers,

Denis, for...@acm.org

PS. Now onwards to find out why my USB 3.0 PCIe card is not working as 
expected.
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech


Re: [Soekris] FreeBSD/amd64 on Net6501 working!

2011-12-10 Thread Nicholas Esborn
On 12/10/2011 11:04 PM, Denis Fortin wrote:
 On 2011-12-11 01:54, Nicholas Esborn wrote:
 I was able to boot FreeBSD/amd64 9.0-RC3 just now. The key was to
 enable mptable and atpic support in the kernel. device atpic #
 Optional legacy pic support device mptable # Optional MPSPEC mptable
 support I also removed device acpi, but that may not have been
 necessary. -nick
 
 This is excellent news.
 
 Based on your input and what I had found earlier, I made a couple of
 FreeBSD 9.0-RC3 kernels to play with the options, and I found that
 device mptable is needed for the FreeBSD/amd64 kernel to boot on the
 net6501.
 
 Anyway, it's good to know that we'll be able to build and use 64-bit
 kernels... but I doubt we can get device mptable enabled in GENERIC at
 this late stage of the 9.0 release cycle (we are at RC3).

From what I have seen, mptable and atpic support are both designated as
legacy capabilities on FreeBSD.  The FreeBSD developers may not want to
re-enable them in GENERIC.  Support for non-ACPI configurations could
become increasingly tenuous.

With luck, the required options will remain available for some time to
come, but it seems like an ACPI BIOS would be a very positive
development for the longevity of the Net6501 with modern operating systems.

-nick

 Cheers,
 
 Denis, for...@acm.org
 
 PS. Now onwards to find out why my USB 3.0 PCIe card is not working as
 expected.


-- 
n...@desert.net - all messages cryptographically signed



signature.asc
Description: OpenPGP digital signature
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
http://lists.soekris.com/mailman/listinfo/soekris-tech