Re: [gentoo-user] NTP problem

2006-02-22 Thread Brandon Enright
On Wed, 2006-02-22 at 01:32 -0600, Anthony E. Caudel wrote:
 My system was off about 10 days and when I turned it back on, I began
 getting these messages in my logwatch:
 
 Time Reset
time stepped -0.133773
time stepped -0.662954
time stepped +0.271164
time stepped +0.461200
time stepped -0.787647
 snip
 
  Time Reset 25 times (total: -1.239782 s  average: -0.049591 s)
 
  **Unmatched Entries**
  synchronized to 80.35.31.228, stratum 3
  synchronized to 80.35.31.228, stratum 4
 snip
  synchronized to 80.35.31.228, stratum 4
  synchronized to 80.35.31.228, stratum 3
  Listening on interface wildcard, 0.0.0.0#123
  Listening on interface eth0, 192.168.1.100#123
  Listening on interface lo, 127.0.0.1#123
  kernel time sync status 0040
 
 I rebooted thinking it needed to stabilize but it still gets them. I
 have ntp-client and ntpd both in the default runlevel.
 
 This seems like an awful high number of resets.  Much more than I used
 to get.
 
 Tony


Those are some pretty big jumps.  What does ntpq -c peers and ntpq -c
rv output?  Also, what are the first few lines (the restrict entries)
of your ntp.conf?

Brandon

-- 
Brandon Enright
UCSD ACS/Network Operations
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] readline and inputrc

2006-02-22 Thread Harry Putnam
Anyone know why entries in ~/.inputrc (or for that matter)
/etc/inputrc are ignored in xterms?

I find that inputrc entries work in console mode but not in X.

Further, testing just now with a silly test entry:

cat ~/.inputrc:

  ## C-x C-r reread init files
  Control-o: now what

That even in console mode I get really bad behavior.

Ctrl-o inserts `now what' as expected but then I find that any
attempts thereafter to do some command like ls or whatever, when I
press ENTER instead of running the command `ls'  I get

`lsnow what'  and the ls command doesn't fire  any press of ENTER
prints `now what'.

I'm guessing some kind of conflict with keyboard settings but mine are
totally stock.  I've done no customizing in that area.

I'd be interested to here what others see when they use ~/.inputrc.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTP problem

2006-02-22 Thread Anthony E. Caudel
Brandon Enright wrote:
 On Wed, 2006-02-22 at 01:32 -0600, Anthony E. Caudel wrote:
 
My system was off about 10 days and when I turned it back on, I began
getting these messages in my logwatch:

Time Reset
   time stepped -0.133773
   time stepped -0.662954
   time stepped +0.271164
   time stepped +0.461200
   time stepped -0.787647
snip

 Time Reset 25 times (total: -1.239782 s  average: -0.049591 s)

 **Unmatched Entries**
 synchronized to 80.35.31.228, stratum 3
 synchronized to 80.35.31.228, stratum 4
snip
 synchronized to 80.35.31.228, stratum 4
 synchronized to 80.35.31.228, stratum 3
 Listening on interface wildcard, 0.0.0.0#123
 Listening on interface eth0, 192.168.1.100#123
 Listening on interface lo, 127.0.0.1#123
 kernel time sync status 0040

I rebooted thinking it needed to stabilize but it still gets them. I
have ntp-client and ntpd both in the default runlevel.

This seems like an awful high number of resets.  Much more than I used
to get.

Tony
 
 
 
 Those are some pretty big jumps.  What does ntpq -c peers and ntpq -c
 rv output?  Also, what are the first few lines (the restrict entries)
 of your ntp.conf?
 
 Brandon
 
ntpq -c peers:

  remote refid  st t when poll reach   delay   offset jitter
==
*ntp3.usv.ro .PPS.  1 u   70 1024  377  203.0807.338   1.485

ntpq -rv:

assID=0 status=06a4 leap_none, sync_ntp, 10 events, event_peer/strat_chg,
version=ntpd [EMAIL PROTECTED] Thu Dec  8 09:35:31 CST 2005 (1)?,
processor=i686, system=Linux/2.6.15-gentoo-r1, leap=00, stratum=2,
precision=-20, rootdelay=203.080, rootdispersion=34.319, peer=35268,
refid=80.96.120.249,
reftime=c7a69e5a.a3227d02  Wed, Feb 22 2006  2:24:58.637, poll=10,
clock=0xc7a6a0b6.78a5bd94, state=4, offset=7.338, frequency=35.514,
noise=2.162, jitter=0.891, stability=64.582

ntp.conf:

restrict default nomodify nopeer
restrict 127.0.0.1

Tony
-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] tcltk weird behaviour

2006-02-22 Thread Ghaith Hachem
hello
i've recently noticed several apps failing to start

$ amsn
Application initialization failed: this isn't a Tk applicationunknown
color name Black
Error in startup script: this isn't a Tk applicationunknown color name Black
(default value for -highlightcolor in widget .)
invoked from within
load /usr/lib/tk8.4/../libtk8.4.so Tk
(package ifneeded script)
invoked from within
package require Tk
(file /usr/bin/amsn line 46)


$ pysol
Traceback (most recent call last):
  File /usr/games/lib/pysol/pysol.py, line 121, in ?
sys.exit(main(sys.argv))
  File /usr/games/lib/pysol/main.py, line 424, in main
r = pysol_main(args)
  File /usr/games/lib/pysol/main.py, line 367, in pysol_main
r = pysol_init(app, args)
  File /usr/games/lib/pysol/main.py, line 121, in pysol_init
top = MfxRoot(className=PACKAGE)
  File /usr/games/lib/pysol/tk/tkwrap.py, line 75, in __init__
apply(Tkinter.Tk.__init__, (self,), kw)
  File /usr/lib/python2.4/lib-tk/Tkinter.py, line 1569, in __init__
self.tk = _tkinter.create(screenName, baseName, className,
interactive, wantobjects, useTk, sync, use)
__main__.TclError: this isn't a Tk applicationunknown color name Black




i don't know when it happened i noticed this 2 days ago i rememrged
python with tcltk useflag it didnt' seem to solve anything



i'm also having problems starting Mercury i think it's irrelated but i
thought i'd post it maybe there's sth i missed

$ Mercury/Mercury
awk: error while loading shared libraries: libdl.so.2: cannot open
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
/opt/blackdown-jre-1.4.2.03/bin/java: error while loading shared
libraries: libpthread.so.0: cannot open shared object file: No such
file or directory

Note the mercury isnt' installed with portage if that would matter



$ emerge -pv python tcl tk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-lang/python-2.4.2-r1  USE=X berkdb gdbm ipv6
ncurses readline ssl tcltk -bootstrap -build -doc -nocxx -ucs2 0 kB
[ebuild   R   ] dev-lang/tcl-8.4.11-r1  USE=-threads 0 kB
[ebuild   R   ] dev-lang/tk-8.4.11-r1  USE=-threads 0 kB

Total size of downloads: 0 kB

thanks in advance
--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] readline and inputrc

2006-02-22 Thread Anthony E. Caudel
Harry Putnam wrote:
 Anyone know why entries in ~/.inputrc (or for that matter)
 /etc/inputrc are ignored in xterms?
 
 I find that inputrc entries work in console mode but not in X.
 
 Further, testing just now with a silly test entry:
 
 cat ~/.inputrc:
 
   ## C-x C-r reread init files
   Control-o: now what
 
 That even in console mode I get really bad behavior.
 
 Ctrl-o inserts `now what' as expected but then I find that any
 attempts thereafter to do some command like ls or whatever, when I
 press ENTER instead of running the command `ls'  I get
 
 `lsnow what'  and the ls command doesn't fire  any press of ENTER
 prints `now what'.
 
 I'm guessing some kind of conflict with keyboard settings but mine are
 totally stock.  I've done no customizing in that area.
 
 I'd be interested to here what others see when they use ~/.inputrc.
 
 
They work fine for me under KDE's konsole.

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: readline and inputrc

2006-02-22 Thread Harry Putnam
Anthony E. Caudel [EMAIL PROTECTED] writes:

 Harry Putnam wrote:
 Anyone know why entries in ~/.inputrc (or for that matter)
 /etc/inputrc are ignored in xterms?
 
 I find that inputrc entries work in console mode but not in X.
 
 Further, testing just now with a silly test entry:
 
 cat ~/.inputrc:
 
   ## C-x C-r reread init files
   Control-o: now what
 
 That even in console mode I get really bad behavior.
 
 Ctrl-o inserts `now what' as expected but then I find that any
 attempts thereafter to do some command like ls or whatever, when I
 press ENTER instead of running the command `ls'  I get
 
 `lsnow what'  and the ls command doesn't fire  any press of ENTER
 prints `now what'.
 
 I'm guessing some kind of conflict with keyboard settings but mine are
 totally stock.  I've done no customizing in that area.
 
 I'd be interested to here what others see when they use ~/.inputrc.
 
 
 They work fine for me under KDE's konsole.

Interesting... yes they do here too.  I greatly prefer working from
xterms though.  Just a matter of years of use.   

I suspect there is something I can set so that inputrc works in xterm
to, do you have any idea what?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Screen settings

2006-02-22 Thread Rajat Gujral
Hi,

I am a newbie to gentoo enviorment. My system got restarted due to
power failiure without getting shutdown properly... Now after rebooting
my system, when i do startx to move to KDE the screen appers to be in
resolution mode of 640 x 480 instead of 1024 x 768.

So my question is how can i change the screen resolution back to 1024 x 768. 

Herewith attached is a copy on my xorg.conf file .. Thanx to u in advance for helping me through with it 

Thnx  Warm Regards

Rajat


xorg.conf
Description: Binary data


Re: [gentoo-user] Screen settings

2006-02-22 Thread Jerry Eastmanhouser
Your xorg.conf file looks fine, but you don't have anything lower than 1024x768 specified in your configuration as indicated below. You may have to recreate a new xorg.conf file with the correct monitor and driver settings. I did mine manually a long long time ago, but I think you can use xorgconfig to detect most of your settings for you...if so...hopefully that will fix you up.




Section Screen Identifier Screen 1 Device video Monitor 2 DefaultDepth 24 Subsection Display Depth 8
 Modes 1024x768 ViewPort 0 0 EndSubsection Subsection Display Depth 16 Modes 1280x1024 ViewPort 0 0
 EndSubsection Subsection Display Depth 24 Modes 1024x768 ViewPort 0 0 EndSubsectionEndSection
On 2/22/06, Rajat Gujral [EMAIL PROTECTED] wrote:
Hi,I am a newbie to gentoo enviorment. My system got restarted due to power failiure without getting shutdown properly... Now after rebooting my system, when i do startx to move to KDE the screen appers to be in resolution mode of 640 x 480 instead of 1024 x 768.
So my question is how can i change the screen resolution back to 1024 x 768. Herewith attached is a copy on my xorg.conf file .. Thanx to u in advance for helping me through with it Thnx  Warm Regards
Rajat


Re: [gentoo-user] CVSup vs Gentoo's Rsync

2006-02-22 Thread Boyd Stephen Smith Jr.
On Tuesday 21 February 2006 18:38, Aniruddha Shankar [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] CVSup vs Gentoo's Rsync':
 That I can live with. It's the updating portage cache - especially the
 long wait at 50% that drags.

Go ~ for portage, I don't experience such a delay.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ufs

2006-02-22 Thread Sascha Lucas

On Tue, 21 Feb 2006, Arnau Bria Ramírez wrote:

I have a Solaris disk with Solari's ufs FS.
I found ufs support in my kernel, but I'm not sure if it's the same as Solari's
one (I'm not sure if solaris uses standards ufs fs).

does anyone mounted a solaris ufs disk using ufs kernel's support?


No not solaris but freebsd. Enable Solaris (x86) partition and Sun 
partition tables support + ufs filesystem. Read MOUNT(8) about ufs options 
(ufstype=sun or sunx86). Read 
/usr/src/linux/Documentation/filesystems/ufs.txt about ufs-write support. 
It should work.


Sascha.

Re: [gentoo-user] ufs

2006-02-22 Thread Arnau Bria Ramírez
El Wed, 22 Feb 2006 11:55:46 +0100 (CET)
Sascha Lucas dijo:

thanks for reply!
 
 On Tue, 21 Feb 2006, Arnau Bria Ramírez wrote:
  I have a Solaris disk with Solari's ufs FS.
  I found ufs support in my kernel, but I'm not sure if it's the same as 
  Solari's
  one (I'm not sure if solaris uses standards ufs fs).
 
  does anyone mounted a solaris ufs disk using ufs kernel's support?

 No not solaris but freebsd. Enable Solaris (x86) partition and Sun 
 partition tables support + ufs filesystem. Read MOUNT(8) about ufs options 
 (ufstype=sun or sunx86). Read 

sunx86? do you think if it's going to work with sparc? (I forgot to say
taht) disk comes from Sun Blade 1500... I think it should be just sun as it
does not specify architecture:

sun used in SunOS (Solaris)
supported as read-write

sunx86  used in SunOS for Intel (Solarisx86)
supported as read-write


 /usr/src/linux/Documentation/filesystems/ufs.txt about ufs-write support. 
 It should work.
I tried it and it did not recognize partition table... now, after reading you
reply, I found partition table support for SunOS... going to recompile kernel
and test...

Thansk a lot!
 Sascha.


-- 
Arnau Bria

¿Vienes a mi casa, el día de la boda de mi hija a pedirme que mate por dinero? 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] File-roller build bug

2006-02-22 Thread Darryl Wagoner
Greetings,

I am getting the following build error when I try to build file-roller that gnome
depends on. Any clues on how to fix this?

thanks



if [ -f C/file-roller.xml ]; then d=../; else d=d/; fi; \
(cd de/  \
 `which xml2po` -e -p \
 ${d}de/de.po \
 ${d}C/file-roller.xml  file-roller.xml.tmp  \
 cp file-roller.xml.tmp file-roller.xml  rm -f file-roller.xml.tmp)
Traceback (most recent call last):
 File /usr/bin/xml2po, line 34, in ?
 import libxml2
 File /usr/lib/python2.4/site-packages/libxml2.py, line 1, in ?
 import libxml2mod
ImportError: /usr/lib/python2.4/site-packages/libxml2mod.so: undefined symbol: xmlTextReaderGetParserColumnNumber
make[2]: *** [de/file-roller.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/file-roller-2.12.2/work/file-roller-2.12.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/file-roller-2.12.2/work/file-roller-2.12.2'
make: *** [all] Error 2
-- Darryl Wagoner - WA1GONEvil triumphs when good men do nothing.- Edmund Burke [1729-1797]


Re: [gentoo-user] File-roller build bug

2006-02-22 Thread Bruno Lustosa
On 2/22/06, Darryl Wagoner [EMAIL PROTECTED] wrote:
  I am getting the following build error when I try to build file-roller that
 gnome
  depends on.  Any clues on how to fix this?

  import libxml2mod
  ImportError:
 /usr/lib/python2.4/site-packages/libxml2mod.so: undefined
 symbol: xmlTextReaderGetParserColumnNumber

Darryl, I remember getting this error some time ago.
It was caused by building some of its dependencies with -xml, IIRC.
Check your use flags, and its direct dependencies (libxml2? others?).

--
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT]: Any auto-hiding panels with a bunch of dependancies?

2006-02-22 Thread Hemmann, Volker Armin
On Wednesday 22 February 2006 06:58, Walter Dnes wrote:

and what is about kicker?
it can autohide - and if you have koffice installed, you should have covered 
most of its dependencies.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] File-roller build bug

2006-02-22 Thread Richard Fish
On 2/22/06, Darryl Wagoner [EMAIL PROTECTED] wrote:
 /usr/lib/python2.4/site-packages/libxml2mod.so: undefined
 symbol: xmlTextReaderGetParserColumnNumber

Looks like you need to run python-updater and/or revdep-rebuild.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Screen settings

2006-02-22 Thread Richard Fish
On 2/22/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote:
 settings.  I did mine manually a long long time ago, but I think you can use
 xorgconfig to detect most of your settings for you...if so...hopefully that
 will fix you up.

I would suggest instead X -configure.  That should autodetect most
things, unlike xorgconfig which asks you a bunch of questions that
most users don't know the answers to.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] RE: Digest of gentoo-user@gentoo.org issue 600 (35178-35227)

2006-02-22 Thread Eric Lehmann


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 5:02 PM
To: [EMAIL PROTECTED]
Subject: Digest of gentoo-user@gentoo.org issue 600 (35178-35227)

Topics (messages 35178 throught 35227):

[gentoo-user] Re: odd /dev/null beharvior
  35178 - James [EMAIL PROTECTED]
  35179 - James [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35180 - Allan Spagnol Comar [EMAIL PROTECTED]

[gentoo-user] New printer setup - having trouble with CUPS [SOLVED]
  35181 - Jeff [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35182 - Nick Smith [EMAIL PROTECTED]

[gentoo-user] Problem emerging engage
  35184 - Iain Buchanan [EMAIL PROTECTED]

[gentoo-user] [OT] What about a new file system subtree?
  35185 - David Mallwitz [EMAIL PROTECTED]

[gentoo-user] mime type experts / *.pps
  35186 - Abhay Kedia [EMAIL PROTECTED]

[gentoo-user] Portage mirroring questions
  35187 - Devraj Mukherjee [EMAIL PROTECTED]

[gentoo-user] got lprng?
  35188 - Glenn Enright [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35189 - Nagatoro [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35190 - Dirk Heinrichs [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35192 - Ow Mun Heng [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35193 - Julien Cabillot [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35194 - Mattias Merilai [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35195 - Boyd Stephen Smith Jr. [EMAIL PROTECTED]

[gentoo-user] [OT] OS X admin book
  35196 - Stroller [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35197 - Allan Spagnol Comar [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35198 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35200 - Dirk Heinrichs [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35201 - [EMAIL PROTECTED] (Alex Schuster)

[gentoo-user] open-Xchange
  35202 - Uwe Thiem [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35203 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35204 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35205 - [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35206 - Dave Nebinger [EMAIL PROTECTED]

[gentoo-user] dhcpcd error
  35207 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35208 - Alec Shaner [EMAIL PROTECTED]

[gentoo-user] Re: dhcpcd error
  35209 - Marco Calviani [EMAIL PROTECTED]
  35214 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] NFS  LDAP client can't see directory.
  35210 - Jeff [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35211 - Hemmann, Volker Armin [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35215 - Mrugesh Karnik [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35216 - Rumen Yotov [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35217 - Dave Nebinger [EMAIL PROTECTED]

[gentoo-user] iptables: --state/--syn
  35218 - Jarry [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35219 - Rumen Yotov [EMAIL PROTECTED]

[gentoo-user] coreutils downgrade problem
  35220 - Ghaith Hachem [EMAIL PROTECTED]

[gentoo-user] coreutils downgrade problem
  35221 - =?UTF-8?Q?Marko_Koci=C4=87?= [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35222 - krgn [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35223 - Nick Smith [EMAIL PROTECTED]

[gentoo-user] Toshiba Laptop Issues
  35224 - Mike Myers [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35225 - Sarpy Sam [EMAIL PROTECTED]

[gentoo-user] Toshiba Laptop Issues
  35226 - krgn [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35227 - Daniel da Veiga [EMAIL PROTECTED]



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] readline and inputrc

2006-02-22 Thread Richard Fish
On 2/22/06, Harry Putnam [EMAIL PROTECTED] wrote:
 Anyone know why entries in ~/.inputrc (or for that matter)
 /etc/inputrc are ignored in xterms?

The .inputrc settings are part of the readline library, which is
linked to bash.  So any place you are running bash should have
readline capabilities.  Are you sure you are running bash in your
xterms?

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: readline and inputrc

2006-02-22 Thread Harry Putnam
Richard Fish [EMAIL PROTECTED] writes:

 On 2/22/06, Harry Putnam [EMAIL PROTECTED] wrote:
 Anyone know why entries in ~/.inputrc (or for that matter)
 /etc/inputrc are ignored in xterms?

 The .inputrc settings are part of the readline library, which is
 linked to bash.  So any place you are running bash should have
 readline capabilities.  Are you sure you are running bash in your
 xterms?

Yes,  I don't really use any other shells.  And just to make sure
typing echo $SHELL returns the expected /bin/bash.

But it turns out to be something of a false alarm.  I went on about my
business and in the course of things have closed several xterms and
later opened new ones.  Just now while preparing to respond to your
reply I discover the newer xterms all work as expected.

I happened to have logged clear out of X and back in so none of the
other batch are around to check what was happening.  It entirely
possible it was all user induced somehow.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTP problem

2006-02-22 Thread Brandon Enright
On Wed, 2006-02-22 at 02:41 -0600, Anthony E. Caudel wrote:
 Brandon Enright wrote:
  On Wed, 2006-02-22 at 01:32 -0600, Anthony E. Caudel wrote:
  
 My system was off about 10 days and when I turned it back on, I began
 getting these messages in my logwatch:
 
 Time Reset
time stepped -0.133773
time stepped -0.662954
time stepped +0.271164
time stepped +0.461200
time stepped -0.787647
 snip
 
  Time Reset 25 times (total: -1.239782 s  average: -0.049591 s)
 
  **Unmatched Entries**
  synchronized to 80.35.31.228, stratum 3
  synchronized to 80.35.31.228, stratum 4
 snip
  synchronized to 80.35.31.228, stratum 4
  synchronized to 80.35.31.228, stratum 3
  Listening on interface wildcard, 0.0.0.0#123
  Listening on interface eth0, 192.168.1.100#123
  Listening on interface lo, 127.0.0.1#123
  kernel time sync status 0040
 
 I rebooted thinking it needed to stabilize but it still gets them. I
 have ntp-client and ntpd both in the default runlevel.
 
 This seems like an awful high number of resets.  Much more than I used
 to get.
 
 Tony
  
  
  
  Those are some pretty big jumps.  What does ntpq -c peers and ntpq -c
  rv output?  Also, what are the first few lines (the restrict entries)
  of your ntp.conf?
  
  Brandon
  
 ntpq -c peers:
 
   remote refid  st t when poll reach   delay   offset jitter
 ==
 *ntp3.usv.ro .PPS.  1 u   70 1024  377  203.0807.338   1.485
 
 ntpq -rv:
 
 assID=0 status=06a4 leap_none, sync_ntp, 10 events, event_peer/strat_chg,
 version=ntpd [EMAIL PROTECTED] Thu Dec  8 09:35:31 CST 2005 (1)?,
 processor=i686, system=Linux/2.6.15-gentoo-r1, leap=00, stratum=2,
 precision=-20, rootdelay=203.080, rootdispersion=34.319, peer=35268,
 refid=80.96.120.249,
 reftime=c7a69e5a.a3227d02  Wed, Feb 22 2006  2:24:58.637, poll=10,
 clock=0xc7a6a0b6.78a5bd94, state=4, offset=7.338, frequency=35.514,
 noise=2.162, jitter=0.891, stability=64.582
 
 ntp.conf:
 
 restrict default nomodify nopeer
 restrict 127.0.0.1
 
 Tony


So from your output a couple issues stick out.  You're only peering with
one machine which generally doesn't work so well.  You're probably
better off just using ntpdate periodically if you are only going to
sample one server.

Also, the delay on the server you are polling is over 200 ms.  I'm not
sure where ntp3.usv.ro is located but it is over 260ms for me too.  With
this high network delay, slight network jitter can make your clock think
it is way off.  Your machine thinks it is 7.3 ms off.  If you had more
servers to peer with and *much* lower average delay between those
servers your clock would stabilize.  As it stands now, you clock
probably won't ever stabilize because your network is the primary source
of uncertainty.

For comparison, here is my ntpq -c rv output:

assID=0 status=06f4 leap_none, sync_ntp, 15 events,
event_peer/strat_chg,
version=ntpd [EMAIL PROTECTED] Mon Oct 17 21:31:52 PDT 2005 (1)?,
processor=i686, system=Linux/2.6.10-gentoo-r6, leap=00, stratum=2,
precision=-20, rootdelay=21.642, rootdispersion=41.662, peer=12542,
refid=132.249.20.88,
reftime=c7a70d4a.975935fc  Wed, Feb 22 2006 16:18:18.591, poll=10,
clock=0xc7a70dc0.a5847f56, state=4, offset=-0.007, frequency=-31.438,
noise=1.052, jitter=2.529, stability=3.132

Notice my offset is pretty marginal and rootdelay is rather low.  If you
can get your root delay down you should see your offset and stability
improve.

Brandon

-- 
Brandon Enright
UCSD ACS/Network Operations
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] traffic shaping

2006-02-22 Thread Uwe Thiem
Hi folks,

I am struggling with traffic shaping. I have ironed out most rough things but 
are stuck with one remaining issue.

It happens as soon as I enter any one of the following lines:

tc filter add dev eth2 parent 1: prio 2 handle 1 fw flowid 1:20
tc filter add dev eth2 parent 1: protocol ip prio 2 handle 1 fw flowid 1:20
tc filter add dev eth2 parent 1: prio 2 handle 1 fw classid 1:20
tc filter add dev eth2 parent 1: protocol ip prio 2 handle 1 fw classid 1:20

I then get the error message:
RTNETLINK answers: Invalid argument
We have an error talking to the kernel

Prior experience suggests that a module is missing or not loaded. The question 
is: Which one? Or am I completely wrong in my assumption?

Any experts here to lend a brain cell? ;-)

Uwe
 
-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTP problem

2006-02-22 Thread Anthony E. Caudel
Brandon Enright wrote:

 
 So from your output a couple issues stick out.  You're only peering with
 one machine which generally doesn't work so well.  You're probably
 better off just using ntpdate periodically if you are only going to
 sample one server.
 
 Also, the delay on the server you are polling is over 200 ms.  I'm not
 sure where ntp3.usv.ro is located but it is over 260ms for me too.  With
 this high network delay, slight network jitter can make your clock think
 it is way off.  Your machine thinks it is 7.3 ms off.  If you had more
 servers to peer with and *much* lower average delay between those
 servers your clock would stabilize.  As it stands now, you clock
 probably won't ever stabilize because your network is the primary source
 of uncertainty.
 
 For comparison, here is my ntpq -c rv output:
 
 assID=0 status=06f4 leap_none, sync_ntp, 15 events,
 event_peer/strat_chg,
 version=ntpd [EMAIL PROTECTED] Mon Oct 17 21:31:52 PDT 2005 (1)?,
 processor=i686, system=Linux/2.6.10-gentoo-r6, leap=00, stratum=2,
 precision=-20, rootdelay=21.642, rootdispersion=41.662, peer=12542,
 refid=132.249.20.88,
 reftime=c7a70d4a.975935fc  Wed, Feb 22 2006 16:18:18.591, poll=10,
 clock=0xc7a70dc0.a5847f56, state=4, offset=-0.007, frequency=-31.438,
 noise=1.052, jitter=2.529, stability=3.132
 
 Notice my offset is pretty marginal and rootdelay is rather low.  If you
 can get your root delay down you should see your offset and stability
 improve.
 
 Brandon
 

Well, overnight it only reset twice; - some improvement!

Here is my complete ntp.conf:


# NOTES:
#  - you should only have to update the server line below
#  - if you start getting lines like 'restrict' and 'fudge'
#and you didnt add them, AND you run dhcpcd on your
#network interfaces, be sure to add '-Y -N' to the
#dhcpcd_ethX variables in /etc/conf.d/net

# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst

server pool.ntp.org

##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
# http://www.pool.ntp.org/#use
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
##

# you should not need to modify the following paths
driftfile   /var/lib/ntp/ntp.drift

#server ntplocal.example.com prefer
#server timeserver.example.org

# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.

# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#restrict default ignore


# To deny other machines from changing the
# configuration but allow localhost:
restrict default nomodify nopeer
restrict 127.0.0.1


# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
---

Notice I'm using pool.ntp.org. I thought that picked a random server.
In any event, I restarted ntpd and it picked a different server.

ntpq -c peers is now:
--
remote  refid  st t when poll reach   delay   offset  jitter
==
*Time2.Stupi.SE  .PPS   1 u   33   64  177  159.568   -4.188   5.881
--

We'll see how this works out.

Tony
-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTP problem

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 12:38, Anthony E. Caudel 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] NTP problem':
 Brandon Enright wrote:
 Well, overnight it only reset twice; - some improvement!

 Here is my complete ntp.conf:
 # Name of the servers ntpd should sync with
 # Please respect the access policy as stated by the responsible person.
 #server ntp.example.tld iburst

 server pool.ntp.org

This chooses a single random server from the pool to sync with, which is 
probably not /exactly/ what you want.

You have a few alternatives:
1) Change server to servers.  Then, ntpd will use all the IPs 
associated with the domain name.  As part of the process of syncing it 
will invalidate peers that have long or volatile round-trip times.  It 
will, however, try to connect to 100s (IIRC) of IPs initially.

2) Use:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org

In this case, the daemon will only use the first address from each domain 
name.  n.pool.ntp.org (for n = 0-9, IIRC) resolves to the same addresses 
as pool.ntp.org, but the primary address you get back is different each 
time.  (I believe the n. prefix is an attempt to prevent local caching, 
which would be a problem if you just repeated your server line 3 times.)

You'll get better times syncing off multiple servers because the daemon can 
use some statistics to remove some of the network latency issues.  
However, you could still get a bad draw and get 3 servers far away from 
you.

3) Follow this comment from *your* .conf file:
 # A good way to get servers for your machine is:
 # netselect -s 3 pool.ntp.org

netselect is available from portage, and I think it's generally installed 
during your gentoo install as a dependency of mirrorselect.  In any case, 
you can use it to find 3 (or however many you want to use) servers close 
to you.

Unfortunately, with this method, if better peers are added to the pool, the 
network topology changes, or anything else to invalidate the quality of 
the peers you pick, ntpd won't be able to automagically pick better ones.

Also, for any of these options, you should note the geographic sub-pools 
that are available.  I use us.pool.ntp.org.  For (1) this will reduce the 
number of IPs initially connected to, for (2) it will increase the chance 
that you don't get a bad draw (because, generally, geographically closer 
is closer on the network), for (3) ... Well, actually for 3 you might as 
well pick the best ones from the entire pool.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] NTP problem

2006-02-22 Thread Brandon Enright
Anthony E. Caudel wrote:
 Brandon Enright wrote:
 
 
  So from your output a couple issues stick out.  You're only peering with
  one machine which generally doesn't work so well.  You're probably
  better off just using ntpdate periodically if you are only going to
  sample one server.
 
  Also, the delay on the server you are polling is over 200 ms.  I'm not
  sure where ntp3.usv.ro is located but it is over 260ms for me too.  With
  this high network delay, slight network jitter can make your clock think
  it is way off.  Your machine thinks it is 7.3 ms off.  If you had more
  servers to peer with and *much* lower average delay between those
  servers your clock would stabilize.  As it stands now, you clock
  probably won't ever stabilize because your network is the primary source
  of uncertainty.
 
  For comparison, here is my ntpq -c rv output:
 
  assID=0 status=06f4 leap_none, sync_ntp, 15 events,
  event_peer/strat_chg,
  version=ntpd [EMAIL PROTECTED] Mon Oct 17 21:31:52 PDT 2005 (1)?,
  processor=i686, system=Linux/2.6.10-gentoo-r6, leap=00, stratum=2,
  precision=-20, rootdelay=21.642, rootdispersion=41.662, peer=12542,
  refid=132.249.20.88,
  reftime=c7a70d4a.975935fc  Wed, Feb 22 2006 16:18:18.591, poll=10,
  clock=0xc7a70dc0.a5847f56, state=4, offset=-0.007, frequency=-31.438,
  noise=1.052, jitter=2.529, stability=3.132
 
  Notice my offset is pretty marginal and rootdelay is rather low.  If you
  can get your root delay down you should see your offset and stability
  improve.
 
  Brandon
 
 
 Well, overnight it only reset twice; - some improvement!
 
 Here is my complete ntp.conf:
 
 
 # NOTES:
 #  - you should only have to update the server line below
 #  - if you start getting lines like 'restrict' and 'fudge'
 #and you didnt add them, AND you run dhcpcd on your
 #network interfaces, be sure to add '-Y -N' to the
 #dhcpcd_ethX variables in /etc/conf.d/net
 
 # Name of the servers ntpd should sync with
 # Please respect the access policy as stated by the responsible person.
 #server ntp.example.tld iburst
 
 server pool.ntp.org
 
 ##
 # A list of available servers can be found here:
 # http://www.pool.ntp.org/
 # http://www.pool.ntp.org/#use
 # A good way to get servers for your machine is:
 # netselect -s 3 pool.ntp.org
 ##
 
 # you should not need to modify the following paths
 driftfile   /var/lib/ntp/ntp.drift
 
 #server ntplocal.example.com prefer
 #server timeserver.example.org
 
 # Warning: Using default NTP settings will leave your NTP
 # server accessible to all hosts on the Internet.
 
 # If you want to deny all machines (including your own)
 # from accessing the NTP server, uncomment:
 #restrict default ignore
 
 
 # To deny other machines from changing the
 # configuration but allow localhost:
 restrict default nomodify nopeer
 restrict 127.0.0.1
 
 
 # To allow machines within your network to synchronize
 # their clocks with your server, but ensure they are
 # not allowed to configure the server or used as peers
 # to synchronize against, uncomment this line.
 #
 #restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrap
 ---
 
 Notice I'm using pool.ntp.org. I thought that picked a random server.
 In any event, I restarted ntpd and it picked a different server.
 
 ntpq -c peers is now:
 --
 
 remote  refid  st t when poll reach   delay   offset  jitter
 ==
 
 *Time2.Stupi.SE  .PPS   1 u   33   64  177  159.568   -4.188   5.881
 --
 
 
 We'll see how this works out.
 
 Tony

I can't speak for others but my experience with pool.ntp.org has been very
poor.  Some of the servers are close by and low latency and others are in
far off lands.

You may want to see if you can peer with a local university, military base,
ISP, or company in addition to pool.ntp.org.  There is a lot to say for
reliable average latency over your list of peers.  Adding a few more will
really help out.

Brandon

-- 
Brandon Enright
UCSD ACS/Network Operations
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What happens with masked packages?

2006-02-22 Thread Thierry de Coulon
Hello,

I'm running an amd64 Gentoo (but this is not a specific amd64 question) and 
have installed a few ~amd64 masked packages - and some work amzingly well.

So I googled for information as to where I might report success, so that they 
might be unmasked, but didn't find that info.

Where - and how - should I report masked packages that work?

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Dave Nebinger

Thierry de Coulon wrote:

Where - and how - should I report masked packages that work?


You don't need to report success.  There are teams of folks who 'bless' 
the packages into unmasked status when they feel they are ready.


Your lack of reporting a bug is an indication that there is nothing to 
block the package from being promoted.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTP problem

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 13:13, Brandon Enright [EMAIL PROTECTED] 
wrote about 'RE: [gentoo-user] NTP problem':
 Anthony E. Caudel wrote:
 I can't speak for others but my experience with pool.ntp.org has been
 very poor.  Some of the servers are close by and low latency and others
 are in far off lands.

I've never had a problem, but I use one of the geographic sub-pools.

 You may want to see if you can peer with a local university, military
 base, ISP, or company in addition to pool.ntp.org.  There is a lot to
 say for reliable average latency over your list of peers.  Adding a few
 more will really help out.

That's true.  Also, many ISPs run an NTP server and it's either poorly (or 
purposely not) advertised.  Check ntp.your isp here to see if it'll peer 
with you, since it'll probably be about as close as you can get network 
wise.  Heck, they don't advertise it (AFAICT) but the first upstream IP 
from my cable modem has an ntpd listening and you definitely can't get any 
closer than that.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Thierry de Coulon
On Wednesday 22 February 2006 21.02, Dave Nebinger wrote:
 Thierry de Coulon wrote:
  Where - and how - should I report masked packages that work?

 You don't need to report success.  There are teams of folks who 'bless'
 the packages into unmasked status when they feel they are ready.

 Your lack of reporting a bug is an indication that there is nothing to
 block the package from being promoted.

Thanks. Does not seem to me to be the best solution, though: if a package is 
masked, many users won't install it, so what's the absence of bug report 
indicating?

In my case, the funny thing is: DVDRIP is not masked and does not work. 
Acidrip is masked and works like a charm.

Let's hope that the blessing folks find out.

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] puzzled over why xrdb process hangs

2006-02-22 Thread James


Hello,

When I boot my laptop it starts up and boots the kde login screen.
When any user logs in, it gets to the third 'flashing icon' and hangs.
If I ssh into the system remotely, it's fine, it's the kde login sequence
that's hung.

quickly running 'top' I find the culprit:
krdb. I can kill it off and the sequence completes and the system is fine.

But 'eix xrdb' reveals:
x11-apps/xrdb
 Available versions:  [M]1.0.1
 Installed:   none


If it's not installed how can it be running (hung)?
I've tried all sorts of things to fix this and nothing
works, including revdep-rebuild...

ideas?

James

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: X without console log window?

2006-02-22 Thread Michael Kintzios


 -Original Message-
 From: Hans-Werner Hilse [mailto:[EMAIL PROTECTED] 
 Sent: 16 February 2006 11:55
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: X without console log window?
 
 
 Hi,
 
 On Wed, 15 Feb 2006 20:20:49 +
 Mick [EMAIL PROTECTED] wrote:
 
  I don't know if I am asking too much here, but is there a way to:
  1. Continue with all messages shown in tty12 as per default 
 syslog-ng
  configuration.
  2. Also show all/some messages to xconsole.
  3. Do not pipe everything to console during/after boot - the default
  messages there are adequate for my liking.
  
  Perhaps I am a bit confused: what is the relationship 
 between /dev/console
  and xconsole?
 
 Ah, the xconsole program man page explains it: By default, xconsole
 reads from /dev/console. I didn't knew that.
 
 What you want to archieve is more like the solution debian uses. I'll
 post it here but I haven't tried it out so I cannot promise that it
 works:
 
 syslog-ng.conf:
 ---snip---
 destination xconsole { pipe(/dev/xconsole); };
 destination terminal { file(/dev/tty12); };
 log { source(src); destination(xconsole); }
 log { source(src); destination(terminal); }
 ---snip---
 
 /etc/X11/xdm/Xsetup_0:
 ---snip---
 xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn 
 fixed -exitOnFail -file /dev/xconsole
 ---snip---
 
 That should do what you want to archieve.
 Nice alternative to xconsole is root-tail...

I've played around with your suggestions but had no joy with them.
Syslog-ng came up with many errors and although I tried different
combinations I couldn't get it to work.

Root-tail is cool but it gets covered up by different windows.  Do you
launch it as a default by entering a line in /etc/X11/xdm/Xsetup_0 ?

Xconsole does what I want it to do, but I would also like to get tty12
printing all messages and ideally would like xconsole to be positioned
above the fluxbox toolbar (height wise).
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 13:55, Thierry de Coulon 
[EMAIL PROTECTED] wrote about '[gentoo-user] What happens with masked 
packages?':
 I'm running an amd64 Gentoo (but this is not a specific amd64 question)
 and have installed a few ~amd64 masked packages - and some work amzingly
 well.

Glad to hear it.  I run entirely ~amd64 on my desktop and things work like 
a charm.

 So I googled for information as to where I might report success, so that
 they might be unmasked, but didn't find that info.

No need to report success.  If the maintainer is happy with the ebuild and 
there are no bugs filed for 30 days (or is it 90?) the package will be 
moved from testing (~arch) to stable (arch).

Remember that these keywords are (generally) for the ebuild, and doesn't 
indicate how well the product provided by upstream works.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Rafael Bugajewski
Thierry de Coulon wrote:

 Thanks. Does not seem to me to be the best solution, though: if a package
 is masked, many users won't install it, so what's the absence of bug report
 indicating?

You can also file a bug report that a package which you thing is stable is 
still masked. In this case a developer should examine the requested package a 
little bit deeper.


pgpD80sSAaUlU.pgp
Description: PGP signature


[gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Lance Jacobs

I am trying to install wordpress on a machine that will become a server
in a rack in a datacenter, so it does not need (nor do I want) X11 on
it.  Right now, emerge is happy:

   [gromit ~ #] emerge -uDptv world
   These are the packages that I would merge, in reverse order:
   Calculating world dependencies ...done!
   Total size of downloads: 0 kB

If I try to install wordpress, it wants to bring xterm, and therefore
X11, with it:

   [gromit ~ #] emerge -uDptv wordpress
   These are the packages that I would merge, in reverse order:
   Calculating dependencies ...done!
   [ebuild  N] www-apps/wordpress-2.0.1  +vhosts 0 kB
   [ebuild  N] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode 
0 kB
   [ebuild  N]  sys-apps/utempter-0.5.5.6  0 kB
   [ebuild  N]   virtual/x11-6.8  0 kB
   [ebuild  N]x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts 
-cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal 
+mmx +nls -nocxx -opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts 
(-uclibc) -xprint +xv 0 kB
   Total size of downloads: 0 kB

If I install wordpress without the -D option, any subsequent emerge with
the -D option then wants to pull in xterm and all of that other stuff.

Looking at the wordpress ebuild file, I do not see any reason for it to
have a dependency on xterm.  I'm probably missing something simple, but
I just don't see it.  Any suggestions would be appreciated.

Regards,
Lance Jacobs
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 14:38, Thierry de Coulon 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] What happens with 
masked packages?':
 Thanks. Does not seem to me to be the best solution, though: if a
 package is masked, many users won't install it, so what's the absence of
 bug report indicating?

I hate how emerge / portage calls a missing keyword masked.  It's really 
not the same thing as being in package.mask (so called hard-masked).  In 
package.mask there is something decidedly broken, be it compatibility or 
otherwise.  But, there's often nothing wrong with testing besides being 
new.

~ARCH is testing, ARCH is stable.  It's like debian's 
stable/testing/unstable braches, but more fluid.  On gentoo, packages are 
generally moved from testing to stable individually, with batch moves 
reserved for suites (like KDE or Gnome) or packages with migration issues.

We have a number of users just on this mailing list that run testing 
systems all day long.  We encounter more bugs than stable users, but 
that's alright because we /want/ to test things, and have no fear of 
submitting a bug.  Now, if you want to fire off automated 'emerge -u 
world's every night, I'd suggest staying away from testing.

So far, the system has mostly worked.  I *would* like to see some changes, 
but mainly due to the fact that ~ARCH and package.mask are used for two 
purposes right now.  See rant below.

 In my case, the funny thing is: DVDRIP is not masked and does not work.
 Acidrip is masked and works like a charm.

Is the DVD:Rip ebuild doing something incorrectly, or is it just a poor 
package from upstream?  In the former case, please file a bug at 
bugs.gentoo.org.  In the latter, a bug can be filed, but it's more likely 
to get attention in upstream rather than at bugs.gentoo.org.

I'm not sure /exactly/ what you want from your ripping program, but I'd 
check out ANDREW (ANDREW's Not a DVD Ripping and Encoding Wizard) from the 
FSF.  Sooner or later I'm gonna write an ebuild for that sucka.

(Only my rant and .sig follow, so no need to scroll if you don't want my 
opinion.)

rant
Right now, we see package.mask, -*, and sometimes even ~ARCH being used to 
indicate instability from upstream.  For example, the gcc-4.1 ebuilds work 
perfectly, yet are marked -*.  As another example, there was a bit of time 
when the KDE 3.5_beta2 ebuilds worked fine (and were ~ARCH) but they were 
package.mask'ed.

From what I understand this is incorrect.  package.mask, -*, and the ~ARCH 
(and occasionally, -ARCH) keywords are supposed to indicate the /ebuild/'s 
stability, not the upstream stability.

The problem is, we can't simply drop the practice of package.mask or -*'ing 
things like gcc-4.1 or beta versions of a DE that a good number of gentoo 
users work with everyday.  Too many systems would break if such ebuilds 
were marked STABLE with no indication that *you are installing software 
that might not work*.

What's really needed is a separate field indicating upstream 
classification, something similar to ACCEPT_KEYWORDS but indicating not 
the stability / behavior of the ebuild, but of the package from upstream.  
This would help both users (they can choose the test ebuilds, upstream, or 
both) and developers (they don't have to ever think Was upstream broken 
or was the ebuild? when they see a *-).  We could also do away with the 
perpetually masked cvs / - versions.

It would be something like ACCEPT_UPSTREAM=BETA in make.conf where you 
might also have HEAD, SNAPSHOT, ALPHA, RELEASE_CANDIDATE, RELEASE, 
BUG_FIX, SECURITY_FIX instead of BETA; Also there would either be special 
logic for HEAD or an additional flag in the ebuild for always upgrade, 
even to same version, but I suppose that's a different matter.

Of course, this would require significant work, and may not even be 
something the gentoo developers would be interested in. (The existing 
system seems to work OK, even if it's not ideal.)  But, that's my two 
cents, hopefully I won't feel the need to bore the entire mailing list 
with this again for a while.  (Or maybe I'll get off my digital butt and 
learn enough about portage to fix it myself, or at least file a GLEP)
/rant

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] RE: Re: X without console log window?

2006-02-22 Thread Mick
Michael Kintzios wrote:

 
 
 -Original Message-
 From: Hans-Werner Hilse [mailto:[EMAIL PROTECTED]
 Sent: 16 February 2006 11:55
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: X without console log window?
 
 
 Hi,
 
 On Wed, 15 Feb 2006 20:20:49 +
 Mick [EMAIL PROTECTED] wrote:
 
  I don't know if I am asking too much here, but is there a way to:
  1. Continue with all messages shown in tty12 as per default
 syslog-ng
  configuration.
  2. Also show all/some messages to xconsole.
  3. Do not pipe everything to console during/after boot - the default
  messages there are adequate for my liking.
  
  Perhaps I am a bit confused: what is the relationship
 between /dev/console
  and xconsole?
 
 Ah, the xconsole program man page explains it: By default, xconsole
 reads from /dev/console. I didn't knew that.
 
 What you want to archieve is more like the solution debian uses. I'll
 post it here but I haven't tried it out so I cannot promise that it
 works:
 
 syslog-ng.conf:
 ---snip---
 destination xconsole { pipe(/dev/xconsole); };
 destination terminal { file(/dev/tty12); };
 log { source(src); destination(xconsole); }
 log { source(src); destination(terminal); }
 ---snip---
 
 /etc/X11/xdm/Xsetup_0:
 ---snip---
 xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn
 fixed -exitOnFail -file /dev/xconsole
 ---snip---
 
 That should do what you want to archieve.
 Nice alternative to xconsole is root-tail...
 
 I've played around with your suggestions but had no joy with them.
 Syslog-ng came up with many errors and although I tried different
 combinations I couldn't get it to work.
 
 Root-tail is cool but it gets covered up by different windows.  Do you
 launch it as a default by entering a line in /etc/X11/xdm/Xsetup_0 ?

 
OK, I managed to spend some time looking into this.  For those who are still
watching this thread this is what I now have working happily:


# under my destination settings:
destination xconsole { pipe(/dev/xconsole); };
destination console { file(/dev/console); };

# under my filter settings:
filter f_info { level(info); };
filter f_notice { level(notice); };
filter f_warn { level(warn); };
filter f_crit { level(crit); };
filter f_err { level(err); };
filter f_failed { match(failed); };
filter f_denied { match(denied); };

# under my log settings:
log { source(src); filter(f_emergency); destination(console); };
log { source(src); filter (f_warn); destination(console); };
log { source(src); filter (f_err); destination(console); };
log { source(src); filter (f_crit); destination(console); };
log { source(src); filter (f_notice); destination(console); };
log { source(src); filter (f_failed); destination(console); };
log { source(src); filter (f_denied); destination(console); };


You can modify the above to change verbosity or amount of messages that
xconsole spews at you.  tty12 stills logs everything as per default
settings.

I've also added a bit of colour in the default blunt xterm used by xconsole,
just by editing /etc/X11/xdm/Xsetup_0:

xconsole -geometry 480x130-0-0 -fg green -bg black -daemon -notify -verbose
-fn fixed -exitOnFail


I hope this helps someone (besides me of course ;-).

Thanks for your responses which got me thinking.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-22 Thread Bo Andresen
On Friday 17 February 2006 12:20, Ghaith Hachem wrote:
 havn't tried it since i have a newer unspoorted ship (X300SE)
 but try this guide here
 http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers

I'll try that howto when I get some time... Thanks.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Iain Buchanan
On Wed, 2006-02-22 at 16:40 -0500, Lance Jacobs wrote:
 I am trying to install wordpress on a machine that will become a server
 in a rack in a datacenter, so it does not need (nor do I want) X11 on
 it.  Right now, emerge is happy:
[snip]
 If I try to install wordpress, it wants to bring xterm, and therefore
 X11, with it:
 
 [gromit ~ #] emerge -uDptv wordpress

hang on, that's upgrading wordpress, not installing it.  Try either
$ emerge -pvt wordpress
or
$ emerge -uDptv world
without wordpress, to see just where the xterm dep is coming in...

 These are the packages that I would merge, in reverse order:
 Calculating dependencies ...done!
 [ebuild  N] www-apps/wordpress-2.0.1  +vhosts 0 kB
 [ebuild  N] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype 
 -unicode 0 kB

It appears xterm isn't a dep of wordpress, but emerge is just trying to
install it anyway.

If you're building a server, try setting your use flags to -X -gnome
-kde -qt -gtk etc, and try again.

 If I install wordpress without the -D option, any subsequent emerge with
 the -D option then wants to pull in xterm and all of that other stuff.

absolutely.  Leaving out -D isn't a fix, just a workaround...

 Looking at the wordpress ebuild file, I do not see any reason for it to
 have a dependency on xterm.  I'm probably missing something simple, but
 I just don't see it.  Any suggestions would be appreciated.

I didn't see it either.

HTH,
-- 
Iain Buchanan iain at netspace dot net dot au

Some people say a front-engine car handles best.  Some people say a
rear-engine car handles best.  I say a rented car handles best.
-- P.J. O'Rourke

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] TARPIT iptables target

2006-02-22 Thread Dave Jones
Hi,

I was reading about the TARPIT target in the man iptables documentation,
and thought I'd like to give it a try.  Unfortunately though, it seems
not to be supported in the 2.6.15-1 Gentoo kernel.

Has anyone used the TARPIT target, or know of a way to get it into the
current kernel?  Any experience with this target or 'gotchas' about it?

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



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Richard Fish
On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:
 Looking at the wordpress ebuild file, I do not see any reason for it to
 have a dependency on xterm.  I'm probably missing something simple, but
 I just don't see it.  Any suggestions would be appreciated.

wordpress depends on virtual/httpd-php, which for the current x86
profile defaults to dev-lang/php, which inherits the php5_0-sapi
eclass (or php5_1-sapi if you accept ~x86), which contains:

   xpm? ( || ( x11-libs/libXpm virtual/x11 ) )

So if you have USE=xpm, this drags in either x11-libs/libXpm or
virtual/x11, but libXpm is still hard masked.  So you end up depending
on virtual/x11, which is satisfied currently by xorg-x11-6.8, which
requires xterm.  Simple enough?? ;-

Try with USE=-xpm.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread John Jolet



On 2/22/06 5:03 PM, Bo Andresen [EMAIL PROTECTED] wrote:

 Hi
 
 I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
 processor. I am installing it following the gentoo handbook of the amd64
 architecture - only I am using the x86 minimal livecd (2005-r1) and the
 stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?
 
 When I get to step 6a (chrooting)
 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6#doc_cha
 p1 
 I get the following error:
 
 livecd gentoo # chroot /mnt/gentoo bin/bash
 chroot: cannot run command `bin/bash': Exec format error
I've seen that when chrooting into 64-bit environment from a 32-bit kernel.
You cannot boot from the x86 minimal and use an amd64 stage file.  You need
the amd64 boot cd.
 
 I did use LVM2 for partitioning but other than that I have followed the
 handbook very throughly. I hope someone has a solution.  Please feel free to
 ask for any information that may be helpful.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Boris Fersing
2006/2/23, Bo Andresen [EMAIL PROTECTED]:
 Hi

Hi,

 I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
 processor. I am installing it following the gentoo handbook of the amd64
 architecture - only I am using the x86 minimal livecd (2005-r1) and the
 stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?

 When I get to step 6a (chrooting)
 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6#doc_chap1
 I get the following error:

 livecd gentoo # chroot /mnt/gentoo bin/bash
 chroot: cannot run command `bin/bash': Exec format error

You'll have to boot on a 64bits liveCD if you want to chroot into a
64bits environment.

Regards,

Boris.
 --
 Bo Andresen
 --
 gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Mick
John Jolet wrote:

 
 
 
 On 2/22/06 5:03 PM, Bo Andresen [EMAIL PROTECTED] wrote:
 
 Hi
 
 I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
 processor. I am installing it following the gentoo handbook of the amd64
 architecture - only I am using the x86 minimal livecd (2005-r1) and the
 stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?
 
 When I get to step 6a (chrooting)

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=6#doc_cha
 p1
 I get the following error:
 
 livecd gentoo # chroot /mnt/gentoo bin/bash
 chroot: cannot run command `bin/bash': Exec format error
 I've seen that when chrooting into 64-bit environment from a 32-bit
 kernel.
 You cannot boot from the x86 minimal and use an amd64 stage file.  You
 need the amd64 boot cd.
 
 I did use LVM2 for partitioning but other than that I have followed the
 handbook very throughly. I hope someone has a solution.  Please feel free
 to ask for any information that may be helpful.
 
At the same time when you run a command you need to type the path to it
correctly.  In this case the path is preceded by /, as in:

/bin/bash


You really need to double check commands before you hit return as it is easy
to miss a character and the whole sequence goes to pot.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] iptables script tips for ppp0

2006-02-22 Thread Mick
Hi All,

Thanks to Daniel Robbins and his articles I've got the following basic
script working on one of my boxes:

#(connection to the Internet)

UPLINK=eth0

#if you're a router (and thus should forward IP packets between interfaces),
#you want ROUTER=yes; otherwise, ROUTER=no

ROUTER=no

#change this next line to the static IP of your uplink interface for static
SNAT, or
#dynamic if you have a dynamic IP.  If you don't need any NAT, set NAT to
 to
#disable it.

NAT=
#change this next line so it lists all your network interfaces, including lo

INTERFACES=lo eth0 ppp0

if [ $1 = start ]
then
echo Starting firewall...
iptables -P INPUT DROP
iptables -A INPUT -i ! ${UPLINK} -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp -i ${UPLINK} -j DROP
#for testing use:   REJECT --reject-with tcp-reset
iptables -A INPUT -p udp -i ${UPLINK} -j DROP
#for testing use:   REJECT --reject-with icmp-port-unreachable

#   #explicitly disable ECN
#   if [ -e /proc/sys/net/ipv4/tcp_ecn ]
#   then
#   echo 0  /proc/sys/net/ipv4/tcp_ecn
#   fi   

#   #disable spoofing on all interfaces
#   for x in ${INTERFACES} 
#   do  
#   echo 1  /proc/sys/net/ipv4/conf/${x}/rp_filter 
#   done

if [ $ROUTER = yes ]
then
#we're a router of some kind, enable IP forwarding
echo 1  /proc/sys/net/ipv4/ip_forward
if [ $NAT = dynamic ]
then
#dynamic IP address, use masquerading   
echo Enabling masquerading (dynamic ip)...
iptables -t nat -A POSTROUTING -o ${UPLINK} -j
MASQUERADE
elif [ $NAT !=  ]
then
#static IP, use SNAT
echo Enabling SNAT (static ip)...
iptables -t nat -A POSTROUTING -o ${UPLINK} -j SNAT
--to ${UPIP}
fi
fi


elif [ $1 = stop ]
then
echo Stopping firewall...
iptables -F INPUT
iptables -P INPUT ACCEPT
#turn off NAT/masquerading, if any
iptables -t nat -F POSTROUTING
fi 


nmap shows me that it works okay, but of course that's only on eth0, which
is the only NIC on this box and connects to an ADSL hardware router.

No matter what I tried I have not managed to make the script work for the
ppp0 interface.  Am I supposed to duplicate all the iptables lines and
define ppp0 instead of eth0?  Is there a clever modification I could used
on the above script to get the same result?

On a different but broadly relevant topic - are there any specific sysctl
and iptables settings I need to get google talk/gaim/kopete working?
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Bo Andresen
On Thursday 23 February 2006 00:28, Mick wrote:
 At the same time when you run a command you need to type the path to it
 correctly.  In this case the path is preceded by /, as in:
 
 /bin/bash
 

 You really need to double check commands before you hit return as it is
 easy to miss a character and the whole sequence goes to pot.

At first I ran:
chroot /mnt/gentoo /bin/bash

When I got the error message I tried without the first slash since it couldn't 
do any damage to test it. Same error. By mistake it was the last command that 
went in the mail.

I guess I have to burn yet another cd then. :( Well, as longs as it works. Did 
suspect that was the problem. Wanted to be sure though.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Boyd Stephen Smith Jr.
On Wednesday 22 February 2006 17:03, Bo Andresen [EMAIL PROTECTED] 
wrote about '[gentoo-user] chroot: cannot run command `bin/bash': Exec 
format error':
 I have just purchased a new computer with a AMD Semphron 2800+ 64 bit
 processor. I am installing it following the gentoo handbook of the amd64
 architecture - only I am using the x86 minimal livecd (2005-r1) and the
 stage3-amd64-2005.1-r1.tar.bz2 tarball. Shouldn that be a problem?

Definitely a problem.

 livecd gentoo # chroot /mnt/gentoo bin/bash
 chroot: cannot run command `bin/bash': Exec format error

Your 32-but kernel can't run the 64-bit bash.  You'll have to use a 64-bit 
kernel (or as 32-bit stage3, and then gradually recompile)

 I did use LVM2 for partitioning but other than that I have followed the
 handbook very throughly. I hope someone has a solution.  Please feel
 free to ask for any information that may be helpful.

If you have a little bit of free space, do a 32-bit install to a separate 
LV.  No need to really do a full install, just enough so you can compile a 
64-bit kernel and install and configure your bootloader to load the 64-bit 
kernel.

That should be as easy as lvcreate, format, mount, extract 32-bit stage3, 
cp over /etc/resolv.conf, chroot, emerge your_favorite-sources, 
cd /usr/src/whatever, zcat /proc/config.gz  .config, make oldconfig, 
make, emerge grub, mount /boot, grub-install, make install, umount boot, 
shutdown -r now.

(Maybe a few steps I'm missing, and I don't mess with (e)lilo.)

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Lance Jacobs

On Wed, 22 Feb 2006, Richard Fish wrote:

On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:

Looking at the wordpress ebuild file, I do not see any reason for it to
have a dependency on xterm.  I'm probably missing something simple, but
I just don't see it.  Any suggestions would be appreciated.


wordpress depends on virtual/httpd-php, which for the current x86
profile defaults to dev-lang/php, which inherits the php5_0-sapi
eclass (or php5_1-sapi if you accept ~x86), which contains:

  xpm? ( || ( x11-libs/libXpm virtual/x11 ) )

So if you have USE=xpm, this drags in either x11-libs/libXpm or
virtual/x11, but libXpm is still hard masked.  So you end up depending
on virtual/x11, which is satisfied currently by xorg-x11-6.8, which
requires xterm.  Simple enough?? ;-

Try with USE=-xpm.


Hmm, that seems to fix it:

   [gromit ~ #] USE=-xpm emerge -uDptv wordpress
   These are the packages that I would merge, in reverse order:
   Calculating dependencies ...done!
   [ebuild  N] www-apps/wordpress-2.0.1  +vhosts 0 kB
   Total size of downloads: 0 kB

However, I already have

   USE=-X -gtk -gnome -qt -kde -alsa -xpm -opengl userprofiles ...

in make.conf, so somehow this is ignoring that -xpm.  Even adding

   www-apps/wordpress -xpm

in /etc/portage/package.use doesn't prevent the original emerge command
from trying to pull in xterm and X11.  What am I missing now?

Regards,
Lance Jacobs
[EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error

2006-02-22 Thread Bo Andresen
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote:
 Your 32-but kernel can't run the 64-bit bash.  You'll have to use a 64-bit
 kernel (or as 32-bit stage3, and then gradually recompile)

Thanks for explaining that.

 If you have a little bit of free space, do a 32-bit install to a separate
 LV.  No need to really do a full install, just enough so you can compile a
 64-bit kernel and install and configure your bootloader to load the 64-bit
 kernel.

 That should be as easy as lvcreate, format, mount, extract 32-bit stage3,
 cp over /etc/resolv.conf, chroot, emerge your_favorite-sources,
 cd /usr/src/whatever, zcat /proc/config.gz  .config, make oldconfig,
 make, emerge grub, mount /boot, grub-install, make install, umount boot,
 shutdown -r now.

Is that all it takes? I'll definitely try that then. Thanks again.

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc/host.conf: line 24: bad command `mdns off'

2006-02-22 Thread W.Kenworthy
not only that, but this error has been there for many months, no matter
what version of glibc you use.  It doesnt seem to cause any problems on
my systems, but if the line is erroring off, it means that you are using
MDNS by default (or so it seems), so commenting the line is status quo.

Has there been a specific bug actually raised on this so far - or is
anyone raising a bug on this?  If not I will in an hour or so.

BillK

On Wed, 2006-02-22 at 08:39 +0930, Iain Buchanan wrote:
 wah horsey, whoah!
 
 OK...
 
 1. I could have deleted the line by myself, but I didn't because I've
 never touched /etc/host.conf so far, and because it belonged to glibc, I
 didn't want to stuff around with it.  My system is working, even though
 I get this error message, so I left it as is until I was sure.
 
 2. Yes I am running an unstable system (~x86), and that includes glibc,
 gcc, kernels, and every other package I have installed.  I am aware that
 from time to time this may cause problems, but I do it for two reasons:
  a) I like to help as much as I can in detecting and reporting bugs
 before they make it to x86 (or other archs), because even though I'm
 employed as one, I'm not much of a programmer :P
  b) I like having new features and fixes sooner rather than later.
 
 3. Thanks for the comments, especially from Rumen quoting the einfo
 lines - I only have warnings mailed to me so I missed that one.
 
 4. I think I will file a bug - IMHO there should have been a
 new /etc/host.conf, which would have then been labelled ._cfg_host.conf
 (or whatever) and I would have resolved the problem myself.  If it got
 me worried, it's going to get a lot more people worried when it hits
 x86.
 
 cya,
 -- 
 Iain Buchanan iain at netspace dot net dot au
 
 ... though his invention worked superbly -- his theory was a crock of sewage
 from beginning to end.
   -- Vernor Vinge, The Peace War
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVSup vs Gentoo's Rsync

2006-02-22 Thread Ow Mun Heng
On Tue, 2006-02-21 at 05:24 -0600, Boyd Stephen Smith Jr. wrote:
 On Tuesday 21 February 2006 04:07, Ow Mun Heng [EMAIL PROTECTED] wrote 
 about '[gentoo-user] CVSup vs Gentoo's Rsync':
  Anyone wants to comment??
 
 I already think Gentoo base system requirements are a bit heavy just having 
 python in there.  (I'm trying to run gentoo on my WRT54G 1.1; storage over 
 nfs/nbd)  It would be completely over-the-top to require Modula 3 support 
 as well.

Just tried cvsup on a FreeBSD box (in vmware) and it totally sucked.
Took 1hr 20 min to update on a 512KB DSL.

Link wasn't even saturated! Might as well be on 56K connection. DL rate
max I've seen was 8KB/s


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:04:41 up 1 day, 11:39, 5 users, load average: 0.38, 0.21,
0.33 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Wireless works with Knoppix CD but not Gentoo

2006-02-22 Thread Grant
  I was originally using wpa_supplicant with this Airport and it wasn't
  working.  John Jolet said:
 
  well, you DON'T use wpa_supplicant.

 I'm not aware of any issues regarding the use of wpa_supplicant with
 regards to WEP.
 It is supported.

  and I've been working with wireless-tools ever since.  I'm using:
 
  ifconfig ath0 up
  iwconfig ath0 essid Myessid
  iwconfig ath0 key s:Mykey
  pump -i ath0

  I tried dhcpcd and it didn't work either.  Knoppix was using pump
  sucessfully so I tried that with Gentoo as above.

  Honestly, how could this not be a package versions issue?  The above
  commands work on the Knoppix 4 DVD but not on up-to-date Gentoo.
 
  - Grant

 For the sake of testing change your commands to what I use.
 This works on all the access points that I connect to:

 iwconfig ath0 essid [YOUR_ESSID]
 iwconfig ath0 mode managed
 iwconfig ath0 channel [no]
 iwconfig ath0 enc [YOUR_HEXKEY]

 Maybe just specifying the channel and mode..just a long shot.

 Could you post the output of iwconfig?.

 Come to think of it what does your /etc/conf/net
 and /etc/conf/wireless have set.
 There could be some conflicting configurations.
 Check those two files out!!!

 Rob

I am very happy to report that this has been fixed and is now working
with the Gentoo init.d script.  It was a package version issue with
madwifi-driver.  These are in portage:

0.1443.20060207
0.1440.20060206
0.1420.20060201
0.1401.20060117
0.1_pre20050420-r1

and the ONLY one that will connect to the Airport router is
0.1401.20060117.  I should submit a bug, no?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Greg Bur
On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:
However, I already haveUSE=-X -gtk -gnome -qt -kde -alsa -xpm -opengl userprofiles ...in make.conf, so somehow this is ignoring that -xpm.Even addingwww-apps/wordpress -xpm
in /etc/portage/package.use doesn't prevent the original emerge commandfrom trying to pull in xterm and X11.What am I missing now?Is it possible the xpm use flag was set when you built php?



[gentoo-user] Suspend2 issues

2006-02-22 Thread Mike Myers

Hi everybody!

I'm having problems with a laptop and the suspend2 patched kernel.  It 
seems like whenever I suspend to ram, and then resume, the video doesn't 
come back.


Also,  I'm using the intel 2200 wireless card, with the ipw2200 module, 
and if I put the laptop into hibernate and then power it back on, the 
wireless card doesn't come back up.


Is there anything I can do to fix this?  Or somewhere I can go that will 
tell me how to fix those kinds of issues?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Richard Fish
On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:
 However, I already have

 USE=-X -gtk -gnome -qt -kde -alsa -xpm -opengl userprofiles ...

 in make.conf, so somehow this is ignoring that -xpm.  Even adding

 www-apps/wordpress -xpm

 in /etc/portage/package.use doesn't prevent the original emerge command
 from trying to pull in xterm and X11.  What am I missing now?

It is not wordpress that has the xpm USE flag, but dev-lang/php.  So
that should be dev-lang/php -xpm.  Also, make sure that only a
single entry for the package appears in package.use.

For the make.conf case, well, it should work.  Maybe check the output
of emerge -DNuvp world, and if that doesn't help, post the output of
emerge --info.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 issues

2006-02-22 Thread Ow Mun Heng
On Wed, 2006-02-22 at 23:14 -0600, Mike Myers wrote:
 Hi everybody!
 
 I'm having problems with a laptop and the suspend2 patched kernel.  It 
 seems like whenever I suspend to ram, and then resume, the video doesn't 
 come back.

suspend2-sources?

what video card? did you try the vbetool hack?
 
 Also,  I'm using the intel 2200 wireless card, with the ipw2200 module, 
 and if I put the laptop into hibernate and then power it back on, the 
 wireless card doesn't come back up.

i have ipw2100. It's modprobed -r by suspend2 config files. IIRC you ma
have to modprob it back on. Not sure.

 
 Is there anything I can do to fix this?  Or somewhere I can go that will 
 tell me how to fix those kinds of issues?

I would check with the suspend2 list. But a quick search through my own
list archive (under evolution) I found no reference to your problem
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Richard Fish
On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:
 However, I already have

 USE=-X -gtk -gnome -qt -kde -alsa -xpm -opengl userprofiles ...


Oh also, not directly related to your question, but it sounds like you
might be better off using something like USE=-* userprofiles  
The -* turns off all default flags (which can change when changing
profiles, or when installing certain packages), so that only the flags
you specifically want are on.  Then I would make heavy use of
package.use to turn on specific USE flags for specific packages,
rather than globally enabling them in make.conf.

This does take a bit more care to get right, but it can result in a
very lean system, with no surprises like the x11 dependancy you had
today.

But be really careful if you do convert to this, and don't merge
anything without examining the output of emerge -DNuvp world, and
being happy with the changes it wants to make.  Switching from pam
to -pam has been reported to break systems, for example.  Once you
are happy, run the emerge for real.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 issues

2006-02-22 Thread Richard Fish
On 2/22/06, Mike Myers [EMAIL PROTECTED] wrote:
 Hi everybody!

 I'm having problems with a laptop and the suspend2 patched kernel.  It
 seems like whenever I suspend to ram, and then resume, the video doesn't
 come back.

More details please.  (video card, which X11 driver, which
console/framebuffer driver, are you suspending from console or X,
etc).

FYI, both the ATI and NVidia proprietary drivers have some support for
suspend-to-ram (you do _not_ need suspend2 or a patched kernel for
this however), but I find it works best when suspending from within X,
and the console may or may not be restored.

 Also,  I'm using the intel 2200 wireless card, with the ipw2200 module,
 and if I put the laptop into hibernate and then power it back on, the
 wireless card doesn't come back up.

Never saw this problem...it should work fine.  Is the module reloaded
when the system resumes?  Anything show up in dmesg or the system log?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Screen settings

2006-02-22 Thread Rajat Gujral
Hi richard and jerry
thanx for ur suggestions but i guess my problem remains the same ... My
xserver still starts with screen resolution of 640 x 480 ... Before the
improper shutdown it was working fine in 1024 x 768 resolution , but
now no matter what resolution i provide, it starts up with 640 x 480
resolution which makes the screen appear so big .. Is there anything
else that i can do 

Thnx  Regds 


Rajat :)


P.S. I have done X -configure and has detected the following settings : 

Section ServerLayout
 Identifier X.org Configured
 Screen 0 Screen0 0 0
 InputDevice Mouse0 CorePointer
 InputDevice Keyboard0 CoreKeyboard
EndSection

Section Files
 RgbPath /usr/lib/X11/rgb
 ModulePath /usr/lib/modules
 FontPath /usr/share/fonts/misc/
 FontPath /usr/share/fonts/TTF/
 FontPath /usr/share/fonts/Type1/
 FontPath /usr/share/fonts/CID/
 FontPath /usr/share/fonts/75dpi/
 FontPath /usr/share/fonts/100dpi/
EndSection

Section Module
 Load extmod
 Load dbe
 Load dri
 Load record
 Load xtrap
 Load glx
 Load type1
 Load freetype
EndSection

Section InputDevice
 Identifier Keyboard0
 Driver kbd
EndSection

Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol Microsoft
 Option Device /dev/ttyS1
EndSection

Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName Monitor Model
EndSection
Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional

#Option
NoAccel
# [bool]

#Option
SWcursor
# [bool]

#Option
ColorKey
# i

#Option
CacheLines
# i

#Option
Dac6Bit
# [bool]

#Option
DRI
# [bool]

#Option
NoDDC
# [bool]

#Option
ShowCache
# [bool]

#Option
XvMCSurfaces
# i

#Option
PageFlip
# [bool]
 Identifier Card0
 Driver i810
 VendorName Intel Corp.
 BoardName 82810E DC-133 CGC [Chipset Graphics Controller]
 BusID PCI:0:1:0
EndSection

Section Screen
 Identifier Screen0
 Device Card0
 Monitor Monitor0
 SubSection Display
 Viewport 0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 16

Modes 1024x768
 EndSubSection
 SubSection Display
 Viewport 0 0
 Depth 24

Modes 1024x768
 EndSubSection
EndSection


On 2/22/06, Richard Fish [EMAIL PROTECTED] wrote:
On 2/22/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote: settings.I did mine manually a long long time ago, but I think you can use xorgconfig to detect most of your settings for you...if so...hopefully that
 will fix you up.I would suggest instead X -configure.That should autodetect mostthings, unlike xorgconfig which asks you a bunch of questions thatmost users don't know the answers to.
-Richard--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Why does wordpress require xterm?

2006-02-22 Thread Lance Jacobs

On Wed, 22 Feb 2006, Richard Fish wrote:

On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote:

However, I already have

USE=-X -gtk -gnome -qt -kde -alsa -xpm -opengl userprofiles ...

in make.conf, so somehow this is ignoring that -xpm.  Even adding

www-apps/wordpress -xpm

in /etc/portage/package.use doesn't prevent the original emerge command
from trying to pull in xterm and X11.  What am I missing now?


It is not wordpress that has the xpm USE flag, but dev-lang/php.  So
that should be dev-lang/php -xpm.  Also, make sure that only a
single entry for the package appears in package.use.

For the make.conf case, well, it should work.  Maybe check the output
of emerge -DNuvp world, and if that doesn't help, post the output of
emerge --info.


Bingo -- the dev-lang/php -xpm entry solved the problem.  And, as
another poster suggested, I apparently did not have -xpm in place at the
time that php was built, as --newuse now wants to rebuild it due to the
change in that flag.

Is there some tool that I should be using, or some additional emerge
flag, that would help diagnose a problem like this?  I tried masking the
packages that were being brought in, to see if that would tell me which
package had the dependency that was bringing in the extra stuff, but
nothing ever pointed me at php -- virtual/x11-6.8 is as far as it would
ever go.  I appreciate the help and would like learn from this, and
avoid bugging the list if something like this comes up again.

Regards,
Lance

--
gentoo-user@gentoo.org mailing list



[gentoo-user] mwcollect deprecation notice

2006-02-22 Thread Chris White
Hi all,

Just a quick announcement that as per the announcement recently:

http://www.mwcollect.org/

mwcollect has merged code with nepenthes ( http://nepenthes.mwcollect.org/ ).  
That said, the upgrade path will be as follows:

1) Version 3.0.4 will be added to the tree, most likely tommorow evening PST
2) I'll file a bug with ppc to ensure the proper keywording transitions over.
3) When the nepenthes version comes out with the code merged, mwcollect will 
be removed from the tree, and the appropriate package move will be added so 
users are automatically converted over to nepenthes.

Thanks all
Chris White


pgp49HAnqrlYu.pgp
Description: PGP signature


Re: [gentoo-user] Screen settings

2006-02-22 Thread Frino Klauss
Hi Rajat,
I suggest u add the following to your Screen section.
DefaultDepth 24

just after the Monitor Line.

Cheers,
Ani Adarsh
On 2/23/06, Rajat Gujral [EMAIL PROTECTED] wrote:
Hi richard and jerrythanx for ur suggestions but i guess my problem remains the same ... My xserver still starts with screen resolution of 640 x 480 ... Before the improper shutdown it was working fine in 1024 x 768 resolution , but now no matter what resolution i provide, it starts up with 640 x 480 resolution which makes the screen appear so big .. Is there anything else that i can do 
Thnx  Regds Rajat :)P.S. I have done X -configure and has detected the following settings : Section ServerLayout Identifier 
X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard
EndSectionSection Files RgbPath /usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/
 FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/
EndSectionSection Module Load extmod Load dbe Load dri Load record Load xtrap
 Load glx Load type1 Load freetypeEndSectionSection InputDevice Identifier Keyboard0 Driver kbd
EndSectionSection InputDevice Identifier Mouse0 Driver mouse Option Protocol Microsoft Option Device /dev/ttyS1
EndSectionSection Monitor Identifier Monitor0 VendorName Monitor Vendor ModelName Monitor ModelEndSectionSection Device
 ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional #Option NoAccel # [bool] #Option SWcursor # [bool] #Option ColorKey # i
 #Option CacheLines # i #Option Dac6Bit # [bool] #Option DRI # [bool]
 #Option NoDDC # [bool] #Option ShowCache # [bool] #Option XvMCSurfaces # i
 #Option PageFlip # [bool] Identifier Card0 Driver i810 VendorName Intel Corp. BoardName 82810E DC-133 CGC [Chipset Graphics Controller]
 BusID PCI:0:1:0EndSectionSection Screen Identifier Screen0 Device Card0 Monitor Monitor0
 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4
 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0
 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 Modes 1024x768 EndSubSection
 SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSectionEndSection 

On 2/22/06, Richard Fish [EMAIL PROTECTED]
 wrote: 
On 2/22/06, Jerry Eastmanhouser 
[EMAIL PROTECTED] wrote: settings.I did mine manually a long long time ago, but I think you can use xorgconfig to detect most of your settings for you...if so...hopefully that  will fix you up.
I would suggest instead X -configure.That should autodetect mostthings, unlike xorgconfig which asks you a bunch of questions thatmost users don't know the answers to. -Richard
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Screen settings

2006-02-22 Thread Steven S.

On Thu, 23 Feb 2006, Rajat Gujral wrote:

Have you tried adding the option DefaultDepth? Since you have the Modes 
1024x768 for 24, it should come out looking 
like:


 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection

This is the only way I am ever able to get my system to go to 1280x1024, 
possibly it'll force yours to the correct setting.



Hi richard and jerry
thanx for ur suggestions but i guess my problem remains the same ... My
xserver still starts with screen resolution of 640 x 480 ... Before the
improper shutdown it was working fine in 1024 x 768 resolution , but now no
matter what resolution i provide, it starts up with 640 x 480 resolution
which makes the screen appear so big .. Is there anything else that i can do


Thnx  Regds


Rajat :)


P.S. I have done X -configure and has detected the following settings :

Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
   RgbPath  /usr/lib/X11/rgb
   ModulePath   /usr/lib/modules
   FontPath /usr/share/fonts/misc/
   FontPath /usr/share/fonts/TTF/
   FontPath /usr/share/fonts/Type1/
   FontPath /usr/share/fonts/CID/
   FontPath /usr/share/fonts/75dpi/
   FontPath /usr/share/fonts/100dpi/
EndSection

Section Module
   Load  extmod
   Load  dbe
   Load  dri
   Load  record
   Load  xtrap
   Load  glx
   Load  type1
   Load  freetype
EndSection

Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
EndSection

Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol Microsoft
   Option  Device /dev/ttyS1
EndSection

Section Monitor
   Identifier   Monitor0
   VendorName   Monitor Vendor
   ModelNameMonitor Model
EndSection
Section Device
   ### Available Driver options are:-
   ### Values: i: integer, f: float, bool: True/False,
   ### string: String, freq: f Hz/kHz/MHz
   ### [arg]: arg optional
   #Option NoAccel   # [bool]
   #Option SWcursor  # [bool]
   #Option ColorKey  # i
   #Option CacheLines# i
   #Option Dac6Bit   # [bool]
   #Option DRI   # [bool]
   #Option NoDDC # [bool]
   #Option ShowCache # [bool]
   #Option XvMCSurfaces  # i
   #Option PageFlip  # [bool]
   Identifier  Card0
   Driver  i810
   VendorName  Intel Corp.
   BoardName   82810E DC-133 CGC [Chipset Graphics Controller]
   BusID   PCI:0:1:0
EndSection

Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   Modes 1024x768
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes 1024x768
   EndSubSection
EndSection




On 2/22/06, Richard Fish [EMAIL PROTECTED] wrote:


On 2/22/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote:

settings.  I did mine manually a long long time ago, but I think you can

use

xorgconfig to detect most of your settings for you...if so...hopefully

that

will fix you up.


I would suggest instead X -configure.  That should autodetect most
things, unlike xorgconfig which asks you a bunch of questions that
most users don't know the answers to.

-Richard

--
gentoo-user@gentoo.org mailing list





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Screen settings

2006-02-22 Thread Martins Steinbergs
On Thursday 23 February 2006 08:14, Rajat Gujral wrote:
 Hi richard and jerry
 thanx for ur suggestions but i guess my problem remains the same ... My
 xserver still starts with screen resolution of 640 x 480 ... Before the
 improper shutdown it was working fine in 1024 x 768 resolution , but now no
 matter what resolution i provide, it starts up with 640 x 480 resolution
 which makes the screen appear so big .. Is there anything else that i can
 do


 Thnx  Regds

So you running KDE, have you checked KDE settings in Control Center - 
Peripherals - Display?

m
-- 
Linux 2.6.15-ck3-r1 AMD Athlon(tm) 64 Processor 3200+
 09:00:49 up 21:38,  6 users,  load average: 0.84, 0.96, 1.12
-- 
gentoo-user@gentoo.org mailing list