Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!


> > I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
> > how to do that. The scheduler by default has terrible performances under
> > KDE/Gnome and I would like to test the new one.
>
> What made you believe it is the scheduler?

I googled and read comments of people having the same kind of issues than the 
ones I have. Their conclusion: The scheduler.
I wanted to switch scheduler to see if they were right or wrong... ;)

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi Robert,

The expression "terrible performances" was maybe not the best way to express 
myself. My intentions were not to step on anyone's toe or being nasty. Sorry 
about that.

To describe things shortly, the problem is responsiveness. I have been running 
FreeBSD since 4.7 and never experienced what I am experiencing now:
- Bad responsiveness of the desktop
- Temporary freeze (10 to 30s)
- Slow mouse (and not a very smooth movement, a kind of 'step by step')
etc.

Daniel

> >  >  I would like to switch scheduler on my FreeBSD 7.0 box but I don't
> >  >  know how todo that.
> >
> >  You will want to use options SCHED_ULE instead of SCHED_4BSD in your
> >  kernel config.
>
>   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
>   If this is true, and you (the OP) do not need the machine for
> production, there are people who would be interested in hearing
> about your problems - especially if you are prepared to define (and
> document) "terrible performace" and help diagnosing the issue.
>
>
>   Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!

Thank you for your answer. So, I need to recompile the kernel. Fine!
At first I thought there might be a switch somewhere, to do the 
conversion "The soft way",  but OK, I'll rebuild the kernel.

Daniel

> >  I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
> > how to do that. The scheduler by default has terrible performances under
> > KDE/Gnome and I would like to test the new one.
>
> See the following for building a custom kernel:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
>
> You will want to use options SCHED_ULE instead of SCHED_4BSD in your
> kernel config.
>
> Regards,
> Josh

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to switch scheduler on 7.0?

2008-04-15 Thread Daniel Tourde
Hi!

I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how to 
do that. The scheduler by default has terrible performances under KDE/Gnome 
and I would like to test the new one.

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to check applications vs. libraries

2007-10-02 Thread Daniel Tourde
Hello,

I am used to install FreeBSD applications by using the port collection. I also 
update regularly (twice a month or something) the apps, 
using 'portupgrade -a -N' on a refreshed port collection.

Here are my questions:
- How can I check that the apps that have been build with certain libraries 
still work when some of the libs have been updated?
- Is it possible then to rebuild the selected set of apps that have 
been 'corrupted' by the library upgrade (classicaly from liba.1 to liba.2)? 
If yes, how?

or in other words, is there an equivalent to the Gentoo Linux 'revdep-rebuild' 
function?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is there any native Java3d for FreeBSD6.x?

2007-03-03 Thread Daniel Tourde
Hello,

I need Java3d on my FreeBSD 6.2 box.
When I try to build the java3d port, I end up with some Linux binary support 
(FedoraCore) and a Java3D based on some Linux binary. I have sun-jdk-1.5 
native on my system.

It's not that I hate Linux (I am a very satisfied owner of a few Gentoo 
boxes), it's just that I want my FreeBSD box to remain as simple as possible 
and as native as possible...

So here are my questions:
- Is there any native Java3D package for FreeBSD, if yes, where can I find the 
Makefile?
- If no native package are planned, is it easy to build Java3D on my FreeBSD 
box without being forced to have some Linux support?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it possible to build sun-jdk-1.5 from the source?

2007-02-20 Thread Daniel Tourde
Hello,


> > Is it possible to build sun-jdk-1.5 from the source code?
> > If yes, how to do that?
> >
> > To be honest, I would like to avoid to install a binary that requires
> > Linux support packages. It's not that I do not like Linux (I have 3
> > Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD
> > machine and I would like to keep it as simple as possible.
>
> Your best bet in that case would be to install the diablo package from
> http://www.freebsdfoundation.org/downloads/java.shtml (for me the 6.1
> package works fine on 6.2 and i've seen posts from other people saying
> the same.) Then install the sun jdk port, which can use the diablo
> package to build. You can then deinstall the diablo jdk.

That's exactly what I did and it worked flawlessly. Thanks all of you for the 
help. ;) 

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it possible to build sun-jdk-1.5 from the source?

2007-02-20 Thread Daniel Tourde
Hello,


> On Mon, Feb 19, 2007 at 07:20:45PM +0100, Daniel Tourde wrote:
> > Hello,
> >
> > Is it possible to build sun-jdk-1.5 from the source code?
> > If yes, how to do that?
>
> Yes, use the port.
>
> > To be honest, I would like to avoid to install a binary that requires
> > Linux support packages. It's not that I do not like Linux (I have 3
> > Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD
> > machine and I would like to keep it as simple as possible.
>
> Unfortunately java is written in java so you will have to install a
> binary compiler (either linux or freebsd) first to bootstrap.

OK. Where could I find the FreeBSD binary?
Are you referring to: http://www.freebsdfoundation.org/downloads/java.shtml ?

Then, would the binary be replaced by the one compiled or would they be in 
parallel on my system?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is it possible to build sun-jdk-1.5 from the source?

2007-02-20 Thread Daniel Tourde
Hello,

Is it possible to build sun-jdk-1.5 from the source code?
If yes, how to do that?

To be honest, I would like to avoid to install a binary that requires Linux 
support packages. It's not that I do not like Linux (I have 3 Gentoo Linux at 
my disposal), it's simply that my machine is a FreeBSD machine and I would 
like to keep it as simple as possible.

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sun jdk 1.6? Any port?

2007-02-20 Thread Daniel Tourde
Hello,

Is there any plan to port Sun JDK 1.6 to FreeBSD?
Would it be possible to build it from scratch, without the need for a Java 
Linux-based binary JDK.

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD and GNUstep + etoile

2007-02-20 Thread Daniel Tourde
First of all, let me apologize for the previous emails I sent about this 
combination on this forum. I was using a webmail and somehow my messages got 
truncated. That was kind of frustrating.

This being said, here is how I succeeded to get FreeBSD + GNUstep + etoile 
working:

First I compiled the necessary packages:
cd /usr/ports/x11/gnustep-app
make install
make distclean

This might take quiet a while... ;)

Then I added in /etc/csh.cshrc the line:
source /usr/local/GNUstep/System/Library/Makefiles/GNUstep.csh

and in /etc/profile the line:
. /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh

then in ~/.xession:
opentool etoile_system

There was a little hack that I had to do (this should be corrected soon 
though), I had to extract from etoile_0+20060917+dfsg.orig.tar.gz the 
setup.sh script and run it by hand. This script basically creates links where 
they are needed...

And then voila!
startx or just login from xdm, you will get etoile working on a GNUstep based 
system...

My first impressions about it:
- It's a 0.1 and it shows. However this is very promising
- Emacs 23 did not work for me
- The GNUstep look and feel is still very present. I did not succeed to change 
the theme with Camaelon (I did not try hard though...)

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get GNUstep working?

2007-02-08 Thread Daniel Tourde

   Hello,
   It seems that the message I went yesterday got screwed up = somehow...
   Anyway, here are some information and questions:
   - The G= NUstep.sh daemon starts automatically. No need of rc.conf
   - csh.cshrc = and profile must be augmented by the sourcing to
   GNUstep.csh and GNUstep.= sh respectively
   - the ldconfig list must be augmented.: I created a fi= le in usr
   local libdata ldconfig where I specified where the GNUstep libr= aries
   are located. The machine is rebooted afterward
   I still have = an issue though:
   etoile_system started from .xsession while running xd= m does not find
   the GNUStep libraries.
   Daniel

   Spray Crazy samlar nä= tets roligaste filmer just nu. Gå in och
   titta eller ladda upp ditt ege= t bidrag på
   [1]http://crazy.spray.se/

References

   1. 3D"http://crazy.spray.se/";
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports...

2007-02-08 Thread Daniel Tourde
Hello Bill, 

Thanks for your answer

> >I have at my disposal an Inspiron 9400 with an Intel CoreFreeBSD
> 6.2
> > is installed and rebuilt to fit the processor. The kerne   l is in SMP
> mode.
> >I noticed something strange: When I compile using ma   in the ports
> > tree, I only have 50% load. CPU1 is used at   CPU0 is idle...
> 
> How do you know this?

With 'top'

> 
> >I tried make -j2 but it did not work,   Any idea?
> 
> -j2 does not guarantee that you'll use both CPUs.  It's entirely possible
> that the IO is slow enough that both of the processes are waiting on disk
> and only able to push the overall system usage to 50%.  Try make -j99.
> 
> Also, there are places in the build process where it's only possible to
> run one process at a time, so you can't just take a single snapshot of
> it, you have to watch it over time.

I think it's more that the port tree does not really like parallel processes...


> I'm still not convinced anything is wrong:
> *) Does dmesg show the second CPU starting?

Yes

> *) Does top show a column for CPU binding?  Are different processes bound
>to different CPUs?

Yes

> *) Are these hyperthreaded CPUs?  If so, is hyperthreading enabled?  HT is
>disabled by default on FreeBSD, and overall usage will never go above
>50% if HT is off.

No, it's a Dual Core

Daniel

Förena nytta med nöje. Koppla av och ha kul samtidigt som du har chansen att 
vinna pengar på din skicklighet. På Spray spel kan du tävla mot andra och den 
som är bäst kan vinna mycket pengar. Till spelen: 
http://www.spray.se/underhallning/spel/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How to get etoile running?

2007-02-08 Thread Daniel Tourde

   
   Hello,


   I hope my email won't be guillotined by my mail provider this time...
   = :(


   I made some progress in having etoile working under xdm.

   - First (and this should be corrected I think), the setup.sh and
   setdo= wn.sh scripts must be extracted from the source code. setup.sh
   should be = used to create links to etoile applications at the right
   place.

   - Get GNUstep running (that's tricky as well). I still have issues
   wit= h GNUstep libraries not loaded by the applications even though
   ldconfig k= nows were they are (I created a file under
   /usr/local/libdata/ldconfig)

   - Create .xsession with the command 'etoile_system'


   Daniel


   Läs det senaste om = alla våra kändisar. Var de har varit, vad
   det har gjort och med vem. = På Spray Mingel har vi full uppsikt.
   [1]Till Spray Mingel

References

   1. 3D"http://www.spray.se/liv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How to get etoile running?

2007-02-07 Thread Daniel Tourde

   Hello,
   ètoilé seems to be a very nice desktop environment usi= ng GNUstep
   (see http://www.etoile-project.org). The kind of Desktop Environment
   that should appeal to MacOS X user.
   Étoilé is very wel= l implented in the ports tree (just build the
   gnustep-app and everything comes along). My problem now is how to get
   it started automatically either while using startx or from xdm.
   Any idea?
   How am I suppo= sed to do that 'The FreeBSD way'?
   Daniel

   Spray Crazy samlar nä= tets roligaste filmer just nu. Gå in och
   titta eller ladda upp ditt ege= t bidrag på
   [1]http://crazy.spray.se/

References

   1. 3D"http://crazy.spray.se/";
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How to get GNUstep working?

2007-02-07 Thread Daniel Tourde

   Hello,
   I built GNUstep from the port tree. Now how do I get it ru= nning?
   I noticed a GNUstep.sh file in /usr/local/etc/rc.d, that's obvi= ously
   some kind of daemon but how do I start it? I would like to do that'The 
FreeBSD way'. What I did so far is that I put 'GNUstep.sh start'
   in = /etc/rc.local but I am nt sure that I really have to do that, or
   that I d= o it correctly.
   What I basically want is to have GNUstep running (= daemon and
   environment variables) for all users, whatever my type of logi= n
   (terminal or X11)
   Any idea?
   Daniel

   Läs det senaste om = alla våra kändisar. Var de har varit, vad
   det har gjort och med vem. = På Spray Mingel har vi full uppsikt.
   [1]Till Spray Mingel

References

   1. 3D"http://www.spray.se/liv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Intel Core Duo. SMP kernel but still only 50% load while using make on ports...

2007-02-07 Thread Daniel Tourde

   Hello,
   I have at my disposal an Inspiron 9400 with an Intel Core = Duo.
   FreeBSD 6.2 is installed and rebuilt to fit the processor. The kerne   l is 
in SMP mode.
   I noticed something strange: When I compile using ma= ke, make install
   in the ports tree, I only have 50% load. CPU1 is used at= maximum but
   CPU0 is idle...
   I tried make -j2 but it did not work,= the ports did not even built...
   Any idea?
   How can I correct th= at?
   Thanks in advance,
   Daniel

   Läs det senaste om = alla våra kändisar. Var de har varit, vad
   det har gjort och med vem. = På Spray Mingel har vi full uppsikt.
   [1]Till Spray Mingel

References

   1. 3D"http://www.spray.se/liv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

How to get étoilé running?

2007-02-07 Thread Daniel Tourde

   Hello,
   ètoilé seems to be a very nice desktop environment usi= ng GNUstep
   (see http://www.etoile-project.org). The kind of Desktop Envir= onment
   that should appeal to MacOS X user.
   Étoilé is very well imp= lented in the ports tree (just build the
   gnustep-app and everything comes= along). My problem now is how to get
   it started automatically either whi= le using startx or from xdm.
   Any idea?
   How am I supposed to do = that 'The FreeBSD way'?
   Daniel

   Om du är singel och= vill träffa någon, besök då Spray Date!
   På Spray Date finns de= t 500 000 glada singlar som bara längtar
   efter att träffa någon all= deles speciell. [1]http://spraydate.   spray.se/

References

   1. 3D"http://spraydate.spray.se//";
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
Hello again,


> > I hate to say this but this driver only seems to compile on -CURRENT as
> > far as i can tell (and as far as the conversation at
>
> I don't remember from where I downloaded it, but this one [attached]
> works fine on 6-STABLE for me!
> make
> make install
> kldload if_wpi

I built it. It works but it complains and sometimes it shuts down itself... 
That would be nice to know where to report the error messages


Jan 18 20:23:59 guenevere kernel: config chan 6 flags 8035 cck f ofdm 15
Jan 18 20:23:59 guenevere kernel: wpi0: link state changed to DOWN
Jan 18 20:23:59 guenevere kernel: scan finished
Jan 18 20:24:30 guenevere last message repeated 6 times
Jan 18 20:24:50 guenevere last message repeated 4 times
Jan 18 20:24:55 guenevere kernel: rx tail flags error 702
Jan 18 20:24:55 guenevere kernel: scan finished
Jan 18 20:25:26 guenevere last message repeated 6 times
Jan 18 20:26:52 guenevere last message repeated 17 times
Jan 18 20:26:52 guenevere kernel: config chan 6 flags 8035 cck f ofdm 15
Jan 18 20:26:52 guenevere kernel: config chan 6 flags 8035
Jan 18 20:26:52 guenevere kernel: wpi0: link state changed to UP
Jan 18 20:26:59 guenevere dhclient: New IP Address (wpi0): 192.168.1.7
Jan 18 20:26:59 guenevere dhclient: New Subnet Mask (wpi0): 255.255.255.0
Jan 18 20:26:59 guenevere dhclient: New Broadcast Address (wpi0): 
192.168.1.255
Jan 18 20:26:59 guenevere dhclient: New Routers (wpi0): 192.168.1.1
Jan 18 20:28:52 guenevere kernel: rx tail flags error 702
Jan 18 20:29:24 guenevere last message repeated 3 times
Jan 18 20:31:15 guenevere last message repeated 6 times


Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
Hello Pietro,


> > I hate to say this but this driver only seems to compile on -CURRENT as
> > far as i can tell (and as far as the conversation at
>
> I don't remember from where I downloaded it, but this one [attached]
> works fine on 6-STABLE for me!
> make
> make install
> kldload if_wpi

It did the trick. It seems to work here as well... ;)

Thanks!

PS: There are many drivers around on the net. That would be nice to indicate 
where you found that one, coz it seems to work... ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-18 Thread Daniel Tourde
And that gives...

guenevere# make
===> wpi_ucode (all)
Warning: Object directory not changed from 
original /usr/src/sys/dev/wpi/wpi_uco
de
===> wpi (all)
Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi
cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL -DKLD_MODULE
 -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn
o-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3d
now -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -
Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
fformat-extensions -std=c99 -c if_wpi.c
In file included from if_wpi.c:74:
./if_wpivar.h:19:37: net80211/ieee80211_amrr.h: No such file or directory
In file included from if_wpi.c:74:
./if_wpivar.h:115: error: field `amn' has incomplete type
./if_wpivar.h:127: error: field `amrr' has incomplete type
if_wpi.c: In function `wpi_rx_intr':
if_wpi.c:1324: warning: implicit declaration of function `bpf_peers_present'
if_wpi.c:1324: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c: In function `wpi_tx_data':
if_wpi.c:1677: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
washere
if_wpi.c: In function `wpi_start':
if_wpi.c:1889: warning: nested extern declaration of `bpf_peers_present'
if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
washere
if_wpi.c: In function `wpi_iter_func':
if_wpi.c:2928: warning: implicit declaration of function 
`ieee80211_amrr_choose'
if_wpi.c:2928: warning: nested extern declaration of `ieee80211_amrr_choose'
if_wpi.c: In function `wpi_newassoc':
if_wpi.c:2952: warning: implicit declaration of function 
`ieee80211_amrr_node_in   it'
if_wpi.c:2952: warning: nested extern declaration of 
`ieee80211_amrr_node_init'
*** Error code 1

Stop in /usr/src/sys/dev/wpi/wpi.
*** Error code 1

Stop in /usr/src/sys/dev/wpi.
guenevere#

> Daniel Tourde wrote:
> > Hello,
> >
> > I found the driver for my wireless card on:
> > http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz
> > but how is it supposed to be installed on a fresh FreeBSD 6.2?
> >
> > Daniel
>
> You will need to compile the driver then use kldload to load it into the
> kernel. See man kldload
>
> You can then you should be able to load it on boot automatically via
> /boot/loader.conf.  See man loader.conf
>
> Hope that helps some.
>
> Cheers,
>
> Jeff
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

2007-01-17 Thread Daniel Tourde
Hello,

I found the driver for my wireless card on: 
http://www.clearchain.com/~benjsc/download/20070106-wpi-freebsd.tar.gz
but how is it supposed to be installed on a fresh FreeBSD 6.2?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.2, rebuild. NO-MMX, NO-SSE?

2007-01-15 Thread Daniel Tourde
Hello,

Yesterday I rebuit FreeBSD 6.2 using CPUTYPE=pentium4 and the classic 
procedure described in the manual.
The machine (Inspiron 9400) is fast but I saw at certain moments something 
like "NO-MMX, NO-SSE" (some flags or variables) during the compilation 
process. I thought then "How come? What a pity not to use these 
instructions".

Can someone tell me what it was and if it is really supposed to be like this? 
My roots are in Gentoo Linux where it is possible to get the maximum out of a 
processor when building a system from scratch by using properly certain C and 
C++ flags.

I am pretty sure the same is possible with FreeBSD, however these 
aforementionned flags raised some questions in my mind... ;)


Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.2, rebuild. 'i386-undermydesk-freebsd'?

2007-01-15 Thread Daniel Tourde
Hello,

I have been rebuilding FreeBSD6.2 yesterday and I noticed a strange 
flag: -DTARGET='i386-undermydesk-freebsd' or something like this. What is 
this? I have set CPUTYPE=pentium4. I had expected something 
like -DTARGET='i386-pc-freebsd' or something like this. Any idea?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 6.2, rebuild the system with CPUTYPE=prescott?

2007-01-15 Thread Daniel Tourde
Hello,

Let me present myself:
- I am an advanced user of Gentoo Linux. I know quiet a lot about that system 
and about how to optimize it to fit the hardware the best possible way.
- I am a casual FreeBSD user. I like it a lot though, it is lean and very well 
structured.

I am the happy own of a Dell Inspiron 9400 with a Dual Core processor in it 
(note, not a Dual Core 2).

http://gentoo-wiki.com/Safe_Cflags gives some information about this processor 
and about the parameter to give to gcc to obtain the best out of it:

Intel Core Solo/Duo (Yonah)
vendor_id  : GenuineIntel
 cpu family  : 6
 model  : 14
 model name  : Genuine Intel(R) CPU   [Model] @ XXXGHz
 (the above info is from a T2400, other models may have different cpu families 
and model numbers) 
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

This is a 32bit chip 
Note: It has been confirmed by [EMAIL PROTECTED] that prescott is the 
correct microarchitecture to use with this CPU. 

So now, I am trying to rebuild my FreeBSD 6.2 system playing a bit with the 
parameters in the make.conf file (see /usr/share/examples/etc/make.conf) to 
get the best out of my machine (double processor, MMX, SSE[1-3] and co...)
#CPUTYPE?=pentium3
#NO_CPU_CFLAGS= # Don't add -march= to CFLAGS automatically
#NO_CPU_COPTFLAGS=  # Don't add -march= to COPTFLAGS automatically


So far, the only thing I did was to set CPUTYPE to pentium4 but I am pretty 
sure, it can be done in a better way. The question being 'how?'

So, can anyone guide me?

Daniel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"