Temperature too high when high overload

2012-08-27 Thread Mike Manilone

Hi all,

I just switched from Fedora Linux to FreeBSD. But I noticed a problem, 
the CPU temperature will be very high when the load is high. Especially 
while I am building C++ programs. It shut down for even 3 times while I 
was building Firefox/Thunderbird, just because of high temperature (86.5C).


One of my friends told me, "FreeBSD doesn't support your ACPI well" but 
I noticed that while I'm not compiling ports, the temperature will be 
not too high.


Just now I'm building LLVM, here's what I've seen:

> sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 84.5C
> pkill make
> sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 67.5C

I'm using Dell Vostro 3400 laptop PC with FreeBSD 9.1-RC1.
> uname -a
FreeBSD bsd.laptop.mike 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 
04:25:06 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


There's my dmesg message: http://slexy.org/view/s21b7xTTsu

Anyone knows how to fix this problem?  Thank you.

Yours Sincerely,
Mike Manilone
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Temperature too high when high overload

2012-08-27 Thread Mike Manilone

On 2012/08/27 22:44, Christian Mangin wrote:

You should try to adjust _PSV to be significantly lower (> 15-20C) than
the _CRT (critical shutdown temp) so that _CRT is never reached.
Well, I think this is very useful for all the situations. Why not set 
them by default?

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


A BSD-licensed internationalization solution?

2012-09-08 Thread Mike Manilone

Hi list,

Here are many applications using GNU gettext to provide an 
internationalized user interface. But I found that there isn't a 
BSD-licensed gettext. (so BSD apps do not have internationalization?)


Is there one? Then I can just switch from gettext to that.

Sincerely,
Mike Manilone
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


how to update ports while using pkgng?

2012-09-14 Thread Mike Manilone

Hi,

I'm using ports with pkgng enabled. But I found that portmaster won't 
work. Is there any way to update ports? Thanks!


Sincerely,
Mike Manilone
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: how to update ports while using pkgng?

2012-09-17 Thread Mike Manilone

Will it be updated after ports? So then, I can just use pkgng :-)

On 2012/09/17 14:07, Matthew Seaman wrote:

Also, the "official" pkgng repositories aren't really in action yet


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


error while building stable world

2012-10-04 Thread Mike Manilone

Hi all,

I'm trying to build a STABLE world. But now I've got an error.

/usr/local/bin/clang  -O2 -pipe  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE 
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime 
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES 
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING 
-DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments -fstack-protector 
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -c 
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:10: fatal error: 
'sys/vdso.h' file not found

#include 
 ^
1 error generated.
*** [__vdso_gettc.o] Error code 1


How can I fix this error?

Another question: will buildworld also build the kernel?

Thanks.

Cheers,
Mike Manilone
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: error while building stable world

2012-10-05 Thread Mike Manilone

But the problem will also happen even if I'm using the default gcc 4.2...

cc  -O2 -pipe  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE 
-DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime 
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES 
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING 
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall 
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c 
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:22: error: sys/vdso.h: No 
such file or directory
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: 'struct 
vdso_timehands' declared inside parameter list
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: its scope is 
only this definition or declaration, which is probably not what you want

/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc_low':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:40: error: dereferencing 
pointer to incomplete type

/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: At top level:
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:45: warning: 'struct 
vdso_timehands' declared inside parameter list

/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: error: dereferencing 
pointer to incomplete type
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: warning: passing argument 
1 of '__vdso_gettc_low' from incompatible pointer type

*** [__vdso_gettc.o] Error code 1


On 2012/10/05 17:24, Dimitry Andric wrote:

Don't use an absolute path for CC, it will not work.  You can't build
FreeBSD with ports clang, yet. 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: error while building stable world

2012-10-05 Thread Mike Manilone

I'm using the NTP so there isn't the problem.

On 2012/10/05 17:26, mbsd wrote:

Is your time set correct?


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10-CURRENT and 9-STABLE snapshots

2012-10-05 Thread Mike Manilone


On 2012/10/05 21:51, Glen Barber wrote:

Hi,

A number of FreeBSD users have displayed interest in the availability
and testing of -STABLE and -CURRENT snapshot releases.

I have been working on generating snapshots regularly, and now would
like to announce their availability for those interested in testing.

Please note, as always with the -STABLE and -CURRENT branches, these
snapshots are not intended for production systems.

The snapshots available are:

  - 10.0-CURRENT amd64
  - 10.0-CURRENT i386
  - 9.1-PRERELEASE amd64
  - 9.1-PRERELEASE i386

Note that the 9.1-PRERELEASE snapshots are the stable/9 branch, not what
will eventually be 9.1-RELEASE.

I do not yet have snapshots for the 8-STABLE branch, but am working on
the magic to make that happen as well.  There are also no bootonly ISOs,
since the necessary distribution sets are not available on the FreeBSD
FTP servers, so I cannot direct the installer to a different location
very easily.

The URL for the snapshots is:

 https://snapshots.glenbarber.us/Latest/

The SHA256 of the xz(1)-compressed install medium follows, and is also
included in a plain-text file on the site.

FreeBSD-10.0-CURRENT-amd64-memstick.xz = 
8779f5925cb903c64d647392f6af825d5e74019d6d13222045d69091b03a81ff
FreeBSD-10.0-CURRENT-amd64-release.iso.xz = 
cc3934c947563c23f92ba1cd8ca7ded3999dfbc050e2b2647c294e442f267040
FreeBSD-10.0-CURRENT-i386-memstick.xz = 
9eb7ff8e28c0c524d2794828acb601b9b7079c1d00017e3bf84b974ff4412e42
FreeBSD-10.0-CURRENT-i386-release.iso.xz = 
0d1334fea13e16cb0d06a3f3c3fb7b0e1223baf06a06a889a6cffa6981348ae5
FreeBSD-9.1-PRERELEASE-amd64-memstick.xz = 
f5f1e7acbaaac6eb61c5194199eb6ef090af242efc9808dc1af5caeee126e15e
FreeBSD-9.1-PRERELEASE-amd64-release.iso.xz = 
0cfa5b258428741e0345b29eed241188d5944fcb15a70b079d39d56195f0
FreeBSD-9.1-PRERELEASE-i386-memstick.xz = 
4e98ffe63b186b0e26f22c3ddfb0582019bf352d1ea39da2757817c809872b67
FreeBSD-9.1-PRERELEASE-i386-release.iso.xz = 
0bce6f2a9626705484ff7cac18623f714e289ef6ddc0b6199d78eba37ded2ca4

The "Latest" directory on the site will always point to the latest batch
of snapshots, which right now my goal is to regenerate every few days
(I do not have a definitive timeframe in mind yet).

I hope these are useful to the FreeBSD community.  Feedback on this is
welcome, as always.

Cheers,

Glen

PS: Please report any issues regarding downloading to me directly.


Good idea! :-)
Could it be used in freebsd-update?

Cheers,
Mike
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: error while building stable world

2012-10-06 Thread Mike Manilone


On 2012/10/05 17:55, Mike Manilone wrote:

But the problem will also happen even if I'm using the default gcc 4.2...

cc  -O2 -pipe  -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa 
-DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv 
-D_ACL_PRIVATE -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime 
-I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES 
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING 
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers 
-Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c 
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c -o __vdso_gettc.o
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:31:22: error: sys/vdso.h: 
No such file or directory
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: 'struct 
vdso_timehands' declared inside parameter list
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:35: warning: its scope is 
only this definition or declaration, which is probably not what you want
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function 
'__vdso_gettc_low':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:40: error: dereferencing 
pointer to incomplete type

/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: At top level:
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:45: warning: 'struct 
vdso_timehands' declared inside parameter list

/usr/src/lib/libc/amd64/sys/__vdso_gettc.c: In function '__vdso_gettc':
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: error: dereferencing 
pointer to incomplete type
/usr/src/lib/libc/amd64/sys/__vdso_gettc.c:48: warning: passing 
argument 1 of '__vdso_gettc_low' from incompatible pointer type

*** [__vdso_gettc.o] Error code 1


On 2012/10/05 17:24, Dimitry Andric wrote:

Don't use an absolute path for CC, it will not work.  You can't build
FreeBSD with ports clang, yet. 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Well. I noticed that /usr/src/sys/sys/vdso.h exists. Is there a way to 
install the new headers collection? I think this may solve the problem. ;-)

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"