[gentoo-user] portage-2.1 elog...

2006-06-11 Thread Peter Karlsson

Hi!

I'm trying to get the emerge logs mailed to my user. Problem is that I've 
set postfix to listen only on unix sockets (i.e. it refuses tcp
smtp-connections) and I want it that way, for now. One solution would be 
PORTAGE_ELOG_SYSTEM=custom and do some mail -s-magic. I don't know how 
portage would output the info to get this to work however. Another 
solution would be to fix the mail-module 
(/usr/lib/portage/pym/elog_modules/mod_mail.py) to accept non-smtp mail as 
well. Problem is that I don't know python...


Anyone that has the same (or similar) problem? A hint or two would be very 
much appreciated.


Best regards

Peter K

--
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage-2.1 elog...

2006-06-11 Thread Peter Karlsson

On Sun, 11 Jun 2006, Alexander Skwar wrote:

snip

Portage calls your PORTAGE_ELOG_COMMAND and sets two env vars, which
are to be given to your command.

You might want to have a look at 
http://gentoo-wiki.com/TIP_Making_portage_use_/usr/sbin/sendmail_to_send_out_ELOG_mails.


Thanks!

Best regards / MfG

Peter K

--
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html
--
gentoo-user@gentoo.org mailing list



[gentoo-user] deptree...

2005-12-18 Thread Peter Karlsson

Hello!

Recently (when I upgraded to gentoo-sources-2.6.14-r5) I've been having 
boot problems. I think I'm having the exact same problem as:

http://www.usenetlinux.com/t-324913.html

... where the user gets his /var/lib/init.d/deptree duplicated (the 
dependencies gets repeated twice). My symptoms are the same; i.e. the 
deptree file gets printed during boot and sometimes results in an error 
where /sbin/depscan.sh is required to be run manually.


Does anyone know how to fix this? I've tried to re-emerge baselayout.

Best regards

Peter K

--
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Make a running process nohup?

2005-09-07 Thread Peter Karlsson

On Wed, 7 Sep 2005, Qiangning Hong wrote:


Is it possible make a running process nohup so that I can leave it
running after I logout without interrupt it?


man nohup? (+nice/renice?)

Best regards

Peter K

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo or Linux from Scratch - Perspectives?

2005-08-15 Thread Peter Karlsson

On Sun, 14 Aug 2005, Paul Hoy wrote:

I really like Gentoo and I like that fact that it does a pretty good job at 
supporting Gnome, however, it's still behind other releases, such as Fedora, 
in terms of when it releases updates, etc.


I find that hard to believe...

Linux from Scratch looks very interesting: it appears to rapidly support the 
latest updates and it has decent documentation. Does any one have any 
perspectives on Linux from Scratch, from a Gentoo point-of-view? Does anyone 
wish to share a comparison of the two?


The short version:

LFS is for those who wishes to learn how to build an operating system from 
scratch. Or for control-freaks (like me). Or a combination of both... :-)


Gentoo is a more practical version of LFS, where practical means less 
time-consuming, since you don't have to install each package (and it's 
dependencies) yourself and there are default settings/scripts that 
usually works ok with no/minor tweaking. Though you can install a package 
manager in LFS too (like rpm, apt, ports etc.).


HTH

Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] real-time priority

2005-08-12 Thread Peter Karlsson

On Thu, 11 Aug 2005, Joseph wrote:


I'm not sure if that what they mean with real-time priority.


Realtime has nothing to do with 'nice'. With 'nice' you set the process' 
time-slice so that it gets more (or less) processor-time. With realtime 
(soft or hard realtime - there's a difference) the process is 
guaranteed to have processor-time within certain time-limits, something 
which normal schedulers don't do. See 
'http://en.wikipedia.org/wiki/Real-time_computing'.


HTH

Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



[gentoo-user] FYI: Gimp + xscanimage

2005-07-31 Thread Peter Karlsson

Hi!

I was struggling with getting gimp to accept xscanimage as a plugin but no 
matter what I did I always got this:


---
/usr/lib/gimp/2.0/plug-ins/xscanimage: GIMP support missing.

(gimp:19576): LibGimpBase-WARNING **: gimp: wire_read(): error
---

After examining the ebuild for sane-frontends, it is looking specifically 
for a USE=gimp flag. So if someone has a problem building xscanimage 
with gimp support the solution is to add 'gimp' (without '') in your 
make.conf file (if you want it to be permanent that is)...


Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Matlab under gentoo

2005-07-30 Thread Peter Karlsson

On Sat, 30 Jul 2005, Yuan MEI wrote:


Hi,

   Anybody know how to solve it?  I know under suse this could be
done by LD_ASSUME_KERNEL=2.4.1 but I don't want to leave gentoo.


Have you tried it?

You need to have a linuxthreads-compatible glibc... (i.e. not a NPTL-only 
version)


See:
http://www.mathworks.com/support/solutions/data/1-1ATCE.html?solution=1-1ATCE

Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Alternatives to xdm/gdm?

2005-06-19 Thread Peter Karlsson

On Sat, 18 Jun 2005, Mark Knecht wrote:


I found 'entrance' but there are too many ~x86 packages for my liking.
Can anyone else recommend a graphical login manager that might have
the ability to allow a user to shut the system down from the login
screen? gdm wants to emerge pretty much all of gnome so I cannot use
that. xdm seems so sparce and doesn't allow shutdown.


Yep, gdm is a pita in that it requires gnome. I use xfce4 and xdm. Xfce4 
allows you to shutdown or reset the system, via sudo. Would this not 
suffice? Otherwise xdm is quite flexible and here's a solution to make 
your own shutdown button:


http://neilt.org/computing/xdmshutdownbutton.html

hth

Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers

2005-06-13 Thread Peter Karlsson

On Sun, 12 Jun 2005, Chad Leigh -- Shire.Net LLC wrote:

yes, but most knowledgable people  know that exim blows the pants off qmail 
and postfix.


Ok, then perhaps you could explain why a mail server (running 
exim4) suddenly stops to relay emails (this worked before) and then all of 
a sudden starts to relay them again (without me changing any settings)... 
I have looked for clues in the logs and tried the debug mode but I still 
haven't understood why. Help?


Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers

2005-06-13 Thread Peter Karlsson

On Mon, 13 Jun 2005, Chad Leigh -- Shire.Net LLC wrote:

I would suggest you go to the very active exim-users mail list and be 
prepared to show your config and the log entries.  You can find a link to the 
mail list at www.exim.org .  The author of exim is very forthcoming and 
helpful as well as the well established and knowledgable userbase.


Ok, I'll try that. Thanks!

Best regards

Peter K

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hdparm HDIO_SET_DMA failed

2005-05-17 Thread Peter Karlsson
On Sat, 14 May 2005, Volker Armin Hemmann wrote:
is this not deafault?
Not on my system.
m16 sets to 16 ;) but: is m16 not the default setting?
Again not on my system.
I don't know, if there is any combination today, that makes probs, but not
using -u is wasting performance. Don't complain about stuttering sound and
video-hangs, if you have not tried -u1
I use it...
why? default is 256.. why changing it?
Again it's not the default on my machine...
Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] hdparm HDIO_SET_DMA failed

2005-05-14 Thread Peter Karlsson
On Fri, 13 May 2005, Peter Gordon wrote:
My understanding is that the kernel will automagically configure DMA
as appropriate if you build support for the IDE controller statically,
but hdparm is needed to initialize DMA stuff if you build your IDE
controller's driver as a module. I'm not certain though. I tend to build
everything into the kernel, and I've not needed to use hdparm.
There's a whole lot more one can do with hdparm. What the kernel _can_ do 
is enable dma only. hdparm is used to set other performance enhancing 
options. My '/etc/conf.d/hdparm' contains 'hda_args=-d1A1m16u1a64' which 
means:

-d1 - enables dma for this drive (to ensure dma is set).
-A1 - enables the IDE drive's read-lookahead feature.
-m1 - set sector count to 16. This reads 16 sectors per interrupt instead 
of one. Some drives run slower with this.
-u1 - set interrupt-unmask for the drive. Can be dangerous with some 
drive/controller combinations. Allows the kernel to service other i/o 
interrupts, afaicu.
-a64 - set sector count for filesystem read-ahead to 64 sectors. A 
cache-mechanism.

http://gentoo-wiki.com/HOWTO_Use_hdparm_to_improve_IDE_device_performance
Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] hdparm HDIO_SET_DMA failed

2005-05-14 Thread Peter Karlsson
On Sat, 14 May 2005, Grant wrote:
Thanks Peter.  Is your -u1 a typo?
No. That option works fine, afaict, with my drive/chipset combination 
(maxtor/ich5).

Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: [OT] - BIOS after Gentoo is up

2005-05-07 Thread Peter Karlsson
On Fri, 6 May 2005, James wrote:
The most uncooperative company is Intel, which has started a sham open source
BIOS project. The software consists of all the unimportant parts of of a BIOS,
without the hard parts. It won't run, and doesn't bring us any closer to a BIOS
that does run. It is just a distraction.
Yep, intel is very uncooperative, which is why linuxbios recommends amd 
motherboards...

Bios is involved in more than the boot processes in today's machines. Linux
or not.
Which is why I mentioned linuxbios. The (cold) bootstrap needs to 
initialise memory, and certain other hardware, which is what linuxbios 
does. It then leaves the rest up to the payload (which can be the linux 
kernel, filo, etherboot etc.).

Removing chip (flash/eeprom/whater) when a motherboard has power on it
is a really,really bad idea. It's quite easy for static or dc voltages to
jump pins and kill the chip, if not smoke the board/buss. Beside, The fact
that you have to remove the chip while the system that is booted/powered up
substantiates my claim of nefariuos activities as this is just plain
ridiculous.
The link that I gave specifically warns about this; all I wanted to say is 
that it can be done...

The part I like is when Richard talks about  Intel and
certain software companies that want you to replace the motherboards
native firmware with an executable. This speaks volumes about the situation.
Even wonderful IBM is in on the action. AS a firmware engineer, you'd
be surprised at the vendor request for code that does strange
things on USB, I2C and FAT16 ... just in little embedded products.
Evil lurks in things undocumented, and it's just not only the
American companies at work on this. That's why the FBI and CIA
will use COTS products for anything anymore. Most other
nations do the same shitOnly the little and honest people
get screwed! Who knows what's inside your BIOS and now it can
be remotely changed!
Yes, that situation is quite sad, which is why projects like linuxbios is 
all the more important, even though the initial goal of linuxbios was a 
little bit different...

Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: [OT] - BIOS after Gentoo is up

2005-05-06 Thread Peter Karlsson
On Thu, 5 May 2005, Mark Knecht wrote:
My main interest in this area is one that most here won't probably
have much experience on - Gentoo-xbox. In the case of Gentoo proper
running on the XBox there is a large amount of confusion and differing
opinions about BIOS. Clearly you have to make a change to get Gentoo
to even load on the XBox because the M$ BIOS doesn't boot from a DVD.
However what the BIOS does in that architecture after boot seems
unclear to me from the small amount of reading I've done so far. For
the XBox there is the Cromwell BIOS but there are also other BIOS's
done by groups outside of Linux development. (As best I understand
them.) Certainly most are to allow more sorts of game playing and
hacks, which is of no interest to me, but some of them allow booting
from a DVD, hence my interest in whether to use one fo them or wait
for a version of Cromwell for my XBox. (Since it isn't out yet.)
Afaiu, you don't need to modify the bios. 
http://www.xbox-linux.org/Software_Method_HOWTO

If you still want to modify the bios:
http://www.xbox-linux.org/Hardware_Method_HOWTO
Afaiu, you cannot play xbox games anymore with one/some of the option(s) 
above.

Also: http://www.xbox-linux.org/Version_1.6_Warning
While the XBox and a normal PC aren't identical by any means it seems
to me that the Linux kernel running on either of these platforms is,
more or less, the same and would likely make the same sort of requests
to BIOS if it had any interest in doing so. If the 2.6.XX kernel on an
X86 PC doesn't talk to BIOS it seems a reasonable change that the same
kernel on an XBox won't either, but that's a guess.
Yes, the xbox is a normal pc...
http://www.xbox-linux.org/FAQ#The_Xbox_is_a_standard_PC.2C_isn.27t_it.3F
and...
http://www.xbox-linux.org/docs/xboxpc.html
Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Hickups in X...

2005-05-05 Thread Peter Karlsson
Hi!
I'm having an annoying problem. Running X(org-6.8.2-r1) and 
xscreensaver(-4.21 - this also happen with previous versions). When the 
screen blanks the computer freezes for a brief moment (1 second) and then 
continues as nothing happened (how do I detect this? Xmms stops playing 
during this). This also happens two minutes later when the screen lock 
kicks in. According to Jamie Zawinski (the xscreensaver author) 
xscreensaver is not to blame so there is probably something in X or, more 
likely, the drivers (ati's closed source unfortunately). Is there anyone 
that has a solution to this problem, or know anything about what may 
cause this?

Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] udev and v4l and xawtv

2005-05-03 Thread Peter Karlsson
On Tue, 3 May 2005, Al Bayrouni wrote:
How to create /dev/v4l/video* ?
I am using udev under kernel-2.6.11-r6.
I created the	/dev/v4l/dev* manually and even using the MAKEDEV script in 
linux/Documention but this doeasn't work.

No changes if I reboot the system,
Still no /dev/v4l/video* or /dev/video*.
I am using pure udev (in grub I add gentoo=nodevfs).
Are you using kernel modules? If so, have you loaded the 'videodev.ko' 
module? With the default udev installation this should give you a 
'/dev/v4l/video*' (after you have loaded the module)...

Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] xmms segmentation fault

2005-04-11 Thread Peter Karlsson
On Mon, 11 Apr 2005, Robert G. Hays wrote:
Things like this are why I only update when there is something I **really** 
need... smug smile
But then you don't get the joy of trying to fix a problem... ;-)
Might be time to think SLOTs?
Or maybe a re-emerge of Xmms.
Oh, it works fine now, since I removed the volume control from the 
xfce4-panel.

Best regards
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mozilla/Gecko and mathematical symbols

2005-04-10 Thread Peter Karlsson
On Sun, 10 Apr 2005, Berger Gerald wrote:
http://rooster.stanford.edu/, e.g. http://rooster.stanford.edu/~ben/notes/numberfield/split.php
This seems to work for me (I haven't checked _thouroughly_)...
http://www.mathe-online.at , e.g. http://www.mathe-online.at/mathint/diff2/i.html#Fraktal
This site seems a bit weird (or maybe I'm not familiar with the 
mathematics on this page); the 'f(x)=S with limits n=0 to infinity (weird 
symbol, a double stroked Y)?

A google turned up:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133709
https://bugzilla.mozilla.org/show_bug.cgi?id=128153#c90
Have you enabled the symbol font in the 'fontEncoding.properties'?
-
'/usr/lib/mozilla/res/fonts/fontEncoding.properties':
# Symbol font
encoding.symbol.ttf = Adobe-Symbol-Encoding
encoding.symbol.ftcmap = mac_roman
-
HTH.
Herzlichen Gruesschen!
Peter K
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Mozilla/Gecko and mathematical symbols

2005-04-10 Thread Peter Karlsson
On Sun, 10 Apr 2005, Berger Gerald wrote:
After doing some hours of research, I discovered that there is no Type1 
font encoded to render ISO-8859-1 symbols. Therefore ISO-10646 is used to 
translate the symbols. That causes partial wrong rendering.

I found a nice document: 
http://silas.psfc.mit.edu/tth/symfontconfig.html , which exactly explains 
the complication.
There is also a script provided ( 
http://silas.psfc.mit.edu/tth/symfontconfig.tar.gz ), which solves the 
problem. Now all mathematical symbols are displayed right and I am happy.
Goody! Vielen dank! (I think I got that right anyway :-)
Maybe I should write a bug-report or something..
Yes, that would be nice, so that others can find the solution... 
Preferably with the link to the above page and the script.

german Gruesse zurueck :) /german
Oh, my german is a bit rusty to say the least, but is 'Herzlichen 
Gruesschen' completely wrong? What is the equivalent to 'Best regards' or 
'Regards'?

Gruesse zurueck (see, I'm learning ;-)
Peter K
--
gentoo-user@gentoo.org mailing list