Re: EM64T compiling options?

2008-07-15 Thread Cyril Jaquier

Hi,


I'm migrating from an i686 to an EM64T machine (Intel core 2 quad) and
I'd like to know whether there are specific options that I can pass to
gcc for an optimization of my code or if everything is blindly set up.
How would I manage the 4 cpu cores if I was to write in assembly?



GCC has a lot of optimization/architecture flags. Just have a look here 
[1]. However, this won't make your software use the 4 cores.


You should use threads or multiple processes with IPC. I don't know what 
you want to do but I think you should forget about writing in assembly 
and use an higher level language. You probably don't need assembly at 
all. Moreover, higher level language have sometimes concurrency and 
synchronization facilities which will help you getting the most of your 
4 cores.


Regards,

Cyril Jaquier

[1] http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How would I get debian unstable?

2008-06-05 Thread Cyril Jaquier



Also, why did you people choose to use debian?  Is it just better than
other distributions?


I don't know, I have never used anything else (besides short adventures
with Gentoo and Ubuntu and a few more live CDs).



I switched from Gentoo to Debian on my laptop 6 months ago. I used 
Gentoo (and I'm still using it on servers) for many years. I learned a 
lot about GNU/Linux this way. I liked to test the latest software 
releases, choose the dependencies in really need, test some unusual 
compilation flags, etc.


Now that I'm a bit older, I don't want to spend so much time in setting 
up my system. I want something that works (quite) out of the box. 
Moreover, compiling every single piece of software is a time-consuming 
task. So I wanted to try something else. One of my friend is a Debian 
maintainer and it convinced me to give it a try.


I'm quite happy with my Debian unstable. I have a 6 months old laptop so 
I had few problems at the beginning with bad hardware support. But now, 
everything is working as I want to. I regret that some software takes a 
long time to come into unstable/experimental (e.g. Gnome development 
release). And I find that it is easier to create Gentoo's ebuilds than 
Debian's packages. But I still have to learn a lot about Debian.


I'm using Ubuntu at work and on my girlfriend's laptop. This is probably 
one of the best desktop distribution I think. And I don't see so much 
differences compared to Debian. The only reason for me not to use Ubuntu 
is, as you said,



It seems like you people are elite linux users,


I don't want to use the same distribution as my girlfriend or a 
distribution that my mother could install herself :D


I still haven't found a distribution that makes me 100% happy. But I'm 
really happy with Debian at the moment.



In a way, Debian offers more choices and doesn't force anything on you
which you don't strictly need. On the other hand this means you have to
make more choices yourself which is hard if you don't understand your
options in the first place.



Gentoo offers even more choices. So if you have time and want to learn 
more about a GNU/Linux system, give Gentoo a try. Moreover, the forums 
and the documentation are awesome.


Regards,

Cyril Jaquier


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to hear audio

2008-02-04 Thread Cyril Jaquier

Hi Vincent,

I only found references on how to compile fresh kernel sources but 
nothing specific to making changes to pre-existing kernels. Is it the 
same or are there any specific docs I could look at?


I would do this like that:

1/ zcat /proc/config.gz > /usr/src/linux-source-2.6.x/.config
2/ cd /usr/src/linux-source-2.6.x
3/ make oldconfig
4/ make menuconfig
5/ make-kpkg --initrd --rootcmd fakeroot kernel_image
6/ cd ..
7/ dpkg -i linux-image-xxx.deb
8/ reboot

Replace the "x" characters with the correct values ;) You will also need 
to recompile the external modules if any.


Regards,

Cyril Jaquier


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mute key not working anymore on T61

2008-01-17 Thread Cyril Jaquier
H Lennart,

> I think I saw some lenovo thinkpad acpi discussions on LKML a few days
> ago involving the mute key.  Might be worth looking that up.  I know it
> was sometime in the last 4 days.
> 
> http://groups.google.ca/group/fa.linux.kernel/browse_thread/thread/9336308b2f32816e/fbf3c13bad7f8231?lnk=st&q=lenovo+mute+acpi+linux#fbf3c13bad7f8231
> 
> I searched for 'lenovo mute acpi linux' on google groups which found it.
> It appears to be a change in 2.6.23 that causes the problem.
> 

I added acpi_osi="Linux" and my mute button works again :) Many thanks.

Regards,

Cyril Jaquier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mute key not working anymore on T61

2008-01-14 Thread Cyril Jaquier

Hi all,

Since a few days (weeks?), my mute key does not work anymore. Volume up 
and down work as expected. xev just says nothing while pressing this 
key. I reported this here:


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460564

However, I can't remember if the mute key used to generate an ACPI event 
or was monitored by thinkpad-keys!?


Dear Lenovo T61 users, do you have a working mute key under unstable?

Thanks,

Cyril Jaquier


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: which kernel to use on 64 bit hardware and 32 bit userland ?

2007-12-17 Thread Cyril Jaquier



As i say, running  amd64 kernel have problems - suspend resume does not
work, nvidia module dont compile 



Suspend to RAM works perfectly on my T61. Nvidia kernel module compiles 
just fine with 2.6.22, 2.6.23 or 2.6.24-rc5.


I use my own compiled Debian kernel on amd64 unstable.

Regards,

Cyril Jaquier


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]