Re: [gentoo-user] unsubscrube

2007-10-13 Thread Dan Farrell
On Fri, 12 Oct 2007 20:02:14 -0300
Mauro Faccenda [EMAIL PROTECTED] wrote:

 Pongracz Istvan wrote:
  2007. 10. 12, péntek keltezéssel 13.41-kor Dan Farrell ezt írta:
  On Fri, 12 Oct 2007 19:49:14 +0200
  Pongracz Istvan [EMAIL PROTECTED] wrote:
 
  2007. 10. 12, péntek keltezéssel 12.04-kor Dan Farrell ezt írta:
  On Fri, 12 Oct 2007 12:01:04 -0500
  Karl Haines [EMAIL PROTECTED] wrote:
 
  unsubscrube
 
  goodbye
  I was tired this evening (here) but this mail give me some
  power :) I like this :)
 
  Cheers,
  István
 
  i am glad to hear the amusement ;)
  
  One time I read the linux kernel code, for some reasons.
  I found a similar if-then section several years ago, I do not
  remember exactly:
  
  if something == 1 then ok;
  if something == 2 then ok;
  if something == 3 then ok;
  if something == 4 this is sucks;
 
 try greping for fuck or shit in the kernel source. ;)
 
 []'s
   .m

someone's already made a nice chart for us

http://www.vidarholen.net/contents/wordcount/

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] unsubscrube

2007-10-13 Thread Pongracz Istvan
some examples for shit:

  /* Oh shit. We really ought to make a single node which can do both 
atomically */
 * Some dipshit decided to store some other bit of information
 *all the algo is pure shit and should be replaced
 * What lunatic came up with this shit?
/* 2,191 lines of complete and utter shit coming up... */
 * Big shit, we now may have two dirty primary cache lines for the same
sys irix_unimp  0   /* 1064  XXX AFS shit DC*/
sys irix_unimp  0   /* 1065  XXX AFS shit DC*/
sys irix_unimp  0   /* 1066  XXX AFS shit DC*/
sys irix_unimp  0   /* 1067  XXX AFS shit DC*/
sys irix_unimp  0   /* 1068  XXX AFS shit DC*/
sys irix_unimp  0   /* 1069  XXX AFS shit DC*/
sys irix_unimp  0   /* 1070  XXX AFS shit DC*/
sys irix_unimp  0   /* 1071  XXX AFS shit DC*/
sys irix_unimp  0   /* 1072  XXX AFS shit DC*/
sys irix_unimp  0   /* 1073  XXX AFS shit DC*/
 * this shit off... nice job Fujitsu.
 * give up.  I'm serious, I am going to kick the living shit
 * to shit into regions like that.
 * in Microelectronics who refused to fix this shit.
 * No shit.  WTF is it supposed to do, anyway?
 *  Status: Testing required (no shit -jgarzik)
 *  SCR registers on vt6420 are pieces of shit and may hang the
 * Some (ENE) controllers go apeshit on some ios operation,
mdelay(8);  /* same shit */
/* Remember: Different name, same old buggy as shit hardware. */
 *  v0.007: Big shit. The LANCE seems to use a different DMA mechanism to
 if (qpti-clock == 0) /* bullshit */
/* Hrm... same shit, X doesn't do that but I have to */
__adb_probe_task(struct work_struct *bullshit)
And people will even see that as true leadership (*cough* bullshit

-- 
eGroupWare, gLiveCD, gentoo és barátai
http://www.osbusiness.hu
„A humor a méltóság támasza, fölényünket hirdeti 
mindazzal szemben, amit a sors ránk mér.” 
(Romain Gary)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [Pgf-users] Tikz - gnuplot: Plotting a function with asymptotes

2007-10-13 Thread Fabian Steiner
On Friday 12 October 2007 15:25:55 Kjell Magne Fauske wrote:
 [...]
 TikZ only reads the first two columns. The third column indicates if
 the value is in range (i) or out of range (o). To get a correct plot,
 TikZ should avoid plotting values with the o flag set, and insert a
 moveto operation when an i flag is encountered. This is definitely a
 valid feature request. I don't know how hard it is to implement this
 behavior though.

That's the exact problem, you are right. I now filed a feature request [1] and 
hope that a solution is found in the near future. Unfortunately, I can not 
contribute some work on my own as I am not familiar with latex and pgf 
internals but a mere user.

Thanks for your help,
Fabian
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Break In attempts

2007-10-13 Thread Mick
On Sunday 07 October 2007, Remy Blank wrote:
 Mick wrote:
  I have already disabled PAM authentication on sshd so that only users
  with a public key in their ~/.ssh can login.

 This is the first and most important step. This means that the only real
 problem is that your logs fill with failed log in attempts.

 The easiest way I have found to avoid that is to change the port number
 of the SSH daemon to something else than 22.

I am trying out fail2ban, but I am not sure I have configured it correctly.  
Shouldn't most of these repeated attempts have been stopped?

Oct 12 21:01:01 support sshd[30347]: Did not receive identification string 
from 203.128.89.99
Oct 13 01:01:38 support sshd[26419]: Did not receive identification string 
from 85.8.136.219
Oct 13 01:01:38 support sshd[26422]: Did not receive identification string 
from 85.8.136.219
Oct 13 01:11:14 support sshd[31765]: Invalid user admin from 85.8.136.219
Oct 13 01:11:15 support sshd[31792]: Invalid user test from 85.8.136.219
Oct 13 01:11:15 support sshd[31814]: Invalid user guest from 85.8.136.219
Oct 13 01:11:16 support sshd[31833]: Invalid user webmaster from 85.8.136.219
Oct 13 01:11:17 support sshd[31852]: User mysql not allowed because account is 
locked
Oct 13 01:11:18 support sshd[31902]: Invalid user oracle from 85.8.136.219
Oct 13 01:11:19 support sshd[31929]: Invalid user library from 85.8.136.219
Oct 13 01:11:19 support sshd[31945]: Invalid user admin from 85.8.136.219
Oct 13 01:11:20 support sshd[31952]: Invalid user info from 85.8.136.219
Oct 13 01:11:20 support sshd[31965]: Invalid user test from 85.8.136.219
Oct 13 01:11:20 support sshd[31974]: Invalid user shell from 85.8.136.219
Oct 13 01:11:21 support sshd[31999]: Invalid user guest from 85.8.136.219
Oct 13 01:11:21 support sshd[32015]: Invalid user linux from 85.8.136.219
Oct 13 01:11:22 support sshd[32026]: Invalid user webmaster from 85.8.136.219
Oct 13 01:11:22 support sshd[32036]: Invalid user unix from 85.8.136.219
Oct 13 01:11:22 support sshd[32058]: User mysql not allowed because account is 
locked
Oct 13 01:11:23 support sshd[32080]: Invalid user oracle from 85.8.136.219
Oct 13 01:11:24 support sshd[32109]: Invalid user library from 85.8.136.219
Oct 13 01:11:24 support sshd[32123]: Invalid user test from 85.8.136.219
Oct 13 01:11:25 support sshd[32134]: Invalid user info from 85.8.136.219
Oct 13 01:11:25 support sshd[32164]: Invalid user shell from 85.8.136.219
Oct 13 01:11:26 support sshd[32175]: Invalid user admin from 85.8.136.219
Oct 13 01:11:26 support sshd[32192]: Invalid user linux from 85.8.136.219
Oct 13 01:11:27 support sshd[32200]: Invalid user guest from 85.8.136.219
Oct 13 01:11:27 support sshd[32224]: Invalid user unix from 85.8.136.219


I have just kept the default fail2ban config file and have not created any new 
log files in /var/log/.

Any ideas?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Problem with in emerge of apr-1.2.8

2007-10-13 Thread Rumen Yotov
On (12/10/07 15:03) Mario Ignacio Rodríguez Cortés wrote:
 Hi users!!!
 
 Well, i'm trying to install apache-2.2.4 but this package have a
 dependency with apr-1.2.8, then when i try to emerge apache in
 the
 compilation of this package in certain point this error appears:
 
 
 /usr/bin/libtool: line 5966: i386-pc-linux-gnu-ar: command not
 found
 make[1]: *** [libapr-1.la] Error 127
 make[1]: Leaving directory
 `/var/tmp/portage/apr-1.2.8/work/apr-1.2.8'
 make: *** [all-recursive] Error 1
 
 !!! ERROR: dev-libs/apr-1.2.8 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   apr-1.2.8.ebuild, line 66:   Called die
 
 i hope that can help me with this problem, thanks.
 
 Mario Rodríguez.
 
 
 --
 [EMAIL PROTECTED] mailing list
 
Hi,

Try remerging 'libtool', then again apache.
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa problem

2007-10-13 Thread Hans-Werner Hilse
Hi,

On Fri, 12 Oct 2007 22:59:28 -0400 Walter Dnes
[EMAIL PROTECTED] wrote:

   After this sequence, my ALSA sound finally started working again.  I
 don't know what happened.  A wild guess is that make was trying to
 be efficient and kept some code from a previous version, that
 doesn't work with the current version.

Pretty unlikely, make doesn't do these things. I'm more thinking of
stale modules lingerin' around, but we will never know.

In this thread's case, however, I had the impression that sound on this
machine never worked at all?

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache wont start when there is no network available

2007-10-13 Thread Matthew R. Lee
On Thursday 11 October 2007 09:46:25 Neil Bothwick wrote:
 On Thu, 11 Oct 2007 09:17:40 -0400, Matthew R. Lee wrote:
  Question, why does apache2 need net.eth1 to be running? How can I get
  apache2 going without a network connection? Surely everything it needs
  is on the laptop (localhost)

 Set RC_NET_STRICT_CHECKING=lo in /etc/conf.d/rc
That did the trick, thanks.  Sorry I didn't respond sooner but I was in a 
workshop all day yesterday
Matt


-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-13 Thread William Kenworthy
all my systems running distcc are missing a few links to compilers in
the distcc directories.  Seemed to vary across systems.

one was a link to cc (found when compiling ccze for instance) but it was
always one of the less common calls.

The fix was to create a symlink to the generic version.

Check out /usr/lib/distcc/bin/ distcc and /usr/lib/ccache/bin/ if you
are using ccache for missing flavours of gcc.

Billk

On Fri, 2007-10-12 at 17:33 -0500, Dan Farrell wrote:
 On Fri, 12 Oct 2007 18:26:26 -0400
 Jerry McBride [EMAIL PROTECTED] wrote:
 
  
  
  I've identified a few packages that simply will not compile when
  distcc is being used.
  
  Has anyone noticed problems with; ncurses, groff or libpcre? 
  
  I'm thinking about modifying /etc/portage/bashrc to detect a new file
  named /etc/portage/package.distcc that will turn off distcc for
  each package listed. Maybe even honor a custom make option -j for
  listed packaged too.
  
  Would anyone else find this useful?
  
  
  --
  
  Jerry McBride
 I have found the same thing.  
 I don't know the specific packages, but it seems to be true.
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa problem

2007-10-13 Thread Chuanwen Wu
Thank you for your help!
2007/10/12, Hans-Werner Hilse [EMAIL PROTECTED]:
 Hi,

 On Fri, 12 Oct 2007 09:50:16 +0800
 Chuanwen Wu [EMAIL PROTECTED] wrote:

   No, /dev/dsp is OSS stuff. Aplay shouldn't use that. But it makes me
   wonder whether snd_pcm_oss is loaded?
  Yes,have loaded it:
  $ lsmod | grep snd_pcm_oss
  snd_pcm_oss39648  0
  snd_mixer_oss  14912  1 snd_pcm_oss
  snd_pcm73800  2 snd_pcm_oss,snd_hda_intel
  snd50216  6
  snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer

 Odd. /dev/dsp should be present under these circumstances. But the
 other things below explain that:

  I am sure I have re-run alsaconf and both the /etc/asound.state and
  /var/lib/alsa/asound.state 's content are:
   # cat /var/lib/alsa/asound.state
  state.Intel {
  control {
  }
  }

 Hm, so it seems there were problems with the mixer at that stage, too.
 That file should contain settings for the various controls.

  $ cat /proc/asound/cards
   0 [Intel  ]: HDA-Intel - HDA Intel
HDA Intel at 0xfe9fc000 irq 21

 So the kernel is interfacing it correctly, but only in parts:

   $ cat /proc/asound/devices
0: [ 0]   : control
1:: sequencer
   33:: timer
 
  Here is the output of strace aplay and I hope it dose not bother you
  and I also attach it as a annex.
  [...]
  open(/dev/snd/pcmC0D0p, O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file
  or directory)

 The playback and capture devices are completely missing, and udev
 therefore didn't create /dev/snd/pcmC0D0p (PCM, card 0, device 0,
 playback channel). The only explanation I can suggest is
 broken/incomplete kernel/alsa-drivers support for your device. Does the
 machine have BIOS settings for sound? What about the audio related
 kernel log output?

Yes,both my Windows XP and another linux os Redflag have sound. Is
there anyway that I can use  the Redflag's modules to driver my
gentoo?

Where can I get the audio related kernel log output?

 In any case, you should probably use the separate alsa-driver from
 portage, preferably the newest (unstable in portage) version. There
 were many changes (some of them adding support for more devices for the
 hda driver) that are not yet in the kernel ALSA tree.

I have tried the version (~)1.0.15_rc2,which I heard from someone in
some webpages that it could drive my hda sound card,but it still can't
in my machine.

And the one of version , I think I can never emerge it:
 Emerging (1 of 2) media-sound/alsa-headers- to /
 * checking ebuild checksums ;-) ... [ ok ]
 * checking auxfile checksums ;-) ...[ ok ]
 * checking miscfile checksums ;-) ...   [ ok ]
 Unpacking source...
 * hg clone http://hg.alsa-project.org/alsa-kernel ...
real URL is http://hg.alsa-project.org/alsa-kernel/
requesting all changes
adding changesets

The network is so slow and this status has already keep couples of  hours.


 -hwh
 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel rollback

2007-10-13 Thread Danilo Marcelo
Hi,

yesterday i did a kernel update using emerge gentoo-sources, but i have
other drivers, like ieee80211 and ipw2200 which was installed using old
kernel.
How can i rollback the kernel update? Can i use emerge -C gentoo-sources to
do this?

Thanks a lot,

Danilo


Re: [gentoo-user] alsa problem

2007-10-13 Thread Chuanwen Wu
2007/10/13, Walter Dnes [EMAIL PROTECTED]:
   I ran into a similar problem after an update.  audacious and mpg123
 which use ALSA, died; Realplayer and mpg321 get by with the OSS api on
 ALSA.  revdep-rebuild didn't find anything wrong.

   I tried various things without success.  What finally worked was the
 following...

 1) rebuild the kernel with sound support but no ALSA support at all

 2) reboot

 3) add the appropriate ALSA_CARDS line to /etc/make.conf, in your case
 ALSA_CARDS=hda-intel

 4) emerge alsa-driver (and it probably still won't work)

 5) emerge -C alsa-driver

 6) rebuild the kernel with sound support and ALSA support

 7) reboot

 8) run alsaconf

   After this sequence, my ALSA sound finally started working again.  I
 don't know what happened.  A wild guess is that make was trying to
 be efficient and kept some code from a previous version, that doesn't
 work with the current version.  It had to be totally removed in order
 to get make to build the new version of the code.

I admit that your situation is very weird. But I still don't think
that the old version will affect the new one.
 --
 Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
 Q. Mr. Ghandi, what do you think of Microsoft security?
 A. I think it would be a good idea.
 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa problem

2007-10-13 Thread Chuanwen Wu
2007/10/13, Hans-Werner Hilse [EMAIL PROTECTED]:
 Hi,

 On Fri, 12 Oct 2007 22:59:28 -0400 Walter Dnes
 [EMAIL PROTECTED] wrote:

After this sequence, my ALSA sound finally started working again.  I
  don't know what happened.  A wild guess is that make was trying to
  be efficient and kept some code from a previous version, that
  doesn't work with the current version.

 Pretty unlikely, make doesn't do these things. I'm more thinking of
 stale modules lingerin' around, but we will never know.

 In this thread's case, however, I had the impression that sound on this
 machine never worked at all?

It's my new Dell1400 laptop.
Sound never works on the Gentoo OS but  just as I mention in the above
post, it works in Windows and another distribution Redflag.

 -hwh
 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Distcc problems...

2007-10-13 Thread Jerry McBride
On Fri, 12 Oct 2007 19:37:21 -0500
Tim [EMAIL PROTECTED] wrote:

 Jerry McBride wrote:
  
  I've identified a few packages that simply will not compile when
  distcc is being used.
  
  Has anyone noticed problems with; ncurses, groff or libpcre? 
  
  I'm thinking about modifying /etc/portage/bashrc to detect a new
  file named /etc/portage/package.distcc that will turn off distcc for
  each package listed. Maybe even honor a custom make option -j for
  listed packaged too.
  
  Would anyone else find this useful?
  
  
  --
  
  Jerry McBride
 
 I just recompiled ncurses with seven distcc slaves and am currently
 working on groff and libpcre with no problems so far.
 
 Are you sure that all the participating machines have the same
 versions of gcc, CHOST, and CFLAGS? Often a small error in one or
 more of these settings can completely ruin a compile.

I'm positive. I've spent hours on this so far and I can recreate the
failures without error... Sorry, just some humor there...

-- 




Jerry McBride

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa problem

2007-10-13 Thread Hans-Werner Hilse
Hi,

On Sat, 13 Oct 2007 22:23:35 +0800
Chuanwen Wu [EMAIL PROTECTED] wrote:

 Yes,both my Windows XP and another linux os Redflag have sound. Is
 there anyway that I can use  the Redflag's modules to driver my
 gentoo?

Only by using its kernel, too. Then you would just copy the kernel (and
initrd, if needed, but this might be a bag of problems if the initrd
depends on stuff from the base system) from /boot and the according
module tree from /lib/modules.

I think it would at least be interesting what /proc/asound/version is
like on the redflag distro. Also it would be interesting if they use
in-kernel ALSA or separate drivers and if the latter is the case, then
they might provide source packages -- which potentially include patches
that add support for your device.

Before trying all that: Did you had a look at the kernel log (use
dmesg)? Were there errors or warnings around the lines that were
printed when the ALSA driver was loaded?

When you emerge alsa-drivers, also make sure that there are no stale
in-kernel modules in /lib/modules/$(uname -r)/kernel/sound/*. You can
delete them manually, just run depmod -ae afterwards.

 Where can I get the audio related kernel log output?

look at the output of dmesg (e.g. piping it to less: dmesg|less).
However, for me (different card and all works well), there is zero
output. You might change that by enabling ALSA debug output in kernel
configuration, though... But I'm not sure whether that's worth it.

  In any case, you should probably use the separate alsa-driver from
  portage, preferably the newest (unstable in portage) version. There
  were many changes (some of them adding support for more devices for the
  hda driver) that are not yet in the kernel ALSA tree.
 
 I have tried the version (~)1.0.15_rc2,which I heard from someone in
 some webpages that it could drive my hda sound card,but it still can't
 in my machine.

The newer ALSA versions are at least supposed to handle the hda better
w/ regard to supported hardware configurations. Doing a little
recherche for the little I know about your laptop, I came across this
thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg20707.html
which seems to indicate similar problems which were partly solved by a
newer version of alsa-driver. When experimenting with out-of-kernel
drivers, always keep an eye on potential conflicts in 
/lib/modules/$(uname -r), and compare /proc/asound/version against what
you think it should be.
The thread also indicates that problems with HDA based audio is not a
seldom thing to see.

You can download newer versions of alsa-driver from their homepage and
experiment with it in /usr/local/src. Currently they offer -1.0.15rc3,
you might want to try it, it lists changes w/ regard to the hda driver.
http://www.alsa-project.org/

 And the one of version , I think I can never emerge it:
  Emerging (1 of 2) media-sound/alsa-headers- to /
  * checking ebuild checksums ;-) ... [ ok 
 ]
  * checking auxfile checksums ;-) ...[ ok 
 ]
  * checking miscfile checksums ;-) ...   [ ok 
 ]
  Unpacking source...
  * hg clone http://hg.alsa-project.org/alsa-kernel ...
 real URL is http://hg.alsa-project.org/alsa-kernel/
 requesting all changes
 adding changesets
 
 The network is so slow and this status has already keep couples of  hours.

Yes, that's the culprit with distributed versioning systems. You have
to download the full change history. I've not used mercurial recently,
so I don't have a suggestion how to only download HEAD or something
like that, if that's possible at all.

I think at the moment there is no point in using a current Mercurial
checkout. From what I see on
http://hg-mirror.alsa-project.org/alsa-driver/
the last changes after 1.0.15rc3 don't matter in your case, so start
trying that (as said, you can download it from their homepage).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel rollback

2007-10-13 Thread Willie Wong
On Sat, Oct 13, 2007 at 11:24:11AM -0300, Penguin Lover Danilo Marcelo squawked:
 yesterday i did a kernel update using emerge gentoo-sources, but i have
 other drivers, like ieee80211 and ipw2200 which was installed using old
 kernel.
 How can i rollback the kernel update? Can i use emerge -C gentoo-sources to
 do this?
 

emerging a kernel source just unpacks it to /usr/src/
It doesn't actually compile it. 
Furthermore, by default kernel sources are slotted, so your old
sources should still be in /usr/src
And unless you have set the symlink use variable, /usr/src/linux
should still point to your old sources. 

So in short:
  1) You have not actually compiled/installed/booted a new kernel. So
  I am not sure what you are worried about.
  2) Even after you compiled the new kernel, unless you explicitly
  remove the old sources (the suggested way is to rm -rf
  /usr/src/[insert directory here] followed by emerge --unmerge =the
  particular version of that source) it would still be on your system,
  so you shouldn't need to do anything special to 'rollback'

W
-- 
Pintsize: It's hard to get a lady to evaluate to true.
Sortir en Pantoufles: up 309 days, 13:44
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel rollback

2007-10-13 Thread Renat Golubchyk
Hi!

On Sat, 13 Oct 2007 11:24:11 -0300 Danilo Marcelo
[EMAIL PROTECTED] wrote:
 yesterday i did a kernel update using emerge gentoo-sources, but i
 have other drivers, like ieee80211 and ipw2200 which was installed
 using old kernel.

Not an answer to your question, but just a tip. If you don't want to
remember what modules you have to recompile after a kernel update take
a look at sys-kernel/module-rebuild.


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-13 Thread Marco Calviani
Just to give a short update:
1) no luck with the acer_acpi module: it does not load in the system,
as the developer is having a look at it. However he told me that the
module can do practically nothing on the thermal zone since this last
point is controlled fully by ACPI
2) i've tried to modify the DSDT table: it had errors, but also after
correction the system behave in practically the same way. I've mailed
to the acpi-linux mailing list, hoping that the acpi gurus can try to
solve the issue.
As far as i understand now it is just a matter of ACPI implementation.

Regards,
m

On 10/11/07, Beso [EMAIL PROTECTED] wrote:
 normally all acer have dsdt problems and don't work unless you load
 acer_acpi.
 now, in the portage tree there's only the 0.8.2 version, so you have to go
 here:

  http://code.google.com/p/aceracpi/

 download the latest version and install it. there's a 5720 product listed
 (under travelmate and not aspire, but it may have been an error). simply
 search for acer_acpi in the /lib/modules/2.6.22-gentoo-r8 and delete it then
 do a depmod -a and update the modules installed and retry loading the newly
 compiled driver. if you manage to get it working in this way ok, if not try
 contacting the guy maintaing the aceracpi module and tell him about you
 problems. he may be of help.


 2007/10/11, Marco Calviani [EMAIL PROTECTED]:
  Hi Beso,
 i have an Acer Aspire 5720. I've tried with the acer_acpi, it
  compiles well but when it comes to loading it fails, saying
  No or unsupported WMI interface, unable to load.
 
  However as far as i can understood, this module deals with issues of
  buttons and hotkey not with ACPI issues.
 
  Yes, my DSDT failed during recompiling, but i have managed to solve
  the issues, and now it compiled well (with warning but i'm not
  caring). I'll try to recompile the new DSDT in the kernel, maybe it
  could help (but i'm not sure).
 
  Regards,
  m
 
  On 10/11/07, Beso [EMAIL PROTECTED] wrote:
   yep you're right i cannot modify my trippoints so this file cannot
 be
   modified
   i don't think that it's random, since it is 40 c try doing some
   compiling or so and see if it goes up and then stop compiling and do
 nothing
   and see if it goes down this will tell you if thermal is working
   for dsdt problem you have follow this guide:
   http://gentoo-wiki.com/HOWTO_Fix_Common_ACPI_Problems
   if it gives you errors when recompiling dsdt then it may be a dsdt
 problem,
   but if it gives you no problem recompiling it then it may be that you
 need
   some additional modules like asus_acpi or ibm or toshiba ones based on
 your
   pc model. i don't know what you're using (i've managed to see some
 lenovo,
   asus toshiba and acer models around and for what i know every one of
 then
   needs an additional acpi module to have it work correctly). that was why
   i've asked you for your brand and model name.
  
   2007/10/11, Marco Calviani [EMAIL PROTECTED]:
Hi Beso,
   i've tried with your trip_points modification but it gives this
 error:
   
bash: echo: write error: Invalid argument
   
like i'm not able to write on that file.
   
And of course acpitool gives me a random ACPI temperature:
   
  Battery #1 : charged
  AC adapter : on-line
  Thermal zone 1 : ok, 40 C
   
PS: i followed all your suggestions concerning the microcode and fan
option in the kernel.
Could this be a problem of DSDT?
   
regards,
m
   
On 10/10/07, Beso [EMAIL PROTECTED]  wrote:


 2007/10/10, Marco Calviani  [EMAIL PROTECTED]:
  Hi Beso,
sorry i misunderstood your suggestion. I did what you suggest
 and
  this is the result of the trip_points:
 
  critical (S5):  100C

 wow you don't have anything that says to the cpu to slow down
 when
   it
 reaches some point
 now, to add some other trip points you have to copy these in a
 konsole
   with
 root priviledges:
 echo passive: 78 C: tc1=3 tc2=1 tsp=150
 devices=CPU0 \
 active[0]:   68 C: devices= FN1 \
 active[1]:   58 C: devices= FN2 
 /proc/acpi/thermal_zone/TZ01/trip_points

 then do a cat on the thermal_zone/TZ0/trip_points to see if you've
 added
   the
 lines for passive and active  lines.
 that means that when your thermal reaches 78 degrees it will slow
 down
   the
 processor. from 58 to 68 it will turn on the fan but don't turn down
 the
 speed of the processor, below 58 it will turn off the fan.
 
 

  which i suppose is the reason why at that temperature the laptop
   switch
 off.
  So, nothing except for the critical state. Should i have to add
 there
 something?

 if the pc turns down then it can read from somewhere the actual
 thermal
 point. you try to see after actually setting the things i've just
 said,
   if
 your pc is behaving as it should. 

[gentoo-user] totem and mplayer fail on acm turing lecture

2007-10-13 Thread Allan Gottlieb
I am trying to view
http://www.acm.org/news/featured/turingaward2006.mov

totem complains that I don't have the necessary codecs
(MPEG-4 AAC decoder)
(MPEG-4 Video decoder)

I thought I set the right use flags, but presumably not

ajglap gottlieb # eix totem
[I] media-video/totem
 Available versions:  2.16.5 2.18.2 2.18.3 [M]~2.20.0 {a52 bluetooth dbus 
debug dvd ffmpeg firefox flac galago gnome hal lirc mad mpeg nsplugin nvtv ogg 
python seamonkey theora vorbis xine xulrunner xv}
 Installed versions:  2.18.3(12:24:34 10/13/07)(a52 -debug dvd -ffmpeg 
-flac gnome hal -lirc -mad mpeg nsplugin -nvtv ogg -seamonkey -theora vorbis 
-xulrunner -xv)
 Homepage:http://gnome.org/projects/totem/
 Description: Media player for GNOME


The full output from totem is 

[EMAIL PROTECTED] ~ $ totem !$
totem http://www.acm.org/news/featured/turingaward2006.mov

(totem:14582): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion 
`GST_IS_PAD (srcpad)' failed

(totem:14582): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion 
`GST_IS_PAD (srcpad)' failed

(totem:14582): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion 
`GST_IS_PAD (srcpad)' failed

(totem:14582): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion 
`GST_IS_PAD (srcpad)' failed
** Message: don't know how to handle video/mpeg, mpegversion=(int)4, 
systemstream=(boolean)false
** Message: don't know how to handle audio/mpeg, mpegversion=(int)4, 
codec_data=(buffer)1210
** Message: Error: You do not have a decoder installed to handle this file. You 
might need to install the necessary plugins.
gstplaybasebin.c(2215): prepare_output (): /play

** Message: Missing plugin: gstreamer.net|0.10|totem|MPEG-4 AAC 
decoder|decoder-audio/mpeg, mpegversion=(int)4 (MPEG-4 AAC decoder)
** Message: Missing plugin: gstreamer.net|0.10|totem|MPEG-4 Video 
decoder|decoder-video/mpeg, mpegversion=(int)4, systemstream=(boolean)false 
(MPEG-4 Video decoder)
** Message: Automatic missing codec installation not supported (helper script 
missing)



mplayer seemed to have trouble connecting

[EMAIL PROTECTED] ~ $ mplayer 
http://www.acm.org/news/featured/turingaward2006.movMPlayer SVN-r24130 (C) 
2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200  @ 2.00GHz (Family: 6, Model: 15, 
Stepping: 6)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:

Playing http://www.acm.org/news/featured/turingaward2006.mov.
Resolving www.acm.org for AF_INET6...
Couldn't resolve name for AF_INET6: www.acm.org
Resolving www.acm.org for AF_INET...
Connecting to server www.acm.org[63.118.7.35]: 80...
Cache size set to 320 KBytes
Cache fill:  0.07% (243 bytes)   
MOV: Reference Media file!!!
MOV: Reference Media file!!!


Playing rtsp://vstream.acm.org/TuringAward/2006/FranAllen56K.mp4.
Resolving vstream.acm.org for AF_INET6...
Couldn't resolve name for AF_INET6: vstream.acm.org
Resolving vstream.acm.org for AF_INET...
Connecting to server vstream.acm.org[63.118.7.25]: 554...
A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/5.5 (Build/489.7; 
Platform/Linux; Release/Darwin; )'.
Resolving vstream.acm.org for AF_INET6...
Couldn't resolve name for AF_INET6: vstream.acm.org
Resolving vstream.acm.org for AF_INET...
Connecting to server vstream.acm.org[63.118.7.24]: 80...
Cache size set to 320 KBytes
Cache fill:  0.02% (67 bytes)   


Playing rtsp://vstream.acm.org/TuringAward/2006/FranAllen768K.mp4.
Resolving vstream.acm.org for AF_INET6...
Couldn't resolve name for AF_INET6: vstream.acm.org
Resolving vstream.acm.org for AF_INET...
Connecting to server vstream.acm.org[63.118.7.25]: 554...
A single media stream only is supported atm.
rtsp_session: unsupported RTSP server. Server type is 'DSS/5.5 (Build/489.7; 
Platform/Linux; Release/Darwin; )'.
Resolving vstream.acm.org for AF_INET6...
Couldn't resolve name for AF_INET6: vstream.acm.org
Resolving vstream.acm.org for AF_INET...
Connecting to server vstream.acm.org[63.118.7.25]: 80...
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)   nop_streaming_read error : Resource temporarily 
unavailable
Cache fill:  0.00% (0 bytes)   nop_streaming_read error : Resource temporarily 
unavailable
Cache fill:  0.02% (67 bytes)   


Exiting... (End of file)

Any help would be appreciated.

thanks,
allan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel rollback

2007-10-13 Thread Danilo Marcelo
Great, thanks a lot!

Danilo

2007/10/13, Renat Golubchyk [EMAIL PROTECTED]:

 Hi!

 On Sat, 13 Oct 2007 11:24:11 -0300 Danilo Marcelo
 [EMAIL PROTECTED] wrote:
  yesterday i did a kernel update using emerge gentoo-sources, but i
  have other drivers, like ieee80211 and ipw2200 which was installed
  using old kernel.

 Not an answer to your question, but just a tip. If you don't want to
 remember what modules you have to recompile after a kernel update take
 a look at sys-kernel/module-rebuild.


 Cheers,
 Renat

 --
 Probleme kann man niemals mit derselben Denkweise loesen,
 durch die sie entstanden sind.
   (Einstein)




Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-13 Thread Marco Calviani
Beso,
   yes i'm always staying in powersave mode.. but in any case the
CPU temperature tends to increase. I hope that the ACPI guys will work
on this (hoping i'm not the only one experiencing these problems). The
fans unfortunately are masked to the user in most Acer laptops, and
they are controlled fully by ACPI.

Thanks again,
m

On 10/13/07, Beso [EMAIL PROTECTED] wrote:
 i think that you'll have to wait a little more and always stay aware when
 using the pc till acpi supports it.
 i'd recommend to stay on powersave when using the processor extensively so
 that you'd not incur in hardware errors and failures. and it the fan is not
 starting try to modify it by command prompt via echo on 
 /proc/acpi/fan/..
 this will work at least the thermal doesn't reach the state when it would
 stop the fan, but since you don't have that point and that you cannot read
 temperature starting it via echo on should always stay on. you'd have some
 noise maybe, but you'd be sure that the processor would not run overheat.
 and hope that the acpi people would fix that in the near future.
 i'm sorry for not being able to help you more.
 and as an advice for the future: before getting a notebook in the future
 have some surf on the web to see if it's fully supported by linux (acer
 sells linux only notebooks actually but only from taiwan). i had my linux
 notebook not working with linux for 5-6 months and yet i had to change the
 wireless since it wasn't supported after almost 2 years. for what i know
 dell, hp and compaq are quite well supported.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] unsubscrube

2007-10-13 Thread Mauro Faccenda
David Snider wrote:
 Mauro Faccenda wrote:

 try greping for fuck or shit in the kernel source. ;)

 []'s
 .m
   
 I couldn't help myself...
 
 Fri Oct 12 22:10:27 2007
 [EMAIL PROTECTED] /usr/src/linux
 # find . -type f -exec grep fuck {} \;

just a tip: it shoud be better if you do like this:

# cd /usr/src/linux
# grep -ir fuck .

[]'s
.m
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] update-grub? I have no such thing.

2007-10-13 Thread Kevin O'Gorman
I see that building a kernel ends with checking for update-grub, which I
don't have.  Should I?  Where does it come from?

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] update-grub? I have no such thing.

2007-10-13 Thread Volker Armin Hemmann
On Sonntag, 14. Oktober 2007, Kevin O'Gorman wrote:
 I see that building a kernel ends with checking for update-grub, which I
 don't have.  Should I?  Where does it come from?

I don't know. I see that message too. Every single time. And so far I have had 
no problems caused by the lack of it.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] update-grub? I have no such thing.

2007-10-13 Thread Mark Shields
On 10/13/07, Volker Armin Hemmann [EMAIL PROTECTED]
wrote:

 On Sonntag, 14. Oktober 2007, Kevin O'Gorman wrote:
  I see that building a kernel ends with checking for update-grub, which
 I
  don't have.  Should I?  Where does it come from?

 I don't know. I see that message too. Every single time. And so far I have
 had
 no problems caused by the lack of it.
 --
 [EMAIL PROTECTED] mailing list


From:
http://www.fifi.org/cgi-bin/man2html/usr/share/man/man8/update-grub.8.gz
NAME update-grub - program to generate GRUB's menu.lst file   SYNOPSIS *
update-grub*   DESCRIPTION *update-grub* is a program used to generate the *
menu.lst* file used by the grub bootloader. It works by looking in
*/boot*for all files which start with 
*vmlinuz-*. They will be treated as kernels, and grub menu entries will be
created for each. It will also create the initial *menu.lst* if none exists,
after prompting the user. It will also add initrd lines for ramdisk images
found with the same version as kernels found. e.g. /boot/vmlinuz-2.4.5 and
/boot/initrd-2.4.5 will cause a line of initrd=/boot/initrd-2.4.5 or
simliar to be added for the kernel entry in the menu.lst.



-

And no, you don't need it.  Writing and maintaining your own menu.lst (
grub.conf) works just fine.

-- 
- Mark Shields