[gentoo-ppc-user] hda/hdc

2007-01-13 Thread Randy Barlow
Howdy all!  I'm new to ppc but not new to Gentoo.  I just picked up an old G3 
Blue and White for $20 to play around with, and I'm just starting to install 
Gentoo.  I'm noticing that my hard drive seems to be showing up as hdc and 
the cdrom as hda in the install cd environment.  Is this normal/ok?  I can't 
think of any reason that it wouldn't be OK, but it does seem strange to me.  
Perhaps the drives are plugged into the mobo backwards?  I haven't opened the 
box yet...
-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] hda/hdc

2007-01-13 Thread Nathan Smith
Randy Barlow wrote:
 Howdy all!  I'm new to ppc but not new to Gentoo.  I just picked up an old G3 
 Blue and White for $20 to play around with, and I'm just starting to install 
 Gentoo.  I'm noticing that my hard drive seems to be showing up as hdc and 
 the cdrom as hda in the install cd environment.  Is this normal/ok?  I can't 
 think of any reason that it wouldn't be OK, but it does seem strange to me.  
 Perhaps the drives are plugged into the mobo backwards?  I haven't opened the 
 box yet...

I just finished installing Gentoo on a BlueWhite, so I can offer some
advice.  Don't trouble yourself at first with the hardware (which bus
the HD is plugged in to, jumpers, etc.)  Just install Gentoo to
/dev/hdc.  Now once you boot into your kernel, more than likely the
devices will be ordered /dev/hda - hard drive /dev/hde - CD.  So then
you have to chroot in again and manually edit yaboot.conf on the
bootstrap partition to point to /dev/hda.  Also, don't forget to update
your /etc/fstab to reflect the fact that the hard drive is now /dev/hda.

Hope that helps!

-- 
Nathan Smith
[EMAIL PROTECTED]
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] hda/hdc

2007-01-13 Thread Randy Barlow
On Saturday 13 January 2007 13:10, Nathan Smith wrote:
 I just finished installing Gentoo on a BlueWhite, so I can offer some
 advice.  Don't trouble yourself at first with the hardware (which bus
 the HD is plugged in to, jumpers, etc.)  Just install Gentoo to
 /dev/hdc.  Now once you boot into your kernel, more than likely the
 devices will be ordered /dev/hda - hard drive /dev/hde - CD.  So then
 you have to chroot in again and manually edit yaboot.conf on the
 bootstrap partition to point to /dev/hda.  Also, don't forget to update
 your /etc/fstab to reflect the fact that the hard drive is now /dev/hda.

Thanks for the heads up!

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-user] Need help networking two machines.

2007-01-13 Thread Dale
Thomas Lingefelt wrote:
 Dale wrote:
   
 I stole this from here:
 http://web.onetel.net.uk/~showerail/firewall_disabling.html

 If its iptables then this should work...

 iptables -F
 iptables -t nat -F
 iptables -P INPUT  ACCEPT
 iptables -P FORWARD ACCEPT
 iptables -P OUTPUT ACCEPT

   

Sorry for the delay responding.  I ordered a 2.4GHz CPU for that
machine, replacing a 1GHz, and was hoping it would run it.  It doesn't
like the new CPU.  I think the mobo is to old or something.  No beep, no
boot, no nothing.  :-(  Anyway . . . . .

I ran those commands and it now works fine.  I can ssh and everything. 
When I run /etc/init.d/iptables save, where does it save those too?  I
want to save the rules I had, just in case.  I thought it was in /var
somewhere but I can't find it. 

I need to learn iptables I guess.  It looks like those commands open
everything up.  I also don't know if it will connect the second rig to
the net through my main box.  Something I'll have to test out later.

Thanks for the help.

Dale

:-)  :-)  :-)  :-)

-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need help networking two machines.

2007-01-13 Thread Daniel Iliev
Dale wrote:
 I ran those commands and it now works fine. I can ssh and everything.
 When I run /etc/init.d/iptables save, where does it save those too?  I
 want to save the rules I had, just in case.  I thought it was in /var
 somewhere but I can't find it. 

   

- It is defined in /etc/conf.d/iptables as variable named IPTABLES_SAVE.

 I need to learn iptables I guess.  It looks like those commands open
 everything up.  I also don't know if it will connect the second rig to
 the net through my main box.  Something I'll have to test out later.
   
No, it would not connect the second rig to The Internet if you use reserved IP 
addresses (eg. 10.X.X.X or 192.168.X.X). In that case you have to enable ip 
forwarding and network address translation (NAT) on the rig which is connected 
to The Internet.  May be it is a good start to read the Home Router Guide 
[1]. 
The following quick  dirty guide  should be suffucient:

1) put net.ipv4.ip_forward = 1 in /etc/sysctl.conf
2) sysctl -p
3) iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE
(replace ethX with the name of the interface connected to The Internet)
4) /etc/init.d/iptables save
5) rc-update -a iptables default


Please, read the guide [1] provided by Gentoo. The solution I'm showing here is 
really dirty because it doesn't provide any security.


[1] http://www.gentoo.org/doc/en/home-router-howto.xml
 
-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] unable to merge courier-authlib-0.58

2007-01-13 Thread John covici
Hi.  I got the following error when trying to merge courier-authlib:

I start after the download
 Unpacking source...

 * The dev-tcltk/expect package is not installed.

 * Without it, you will not be able to change system login passwords.

 * However non-system authentication modules (LDAP, MySQL, PostgreSQL,

 * and others) will work just fine.

 Unpacking courier-authlib-0.58.tar.bz2 to 
 /var/tmp/portage/courier-authlib-0.58/work

QA Notice: USE Flag 'elibc_uclibc' not in IUSE for net-libs/courier-authlib-0.58

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libltdl' ...

 * Requested autoconf 2.5

 * Using autoconf (GNU Autoconf) 2.61

 * Using autoheader (GNU Autoconf) 2.61

 * Requested automake latest: 1.10

 * Using automake (GNU automake) 1.10

 * Using aclocal (GNU automake) 1.10

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/bdbobj' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/gdbmobj' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/md5' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/sha1' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/libhmac' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/numlib' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/makedat' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/userdb' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/rfc822' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/random128' ...

 * Running aclocal ...

  [ ok ]

 * Running libtoolize --copy --force --automake ...

  [ ok ]

 * Running aclocal ...

  [ ok ]

 * Running autoconf ...

  [ ok ]

 * Running autoheader ...

  [ ok ]

 * Running automake --add-missing --copy --foreign ...

  [ ok ]

 * Running eautoreconf in 
'/var/tmp/portage/courier-authlib-0.58/work/courier-authlib-0.58/liblock' ...

 * Running aclocal ...

  [ ok ]

 

[gentoo-user] Slightly OT

2007-01-13 Thread Kellystewart00
I am wanting to rip all of my dvd's onto an external drive but whenever i mount 
my dvd drive (hdc) it shows it as a dvd. However when i open the folder there 
are no folders displayed as if it is a blank disk yet kaffine will still allow 
me to play the dvd. Has anyone encountered this or had any similar issues? I 
would like to have just a backup of all my movies on an external hard drive as 
i tend to lose dvd's quite a bit.
If anyone could offer some help it would be greatly appreciated.

Thanks in advance

Kel
Sent via BlackBerry® from Vodafone  

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] usb scanner HP2200c

2007-01-13 Thread Neil Bothwick
On Fri, 12 Jan 2007 23:12:57 +0100, Mihamina Rakotomandimby (R12y) wrote:

 As root:
   # scanimage --list-devices
   No scanners were identified. [...]
   # sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]
 
 As normal user:
   $ scanimage --list-devices
   No scanners were identified.
   $ sane-find-scanner -q
   found USB scanner [...]
   found USB scanner [...]

OK, so it's not a permissions issue. What shows up in your syslog when
you connect the scannner?

If you use syslog-ng, run tail -f /var/log/message then connect the
scanner.

 PS: Sorry for the CCing, just to up the thread.

Don't apologise, if you know it's wrong, don't do it. Not only do I get
two copies of your mail, but of every response when someone uses Reply to
All :(


-- 
Neil Bothwick

Bother, said Pooh, as Smurfette got dressed.


signature.asc
Description: PGP signature


Re: [gentoo-user] Packages from overlays

2007-01-13 Thread Neil Bothwick
On Fri, 12 Jan 2007 19:49:16 -0500, Willie Wong wrote:

   Is there a way of finding out whether I have packages installed on
   my system from a given overlay? I am asking because I noticed that
   some of the packages I've installed (such as GoogleEarth) from
   overlays had been incorporated into the official portage. I would
   like to 'unsubscribe' to overlays that doesn't have packages that I
   need. 

I use the attached script to look for packages installed from overlay
where the same version is available in portage. Run it with the -v option
to see a diff between the two ebuilds, otherwise it just reports names.


-- 
Neil Bothwick

Where do you think you're going today?


checkoverlay
Description: Binary data


signature.asc
Description: PGP signature


Re: [gentoo-user] Slightly OT

2007-01-13 Thread b.n.

[EMAIL PROTECTED] ha scritto:

I am wanting to rip all of my dvd's onto an external drive

 but whenever i mount my dvd drive (hdc) it shows it as a dvd.
 However when i open the folder there are no folders displayed as if 
it  is a blank disk yet kaffine

 will still allow me to play the dvd. Has anyone encountered this

I assume you're mounting it by clicking it with Konqueror in KDE (I 
dunno if nautilus on gnome has the same behaviour).


In this case, you are not truly mounting it. HAL/KDE kioslaves guess the 
kind of media you have inserted and try to behave as sensible as possible.


Sometimes with good results (for example when 'mounting' an audio-cd 
-btw, an audio-cd is never properly mounted- you have virtual folders 
with mp3, FLACs, etc. that allow you to rip a CD by simple 
copy-and-paste).Sometimes not.


 I would like to have just a backup of all my movies on an external 
hard drive as i tend to lose dvd's quite a bit.

If anyone could offer some help it would be greatly appreciated.


I know of two options:
a) mount the dvd by hand using 'mount' in a shell
b) emerge dvdrip, a truly good DVD backupping + ripping GUI tool, easy 
to use yet full of options.


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



Re: [gentoo-user] moving to ADSL

2007-01-13 Thread Mick
On Thursday 11 January 2007 22:15, Jorge Almeida wrote:
 On Thu, 11 Jan 2007, b.n. wrote:

  Well, you can disable router firewalling and firewalling your box, why
  not? Actually, that's the most sensible thing to do.

 I think I was confused and said nonsense. The box having a private IP
 doesn't preclude it seeing the IP of incoming packets, so I suppose I
 can have the router firewall active (whatever it may be) and also
 Shorewall on the workstation. After all, redundant security doesn't
 hurt.

That's how I have set up mine.  The Netgear [ADSL modem/NAT router/SPI 
firewall (statefull packet inspection)] box does its tricks, inc. acting as a 
DHCP, DNS server and gateway for the boxen on the LAN, while each LAN machine 
has an additional layer of security by running its own firewall.

BTW, my Netgear DG834 is running this much:
===
cat /proc/version
Linux version 2.4.17_mvl21-malta-mips_fp_le ([EMAIL PROTECTED]) (gcc version 
2.95.3 
20010315 (release/MontaVista)) #6 Wed Sep 7 16:50:05 CST 2005

iptables
iptables v1.2.8: no command specified
===

and this is what's in the box:
===
cat /proc/cpuinfo
processor   : 0
cpu model   : MIPS 4KEc V4.8
BogoMIPS: 149.91
wait instruction: no
microsecond timers  : yes
extra interrupt vector  : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not available

cat /proc/meminfo
total:used:free:  shared: buffers:  cached:
Mem:  14757888  9375744  53821440  1011712  3612672
Swap:000
MemTotal:14412 kB
MemFree:  5256 kB
MemShared:   0 kB
Buffers:   988 kB
Cached:   3528 kB
SwapCached:  0 kB
Active:   1608 kB
Inactive: 4268 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:14412 kB
LowFree:  5256 kB
SwapTotal:   0 kB
SwapFree:0 kB
===

You configure the iptables using the web GUI, which runs on cgi scripts.  
OpenWRT have a work-in-progress Linux image for it.  Hopefully development 
will continue because I really like to set up ssh access to it.  There are 
also ADSL routers in the market that have usb ports for attaching USB drivers 
to be accessed by LAN machines as network drivers.  Of course hacking the 
kernel on a machine like DNS-120, which can accept USB flash or hard drives 
and make them accessible from the Internet is probably a more interesting 
proposition . . .
-- 
Regards,
Mick


pgplYlbtoEXiY.pgp
Description: PGP signature


Re: [gentoo-user] Re: CTRL-ALT-NUM+

2007-01-13 Thread Benno Schulenberg
Adrian wrote:
 I call it strange magic.

 I had the same problems, Windows keys didn't work and CTR-ALT-F1
 would not switch to a VT . . .

 David said, if I'm reading this right, he had to take
 nodeadkeys out.  Well, I didn't have that options, I added it,
 and now it works fine.

Ctrl+Alt+numpadminus and Ctrl+Alt+numpadplus never worked for me. In 
KMail the Ctrl+Alt+numpadminus would do the same thing as the plain 
minus key.  Until I read this thread and started trying all kinds 
of combinations...  After toggling NumLock, it suddenly started to 
work, and now just keeps working no matter what the state of NumLock 
is, also after a reboot.  :|

Are we maybe all using KDE?  Might some obsolete configuration data 
be interfering, data that only gets flushed when the keyboard config 
is changed?  So just changing the config, and later changing it back 
should work?

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



[gentoo-user] error emerging acpiasus4

2007-01-13 Thread Bayrouni
Hello all,

I have this error when trying to emerge
app-laptop/acpi4asus.


I am using the linux-2.6.18-gentoo-r6 kernel (source installed).

Thank you for anay help.

emerge  app-laptop/acpi4asus:
[SNIP]
...

* Found sources for kernel version:
 * 2.6.18-gentoo-r6
 Unpacking source...
 Unpacking acpi4asus-0.30.tar.bz2 to /var/tmp/portage/acpi4asus-0.30/work
 Source unpacked.
 Compiling source in
/var/tmp/portage/acpi4asus-0.30/work/acpi4asus-0.30 ...
 * Preparing asus_acpi module
x86_64-pc-linux-gnu-gcc -DLINUX -D__KERNEL__ -DMODULE
-I/usr/src/linux/include `./get_include.sh
/usr/src/linux/drivers/acpi /usr/src/linux/include/acpi`
-Wall -Wstrict-prototypes -fno-strict-
   aliasing -pipe -mpreferred-stack-boundary=2
-fomit-frame-pointer   -c -o asus_core.o asus_core.c
asus_core.c:1: erreur: -mpreferred-stack-boundary=2 n'est pas entre 4 et 12
make: *** [asus_core.o] Erreur 1

!!! ERROR: app-laptop/acpi4asus-0.30 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  acpi4asus-0.30.ebuild, line 24:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KERNELSRC=/usr/src/linux  .
!!! If you need support, post the topmost build error, and the call
stack if relevant.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bug in usermod, full name of options doesn't work

2007-01-13 Thread Benno Schulenberg
Allan Gottlieb wrote:
 Goal: add gottlieb to group scanner.

 It seems that -aG works but --append --groups doesn't

Please try attached patch.

I'll report this bug upstream, mentioning that you found it.

Benno
diff -ur cvs-shadow/src/usermod.c shadow/src/usermod.c
--- cvs-shadow/src/usermod.c	2006-11-14 16:40:54.0 +0100
+++ shadow/src/usermod.c	2007-01-13 14:59:02.0 +0100
@@ -905,7 +905,7 @@
 		 */
 		int c;
 		static struct option long_options[] = {
-			{append, required_argument, NULL, 'a'},
+			{append, no_argument, NULL, 'a'},
 			{comment, required_argument, NULL, 'c'},
 			{home, required_argument, NULL, 'd'},
 			{expiredate, required_argument, NULL, 'e'},


[gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread Michael Sullivan
I'm fed up with this.  I've restarted the emerge of gcc-4.1.1-r3 on my
server box four times now.  It always gets to compiling insn-attrtab.o
and then it never stops.  I even went into the Makefile to find the
exact command used to compile this particular object file and ran the
command manually.  It only took half an hour, but when I told it to
emerge sys-devel/gcc, I guess it didn't like my manually built file, so
it's doing it over again.  This time it's been trying to build this file
for over eight hours.

 4499 root  18   0  132m  35m  416 R  1.5 60.2   8:41.94 cc1 

bullet ~ # strace -p 4499
Process 4499 attached - interrupt to quit

This strace doesn't help me much.  What does attached mean, anyway?
Is there some other way for me to get gcc-4 on my server box?  Some
binary package for an i586 maybe?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bug in usermod, full name of options doesn't work

2007-01-13 Thread Allan Gottlieb
At Sat, 13 Jan 2007 15:13:18 +0100 Benno Schulenberg [EMAIL PROTECTED] wrote:

 Allan Gottlieb wrote:
 Goal: add gottlieb to group scanner.

 It seems that -aG works but --append --groups doesn't

 Please try attached patch.
 I'll report this bug upstream, mentioning that you found it.

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



[gentoo-user] seamonkey opens dozens of really empty windows and blocks

2007-01-13 Thread Enrico Weigelt

Hi folks,

my seamonkey suddenly opened dozens of really empty windows
(no content, no title) w/ a fiew px size only and now blocks.

Does anyone have an idea where this problem might come from ?


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] Re: CTRL-ALT-NUM+

2007-01-13 Thread Adrian
On Sat, 13 Jan 2007 14:47:16 +0100
Benno Schulenberg [EMAIL PROTECTED] wrote the words:

 Adrian wrote:
  I call it strange magic.
 
  I had the same problems, Windows keys didn't work and CTR-ALT-F1
  would not switch to a VT . . .
 
  David said, if I'm reading this right, he had to take
  nodeadkeys out.  Well, I didn't have that options, I added it,
  and now it works fine.
 
 Ctrl+Alt+numpadminus and Ctrl+Alt+numpadplus never worked for me. In 
 KMail the Ctrl+Alt+numpadminus would do the same thing as the plain 
 minus key.  Until I read this thread and started trying all kinds 
 of combinations...  After toggling NumLock, it suddenly started to 
 work, and now just keeps working no matter what the state of NumLock 
 is, also after a reboot.  :|
 
 Are we maybe all using KDE?  Might some obsolete configuration data 
 be interfering, data that only gets flushed when the keyboard config 
 is changed?  So just changing the config, and later changing it back 
 should work?
 
 Benno
 -- 

I'm using Enlightenment.  

I had this same problem on a fresh system
which was installed from the 2006.1 CD.  At the time I assumed it was a
problem with the whole thing since I had problems with 2006.0 as
well.  I went back to install from a 2005.0 CD (which is what I use to
have on this computer and it worked fine) then upgraded all my packages
and the problem was there again.

I have KDE installed, but seldom actually use KDE, I just like many of
their applications.

Very odd stuff.  

Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread Roberto Martinez
Well, I've done research and found nothing, except that it happens only on  
gentoo ...


It appears that any mozilla product segfaults on my gentoo box both binary  
and from source. Firefox, Thunderbird, and Seamonkey.


At first i thought it was mozilla-launcher :

/usr/libexec/mozilla-launcher: line 117:  6048 Segmentation fault   
$mozbin $@


but when I ran the binary directly :


Segmentation fault


I have reemerged gtk+ and no luck.

Anything else I would need to try ? Any help is greatly appreciated.



--
There is no god but yourself... amen ...
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] seamonkey opens dozens of really empty windows and blocks

2007-01-13 Thread Kent Fredric

On 1/14/07, Enrico Weigelt [EMAIL PROTECTED] wrote:

my seamonkey suddenly opened dozens of really empty windows
(no content, no title) w/ a fiew px size only and now blocks.

Does anyone have an idea where this problem might come from ?


FIrefox did it a while back for me too, had the current tab break out
into its own frame while firefox cosidered it to be still part of the
tab ( and the tab canvas had anything that was dragged over it painted
MS-Windows9x Crash Style ), and then later the images jumped out of
that frame and became seperate entites in their own right.

Im postulating this is a bug, or an upcoming feature, not sure which :)

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



Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread Kent Fredric

On 1/12/07, Roberto Martinez [EMAIL PROTECTED] wrote:

Well, I've done research and found nothing, except that it happens only on
gentoo ...

It appears that any mozilla product segfaults on my gentoo box both binary
and from source. Firefox, Thunderbird, and Seamonkey.

At first i thought it was mozilla-launcher :

 /usr/libexec/mozilla-launcher: line 117:  6048 Segmentation fault
 $mozbin $@

but when I ran the binary directly :

 Segmentation fault

I have reemerged gtk+ and no luck.

Anything else I would need to try ? Any help is greatly appreciated.


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

I've not had it lately, but its been a known bug. Nobody seems to know
what exactly causes it. I know from experience tho, -ffast-math is bad
bad bad when playing with firefox, ie: firefox-bin + hand-compiled
plugin ( ie: mplayerplug-in) using -ffast-math , might = unstability.

Post CFLAGS/CXXFLAGS/LDFLAGS, GCC versions, Firefox/mozilla versions 
launcher versions please.


--
/ent Fredric
(aka theJackal)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Several Gentoo-Problems

2007-01-13 Thread chrissie
On Tue, Jan 09, 2007 at 09:20:18AM +0100, chrissie wrote:
 
 If i launch gnome-volume-control, i get the following message:
 gnome-volume-control: symbol lookup error: gnome-volume-control: undefined
 symbol: __gst_debug_min
 I already searched the web, re-emerged gstreamer, gstreamer-oss,
 gstreamer-alsa but still no solution.

I fixed this by re-emerging 
gnome-base/gnome
strange, but worked.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread James
Michael Sullivan michael at espersunited.com writes:


 Is there some other way for me to get gcc-4 on my server box?  Some
 binary package for an i586 maybe?


Hello Michael,

A few weeks ago (in December) there was an announcement
 (gentoo newsletter) about a livecd just for i586
machines. Maybe there are corresponding  files to build and 
maintain those machines somewhere.  I only use i586 for singular
purpose servers, like firewalls, DNS or mail.  Find your favorite
repository and see what options they use building i586 machines.

On one of my machines, which I only update once a month, I have:

(just a suggestion,  not an fix for your problem)

file a bug report?

hth,
James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread Roberto Martinez
On Sat, 13 Jan 2007 10:18:29 -0600, Kent Fredric [EMAIL PROTECTED]  
wrote:



On 1/12/07, Roberto Martinez [EMAIL PROTECTED] wrote:
Well, I've done research and found nothing, except that it happens only  
on

gentoo ...

It appears that any mozilla product segfaults on my gentoo box both  
binary

and from source. Firefox, Thunderbird, and Seamonkey.

At first i thought it was mozilla-launcher :

 /usr/libexec/mozilla-launcher: line 117:  6048 Segmentation fault
 $mozbin $@

but when I ran the binary directly :

 Segmentation fault

I have reemerged gtk+ and no luck.

Anything else I would need to try ? Any help is greatly appreciated.


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

I've not had it lately, but its been a known bug. Nobody seems to know
what exactly causes it. I know from experience tho, -ffast-math is bad
bad bad when playing with firefox, ie: firefox-bin + hand-compiled
plugin ( ie: mplayerplug-in) using -ffast-math , might = unstability.

Post CFLAGS/CXXFLAGS/LDFLAGS, GCC versions, Firefox/mozilla versions 
launcher versions please.



Here you go:

CXXFLAGS=-march=athlon-xp -O2 -pipe -fomit-frame-pointer
CFLAGS=-march=athlon-xp -O2 -pipe -fomit-frame-pointer


[I--] [  ] sys-devel/gcc-3.3.5.20050130-r1 (3.3)
[I--] [M~] sys-devel/gcc-config-2.0.0_rc1 (0)
[I--] [M-] sys-devel/gcc-4.0.3 (4.0)
[I--] [ ~] sys-devel/gcc-4.1.1 (4.1)

[I--] [  ] mail-client/mozilla-thunderbird-1.5.0.4 (0)
[I--] [ ~] www-client/mozilla-launcher-1.52-r1 (0)
[I--] [ ~] www-client/mozilla-firefox-bin-2.0.0.1 (0)
[I--] [ ~] www-client/mozilla-firefox-2.0.0.1 (0)

Any help appreciated :)


--
There is no god but yourself... amen ...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread Randy Barlow
On Saturday 13 January 2007 09:42, Michael Sullivan wrote:
 This strace doesn't help me much.  What does attached mean, anyway?

I don't know what the problem is, but I can tell you that strace attaches to 
a process meaning that it begins to watch the process to see what system 
calls it is making.  If the process doesn't make any system calls, then you 
won't see anything with strace.  For example,

#define BIG_NUMBER 4e15
main () {
long x;
for(int i=0; iBIG_NUMBER; i++)
x+=i;
}

When this small program is in the loop, it will not be making any system calls 
(i.e., no output/input or other system calls) so it will be a very busy 
process but it won't show anything in strace.  Hope that answers your 
question!

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages from overlays

2007-01-13 Thread Willie Wong
On Sat, Jan 13, 2007 at 12:31:33PM +, Penguin Lover Neil Bothwick squawked:
 I use the attached script to look for packages installed from overlay
 where the same version is available in portage. Run it with the -v option
 to see a diff between the two ebuilds, otherwise it just reports names.

Whoa! Thanks, Neil!

W

-- 
What was the self-sacrifice? 
I jettisoned half of a much loved and I think 
irreplaceable pair of shoes. 
Why was that self-sacrifice? 
Because they were mine!  said Ford crossly.
I think we have different value systems. 
Well mine's better. 
That's according to your... oh never mind. 
Sortir en Pantoufles: up 36 days, 15:48
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] seamonkey opens dozens of really empty windows and blocks

2007-01-13 Thread Bo Ørsted Andresen
On Saturday 13 January 2007 16:32, Enrico Weigelt wrote:
 my seamonkey suddenly opened dozens of really empty windows
 (no content, no title) w/ a fiew px size only and now blocks.

Which version do you have?

-- 
Bo Andresen


pgpc6sJGZmFak.pgp
Description: PGP signature


[gentoo-user] Re: managing 802.11a/b/g

2007-01-13 Thread James
»Q« boxcars at gmx.net writes:


  Hopefully you can get it working because frankly there's not even a 
  close second on Linux for doing what it does.

 I read caillon's blog, and I've been excited about NetworkManager since
 I saw it announced there.  I'm still too chicken to install it on a
 Gentoo system, though.

 Probably bug 154497 is enough to keep it hard masked.  Reading
 through its bugs gives some good ideas about how to avoid problems,
 for anyone who wants to give it a try.  

 http://bugs.gentoo.org/buglist.cgi?quicksearch=networkmanager


Hello Q,

This is a little bit much for me to undertake. I'll have to wait 
until NetManager is in testing...

Do drop me a line if you find an overlay, or such that a (gentoo)
user can install. or another, less feature rich alternaitve.

thanks,


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread Bo Ørsted Andresen
On Saturday 13 January 2007 15:42, Michael Sullivan wrote:
 I'm fed up with this.  I've restarted the emerge of gcc-4.1.1-r3 on my
 server box four times now.  It always gets to compiling insn-attrtab.o
 and then it never stops.

Telling us what file it stopped at isn't helpfull at all. Showing us the 
actual output where it got stuck (as in 20-30 lines) might be.

[SNIP]
  4499 root  18   0  132m  35m  416 R  1.5 60.2   8:41.94 cc1

 bullet ~ # strace -p 4499
 Process 4499 attached - interrupt to quit

 This strace doesn't help me much.  What does attached mean, anyway?
 Is there some other way for me to get gcc-4 on my server box?  Some
 binary package for an i586 maybe?

If it does no interactions with the system then there probably is something 
wrong.

Problem is thus far you've told us almost nothing. You didn't even bother to 
reply to your first thread about this topic saying: I've tried your 
suggestions and got nowhere.. Any other suggestions?. And yes, you should 
have included the above output from strace in that reply. Instead you've now 
created a new thread with almost no useful information in it.

So for starters the output of `emerge --info`, and some real output from the 
emerge. Also did you make any major upgrades on this system recently (like 
changing the CHOST or upgrading from gcc-3.x to 4.x)? If you did, did you 
follow the official Gentoo upgrade docs about it? Did you try something as 
simple as `revdep-rebuild -i -vp`? Might tell us something about the 
condition of your system too..

-- 
Bo Andresen


pgploruCzl2mR.pgp
Description: PGP signature


Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread Kent Fredric

On 1/12/07, Roberto Martinez [EMAIL PROTECTED] wrote:


[I--] [ ~] www-client/mozilla-launcher-1.52-r1 (0)


See how you get on with 1.56, 1.52 is at least 3 months old now, and
ive not seen any issues myself with 1.56.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

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

On Sat, 13 Jan 2007 12:29:09 -0500
Randy Barlow [EMAIL PROTECTED] wrote:

 On Saturday 13 January 2007 09:42, Michael Sullivan wrote:
  This strace doesn't help me much.  What does attached mean, anyway?
 
 I don't know what the problem is, but I can tell you that strace attaches 
 to 
 a process meaning that it begins to watch the process to see what system 
 calls it is making.  If the process doesn't make any system calls, then you 
 won't see anything with strace. [...]

I think since the suggestion of using strace to look if a certain
process is doing things was mine. So I owe this thread a bit more
input. Randy, you're completely right. And especially the compile task
in question, gcc -o insn-attrtab.o (shortened), is rather CPU- but
not kernel-intensive. I don't know what exactly it does (not familiar
with gcc internals), but it _heavily_ depends on the optimization
level. So my suggestion to the OP would be to carefully look at the
CFLAGS. Maybe -- please correct me if that is the case -- is a gcc
build restricted to certain CFLAGS, though. At this stage, I would
exclude a race condition involving the kernel, e.g. some stale or
missing files. It may have to do with threading, but gcc doesn't thread.

Question to the OP: What is the larger context of that gcc build? A
simple update? A larger scale configuration change?

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



Re: [gentoo-user] Packages from overlays

2007-01-13 Thread Neil Bothwick
On Sat, 13 Jan 2007 12:30:44 -0500, Willie Wong wrote:

 On Sat, Jan 13, 2007 at 12:31:33PM +, Penguin Lover Neil Bothwick
 squawked:

LOL!

  I use the attached script to look for packages installed from overlay
  where the same version is available in portage. Run it with the -v
  option to see a diff between the two ebuilds, otherwise it just
  reports names.  
 
 Whoa! Thanks, Neil!

No problem, I wrote it for my own use some time ago. It uses colordiff to
produce the diffs so either

1) Emerge colordiff
2) Edit the script to use diff instead
3) Don't use the -v option

Warranty is the usual whatever happens, happens and if it breaks, you
get to keep the pieces.


-- 
Neil Bothwick

Captain, I sense millions of minds focused on my cleavage.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: managing 802.11a/b/g

2007-01-13 Thread Neil Bothwick
On Sat, 13 Jan 2007 18:33:02 + (UTC), James wrote:

 This is a little bit much for me to undertake. I'll have to wait 
 until NetManager is in testing...
 
 Do drop me a line if you find an overlay, or such that a (gentoo)
 user can install. or another, less feature rich alternaitve.

You don't need an overlay to test a masked package, just unmask it

echo net-misc/networkmanager /etc/portage/package.unmask

You may fond that it was masked for a good reason, or you may find that
it works fine for you. Check /usr/portage/profile/package.mask for the
reason for masking. In this case it simply says masked for testing, which
I tend to take as an invitation to test :)


-- 
Neil Bothwick

Sometimes too much to drink is not enough.


signature.asc
Description: PGP signature


Re: [gentoo-user] moving to ADSL

2007-01-13 Thread Jorge Almeida

On Sat, 13 Jan 2007, Mick wrote:



That's how I have set up mine.  The Netgear [ADSL modem/NAT router/SPI
firewall (statefull packet inspection)] box does its tricks, inc. acting as a
DHCP, DNS server and gateway for the boxen on the LAN, while each LAN machine
has an additional layer of security by running its own firewall.

You configure the iptables using the web GUI, which runs on cgi scripts.
OpenWRT have a work-in-progress Linux image for it.  Hopefully development
will continue because I really like to set up ssh access to it.  There are
also ADSL routers in the market that have usb ports for attaching USB drivers
to be accessed by LAN machines as network drivers.  Of course hacking the
kernel on a machine like DNS-120, which can accept USB flash or hard drives
and make them accessible from the Internet is probably a more interesting
proposition . . .


I'm thinking of a Linksys WRT54GL, which can run OpenWRT. I need it to
have a ssh client (at least), because I want it to check its dynamic IP
periodically and ssh into my  PC at work, so that I can  ssh into my
home workstation if needed. And sshd in the router would allow to
keep the workstation off and wake it via WakeOnLan...Of course,
installing daemontools on the router to add reliability to the
IP-checking script would be even better...

Cheers.
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread John Blinka

Michael Sullivan wrote:

I'm fed up with this.  I've restarted the emerge of gcc-4.1.1-r3 on my
server box four times now.  It always gets to compiling insn-attrtab.o
and then it never stops.  I even went into the Makefile to find the
exact command used to compile this particular object file and ran the
command manually.  It only took half an hour, but when I told it to
emerge sys-devel/gcc, I guess it didn't like my manually built file, so
it's doing it over again.  This time it's been trying to build this file
for over eight hours.

 4499 root  18   0  132m  35m  416 R  1.5 60.2   8:41.94 cc1 


bullet ~ # strace -p 4499
Process 4499 attached - interrupt to quit

This strace doesn't help me much.  What does attached mean, anyway?
Is there some other way for me to get gcc-4 on my server box?  Some
binary package for an i586 maybe?
  
You don't mention what sort of machine your server is, but if it's as 
old as an i586 then,
in my experience with an old box with very little memory, compiling 
insn-attrb takes a
very long time.  My 150 mhz laptop takes days to compile gcc and seems 
to get stuck
on insn-attrb for many hours.  It's been grinding away most of today in 
insn-attrb and
has accumulated a couple of hours of cpu time in the process.  It'll 
probably be

done by Monday or Tuesday.

Just start the emerge then go away and ignore it.  It'll finish eventually.

John Blinka
--
gentoo-user@gentoo.org mailing list



[gentoo-user] [Xen] How to set or bring up vif interfaces?

2007-01-13 Thread Mihamina Rakotomandimby (R12y)
Hi,
I would like to have Xen to run unmodified OS (Windows, and some other
Linuces). I know Linux may be ran Xen-aware, but the goal is to
experiment some kernel packaging, so that I need to use the distribution
kernel.
I got the FC5 isos.
I made a file /etc/xen/fc5-guest.cfg (see attached)
But the problem is about vifX interfaces.
Neither http://fr.gentoo-wiki.com/HOWTO_XEN#Windows_XP
nor http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo tells how to bring up
such interface.
In fact I dont see anywhere any documentation on how to setup networking
for the need of Xen.
When I run Xen, I have:

asus ~ # xm create fc5-guest.cfg
Using config file /etc/xen/fc5-guest.cfg.
VNC= 3
Error: Device 0 (vif) could not be connected. Hotplug 
scripts not working.

bridge-utils is already emerged.
vnc is also emerged with USE=server

What didi I do wrong?


kernel = /usr/lib64/xen/boot/hvmloader
builder='hvm'
memory = 512
name = fc5-guest
vcpus=1
vif = [ 'bridge=xenbr0' ]
disk = 
['phy:/dev/sda5,ioemu:hda,w','file:/home/mihamina/downloads/isos/FC-5-i386-disc1.iso,hdc:cdrom,r']
device_model ='/usr/lib64/xen/bin/qemu-dm'
boot='d'
vnc=1
vncviewer=1
serial='pty'
ne2000=0


Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread Bruno Espinoza

Why don't try the binaries that Mozilla offer in his web page?? (At
http://www.mozilla.com)

2007/1/11, Roberto Martinez [EMAIL PROTECTED]:


Well, I've done research and found nothing, except that it happens only on
gentoo ...

It appears that any mozilla product segfaults on my gentoo box both binary
and from source. Firefox, Thunderbird, and Seamonkey.

At first i thought it was mozilla-launcher :

 /usr/libexec/mozilla-launcher: line 117:  6048 Segmentation fault
 $mozbin $@

but when I ran the binary directly :

 Segmentation fault

I have reemerged gtk+ and no luck.

Anything else I would need to try ? Any help is greatly appreciated.



--
There is no god but yourself... amen ...
--
gentoo-user@gentoo.org mailing list





--
BrunoProg64


Re: [gentoo-user] Firefox 2.0 and gentoo

2007-01-13 Thread William Kenworthy
On Thu, 2007-01-11 at 06:34 -0600, Roberto Martinez wrote:
 Well, I've done research and found nothing, except that it happens only on  
 gentoo ...
 
 It appears that any mozilla product segfaults on my gentoo box both binary  
 and from source. Firefox, Thunderbird, and Seamonkey.
...

this sort of thing is often due to inconsistent/missing libraries

1. run revdep-rebuild
2. `ldd /usr/bin/firefox` and look for inconsistent/missing libraries
3. `strace /usr/bin/firefox` and see if where it dies gives a clue

BillK

-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: managing 802.11a/b/g

2007-01-13 Thread james
Neil Bothwick neil at digimed.co.uk writes:


 You may fond that it was masked for a good reason, or you may find that
 it works fine for you. Check /usr/portage/profile/package.mask for the
 reason for masking. In this case it simply says masked for testing, which
 I tend to take as an invitation to test :)

Hello Neil,

OK, I see this along with the date from October of 06:


# Luis Medinas [EMAIL PROTECTED] (28 Oct 2006)
# Mask dhcdbd and NetworkManager for testing
# Steev Klimaszewski [EMAIL PROTECTED] (04 Nov 2006)
# Rename NetworkManager to networkmanager for consistency.
net-misc/dhcdbd
net-misc/networkmanager


But the aforemenntioned bugzilla issues are since this date. Reading
them makes consider this package to be a  time sink..

If it's ready for testing shouldn't it be (~) masked and not (M) masked?
If not, what the meaning of masking with (~) versus (M) ? 
Point me to the docs that I need to brush up on, as I rarely
consider a package if it's (M) masked. The few I have tried, not
one ever compiled. I'll look in this file 
(/usr/portage/profile/package.mask) in the future.


That said, as soon as I get a second system with 802.11 working,
I'll unmask it and give it a shot.

thanks,

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] moving to ADSL

2007-01-13 Thread William Kenworthy
On Sat, 2007-01-13 at 22:42 +, Jorge Almeida wrote:
 On Sat, 13 Jan 2007, Mick wrote:
 
 
  That's how I have set up mine.  The Netgear [ADSL modem/NAT router/SPI
  firewall (statefull packet inspection)] box does its tricks, inc. acting as 
  a
  DHCP, DNS server and gateway for the boxen on the LAN, while each LAN 
  machine
  has an additional layer of security by running its own firewall.
 

get the device to tell you that its IP has changed?

I use a linux box behind an old DSL300 for the above that extracts the
IP number from the interface connected to the DSL300 every 60 seconds.
If its changed, this triggers an update to dyndns (via ezupdate),
restarts the webserver, firewall, asterisk etc with the new IP and
uploads a simple html file to my webspace on my ISP as a fallback.
dyndns has proven very reliable for changing IP's - basicly just works
- for ~4 years!

I presume OpenWRT can run scripts to do something similar?

BillK

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Extracting hashes from MSWindows SAM files

2007-01-13 Thread Ali Polatel
* Mick ([EMAIL PROTECTED]) wrote:
 Hi All,

 Do you know if Gentoo offers any tool(s) to extract the hash numbers from 
 MSWindows SAM files?  I am thinking of the Linux equivalent of e.g. 
 pwdump.exe

 I need the hashes to be able to run john:
 ==
 # john sam
 No password hashes loaded
 ==

 I've looked around but couldn't find anything.
 --
 Regards,
 Mick

emerge ophcrack ,
iirc it has pwdump and bkhive to get hash stuff from SAM files

--
Ali Polatel [EMAIL PROTECTED]
gpg F0186CA2 fp: 7110 01E2 F8B6 83A2 AC52  1D9F 986B 76E1 F018 6CA2
()  ascii ribbon campaign - against html mail
/\

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Is there a gcc-4.1.1 alternative?

2007-01-13 Thread PaulNM

Michael Sullivan wrote:

I'm fed up with this.  I've restarted the emerge of gcc-4.1.1-r3 on my
server box four times now.  It always gets to compiling insn-attrtab.o
and then it never stops.  I even went into the Makefile to find the
exact command used to compile this particular object file and ran the
command manually.  It only took half an hour, but when I told it to
emerge sys-devel/gcc, I guess it didn't like my manually built file, so
it's doing it over again.  This time it's been trying to build this file
for over eight hours.

 4499 root  18   0  132m  35m  416 R  1.5 60.2   8:41.94 cc1 


I once experienced something similar on my [i686 Pentium II (Klamath)] 
server. I don't remember exactly what part of gcc was compiling at the 
time of the hang, but I found switching kernel versions helped. 
According to top, kswapd0 was very busy, basically using up most of the 
systems resources. Ssh'ing in was very slow due to that and the gcc 
compile. I stopped and restarted it twice after letting it run over 
night (8+ hrs). Normal compile time is genlop -t gcc about 4hrs and 
15mins.


Googling kswapd0 showed it's related to the kernel swapping pages in and 
out. My system was swapping like nuts, but shouldn't have.
This is a good example of that happening : 
http://lists.centos.org/pipermail/centos/2005-May/046804.html


You might want to try rebooting, or changing swapiness values to see if 
that helps. In my case there was a gentoo-sources update at the same 
time, so I just let that build and restarted.


  4499 root  18   0  132m  35m  416 R  1.5 60.2   8:41.94 cc1

According to this cc1 is only using 1.5% of cpu, and about 60% of ram. 
What does free give you, and does kswapd0 keep jumping up and down in 
terms of cpu%?



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