Re: [gentoo-user] Re: looking for a terminal w/ url activation capability

2006-08-18 Thread darren kirby
quoth the Benno Schulenberg:
  List-Id: Gentoo Linux mail gentoo-user.gentoo.org

 Somehow Stefan's posts get the Gentoo headers inserted somewhere in
 the middle, meaning that filtering on the List-Id doesn't work for
 his messages.  Is this caused by his user agent (slrn/0.9.8.1)
 composing defective messages, or by a mistake in the Gentoo mailing
 list handling?

 Just in case not everyone sees the same thing, this is what I see:
 http://article.gmane.org/gmane.linux.gentoo.user/168016

 Benno

Yeah, I have been scratching my head wondering why parts of this thread have 
been landing in my inbox rather than gentoo-user folder...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpMynzsu8xGJ.pgp
Description: PGP signature


Re: [gentoo-user] SATA tuning ?

2006-08-18 Thread Richard Fish

Sigh.  Apologies for corrupting the thread by creating a new message,
but I seem to have finally been bit by the missing emails issue, so
I don't have a message to reply to.  I found this in the archives:


You mentioned problems compiling.  The most likely case I can think of
is that you do not have enough memory, and are inducing the system to
swap.



 Hmmm...1GByte Dualchannel-RAM should be enough for compiling Blender
 (for example).


Maybe not.  With -O3 FEX, some programs can take 200-400MB *per
module* to compile.  It all depends on the complexity of the code, and
the problem would be particularly acute with C++ programs (which I
know blender is not C++, so this is just something to keep in mind).


Indeed when compiling most programs, you should see very little
if any disk activity.



 My SATA disk (Seagate ST3200827AS) is heavily shakeing its head when
 compiling...


Run top in another window while this is going on, and keep an eye on
your swap usage.  If you see any swap being used at all, that is a bad
thing.


This is particularly suspect if you have
something like MAKEOPTS=-j4.



Yes, normally I use make -j 4 for useing both cores.


Try with -j2.  -j3 is ideal for keeping a dual-core CPU busy, but will
still take a huge amount of RAM, so unless you add another GB of RAM,
I recommend no more than -j2.  And if you are about to compile a big
C++ package (like KDE or OOo), drop to -j1.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Missing more mails than ever

2006-08-18 Thread Richard Fish

On 8/17/06, John J. Foster [EMAIL PROTECTED] wrote:

Does anyone here know who runs this list? The number of missing emails
is running quite high lately, and some threads are getting hard to
follow, depending on the respondents quoting and snipping style. I seem
to have missed almost half of the discussion on domainname going on.


http://bugs.gentoo.org/show_bug.cgi?id=141904

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: looking for a terminal w/ url activation capability

2006-08-18 Thread Justin Findlay
On Thu, Aug 17, 2006 at 11:15:34PM +0100, Uwe Thiem wrote:
 On 17 August 2006 20:04, Stefan Wimmer wrote:
 
 How do you always avoid my filter that stores emails coming from this list 
 into my folder gentoo-user. You are the only one.

Sounds like he's got some pretty wicked MUA kung fu.


Justin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Jules Colding
Hi Alan,

On Thu, 2006-08-17 at 17:25 +0200, Alan Mckinnon wrote:
 Hi all,
 
 Evolution has just crashed and ticked me off once too often, so now this
 *cough* MTA *cough* has just discovered the big wide world outside my
 window...

What crashed was probably the evolution-exchange plugin, not Evolution
as such. 

I think you should try the alternative Exchange plugin, evolution-brutus
(e-b). e-b will connect you to Exchange 5.5 and never and are using
MAPI, not WebDAV which are used by OWA and evolution-exchange.

Read the initial announcement to the evolution-hackers list for the
technical details or go to omesc.com for the downloads:

Initial announcement on evo list:

http://mail.gnome.org/archives/evolution-hackers/2005-September/msg00048.html


Downloads::
   http://www.omesc.com/content/downloads/index.php


Screenshots:
   http://www.omesc.com/content/downloads/screenshots/


HTH,
  jules



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network connection repeatedly failing!

2006-08-18 Thread Richard Fish

On 8/17/06, Samuel Baldwin [EMAIL PROTECTED] wrote:

Under linux, dhcp seems to be working as well, I can get a local IP and ping
computers on my network, but anything outside, no luck.


Does the route command show a default (0.0.0.0) route?  Is it pointed
at the right place (your router)?  What does your /etc/conf.d/net
contain now?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update portage/packages without an internet connection

2006-08-18 Thread Neil Bothwick
On Thu, 17 Aug 2006 22:48:04 -0300, Bira wrote:

 Get a friend with a Gentoo machine and an internet connection to do an
 emerge --fetchonly in the packages you want and burn you a CD with
 the zipped files Portage will download. Then copy the files over to
 your /usr/portage/distfiles directory and emerge normally.

That will only work for certain if your friend has an identical setup,
both in terms of USE flags and packages installed.


-- 
Neil Bothwick

Do I BELIEVE in the Bible?! HELL man, I've SEEN one!!!


signature.asc
Description: PGP signature


Stefans posts (was: [gentoo-user] Re: looking for a terminal w/ url activation capability)

2006-08-18 Thread Alexander Skwar

Uwe Thiem schrieb:

On 17 August 2006 20:04, Stefan Wimmer wrote:

How do you always avoid my filter that stores emails coming from this list 
into my folder gentoo-user. You are the only one.


On my system, he's avoiding the filters, as his messages don't have
a *HEADER* List-Id. And it's this header, on which I filter. Maybe you
do the same?

Alexander Skwar
--
A modest woman, dressed out in all her finery, is the most tremendous object
in the whole creation.
-- Goldsmith
--
gentoo-user@gentoo.org mailing list



Re: Stefans posts (was: [gentoo-user] Re: looking for a terminal w/ url activation capability)

2006-08-18 Thread Rasmus Andersen
On Fri, Aug 18, 2006 at 10:11:44AM +0200, Alexander Skwar wrote:
 Uwe Thiem schrieb:
 On 17 August 2006 20:04, Stefan Wimmer wrote:
 
 How do you always avoid my filter that stores emails coming from this list 
 into my folder gentoo-user. You are the only one.
 
 On my system, he's avoiding the filters, as his messages don't have
 a *HEADER* List-Id. And it's this header, on which I filter. Maybe you
 do the same?

FWIW, I see the same as Alexander.

Cheers,
  Rasmus
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Cleaning up multiple man pages (how?)

2006-08-18 Thread Remy Blank
Willie Wong wrote:
 On Thu, Aug 17, 2006 at 06:43:15PM -0700, Penguin Lover Kevin O'Gorman 
 squawked:
 I've noticed that the whereis(1) command gives multiple results for
 some queries.

My guess is that it's (partly) due to the following definitions in
/etc/man.conf:

MANPATH /usr/share/man
MANPATH /usr/local/share/man
MANPATH /usr/X11R6/man
MANPATH /usr/local/man
MANPATH /usr/man

...because /usr/man is a symlink to /usr/share/man, and at least on some
machines /usr/X11R6 is a symlink to /usr. I haven't tried removing the
duplicates though. The MANPATH_MAP possibly also have an influence.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pop3+imapd with xinetd-support?

2006-08-18 Thread jarry
Hi,

I'm looking for some pop3+imap daemon, with xinetd support.
Is there something worth trying (+/~amd64)? 

Maybe dovecot and/or uw-imap, but I do not know whether
they can be xinetd-started...

Jarry

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Stefans posts

2006-08-18 Thread Alexander Skwar
· Rasmus Andersen [EMAIL PROTECTED]:
 On Fri, Aug 18, 2006 at 10:11:44AM +0200, Alexander Skwar wrote:

 On my system, he's avoiding the filters, as his messages don't have
 a *HEADER* List-Id. And it's this header, on which I filter. Maybe you
 do the same?
 
 FWIW, I see the same as Alexander.

Maybe others as well?

I'm posting this message over gmane. Let's see if the message comes
through just fine. If it does, then I think Stefan is somehow messing
the messages up.

We'll see.

Alexander Skwar
-- 
Der Pessimist ist jemand, der vorzeitig die Wahrheit erzählt.
-- Cyrano de Bergerac


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Stefans posts

2006-08-18 Thread Frank Tegtmeyer
Alexander Skwar [EMAIL PROTECTED] writes:

 Maybe others as well?

Yes. Same here.

 I'm posting this message over gmane. Let's see if the message comes
 through just fine.

It's fine.

 If it does, then I think Stefan is somehow messing the messages up.

Maybe he triggers a bug somewhere.

Frank
-- 
gentoo-user@gentoo.org mailing list



Re: Stefans posts (was: [gentoo-user] Re: looking for a terminal w/ url activation capability)

2006-08-18 Thread Uwe Thiem
On 18 August 2006 09:11, Alexander Skwar wrote:
 Uwe Thiem schrieb:
  On 17 August 2006 20:04, Stefan Wimmer wrote:
 
  How do you always avoid my filter that stores emails coming from this
  list into my folder gentoo-user. You are the only one.

 On my system, he's avoiding the filters, as his messages don't have
 a *HEADER* List-Id. And it's this header, on which I filter. Maybe you
 do the same?

Yeah. The penalty for using slrn. ;-)

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Alan McKinnon
On Fri, 2006-08-18 at 09:05 +0200, Jules Colding wrote:
 What crashed was probably the evolution-exchange plugin, not Evolution
 as such. 
 
 I think you should try the alternative Exchange plugin,
 evolution-brutus
 (e-b). e-b will connect you to Exchange 5.5 and never and are using
 MAPI, not WebDAV which are used by OWA and evolution-exchange.

Hi Jules,

Thanks for these links, e-b looks worth investigating. 

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Jules Colding
On Fri, 2006-08-18 at 11:03 +0200, Alan McKinnon wrote:
 On Fri, 2006-08-18 at 09:05 +0200, Jules Colding wrote:
  What crashed was probably the evolution-exchange plugin, not Evolution
  as such. 
  
  I think you should try the alternative Exchange plugin,
  evolution-brutus
  (e-b). e-b will connect you to Exchange 5.5 and never and are using
  MAPI, not WebDAV which are used by OWA and evolution-exchange.
 
 Hi Jules,
 
 Thanks for these links, e-b looks worth investigating. 

No problem. Just yell if there is anything I can do to help.

-- 
  jules


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] howto update portage/packages without an internet connection

2006-08-18 Thread Alan McKinnon
On Fri, 2006-08-18 at 08:51 +0100, Neil Bothwick wrote:
 On Thu, 17 Aug 2006 22:48:04 -0300, Bira wrote:
 
  Get a friend with a Gentoo machine and an internet connection to do an
  emerge --fetchonly in the packages you want and burn you a CD with
  the zipped files Portage will download. Then copy the files over to
  your /usr/portage/distfiles directory and emerge normally.
 
 That will only work for certain if your friend has an identical setup,
 both in terms of USE flags and packages installed.

The best way to do this is to use emerge to tell you exactly what
sources it wants to download, get this info into a file then use wget on
a different machine to read this file and  download the sources: 

emerge -pvf world 21  emerge.txt

gives a list of files to be downloaded. Bash this file into shape with
something like

cat emerge.txt | cut -f1 -d' ' |  grep -e '^http://' | sort |  \
uniq  emerge1.txt

Use wget on the other machine to do the downloads:

wget -c -i emerge1.txt

copy these downloads to /usr/portage/distfiles on the gentoo machine and
run

emerge -avuND world

It might even succeed! I do this, as the company pipe is only 512k and
it's maxed out during office hours. To be polite to everyone else I
download after hours using the above and a neat cron job. It's more work
for me, but hey, at least I get to keep my friends at work :-)

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pop3+imapd with xinetd-support?

2006-08-18 Thread Roman Zilka
 Maybe dovecot and/or uw-imap, but I do not know whether
 they can be xinetd-started...

uw-imap can be; dovecot cannot be AFAIK.

Regards
-Roman
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Stefans posts on gentoo-user (was: Re: looking for a terminal w/ url activation capability)

2006-08-18 Thread Stefan Wimmer
* Alexander Skwar [EMAIL PROTECTED] [2006-08-18 09:42]:
 Stefan Wimmer schrieb:
 * Benno Schulenberg [EMAIL PROTECTED]
   wrote on Thu, 17 Aug 2006 22:00:54 +0200 :
 Somehow Stefan's posts get the Gentoo headers inserted somewhere in 
 the middle, meaning that filtering on the List-Id doesn't work for 
 his messages.  Is this caused by his user agent (slrn/0.9.8.1) 
 composing defective messages, or by a mistake in the Gentoo mailing 
 list handling?

I'm afraid this is a consequence of using news.gmane.org with slrn as an
interface to the mailing list :-/

I already mentioned that in gmane.discuss but did not get any answer yet :(
If anyone knows a solution for that I'd /love/ to hear ;-)

PS: If the annoyance for you guys is too big I'll complain more on
gmane.discuss to see if this can be reolveed ...
 
 For me, the annoyance is very big, as your post miss the List-Id
 header and becaues of that, your posts aren't properly filtered.
 That's very annoying.
 
 But somehow, I don't think that (only) gmane is guilty. There
 HAVE to be more people out there, who use slrn and gmane. Maybe
 not on the Gentoo list, but there are so many lists, that you
 cannot be the only one.

Ok - I'm using mutt now and hopefully can avoid the annoying headers in 
the body ...

I was looking a bit deeper in the case and still suspect news.gmane.org 

Ok - I'm using mutt now and hopefully can avoid the annoying headers in 
the body ...

I was looking a bit deeper in the case and still suspect news.gmane.org 
since posts to other newsgroups like alt.os.linux.gentoo with the *same*
user agent (slrn/0.9.8.1) and the *same* settings don't move any headers 
into the body.

I'll try to address that again at gmane.discuss but the responsible guys 
there are not very responsive since I already made a note there and got 
no reaction at all :-/

If anybody has a solution anyway let me hear please!!!

Greetz
Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Stefans posts on gentoo-user (was: Re: looking for a terminal w/ url activation capability)

2006-08-18 Thread Alan Mckinnon
On Fri, 2006-08-18 at 11:55 +0200, Stefan Wimmer wrote:
  But somehow, I don't think that (only) gmane is guilty. There
  HAVE to be more people out there, who use slrn and gmane. Maybe
  not on the Gentoo list, but there are so many lists, that you
  cannot be the only one.
 
 Ok - I'm using mutt now and hopefully can avoid the annoying headers
 in 
 the body ... 

FWIW this one came through fine for me and got properly filtered. I too
got all the earlier mails (using slrn) going into my inbox

alan


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Alexander Skwar
· Stefan Wimmer [EMAIL PROTECTED]:


 Ok - I'm using mutt now and hopefully can avoid the annoying headers in 
 the body ...
 
 I was looking a bit deeper in the case and still suspect news.gmane.org 
 
 Ok - I'm using mutt now and hopefully can avoid the annoying headers in 
 the body ...
 
 I was looking a bit deeper in the case and still suspect news.gmane.org 

Yes, the message came thru *almost* fine - but you repeated the first two
lines two times ;)

Alexander Skwar
-- 
Die Realität ist eine Illusion, die durch Mangel an Alkohol hervorgerufen
wird.  Durch Alkohol wird die Illusion der Realität zerstört und die
wahre Realität offenbart sich einem.
-- Drogos on #Artis


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to set domainname

2006-08-18 Thread Graham Murray
Ryan Tandy [EMAIL PROTECTED] writes:

 Sorry, but I disagree with this interpretation.  The way I read it, it
 says that in the rare case that one should wish to change things such
 as domain, DNS, etc, one should use /etc/conf.d/net, but that a
 wireless user is more likely to need/want such configurability than a
 typical desktop user is.

But this thread is about setting the domain name initially. This is
something which desktop users want to do and the suggestion was that
/etc/conf.d/net is the correct place to set (as well as change on a
per-interface basis) this.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Stefan Wimmer
* Alexander Skwar [EMAIL PROTECTED] [2006-08-18 12:42]:
 Yes, the message came thru *almost* fine - but you repeated the first two
 lines two times ;)

You are very helpful indeed - I begin to understand ... ;-)

Some further testing revealed that I can send posts  followups to 
gmane.test without a glitch - the bodies look normal without headers in 
it. You can check that yourself here:

  http://thread.gmane.org/gmane.test/3138/focus=3138

Only if I post to gmane.linux.gentoo.amd64 or gmane.linux.gentoo.user 
the problem with the headers in the body appears :( 

Still want to blame me that I'm messed up my slrn config? Please stop 
that until the contrary is proved ... I really do my best to find out 
how I can stop this annoying problem!

Greetz
Stefan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Doesn't anybody have a clue?
Or did anyone receive this message, because i heard of messages which
get lost on this list!

Thanks,

Daniel

2006/8/17, Daniel Pielmeier [EMAIL PROTECTED]:

Hi all,

it seems that the configuration of /etc/conf.d/hdparm has changed.

With the new baselayout i only get my harddiscs configured by the hdparm
init-script, but not my dvdrom-devices

starting the hdparm init-script gives me:

/etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]

here are my settings from /etc/conf.d/hdparm

hda_args=-A1 -X70 -d1 -u1 -m16 -a64
hdb_args=-A1 -X69 -d1 -u1 -m16 -a64
hdc_args=-d1 -u1 -a256 -E8
hdd_args=$hdc_args

Does anybody know how i have to change my configuration? Or is this a
problem with the new baselayout?

Thanks

Daniel



--
gentoo-user@gentoo.org mailing list



[gentoo-user] using procmail to store mail in some box

2006-08-18 Thread Enrico Weigelt

Hi folks,


I'd like to use procmail to store mails (coming from stdin) 
into an certain mailbox (mbox) given by commandline. Does 
anyone know how I could do that ?

The manpage only states how to use an different config file,
but this would require one extra configfile per target box.


thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaning up multiple man pages (how?)

2006-08-18 Thread Benno Schulenberg
Kevin O'Gorman wrote:
 I've noticed that the whereis(1) command gives multiple results
 for some queries.  For instance, whereis lilo gives me

 [EMAIL PROTECTED] ~ $ whatis lilo

Ehm... 'whatis' is not 'whereis'.  But leaving that aside, have a 
look at your MANPATH: echo $MANPATH.  If it contains repeated 
entries, you may have to clean up /etc/env.d a bit: cd /etv/env.d/ 
and grep MANPATH *, prune the identical repetitions, then run 
env-update, re-login and run makewhatis.

Also have a look at /etc/man.conf.  The NOAUTOPATH keyword is 
probably needed.  Check with:

# grep -v ^# /etc/man.conf
FHS

MANPATH /usr/share/man
MANPATH /usr/local/share/man


MANPATH_MAP /bin/usr/share/man
MANPATH_MAP /sbin   /usr/share/man
MANPATH_MAP /usr/bin/usr/share/man
MANPATH_MAP /usr/sbin   /usr/share/man
MANPATH_MAP /usr/local/bin  /usr/local/share/man
MANPATH_MAP /usr/local/sbin /usr/local/share/man
MANPATH_MAP /usr/bin/mh /usr/share/man

NOAUTOPATH


TROFF   /usr/bin/groff -Tps -mandoc
NROFF   /usr/bin/nroff -Tascii -c -mandoc
JNROFF  /usr/bin/groff -Tnippon -mandocj
EQN /usr/bin/geqn -Tps
NEQN/usr/bin/geqn -Tlatin1
JNEQN   /usr/bin/geqn -Tnippon
TBL /usr/bin/gtbl
REFER   /usr/bin/refer
PIC /usr/bin/pic
VGRIND
GRAP
PAGER   /usr/bin/less -is
BROWSER /usr/bin/less -is
HTMLPAGER   /bin/cat
CAT /bin/cat

CMP /usr/bin/cmp -s

COMPRESS/bin/cat
COMPRESS_EXT.F

MANSECT 1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o:1x:2x:3x:4x:5x:6x:7x:8x


.gz /bin/gunzip -c
.bz2/bin/bzip2 -c -d
.z
.Z  /bin/zcat
.F
.Y


# whatis man
man  (1)  - format and display the on-line manual pages
man  (1p)  - display system documentation
man  (7)  - macros to format man pages
man.conf [man]   (5)  - configuration data for man

To get rid of the multiple reports by 'whereis', apply the attached 
patch in an overlay to util-linux.  It removes from the whereis 
search path the dirs that on my system are symlinks.

# whereis man
man: /usr/bin/man /etc/man.conf /usr/local/man /usr/share/man 
/usr/share/man/man1/man.1.gz /usr/share/man/man7/man.7.gz 
/usr/share/man/man1p/man.1p.gz

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
--- misc-utils/whereis.c.old	2001-03-15 11:09:58.0 +0100
+++ misc-utils/whereis.c	2006-08-18 13:57:23.0 +0200
@@ -75,9 +75,7 @@
/usr/tex/bin,
/usr/interviews/bin/LINUX,

-   /usr/X11R6/bin,
/usr/X386/bin,
-   /usr/bin/X11,
/usr/X11/bin,
/usr/X11R5/bin,
 
@@ -111,7 +109,6 @@
 };
 
 static char *mandirs[] = {
-	/usr/man/*,
 	/usr/share/man/*,
 	/usr/X386/man/*,
 	/usr/X11/man/*,


Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Andrew Frink
Daniel,I think there are some settings in /etc/conf.d/hdparm that control if just hard disks or both get options changed. AndrewP.S. I'm not at my Linux box so I can't say for sure 
On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:
Doesn't anybody have a clue?Or did anyone receive this message, because i heard of messages whichget lost on this list!Thanks,Daniel2006/8/17, Daniel Pielmeier 
[EMAIL PROTECTED]: Hi all, it seems that the configuration of /etc/conf.d/hdparm has changed. With the new baselayout i only get my harddiscs configured by the hdparm
 init-script, but not my dvdrom-devices starting the hdparm init-script gives me: /etc/init.d/hdparm start * Running hdparm on /dev/hda ... [ ok ] * Running hdparm on /dev/hdb ... [ ok ]
 here are my settings from /etc/conf.d/hdparm hda_args=-A1 -X70 -d1 -u1 -m16 -a64 hdb_args=-A1 -X69 -d1 -u1 -m16 -a64 hdc_args=-d1 -u1 -a256 -E8
 hdd_args=$hdc_args Does anybody know how i have to change my configuration? Or is this a problem with the new baselayout? Thanks Daniel
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Benno Schulenberg
Stefan Wimmer wrote:
 Only if I post to gmane.linux.gentoo.amd64 or
 gmane.linux.gentoo.user the problem with the headers in the body
 appears :(

It is probably a bug at Gentoo: look at the X-Virus-Scanned: 
amavisd-new at gentoo.org header that is inserted in Stefan's 
slrn-messages at a correct place.  But after that the other extra 
headers get misplaced.  Maybe this bug is being triggered by the 
first line of Stefan's slrn-messages starting with a space?  As 
such a space normally means continuation of previous line.
Could you try adapting the attribution line of slrn to not start 
with a space, Stefan?

 Still want to blame me that I'm messed up my slrn config?

Sorry, but I don't think Alexander suggested that anything was wrong 
with your config, Stefan, just with slrn itself.

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Newbie ebuild question

2006-08-18 Thread Jules Colding
Hi,

I am trying to create an ebuild file for evolution-brutus. It is
presently looking like this (with comments removed):

### e-b ebuild start 
inherit eutils flag-o-matic

DESCRIPTION=Brutus Exchange connector for Evolution 2.4 and 2.6
HOMEPAGE=http://www.omesc.com/;
SRC_URI=http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz;

LICENSE=GPL-2
SLOT=0
KEYWORDS=~x86 ~amd64
IUSE=debug

DEPEND==gnome-base/orbit-2.14.1
=dev-libs/libIDL-0.8.5
=dev-util/pkgconfig-0.20
=dev-util/intltool-0.30
gnome-base/gnome-common
=gnome-base/gnome-keyring-0.4.2
=mail-client/evolution-2.6
=gnome-extra/evolution-data-server-1.6

DOCS=COPYING README INSTALL docs/building_from_source 
docs/using_evolution-brutus

src_compile() {
BRUTUS_ECONF=--enable-brutus-dist=yes \
--enable-brutus-devel=yes\
$(use_enable debug brutus-debug yes)

econf ${BRUTUS_ECONF} || die econf failed
emake || die emake failed
}

src_install() {
emake DESTDIR=${D} install || die emake install failed
}
### e-b ebuild end 

I then tried to follow:

  http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds

to test if it worked. I tried:

ebuild 
/usr/local/portage/gnome-extra/evolution-brutus/evolution-brutus-1.1.6.ebuild 
fetch

to test if ebuild could fetch the source. I naively assumed that ebuild
would look at SRC_URI before trying to download the source.
Unfortunately it tried to connect to all possible gentoo mirrors
instead. Can I get ebuild to download from my site without modifying
make.conf?

Thanks,
  jules

### emerge --info ###
omc-2 evolution-brutus # emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 
2.6.17-gentoo-r4 x86_64)
=
System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) Processor 252
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://pandemonium.tiscali.de/pub/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ 
http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo 
ftp://mirror.pudas.net/gentoo;
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=amd64 X aac aalib alsa apache2 avi berkdb bitmap-fonts browserplugin bzip2 
cdr cli crypt cups dlloader dri dvd dvdr dvdread eds emacs emboss encode fam 
fbcon firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal iconv 
imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly 
nsplugin nvidia ogg opengl oss pam pcre pdflib perl png portaudio pppd python 
quicktime readline reflection sdl session spell spl ssl tcpd tetex theora tiff 
truetype-fonts type1-fonts unicode usb vorbis wma xine xmms xorg xpm xv xvid 
zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse 
kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie ebuild question

2006-08-18 Thread Andrew Frink
Jules,I think you need to add something like(see below) Read the man page for that one, or grep usr/portage/AndrewOn 8/18/06, Jules Colding
 [EMAIL PROTECTED] wrote:Hi,I am trying to create an ebuild file for evolution-brutus. It is
presently looking like this (with comments removed):### e-b ebuild start inherit eutils flag-o-maticDESCRIPTION=Brutus Exchange connector for Evolution 
2.4 and 2.6HOMEPAGE=http://www.omesc.com/SRC_URI=http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz
LICENSE=GPL-2SLOT=0KEYWORDS=~x86 ~amd64RESTRICT=nomirror
IUSE=debugDEPEND==gnome-base/orbit-2.14.1=dev-libs/libIDL-0.8.5=dev-util/pkgconfig-0.20=dev-util/intltool-0.30gnome-base/gnome-common=gnome-base/gnome-
keyring-0.4.2=mail-client/evolution-2.6=gnome-extra/evolution-data-server-1.6DOCS=COPYING README INSTALL docs/building_from_source docs/using_evolution-brutussrc_compile() {
BRUTUS_ECONF=--enable-brutus-dist=yes \--enable-brutus-devel=yes\$(use_enable debug brutus-debug yes)econf ${BRUTUS_ECONF} || die econf failed
emake || die emake failed}src_install() {emake DESTDIR=${D} install || die emake install failed}### e-b ebuild end 
I then tried to follow:http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuildsto test if it worked. I tried:ebuild /usr/local/portage/gnome-extra/evolution-brutus/evolution-
brutus-1.1.6.ebuild fetchto test if ebuild could fetch the source. I naively assumed that ebuildwould look at SRC_URI before trying to download the source.Unfortunately it tried to connect to all possible gentoo mirrors
instead. Can I get ebuild to download from my site without modifyingmake.conf?Thanks,jules### emerge --info ###omc-2 evolution-brutus # emerge --infoPortage 
2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)=System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) Processor 252
Gentoo Base System version 1.12.4app-admin/eselect-compiler: [Not Present]dev-lang/python: 2.3.5-r2, 2.4.3-r1dev-python/pycrypto: 2.0.1-r5dev-util/ccache: [Not Present]dev-util/confcache:[Not Present]
sys-apps/sandbox:1.2.17sys-devel/autoconf:2.13, 2.59-r7sys-devel/automake:1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2sys-devel/binutils:2.16.1-r3sys-devel/gcc-config: 1.3.13-r3sys-devel/libtool: 
1.5.22virtual/os-headers:2.6.11-r2ACCEPT_KEYWORDS=amd64AUTOCLEAN=yesCBUILD=x86_64-pc-linux-gnuCFLAGS=-march=k8 -O2 -pipeCHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
CXXFLAGS=-march=k8 -O2 -pipeDISTDIR=/usr/portage/distfilesFEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strictGENTOO_MIRRORS=
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ 
http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentooMAKEOPTS=-j3PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/var/tmpPORTDIR=/usr/portagePORTDIR_OVERLAY=/usr/local/portageSYNC=rsync://rsync.europe.gentoo.org/gentoo-portageUSE=amd64 X aac aalib alsa apache2 avi berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt cups dlloader dri dvd dvdr dvdread eds emacs emboss encode fam fbcon firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal iconv imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png portaudio pppd python quicktime readline reflection sdl session spell spl ssl tcpd tetex theora tiff truetype-fonts type1-fonts unicode usb vorbis wma xine xmms xorg xpm xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa
Unset:CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS--gentoo-user@gentoo.org mailing list



[gentoo-user] inotify problem

2006-08-18 Thread Marco Costa

Hi.

I am trying to use inotify but something is not correct.
I am using gentoo 2006.0.
kernel:  2.6.17-gentoo-r4
 inotify is compiled in.
glibc 2.3.6-r4

What happens:
I initialize inotify, it returns the file descriptor (fd). OK
I add a directory to watch with all flags. It returns the watch descriptor 
(wd). OK
I read (blocking) the fd. It blocks. OK
- I touch a file inside the directory I am watching
the read unblocks, but it really returns 0 bytes read and do not block anymore.

Thanks in advance for any clue.

Marco

The code is as follows:

#include linux/inotify.h
#include stdio.h
#include asm/unistd.h

int main( int argc, char **argv )
{
 int fd = syscall(__NR_inotify_init); 
 int wd = syscall(__NR_inotify_add_watch, fd, /invalid, IN_ALL_EVENTS );

 struct inotify_event ev;
 char *filename;
 uint32_t  maxsize = 1024;
 int br=0;
 filename = (char *) malloc( maxsize * sizeof(char) );
 if ( ! filename )
 {
   puts(Could not allocate 1024 chars. Kill me!);
   exit(1);
 }
 while ( 1 ) 
 {

   do {
 br = read( fd, (void *) ev, sizeof(struct inotify_event) );
 printf( Bytes read: %i, sizeof: %i, wd: %i, mask: %X\n, br, sizeof(struct inotify_event), ev.wd, ev.mask ); 
   } while (!br); // I know it is not correct, just to catch the case where br is 0

   if ( ev.len  0 )
   {
 if ( ev.len  maxsize )
 {
   maxsize = ev.len;
   filename = (char*) realloc( (void*)filename, maxsize * sizeof(char) );
   if ( ! filename )
   {
 printf(Could not reallocate %u chars. Kill me!\n, ev.len);
 exit(1);
   }
}
read( fd, filename, ev.len );
printf( %s\n, filename );
   }
 }
 free( filename );
 return (0);
}


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Cleaning up multiple man pages (how?)

2006-08-18 Thread Marco Costa

Kevin O'Gorman wrote:

I've noticed that the whereis(1) command gives multiple results for
some queries.  For instance, whereis lilo gives me

[EMAIL PROTECTED] ~ $ whatis lilo
lilo (8)  - install boot loader
lilo.conf [lilo] (5)  - configuration file for lilo
lilo (8)  - install boot loader
lilo.conf [lilo] (5)  - configuration file for lilo
lilo (8)  - install boot loader
lilo.conf [lilo] (5)  - configuration file for lilo
[EMAIL PROTECTED] ~ $

I surmise from this that there are multiple copies of the man pages
in various historical hiding places.  However, I can't get whereis
or anything else to tell me where it found them.  Is there some
neat way to find the locations?  I'd like to figure out which ones
correspond to my actual software and to ditch the others.



Remove /var/cache/man (I don't have it anymore, so I am not really sure that 
this is the name) but it is the cause of the multiple entries.
Note that you will still have double entries for some pages, as they are POSIX 
and linux variants.

Regards,

Marco

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and external harddisk, some more info

2006-08-18 Thread Willie Wong
On Thu, Aug 17, 2006 at 11:48:59PM -0700, Penguin Lover Richard Fish squawked:
 On 8/17/06, Willie Wong [EMAIL PROTECTED] wrote:
 Any ideas?
 
 Since udev is seeing the events, I'm guessing something in your udev
 rules.  Have you done an etc-update?  Anything relevant in
 /etc/udev/rules.d/10-local.rules?
 

Yes, I've always performed the etc-update after upgrading udev. The
only line in 10-local is the following:

---/etc/udev/rules.d/10-local.rules---
KERNEL==js*,  NAME=input/%k, MODE=664, SYMLINK+=%k
end file--

which is to make joysticks work under wine. 

The thing is, I compared the rules (50-udev.rules) between three
versions of udev, and to my eyes, the rules for sd* and sg* are
virtually identical for these versions:
  1) udev-068-r1, which works on my desktop.
  2) udev-087-r1, the one that was giving me woes
  3) udev-094, one that is running on my ~x86 laptop and also works

So I am not quite sure whether it is a rules problem or a problem on
how udev handles the events. Is there a way to check that?

W
-- 
`Right,' said Ford, `I'm going to have a look.'
He glanced round at the others.
`Is no one going to say, No you can't possibly, let me go 
instead?'
They all shook their heads.
`Oh well.'

- Ford attempting to be heroic whilst being seiged by 
Shooty and Bangbang. 
Sortir en Pantoufles: up 22 days, 17:19
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Jim Ramsay
Alan Mckinnon wrote:
 I'd like to ask for some user feedback on how well other MTAs manage
 to talk to Exchange. It's the calendar function I'd like to have -
 other people at work like to send me invites. I can always pop my
 mail from exchange, and I can get imap if I ask the admin nicely so
 the mail stuff is not important. The exchange web front end is
 enabled so I always have the browser as a fall back, but I'd really
 like everything in the MTA if possible.

Sylpheed-claws has a 'vcalendar' plugin which reports to be compatible
with Exchange calendar events.  I've never tried it, though. 

'emerge sylpheed-claws-vcalendar'

-- 
Jim Ramsay
Me fail English?  That's unpossible!


signature.asc
Description: PGP signature


[gentoo-user] Re: ap apache benchmark tool

2006-08-18 Thread James
Stefan Wimmer swimmer at xs4all.nl writes:


 It should be part of the apache package anyway:
   equery b `which ab2`


ah yes, well my searches for 'ab' were
fruitless, now I know why


   http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html

thanks for the tip,


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network connection repeatedly failing!

2006-08-18 Thread Samuel Baldwin
Apparently it wasn't the route command. I was looking for an old DNS server. I just changed it, and boom! Problems gone.Thanks everybody!-- Samuel (shardz)Noha+Shardz Productions: 
nsproductions.co.nrRegistered Linux User #410639amarok.kde.orgusmc.mil


[gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Stefan Wimmer
* Benno Schulenberg [EMAIL PROTECTED] [2006-08-18 13:20] :
  It is probably a bug at Gentoo: look at the X-Virus-Scanned: 
  amavisd-new at gentoo.org header that is inserted in Stefan's 
  slrn-messages at a correct place.  But after that the other extra 
  headers get misplaced.  Maybe this bug is being triggered by the 
  first line of Stefan's slrn-messages starting with a space?  As 
  such a space normally means continuation of previous line.
  Could you try adapting the attribution line of slrn to not start 
  with a space, Stefan?

Ok - I removed the leading space from followup_string and reply_string
and test this followup now again with slrn ... I hope you are right and
this resolves the problem!

 Still want to blame me that I'm messed up my slrn config? 
  Sorry, but I don't think Alexander suggested that anything was wrong 
  with your config, Stefan, just with slrn itself.

Nice that you come up for Alexander ;-)

  Benno

Greetz
Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Alan Mckinnon
On Fri, 2006-08-18 at 08:44 -0600, Jim Ramsay wrote:
 Alan Mckinnon wrote:
  I'd like to ask for some user feedback on how well other MTAs manage
  to talk to Exchange. It's the calendar function I'd like to have -
  other people at work like to send me invites. I can always pop my
  mail from exchange, and I can get imap if I ask the admin nicely so
  the mail stuff is not important. The exchange web front end is
  enabled so I always have the browser as a fall back, but I'd really
  like everything in the MTA if possible.
 
 Sylpheed-claws has a 'vcalendar' plugin which reports to be compatible
 with Exchange calendar events.  I've never tried it, though. 
 
 'emerge sylpheed-claws-vcalendar'

Funny you should mention that one, I emerged it earlier today to see if
I liked it. But I got this:

gentoo portage # emerge -av sylpheed-claws-vcalendar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] mail-client/sylpheed-claws-vcalendar-1.29  0 kB 

vcal_manager.c: In function `vcal_manager_send':
vcal_manager.c:1124: error: too few arguments to function 
...[snip]...
make[2]: Leaving directory
`/var/tmp/portage/sylpheed-claws-vcalendar-1.29/work/sylpheed-claws-extra-plugins-2.0.0/vcalendar-1.29/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sylpheed-claws-vcalendar-1.29/work/sylpheed-claws-extra-plugins-2.0.0/vcalendar-1.29'
make: *** [all] Error 2

!!! ERROR: mail-client/sylpheed-claws-vcalendar-1.29 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 607:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

##
sigh, back to the drawing board. Alternatively, wait for the Exchange
admin to install brutus and give e-b a try :-)

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Alexander Skwar

Stefan Wimmer schrieb:

* Benno Schulenberg [EMAIL PROTECTED] [2006-08-18 13:20] :



Ok - I removed the leading space from followup_string and reply_string
and test this followup now again with slrn ... I hope you are right and
this resolves the problem!


This post of yours is filtered properly. Seems you resolved the problem.



Still want to blame me that I'm messed up my slrn config? 
 Sorry, but I don't think Alexander suggested that anything was wrong 
 with your config, Stefan, just with slrn itself.


Nice that you come up for Alexander ;-)


Yep, I appreciate it as well! ;)


Alexander Skwar
--
Dabb hehe, I really hate bug reports which are like calling fire
   department and saying: There is fire here, come! :)
Dabb (and hanging up)
* Dabb kills off dozen bug reports.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] pdf A4 to Letter

2006-08-18 Thread Joseph
I have a pdf file in A4 size but need to convert it to Letter.
What is the fastest way of doing it?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Stefan Wimmer
* Stefan Wimmer [EMAIL PROTECTED] [2006-08-18 15:08] :
  * Benno Schulenberg [EMAIL PROTECTED] [2006-08-18 13:20] :
   It is probably a bug at Gentoo: look at the X-Virus-Scanned: 
   amavisd-new at gentoo.org header that is inserted in Stefan's 
   slrn-messages at a correct place.  But after that the other extra 
   headers get misplaced.  Maybe this bug is being triggered by the 
   first line of Stefan's slrn-messages starting with a space?  As 
   such a space normally means continuation of previous line.
   Could you try adapting the attribution line of slrn to not start 
   with a space, Stefan?
 
  Ok - I removed the leading space from followup_string and reply_string
  and test this followup now again with slrn ... I hope you are right and
  this resolves the problem!

BINGO!!! This resolved it indeed :) Many many thanks for your constructive post 
Benno! I would never had thought on that!
The funny thing is that I was already searching in my ~/.slrnrc for any
faults and found the leading space in {followup,reply}_string and
removed it becaused I didn't like it. So I fixed it without knowing ;-)

I apologize to all the people who got bothered by headers in the body in my 
posts.


Thanks again Benno!

Greetz
Stefan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Andrew Frink wrote:
 Daniel,
 I think there are some settings in /etc/conf.d/hdparm that control if
 just hard disks or both get  options changed. 

 Andrew
 P.S. I'm not at my Linux box so I can't say for sure

 On 8/18/06, *Daniel Pielmeier* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Doesn't anybody have a clue?
 Or did anyone receive this message, because i heard of messages which
 get lost on this list!

 Thanks,

 Daniel

 2006/8/17, Daniel Pielmeier  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:
  Hi all,
 
  it seems that the configuration of /etc/conf.d/hdparm has changed.
 
  With the new baselayout i only get my harddiscs configured by
 the hdparm
  init-script, but not my dvdrom-devices
 
  starting the hdparm init-script gives me:
 
  /etc/init.d/hdparm start
  * Running hdparm on /dev/hda ... [ ok ]
  * Running hdparm on /dev/hdb ... [ ok ]
 
  here are my settings from /etc/conf.d/hdparm
 
  hda_args=-A1 -X70 -d1 -u1 -m16 -a64
  hdb_args=-A1 -X69 -d1 -u1 -m16 -a64
  hdc_args=-d1 -u1 -a256 -E8
  hdd_args=$hdc_args
 
  Does anybody know how i have to change my configuration? Or is
 this a
  problem with the new baselayout?
 
  Thanks
 
  Daniel
 
 
 --
 gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list




Just in case his is different, this is what mine says:

 # /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

 # You can either set hdparm arguments for each drive using hdX_args,
 # discX_args, cdromX_args and genericX_args, e.g.
 #
 # hda_args=-d1 -X66
 # disc1_args=-d1
 # cdrom0_args=-d1

 # or you can set options for all PATA drives
 pata_all_args=-d1

 # or you can set options for all SATA drives
 sata_all_args=

 # or, you can set hdparm options for all drives
 all_args=

So you can set CD's, pata and sata drives separately.  So you are correct.

Dale

:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: using procmail to store mail in some box

2006-08-18 Thread reader
Enrico Weigelt [EMAIL PROTECTED] writes:

 Hi folks,


 I'd like to use procmail to store mails (coming from stdin) 
 into an certain mailbox (mbox) given by commandline. Does 
 anyone know how I could do that ?

Not sure what you mean above.  Is incoming being passed in from smtp
or what?

 The manpage only states how to use an different config file,
 but this would require one extra configfile per target box.

Please explain a little bit more about what you are trying to
accomplish.

You can invoke INCLUDERC from your .procmailrc that would contain
special stuff for a specific mailbox or several mailboxes.

My guess is your need is simpler and can be addressed with a simpler
approach but first we must here what you are trying to accomplish.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to set domainname

2006-08-18 Thread Jarry

Hi,
I've been following this thread for the whole day, but despite
of reading many mails (unbelievable, how much mail-traffic can
such a simple question generate!), I'm still missing simple
yet exact answer (but maybe I have lost some emails).
So could someone please summarise it?

Supposing someone is using the last stable baselayout
(right now it is 1.12.4-r6 for x86  amd64):

How and where to set up hostname?

How and where to set up domainname?

Thanks,
Jarry
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and external harddisk, some more info

2006-08-18 Thread Richard Fish

On 8/18/06, Willie Wong [EMAIL PROTECTED] wrote:

So I am not quite sure whether it is a rules problem or a problem on
how udev handles the events. Is there a way to check that?


Well you can start with udevcontrol log_priority=debug.  That should
cause udev to output debug information to /var/log/messages.  What you
are looking for is a sequence of messages in the form of:

udev_done: seq 3110, pid [8009] exit with 1, 0 seconds old
udev_event_run: seq 3111 forked, pid [8024], 'add' 'scsi_disk', 0 seconds old
udev_event_run: seq 3112 forked, pid [8025], 'add' 'block', 0 seconds old
udev_event_run: seq 3115 forked, pid [8026], 'add' 'scsi_device', 0 seconds old
udev_event_run: seq 3116 forked, pid [8027], 'add' 'scsi_generic', 0 seconds old
run_program: '/sbin/modprobe '
udev_rules_get_name: reset symlink list
udev_rules_get_name: add symlink 'sdb'
udev_rules_get_name: rule applied, 'sdb' becomes 'usbkey'
...

The udev_rules_get_name parts would be the most interesting.

Other than that, the only other thing I might suggest is try a newer
kernel version.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to set domainname

2006-08-18 Thread Andrey

2006/8/18, Jarry [EMAIL PROTECTED]:

Hi,
I've been following this thread for the whole day, but despite
of reading many mails (unbelievable, how much mail-traffic can
such a simple question generate!), I'm still missing simple
yet exact answer (but maybe I have lost some emails).
So could someone please summarise it?

Supposing someone is using the last stable baselayout
(right now it is 1.12.4-r6 for x86  amd64):

How and where to set up hostname?

How and where to set up domainname?


How about /etc/hosts ?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pdf A4 to Letter

2006-08-18 Thread Richard Fish

On 8/18/06, Joseph [EMAIL PROTECTED] wrote:

I have a pdf file in A4 size but need to convert it to Letter.
What is the fastest way of doing it?


The simple way is to open it in something that can print to PDF (like
KPDF), and do a print-to-pdf and change the paper size.

However, this just scales each page to fit.  If you want to
re-paginate the PDF, there is no clean way that I know of.  You
basically have to do something like pdf2html to get the content out,
and then use something like openoffice/koffice to format it like you
want.

Maybe others will have a better idea...

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pdf A4 to Letter

2006-08-18 Thread Joseph
On Fri, 2006-08-18 at 10:16 -0700, Richard Fish wrote:
 On 8/18/06, Joseph [EMAIL PROTECTED] wrote:
  I have a pdf file in A4 size but need to convert it to Letter.
  What is the fastest way of doing it?
 
 The simple way is to open it in something that can print to PDF (like
 KPDF), and do a print-to-pdf and change the paper size.
 
 However, this just scales each page to fit.  If you want to
 re-paginate the PDF, there is no clean way that I know of.  You
 basically have to do something like pdf2html to get the content out,
 and then use something like openoffice/koffice to format it like you
 want.
 
 Maybe others will have a better idea...

My problem is the second one, it is a pdf A4 file and I want to print in
letter format.
I've tried pdf2html but all it does it generate png image (fuzzy image)
Though, I had a very good result by opening a PDF file with Gimp and
printing it (very clear image). 

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2006-08-18 Thread Rafael Fernández López
 Rafael,
 Did you compile in support for your IDE controller?

Well, I think so... is not a SCSI drive or similar. It is just an IDE hard
drive, no special support is required.

Anyway it doesn't matter I've re-formatted with:

/dev/hda1 ext3 (here will go /)
/dev/hda1 swap

As I have my others computers.

Thank you,
Rafael Fernández López.

-- 
A la vista de suficientes ojos todos los errores resultan evidentes -
Linus Torvalds
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to set domainname

2006-08-18 Thread Alexander Skwar
· Jarry [EMAIL PROTECTED]:

 How and where to set up hostname?

/etc/conf.d/hostname

 How and where to set up domainname?

/etc/conf.d/net

Alexander Skwar
-- 
Wer keine Kraft zum Träumen hat, hat keinen Mut zum Kämpfen.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Andrew Frink wrote:

Daniel,
I think there are some settings in /etc/conf.d/hdparm that control if
just hard disks or both get  options changed. 


Andrew
P.S. I'm not at my Linux box so I can't say for sure


Dale schrieb:

Just in case his is different, this is what mine says:


# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm

# You can either set hdparm arguments for each drive using hdX_args,
# discX_args, cdromX_args and genericX_args, e.g.
#
# hda_args=-d1 -X66
# disc1_args=-d1
# cdrom0_args=-d1

# or you can set options for all PATA drives
pata_all_args=-d1

# or you can set options for all SATA drives
sata_all_args=

# or, you can set hdparm options for all drives
all_args=


So you can set CD's, pata and sata drives separately.  So you are correct.

Dale

:-)  :-)



so when my settings are correct, why doesn't the hdparm init-script 
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2006-08-18 Thread Dale
Rafael Fernández López wrote:
 Hi,

 I've googled and I haven't got any successfull results. I've my hard disk
 as follows:

 /dev/hda1 - ext2 (here will go /boot)
 /dev/hda2 - swap
 /dev/hda3 - ext3 (here will go /)

 I've compiled gentoo-sources with NO genkernel, but manually. I've no
 filesystem as modules, everything is included in kernel (as asterisk (*)).

 I am getting the next error when booting:

 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown
 block(0,0)

 And my bootloader is grub, here is grub.conf:

 default 0
 hiddenmenu
 timeout 5

 title=Gentoo GNU/Linux
 root (hd0,0)
 kernel /vmlinuz-2.6.17-gentoo-r5 root=/dev/hda3

 I can't figure out what's going wrong... because I think that I don't need
 initram because I've nothing compiled as a module.

 Thank you very much,
 Rafael Fernández López.

   

What ever file system you use for /boot and for / must be included IN
the kernel, not as modules.  It has to be able to read it for it to load
the modules.

That should help.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Dale
Daniel Pielmeier wrote:
 Andrew Frink wrote:
 Daniel,
 I think there are some settings in /etc/conf.d/hdparm that control if
 just hard disks or both get  options changed.
 Andrew
 P.S. I'm not at my Linux box so I can't say for sure

 Dale schrieb:
 Just in case his is different, this is what mine says:

 snip

 # or, you can set hdparm options for all drives
 all_args=

 So you can set CD's, pata and sata drives separately.  So you are
 correct.

 Dale

 :-)  :-)


 so when my settings are correct, why doesn't the hdparm init-script
 apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd

Good question.  I don't use hdparm since mine are fast without it.  It
should work though.  You may want to make sure the all_args= line is
commented out.  May be that it is using that since it is the last line
it reads.

Not real sure though.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Good question.  I don't use hdparm since mine are fast without it.  It
should work though.  You may want to make sure the all_args= line is
commented out.  May be that it is using that since it is the last line
it reads.

Not real sure though.

Dale

:-)  :-)



hmm i have commented all out, only my settings listed below are not 
commented


 hda_args=-A1 -X70 -d1 -u1 -m16 -a64
 hdb_args=-A1 -X69 -d1 -u1 -m16 -a64
 hdc_args=-d1 -u1 -a256 -E8
 hdd_args=$hdc_args
--
gentoo-user@gentoo.org mailing list



[gentoo-user] blocking netbios-ssn rule?

2006-08-18 Thread James
Hello,

My iptables based firewall seem to be working, However, I keep getting
triplets of this activity:

source dest. proto   info
rouge.ip   www.me.com tcp

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

so when my settings are correct, why doesn't the hdparm init-script
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd


Try adding set -x at the top of the hdparm init script, and then
'stop' and 'start' it.  The trace output from the 'start' may be
interesting to look at.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Stefans posts on gentoo-user

2006-08-18 Thread Benno Schulenberg
Stefan Wimmer wrote:
 * Stefan Wimmer [EMAIL PROTECTED] [2006-08-18 15:08] :
  Ok - I removed the leading space from followup_string and
  reply_string and test this followup now again with slrn ... I
  hope you are right and this resolves the problem!

 BINGO!!! This resolved it indeed :) Many many thanks for your
 constructive post Benno! I would never had thought on that!

/me bows.  :)

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Richard Fish schrieb:

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

so when my settings are correct, why doesn't the hdparm init-script
apply this settings to my dvd-rom devices /dev/hdc and /dev/hdd


Try adding set -x at the top of the hdparm init script, and then
'stop' and 'start' it.  The trace output from the 'start' may be
interesting to look at.

-Richard


Here is the output of /etc/init.d/hdparm start:

For /dev/hdc and /dev/hdd it says that there is no medium present, but 
is this required for running hdparm on this devices?



/etc/init.d/hdparm start


+ [[ -z start stop restart ]]
+ shift
+ [[ 1 -lt 1 ]]
+ for arg in '$*'
+ case ${arg} in
+ retval=0
+ for arg in '$*'
+ case ${arg} in
+ svc_start
+ local x= y= retval=0 startinactive=
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_started hdparm
+ test_service_state hdparm started
+ [[ -z hdparm ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/hdparm
+ [[ -L /var/lib/init.d/started/hdparm ]]
+ [[ ! -e /var/lib/init.d/started/hdparm ]]
+ rm -f /var/lib/init.d/started/hdparm
+ return 1
+ service_inactive hdparm
+ test_service_state hdparm inactive
+ [[ -z hdparm ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/hdparm
+ [[ -L /var/lib/init.d/inactive/hdparm ]]
+ [[ ! -e /var/lib/init.d/inactive/hdparm ]]
+ rm -f /var/lib/init.d/inactive/hdparm
+ return 1
+ mark_service_starting hdparm
+ [[ -z hdparm ]]
+ ln -sn /etc/init.d/hdparm /var/lib/init.d/starting/hdparm
+ [[ -f /var/lib/init.d/started/hdparm ]]
+ [[ -f /var/lib/init.d/inactive/hdparm ]]
+ return 0
+ trap svc_quit INT QUIT TSTP
+ service_message 'Service hdparm starting'
+ [[ no != \y\e\s ]]
+ return
+ broken hdparm
+ check_dependency broken hdparm
+ [[ -z broken ]]
+ [[ -z hdparm ]]
+ local x myservice deps
+ [[ hdparm == \-\t ]]
+ myservice=hdparm
+ get_dep_info hdparm
+ [[ -z hdparm ]]
+ local myservice=hdparm
+ [[ hdparm == '' ]]
++ get_service_index hdparm 0
++ [[ -z hdparm ]]
++ [[ -z 0 ]]
++ local x myservice=hdparm index=0
++ [[ -n 0 ]]
++ [[ 0 -gt 0 ]]
++ (( x=1 ))
++ (( x=49 ))
++ index=10
++ [[ hdparm == \d\b\u\s ]]
++ (( x++  ))
++ (( x=49 ))
++ index=20
++ [[ hdparm == \e\s\o\u\n\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=30
++ [[ hdparm == \f\i\r\e\s\t\a\r\t\e\r ]]
++ (( x++  ))
++ (( x=49 ))
++ index=40
++ [[ hdparm == \g\p\m ]]
++ (( x++  ))
++ (( x=49 ))
++ index=50
++ [[ hdparm == \h\a\l\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=60
++ [[ hdparm == \n\e\t\.\e\t\h\0 ]]
++ (( x++  ))
++ (( x=49 ))
++ index=70
++ [[ hdparm == \n\e\t\.\l\o ]]
++ (( x++  ))
++ (( x=49 ))
++ index=80
++ [[ hdparm == \h\d\p\a\r\m ]]
++ echo 80
++ return 0
+ rc_index=80
+ rc_mtime=1155931102
+ rc_name=hdparm
+ rc_ineed=
+ rc_needsme=
+ rc_iuse=
+ rc_usesme=
+ rc_ibefore='bootmisc local'
+ rc_iafter=checkroot
+ rc_broken=
+ rc_mtime=1155931102
+ return 0
+ deps=rc_broken
+ [[ -z '' ]]
+ return 1
+ local ib_save=
+ unset IN_BACKGROUND
+ [[ 0 == \0 ]]
+ [[ '' != \y\e\s ]]
++ ineed hdparm
++ check_dependency ineed hdparm
++ [[ -z ineed ]]
++ [[ -z hdparm ]]
++ local x myservice deps
++ [[ hdparm == \-\t ]]
++ myservice=hdparm
++ get_dep_info hdparm
++ [[ -z hdparm ]]
++ local myservice=hdparm
++ [[ hdparm == \h\d\p\a\r\m ]]
++ [[ -n 1155931102 ]]
++ return 0
++ deps=rc_ineed
++ [[ -z '' ]]
++ return 1
++ valid_iuse hdparm
++ valid_i use hdparm
++ local mylevel=boot x= valid=
++ [[ use != \a\f\t\e\r ]]
++ [[ use != \u\s\e ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ mylevel=default
+++ iuse hdparm
+++ check_dependency iuse hdparm
+++ [[ -z iuse ]]
+++ [[ -z hdparm ]]
+++ local x myservice deps
+++ [[ hdparm == \-\t ]]
+++ myservice=hdparm
+++ get_dep_info hdparm
+++ [[ -z hdparm ]]
+++ local myservice=hdparm
+++ [[ hdparm == \h\d\p\a\r\m ]]
+++ [[ -n 1155931102 ]]
+++ return 0
+++ deps=rc_iuse
+++ [[ -z '' ]]
+++ return 1
++ echo ''
++ return 0
+ local 'startupservices= '
+ local netservices=
++ dolisting '/etc/runlevels/boot/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/boot/net.*'
++ [[ /etc/runlevels/boot/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\b\o\o\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/boot/net.lo ]]
++ [[ ! -d /etc/runlevels/boot/net.lo ]]
++ [[ -L /etc/runlevels/boot/net.lo ]]
+++ ls /etc/runlevels/boot/net.lo
++ mylist=' /etc/runlevels/boot/net.lo'
++ echo ' /etc/runlevels/boot/net.lo'
++ dolisting '/etc/runlevels/default/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/default/net.*'
++ [[ /etc/runlevels/default/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\d\e\f\a\u\l\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/default/net.eth0 ]]
++ [[ ! -d /etc/runlevels/default/net.eth0 ]]
++ [[ -L /etc/runlevels/default/net.eth0 ]]
+++ ls /etc/runlevels/default/net.eth0
++ mylist=' /etc/runlevels/default/net.eth0'
++ echo ' /etc/runlevels/default/net.eth0'
++ dolisting '/var/lib/init.d/coldplugged/net.*'
++ 

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
after i took a more cleary look at the messages i found out that hdparm 
did not work on boot up and when i try to start/stop the init-script by 
using sudo, but when i log in as root and run the script it shows me:


/etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]
* Running hdparm on /dev/hdc ... [ ok ]
* Running hdparm on /dev/hdd ... [ ok ]

what could be the reason for this?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

For /dev/hdc and /dev/hdd it says that there is no medium present, but
is this required for running hdparm on this devices?


No, the init script handles this case...in fact it did run hdparm for
hdc and hdd.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] XDM / GDM hangs when logging in.

2006-08-18 Thread Samuel Baldwin
I've recently installed GDM, XDM, and Fluxbox on a new Gentoo machine. When I boot to XDM, and login as root, everything is fine and dandy, with a nice Fluxbox desktop. When I login as my user, it just hangs on a black screen (which xdm used to do when it was pointing to a wm that didn't exist). CAD, CAB, and CAF1 do nothing, and I'm forced to reboot via the power button. I do not know why it is doing this (perhaps bad permissions for fluxbox?), and I would prefer not to do everything as root. 
On the side, is it possible to customize the appearance of XDM (I know I can for GDM)?-- Samuel (shardz)Noha+Shardz Productions: nsproductions.co.nr
Registered Linux User #410639amarok.kde.orgusmc.mil


Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Richard Fish schrieb:

Are you starting hdparm in the boot or default runlevel (rc-update
-s)?  If at boot, it may be that some modules haven't been loaded yet,
so you don't actually have hdc/hdd.


it starts in default runlevel, but i think with the new baselayout it 
starts ealier then before.


for the tests i have done before i did not reboot, so i think eyery 
modules are already started.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

Richard Fish schrieb:
 Are you starting hdparm in the boot or default runlevel (rc-update
 -s)?  If at boot, it may be that some modules haven't been loaded yet,
 so you don't actually have hdc/hdd.

it starts in default runlevel, but i think with the new baselayout it
starts ealier then before.


Hmm, possible.  I just noticed that it has a before bootmisc
dependancy, so it is going to start very early on.  In fact, bootmisc
is considered a CRITICAL_SERVICE by /sbin/rc, so that means hdparm
is going to start at the same time as filesystems are mounted and
modules are loaded.  I don't know if previous versions of hdparm had
this same thing or not.

I think you can either file a bug about the dependancy on bootmisc
that causes hdparm to start too early, hack the init script yourself
to remove it, or reconfigure your kernel to include the drivers for
your CD-ROMs statically, not as modules.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Scheme interpreter with readline support?

2006-08-18 Thread darren kirby
Hello all,

I have been searching for a scheme interpreter that has readline support (at 
least I think it is readline support) whereby I could have a sort of 
expression history where I could use the up arrow or whatever for access to 
previous expressions and also use the left arrow to edit the current 
expression if I make a boo-boo. Sort of like the embedded python interpreter 
or Ruby's irb...

I have tried mzscheme, chicken, and guile so far, and none seem to have this. 
I am also aware of environments such as drscheme, but I really just want a 
simple console interpreter.

I thought I would ask here rather than installing and trying all ~25 
interpreters in dev-scheme

Thanks,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgphoXBUBslxQ.pgp
Description: PGP signature


Re: [gentoo-user] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

2006-08-18 Thread Dale
Andrew Frink wrote:


 On 8/18/06, *Dale* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Rafael Fernández López wrote:
  Hi,
 
  I've googled and I haven't got any successfull results. I've my
 hard disk
  as follows:
 
  /dev/hda1 - ext2 (here will go /boot)
  /dev/hda2 - swap
  /dev/hda3 - ext3 (here will go /)
 
  I've compiled gentoo-sources with NO genkernel, but manually.
 I've no
  filesystem as modules, everything is included in kernel (as
 asterisk (*)).
 
  I am getting the next error when booting:
 
  Kernel panic - not syncing: VFS: Unable to mount root fs on unknown
  block(0,0)
 
  And my bootloader is grub, here is grub.conf:
 
  default 0
  hiddenmenu
  timeout 5
 
  title=Gentoo GNU/Linux
  root (hd0,0)
  kernel /vmlinuz-2.6.17-gentoo-r5 root=/dev/hda3
 
  I can't figure out what's going wrong... because I think that I
 don't need
  initram because I've nothing compiled as a module.
 
  Thank you very much,
  Rafael Fernández López.
 
 

 What ever file system you use for /boot and for / must be included IN
 the kernel, not as modules.  It has to be able to read it for it
 to load
 the modules.

 That should help.

 Dale

 :-)  :-)
 --
 gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list


 Dale
 The error seems to be that it doesn't know how to find the drive not
 that it doesn't know what FS it is, aslo the OP said that he had no
 FS's compiled as modules

 Andrew

I guess I misread it then.  It is common for someone to not put the file
system root uses in the kernel though.  Me, I don't use modules at all. 
The only module I have is nvidia.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Richard Fish

On 8/18/06, Daniel Pielmeier [EMAIL PROTECTED] wrote:

Before i fill a bug i will check if removing the bootmisc dependency
will solve the problem. I don't think so because when the system has
booted completely a restart of the service doesn't work either.
The thing that irritates me is, when i run it directly as root it works
but not on system startup and when using sudo.


Sorry, I missed the 'doesn't work under sudo' part.

Can you post the output with the set -x option when run under sudo?

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: A netbios-ssn blocking rule?

2006-08-18 Thread Daniel Iliev
James wrote:
 Hello,

 My iptables based firewall seem to be working, However, I keep getting
 triplets of this activity:

 Problem (2286  netbios-ssn)
 source dest.  proto   info
 curious.ip www.me.com tcp 2286  netbios-ssn Seq=0 Len=0 MSS=1460
 www.me.com curious.ip tcp netbios-ssn  2286 [RST, ACK] Seq=0 Ack=1 
 Win=0 Len=0

 Any ideas on a rule to drop these requests to my web server?

 similarly I see the same thing except the info section is slightly 
 different:
 similar problem (2469  microsoft-ds)
 rouge.ip   www.me.com tcp 2469  microsoft-ds Seq=0 Len=0 MSS=1460

 and the response from my firewall is simialr
 www.me.com rouge.ip   tcp microsoft-ds  2469 [RST, ACK] Seq=0 Ack=1 
 Win=0 Len=0

 Other problems are (info section is only difference) epmap  3081
  3081  epmap

 Each of these appear in tripplets... and seem useless. Are they
 part of something stupidly done by microsoft?  I think not
 because they occur quite frequently, almost systematcially,
 leading me to suspect they are part of nefarious activities?

 The only change is the port numbers (2286; 2469; 3081) and the 
 source IP address change after each triplet of queries.

 Any ideas, information and iptables rules to silently drop these 
 queries are most welcome. I see them all day long.


 James




   
Depending on which PC these packets are targeted to you should use
INPUT or FORWARD chains. If the target is a PC behind the firewall
(FW from now on) use FORWARD. If the target is the FW itself use
INPUT. The rules should look like this:

iptables -A INPUT -p tcp --dport microsoft-ds -j DROP (  the packets
have destination the FW itself)
iptables -A FORWARD -d *target-PC* -p tcp --dport microsoft-ds -j DROP
(  the packets have destination the target-PC. )

If you omit -d target-PC from the second rule your FW will drop every
packet with destination port=microsoft-ds and IP address different
from the IP address of the FW itself. Keep in mind that these rules may
not be matched if the packets match other rules you have added previously.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier

Sorry, I missed the 'doesn't work under sudo' part.

Can you post the output with the set -x option when run under sudo?


okay here comes something strange

[EMAIL PROTECTED] ~ $ LC_ALL=de_DE.utf8
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm stop
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]

[EMAIL PROTECTED] ~ $ LC_ALL=en_US
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm stop
[EMAIL PROTECTED] ~ $ sudo /etc/init.d/hdparm start
* Running hdparm on /dev/hda ... [ ok ]
* Running hdparm on /dev/hdb ... [ ok ]
* Running hdparm on /dev/hdc ... [ ok ]
* Running hdparm on /dev/hdd ... [ ok ]

it seems when i set the locale to en_US it works when i set it to 
de_DE.utf8 it fails




output with LC_ALL=de_DE.utf8


sudo /etc/init.d/hdparm start
+ [[ -z start stop restart ]]
+ shift
+ [[ 1 -lt 1 ]]
+ for arg in '$*'
+ case ${arg} in
+ retval=0
+ for arg in '$*'
+ case ${arg} in
+ svc_start
+ local x= y= retval=0 startinactive=
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_started hdparm
+ test_service_state hdparm started
+ [[ -z hdparm ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/hdparm
+ [[ -L /var/lib/init.d/started/hdparm ]]
+ [[ ! -e /var/lib/init.d/started/hdparm ]]
+ rm -f /var/lib/init.d/started/hdparm
+ return 1
+ service_inactive hdparm
+ test_service_state hdparm inactive
+ [[ -z hdparm ]]
+ [[ -z inactive ]]
+ local f=/var/lib/init.d/inactive/hdparm
+ [[ -L /var/lib/init.d/inactive/hdparm ]]
+ [[ ! -e /var/lib/init.d/inactive/hdparm ]]
+ rm -f /var/lib/init.d/inactive/hdparm
+ return 1
+ mark_service_starting hdparm
+ [[ -z hdparm ]]
+ ln -sn /etc/init.d/hdparm /var/lib/init.d/starting/hdparm
+ [[ -f /var/lib/init.d/started/hdparm ]]
+ [[ -f /var/lib/init.d/inactive/hdparm ]]
+ return 0
+ trap svc_quit INT QUIT TSTP
+ service_message 'Service hdparm starting'
+ [[ no != \y\e\s ]]
+ return
+ broken hdparm
+ check_dependency broken hdparm
+ [[ -z broken ]]
+ [[ -z hdparm ]]
+ local x myservice deps
+ [[ hdparm == \-\t ]]
+ myservice=hdparm
+ get_dep_info hdparm
+ [[ -z hdparm ]]
+ local myservice=hdparm
+ [[ hdparm == '' ]]
++ get_service_index hdparm 0
++ [[ -z hdparm ]]
++ [[ -z 0 ]]
++ local x myservice=hdparm index=0
++ [[ -n 0 ]]
++ [[ 0 -gt 0 ]]
++ (( x=1 ))
++ (( x=49 ))
++ index=10
++ [[ hdparm == \d\b\u\s ]]
++ (( x++  ))
++ (( x=49 ))
++ index=20
++ [[ hdparm == \e\s\o\u\n\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=30
++ [[ hdparm == \f\i\r\e\s\t\a\r\t\e\r ]]
++ (( x++  ))
++ (( x=49 ))
++ index=40
++ [[ hdparm == \g\p\m ]]
++ (( x++  ))
++ (( x=49 ))
++ index=50
++ [[ hdparm == \h\a\l\d ]]
++ (( x++  ))
++ (( x=49 ))
++ index=60
++ [[ hdparm == \n\e\t\.\e\t\h\0 ]]
++ (( x++  ))
++ (( x=49 ))
++ index=70
++ [[ hdparm == \n\e\t\.\l\o ]]
++ (( x++  ))
++ (( x=49 ))
++ index=80
++ [[ hdparm == \h\d\p\a\r\m ]]
++ echo 80
++ return 0
+ rc_index=80
+ rc_mtime=1155938159
+ rc_name=hdparm
+ rc_ineed=
+ rc_needsme=
+ rc_iuse=
+ rc_usesme=
+ rc_ibefore='bootmisc local'
+ rc_iafter=checkroot
+ rc_broken=
+ rc_mtime=1155938159
+ return 0
+ deps=rc_broken
+ [[ -z '' ]]
+ return 1
+ local ib_save=
+ unset IN_BACKGROUND
+ [[ 0 == \0 ]]
+ [[ '' != \y\e\s ]]
++ ineed hdparm
++ check_dependency ineed hdparm
++ [[ -z ineed ]]
++ [[ -z hdparm ]]
++ local x myservice deps
++ [[ hdparm == \-\t ]]
++ myservice=hdparm
++ get_dep_info hdparm
++ [[ -z hdparm ]]
++ local myservice=hdparm
++ [[ hdparm == \h\d\p\a\r\m ]]
++ [[ -n 1155938159 ]]
++ return 0
++ deps=rc_ineed
++ [[ -z '' ]]
++ return 1
++ valid_iuse hdparm
++ valid_i use hdparm
++ local mylevel=boot x= valid=
++ [[ use != \a\f\t\e\r ]]
++ [[ use != \u\s\e ]]
++ [[ -f /var/lib/init.d/softlevel ]]
++ mylevel=default
+++ iuse hdparm
+++ check_dependency iuse hdparm
+++ [[ -z iuse ]]
+++ [[ -z hdparm ]]
+++ local x myservice deps
+++ [[ hdparm == \-\t ]]
+++ myservice=hdparm
+++ get_dep_info hdparm
+++ [[ -z hdparm ]]
+++ local myservice=hdparm
+++ [[ hdparm == \h\d\p\a\r\m ]]
+++ [[ -n 1155938159 ]]
+++ return 0
+++ deps=rc_iuse
+++ [[ -z '' ]]
+++ return 1
++ echo ''
++ return 0
+ local 'startupservices= '
+ local netservices=
++ dolisting '/etc/runlevels/boot/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/boot/net.*'
++ [[ /etc/runlevels/boot/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\b\o\o\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/boot/net.lo ]]
++ [[ ! -d /etc/runlevels/boot/net.lo ]]
++ [[ -L /etc/runlevels/boot/net.lo ]]
+++ ls /etc/runlevels/boot/net.lo
++ mylist=' /etc/runlevels/boot/net.lo'
++ echo ' /etc/runlevels/boot/net.lo'
++ dolisting '/etc/runlevels/default/net.*'
++ local x=
++ local y=
++ local tmpstr=
++ local mylist=
++ local 'mypath=/etc/runlevels/default/net.*'
++ [[ /etc/runlevels/default/net.* != 
\/\e\t\c\/\r\u\n\l\e\v\e\l\s\/\d\e\f\a\u\l\t\/\n\e\t\.\* ]]

++ for x in '${mypath}'
++ [[ ! -e /etc/runlevels/default/net.eth0 ]]
++ [[ ! -d 

Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Daniel Pielmeier
so i think it is not a problem between sudo and root, for root my 
default locale is en_US for me as normal user it is de_DE.utf8 so it 
seems to be a problem with the locales

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: hdparm and baselayout

2006-08-18 Thread Benno Schulenberg
Daniel Pielmeier wrote:
 + [[ /etc/init.d/hdparm: line 122: /dev/hdc: Kein Medium gefunden
 == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]]
 [...]
 + [[ /etc/init.d/hdparm: line 122: /dev/hdd: Kein Medium gefunden
 == *\:\ \N\o\ \m\e\d\i\u\m\ \f\o\u\n\d ]]

It is specifically checking for the No medium found message.  To 
be able to do that, the hdparm script should set LC_ALL=C itself.  
Time to report a bug.

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with X apps from remote PC

2006-08-18 Thread Matthias Fechner
Hi,

I have here Xorg running. My system is a AMD64, software is
up-to-date. X is compiled with xinerama tag.

Now if I start emacs or a xterm etc on my FreeBSD pc I can only see
the decoration of the window but nothing is displayed in it.

As window manager I use XFCE4.

Everything worked fine before an update in the last 2-6 weeks but I
have no idea who to solve that problem now.

Is it possible that with the new modular XOrg a package is missing?

Thx a lot for help,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to set domainname

2006-08-18 Thread Ryan Tandy

Graham Murray wrote:


But this thread is about setting the domain name initially. This is
something which desktop users want to do and the suggestion was that
/etc/conf.d/net is the correct place to set (as well as change on a
per-interface basis) this.


Context is everything. ;)  The post I was replying to was attempting to 
suggest otherwise.


In any case, how do I go about setting my domain name in /etc/conf.d/net 
if I still want to get my DNS server from DHCP (and I can't be sure it 
won't change without warning)?

--
gentoo-user@gentoo.org mailing list



[gentoo-user] ipw200 wireless config problem

2006-08-18 Thread Richard Watson



Hi can anyone help me resolve this problem. I'm 
running kernel-genkernel-x86-2.6.16-gentoo-r9. I've built in support for the 
ipw2200 driver and installed fimrware image ipw2200-firmware-2.4 as the forums 
say the latest firmware image is not supported with my kernel version. I've got 
problems ... when I try and install. wireless-tools installs OK but no interface 
is present when running iwconfig. I get the following error on 
dmesg.

# dmesg | grep ipw
ipw2200: no version for 
"ieee80211_wx_get_encodeext" found: kernel tainted.ipw2200: Intel(R) 
PRO/Wireless 2200/2915 Network Driver, 1.1.3mprqipw2200: Copyright(c) 
2003-2006 Intel Corporationipw2200: Detected Intel PRO/Wireless 2200BG 
Network Connectionipw2200: ipw2200-bss.fw request_firmware failed: Reason 
-2ipw2200: Unable to load firmware: -2ipw2200: failed to register 
network deviceipw2200: probe of :02:04.0 failed with error 
-5
How do I check that ieee80211 is installed 
correctly in my kernel (not as a module I assume since ipw2200 is installed). 
any other tips would be really appreciated as I've been trying to figure this 
out for ages.

Thanks, Richard


Re: [gentoo-user] [OT] Scheme interpreter with readline support?

2006-08-18 Thread darren kirby
quoth the darren kirby:
 Hello all,

 I have been searching for a scheme interpreter that has readline support
 (at least I think it is readline support) whereby I could have a sort of
 expression history where I could use the up arrow or whatever for access to
 previous expressions and also use the left arrow to edit the current
 expression if I make a boo-boo. Sort of like the embedded python
 interpreter or Ruby's irb...

 I have tried mzscheme, chicken, and guile so far, and none seem to have
 this. I am also aware of environments such as drscheme, but I really just
 want a simple console interpreter.

 I thought I would ask here rather than installing and trying all ~25
 interpreters in dev-scheme

 Thanks,
 -d

Nevermind. I have found gambit and it is perfect...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpb7s4aM8Uyt.pgp
Description: PGP signature


[gentoo-user] Re: How to set domainname

2006-08-18 Thread Alexander Skwar
· Ryan Tandy [EMAIL PROTECTED]:

 In any case, how do I go about setting my domain name in /etc/conf.d/net 
 if I still want to get my DNS server from DHCP (and I can't be sure it 
 won't change without warning)?

Hm? Why should there be a problem? Just don't add a dns_servers
line to /etc/conf.d/net

Alexander Skwar
-- 
Wer die Ursache nicht kennt, nennt die Wirkung Zufall.
-- Werner Mitsch


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw200 wireless config problem

2006-08-18 Thread Willie Wong
On Sat, Aug 19, 2006 at 02:44:48PM +1000, Penguin Lover Richard Watson squawked:
 Hi can anyone help me resolve this problem. I'm running 
 kernel-genkernel-x86-2.6.16-gentoo-r9. I've built in support for the ipw2200 
 driver and installed fimrware image ipw2200-firmware-2.4 as the forums say 
 the latest firmware image is not supported with my kernel version. I've got 
 problems ... when I try and install. wireless-tools installs OK but no 
 interface is present when running iwconfig. I get the following error on 
 dmesg.

I would really suggest installing the ipw2200 drivers separately from
the kernel, i.e. emerge  net-wireless/ipw2200. To do so you should
reconfigure your kernel so that it has basic Wireless Lan support, but
with ieee80211 and ipw2200 turned off. The ipw2200 ebuild would bring
in an outside copy of ieee80211, follow the instructions that come up
at the emerge to remove the in-kernel source of ieee80211 completely.
And you should also be able to use the 3.0 firmware. 

I've used the drivers from outside of the kernel since version 0.6 and
never had any problem. 

W
-- 
Pintsize: My first commandment is: Though shalt not beget electromagnetism 
in the presence of your Lord.
Sortir en Pantoufles: up 23 days,  8:39
-- 
gentoo-user@gentoo.org mailing list