Re: [gentoo-user] a bit confused by emerge blockers

2005-11-04 Thread Dirk Heinrichs
Am Freitag, 4. November 2005 06:46 schrieb ext 
[EMAIL PROTECTED]:
 emerge -e mail-client/pine-4.64-r1
 --- Invalid atom in /etc/portage/package.keywords: =mail-client/pine
 Calculating dependencies

 !!! Problem in mail-client/pine-4.64-r1 dependencies.
 !!! Specific key requires an operator (mail-client/pine-4.64-r1) (try
 adding an '=') exceptions

Do as it is written there: add a =. Or simply emerge pine

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpOVjM8sLEMb.pgp
Description: PGP signature


Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 00:34:09 +0100, Peper wrote:

 emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
 (dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

According to the certmanager ebuild, it only depends on beta1, which is
available.
 
 I think kde 3.5.0_beta2 isn't a full release yet or hasn't been
 well/fully imported to portage.

I think it is more likely that some components have not changed since
beta1, so there is no need for updated ebuilds.


-- 
Neil Bothwick

I am NOT a NUMBER! I am a DEMOGRAPHIC!


signature.asc
Description: PGP signature


[gentoo-user] syntax colorful highlight printing tool?

2005-11-04 Thread Zhang Weiwu
Hello. I just tried enscript --color to print my php source. The result is
simply no color: looks they don't have good color schema for php. I also had
a look at a2ps and it doesn't even have a color option (or did I miss it?)

How do you print your php source in color?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread Neil Bothwick
On Thu, 3 Nov 2005 20:48:43 -0500, John J. Foster wrote:

 I tried changing this to 
 
 /usr/bin/date | /usr/bin/mutt -s 'System restarted' [EMAIL PROTECTED]
 
 and get the same segmentation fault.

Isn't mutt overkill for this? Do you really need a full MUA on a server.
I use mail for this sort of thing, emerge mailx.

Having said that, it would be useful to find out why mutt is segfaulting.
You can eliminate and environment differences by sourcing /etc/profile
before running it. I find this often helps with cron scripts.


-- 
Neil Bothwick

Minds are like parachutes; they only function when fully open. * Sir
James Dewar


signature.asc
Description: PGP signature


Re: [gentoo-user] a bit confused by emerge blockers

2005-11-04 Thread michael

I don't understand. Where do I add the =? What do I put before or after the 
=?

Here is the result of emerge pine. Not much better:

 # emerge pine
 Calculating dependencies ...done!

 !!! Error: the mail-client/pine-4.64-r1 package conflicts with another
 package.!!!both can't be installed on the same system together.
 !!!Please use 'emerge --pretend' to determine blockers.

Michael


On Fri, 4 Nov 2005, Dirk Heinrichs wrote:


Am Freitag, 4. November 2005 06:46 schrieb ext
[EMAIL PROTECTED]:

emerge -e mail-client/pine-4.64-r1
--- Invalid atom in /etc/portage/package.keywords: =mail-client/pine
Calculating dependencies

!!! Problem in mail-client/pine-4.64-r1 dependencies.
!!! Specific key requires an operator (mail-client/pine-4.64-r1) (try
adding an '=') exceptions


Do as it is written there: add a =. Or simply emerge pine

HTH...

Dirk
--
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstra?e 55  | Web:  http://www.capgemini.com
D-40472 D?sseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


Re: [gentoo-user] some i/o errors are making my portage useless!

2005-11-04 Thread Neil Bothwick
On Thu, 3 Nov 2005 18:13:58 -0500, Denis wrote:

 Running df shows that /usr partition is at 18% use.  However,
 running du gives more input/output errors...

Either your filesystem or your disk is screwed, backup NOW!


-- 
Neil Bothwick

Fire at will... NO WORF! Not Commander Riker!


signature.asc
Description: PGP signature


[gentoo-user] Re: syntax colorful highlight printing tool?

2005-11-04 Thread Zhang Weiwu
Looks like enscript did a good job in coloring C source code, simple need
someone to put up a color schema for php. They also have color syntax file
for perl, python, fortran, delphi.. I thought php is a bit more popular then
fortran. I think I can just use C syntax for php


On Fri, 4 Nov 2005, Zhang Weiwu wrote:

 Hello. I just tried enscript --color to print my php source. The result is
 simply no color: looks they don't have good color schema for php. I also had
 a look at a2ps and it doesn't even have a color option (or did I miss it?)

 How do you print your php source in color?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Nick Rout
On Thu, 03 Nov 2005 09:15:20 +
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Thu, 03 Nov 2005 07:56:08 +0800, William Kenworthy wrote:
 
  doesnt work well.  In my case only gives one lan IP, misses the other
  Lan and the dhcp ADSL IP.  Not a lot of use :(
 
 No, but on a box with a single IP address, it makes life a lot easier.


on my box (1 ethernet and loopback up and one wireless down) it gives
127.0.0.1

Seems a bit hit and miss.
 
A machine with one IP address usually has no outside network
connection, only 127.0.0.1
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a bit confused by emerge blockers

2005-11-04 Thread Dirk Heinrichs
Am Freitag, 4. November 2005 07:21 schrieb ext 
[EMAIL PROTECTED]:
 I don't understand. Where do I add the =? What do I put before or after
 the =?

Sorry didn't read that you tried to use -e to remove pine. There was a 
weird dependency problem with pine and uw-mailutils. Your idea to remove 
pine and re-emerge it later was indeed right, but -e (aka --emptytree) 
doesn't remove. Use emerge unmerge pine  emerge pine.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpEZWMXWRDhY.pgp
Description: PGP signature


Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread Neil Bothwick
On Thu, 03 Nov 2005 19:41:19 -0500, Dave Nebinger wrote:

 I guess really what I'm saying is no, it is not a good idea.  There's
 plenty of other backup solutions out there that would work better than
 this scheme. If you have a server and space for the file, rsync would
 even be a better solution.

I you go down this road, I would recommend rdiff-backup. It has all the
advantages of rsync (it uses librsync) but adds much more. For example, it
keeps diffs when files change, so when you realise you've messed up your
Apache config, you can restore the file you were using x days ago.


-- 
Neil Bothwick

Newsflash! Explosion at M$ beta testsite - Infinite number of monkeys
killed.


signature.asc
Description: PGP signature


Re: [gentoo-user] file with IP?

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 21:22:40 +1300, Nick Rout wrote:

  No, but on a box with a single IP address, it makes life a lot easier.

 on my box (1 ethernet and loopback up and one wireless down) it gives
 127.0.0.1
 
 Seems a bit hit and miss.

I've just tried it on four machines, one of them returned 127.0.0.1. it
turns out that one had 

127.0.0.1   localhost trillian

in /etc/hosts. removing trillian, the box's name, made hostname -i give
the right answer. 
 
 A machine with one IP address usually has no outside network
 connection, only 127.0.0.1

I meant one non-local IP address, surely the most common
configuration, this discussion would be pointless for a non-networked
machine.


-- 
Neil Bothwick

Only an idiot actually READS taglines.


signature.asc
Description: PGP signature


Re: [gentoo-user] revdep-rebuild is giving me fits

2005-11-04 Thread Dale
Holly Bostick wrote:

By the way, what version of gentoolkit do you have installed? If the
last stable (0.2.0-r2), you might very well want to consider unmasking
the unstable version for this package only -- add
app-portage/gentoolkit ~x86 to /etc/portage/package.keywords-- as
revdep-rebuild is vastly improved (though still not perfect) in the most
recent unstable version.
  


app-portage/gentoolkit-0.2.0-r2 is what I have.  I may update it when it
gets through with -ev world.

It is within the realm of possiblility that your version of
revdep-rebuild is less trustworthy than mine (I use the unstable
version), so the reason why you're receiving untrustworthy reports, and
I'm saying the application is trustworthy despite this is because my
version *is* reasonably trustworthy and yours is not (which would make
all of the following completely incorrect).

I understand that all those brokens seem like they should be of
concern, but the important thing is that *revdep-rebuild is not offering
to rebuild anything*. What I suspect has happened is that you have
changed your USE flags and possibly run revdep-rebuild based on a
revdep-rebuild -p that you had done prior to changing your USE flags.
  


Well, I'm the same way with my car, the house and just about everything
else I have.  If I think it has something that I *may* can not depend
on, I fix it.  I would rather fix it than to just hope for the best. 
I'm one of those that has had my fair share of bad luck so I paln for
the worst and hope for the best.  Brakes on my car is a good example.  I
want them to work everytime, not just on occasion.

I say this because I notice that gaim and python both have the tcltk USE
flag available; they must have been compiled at least once with this
flag active for them to require libtk8.3.so and libtcl8.3.so, but now,
even though these libraries are broken, gaim and python are not offered
to be rebuilt-- therefore the optional dependency on these libraries
must have been removed in the meantime. This could occur if you had run
revdep-rebuild -p (which makes a list of the proposed rebuilds based on
the system at that moment), changed your USE flages, removing tcltk,
then re-emerged gaim and python during the course of a emerge --newuse
world, and then run revdep-rebuild without the -p (which reads the list
created from the previous --pretend run rather than re-evaluating the
system).
  


I do have tcltk in the USE section.  Pysol, one of my card games,
requires it.

All the broken gnome libs depending on libsigc++ (which is where
libsigc-1.2.so.5 comes from) seem to be deep dependencies (no packages
are offered to be fixed related to them); since you appear to be a KDE
user, the only way I see for these libraries to be on your system is
that they were optional dependencies emerged via the +gnome USE flag
(since the direct dependencies for these libraries are not being
mentioned as broken, or offered to rebuild). Perhaps this USE flag has
also been disabled and the applications previously using it rebuilt.
  


I have not changed my USE flags in a really long time, that I can recall
anyway.  It is possible though.

The icewm applications depending on libungif are also not offered to
rebuild, although they are broken w.r.t the libraries, which suggests
that icewm is not in your world file, but is a dependency or deep
dependency of something that is.

But what's interesting is that icewm does not depend on libungif, but
giflib, which is apparently not broken, and certainly not broken w.r.t
icewm.

So what it looks like to me is that your system is very sloppy at the
moment, but nothing in fact is broken by some miracle of fate, which is
why revdep-rebuild put out all this output, but offered to fix nothing.
  


Well, that is sort of what I am working on here.  I want to get
everything back up to fubar here.  I installed Gentoo a couple years ago
and have been doing my updates pretty regular but that is about it
really.  Time to change the oil so to speak.

Or it's a gigantic bug. but if that was the case, you would likely have
noticed; you would have rather a wide range of programs and DE/WMs that
would not start, such as GNOME, IceWM, and Gaim, which I think you would
have reported if it had happened.
  


No Gnome or IceWM here.  That gaim sounds familiar though.  I may have
it but I don't use it.

So I think that revdep-rebuild is telling the truth, and although many
things are bent, nothing is broken and nothing in fact needs rebuilding.

I would consider an

emerge depclean -p (do *not* forget the -p!!!)

to begin the process of getting rid of some of these apparently
no-longer needed packages and libraries.

*Absolutely* look at the list and make sure nothing essential is
suggested to unmerge before attempting an emerge depclean without
--pretend
  


I'll do that in a bit and post what it says, we'll look at and see what
is *safe*.  LOL

  

Well, that was the command I was given and copy and paste works.  I'm
 a 

[gentoo-user] Bandwidth monitor on per service/program basis

2005-11-04 Thread Stuart Howard
Hi

I am looking to find a tool that will allow me to monitor which
applications or services are utilising my network and hence bandwidth.
Now I have found loads of useful tools that can offer me representations
of the interface but little that breaks it down on a time basis and per
program basis.
If anyone has a suggestion of a ready built application it will be welcome,
prefer it to be console based for ssh [with a nice gui at home, if I am being
greedy ].

stuart

--
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with Intel wireless networking and kernel 2.6.14

2005-11-04 Thread John Green

Hi,

I still cannot make my Intel wireless card work under
kernel 2.6.14.  Wireless works fine with 2.6.12.6, but not
with 2.6.13.x or 2.6.14.

I have a Dell Inspiron 510m with built-in wireless, for which
the ipw2100 driver is appropriate.  I have followed the advice
in the Wiki for ipw2100-with-2.6.14 and taken some extra steps,
but still nothing.

Here are the relevant outputs from dmesg.

2.6.14 (fails)
--

ieee80211_crypt: registered algorithm 'NULL'
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.0
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt :01:03.0[A] - Link [LNKB] - GSI 7 (level, low)
- IRQ 7
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
eth0 (WE) : Driver using old /proc/net/wireless support, please fix driver !

## How do I fix the driver in question? ##

I have already run emerge -C ipw2100 to remove that Gentoo
package, which is no longer needed with kernel 2.6.14.  How
does wireless still work under 2.6.12.6 without that package?
It is lucky that it does still work, otherwise you wouldn't be
reading this post.


2.6.12.6 (works)


ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.0.3
ieee80211: Copyright (C) 2004-2005 Intel Corporation
[EMAIL PROTECTED]
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.1.2
ipw2100: Copyright(c) 2003-2005 Intel Corporation
ACPI: PCI Interrupt :01:03.0[A] - Link [LNKB] - GSI 7 (level, low)
- IRQ 7
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
eth0: Reseting on mode change.
eth0: Reseting on mode change.
ieee80211_crypt: registered algorithm 'TKIP'

--

Here are the relevant outputs from iwconfig, with a few details
obscured.

2.6.14 (fails)
--

Warning: Driver for device eth0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth0  unassociated  ESSID:off/any  Nickname:ipw2100
  Mode:Managed  Channel=0  Access Point: 00:00:00:00:00:00
  Bit Rate=0 kb/s   Tx-Power:off
  Retry:on   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

2.6.12.6 (works)


eth0  IEEE 802.11b  ESSID:**  Nickname:ipw2100
  Mode:Managed  Frequency:2.462 GHz  Access Point: 00:12:**:**:**:**
  Bit Rate=11 Mb/s   Tx-Power:off
  Retry min limit:7   RTS thr:off   Fragment thr:off
  Encryption key:*
  Power Management:off
  Link Quality=100/100  Signal level=-52 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:1   Missed beacon:0



Is the warning about versions 19 and 17 significant?  It seems
to come from iwconfig, which is part of wireless-tools.  I have
version 27-r1 of that package, which is the latest available.

Thanks in advance,

John Green

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a bit confused by emerge blockers

2005-11-04 Thread Matan Peled
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dirk Heinrichs wrote:
 Am Freitag, 4. November 2005 07:21 schrieb ext 
 [EMAIL PROTECTED]:
 
I don't understand. Where do I add the =? What do I put before or after
the =?
 
 
 Sorry didn't read that you tried to use -e to remove pine. There was a 
 weird dependency problem with pine and uw-mailutils. Your idea to remove 
 pine and re-emerge it later was indeed right, but -e (aka --emptytree) 
 doesn't remove. Use emerge unmerge pine  emerge pine.
 
 HTH...
 
   Dirk

Yes, '-e' is --emptytree, you want unmerge. Also, portage tells us that in
/etc/portage/package.keywords you have a bad entry, namely =mail-client/pine.
You should only you use the '=' prefix when you specify a version - so, you
should remove the = from the entry.

HTH =)

- --
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDa0uvA7Qvptb0LKURApruAJ9bhH1Vzq8TEwNMOYb9Er508ifs4wCfYy1G
1K3W5PYnSTtbJOTg7Nos7v0=
=lphy
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge difficulty.

2005-11-04 Thread Michael A Rowley, MD
On Nov 3, 2005, at 1:42 PM, Billy Holmes wrote:Michael A Rowley, MD wrote: + set +x  it's possible there is a problem on that volume, and it's stuck waiting for IO? try fscking that volume?Ok, tried this, and it didn't seem to do anything.  The portage directory is on a NFS drive on the network, but it works from the other servers on the system, this is the only machine having a problem.    I tried doing an emerge regen, and that worked well, also emerge -pv works.  But whenever I try to get a package to emerge, I get a failure at 'set +x' on the debug screen, and it just sits there.M --  gentoo-user@gentoo.org mailing list  

Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread John J. Foster
On Fri, Nov 04, 2005 at 08:14:59AM +, Neil Bothwick wrote:
 On Thu, 3 Nov 2005 20:48:43 -0500, John J. Foster wrote:
 
  I tried changing this to 
  
  /usr/bin/date | /usr/bin/mutt -s 'System restarted' [EMAIL PROTECTED]
  
  and get the same segmentation fault.
 
 Isn't mutt overkill for this? Do you really need a full MUA on a server.
 I use mail for this sort of thing, emerge mailx.
 
I agree that this would most certainly be overkill for a server. But
this is my home machine, and I'd just like to receive notification at
work if it reboots for some odd reason.

 Having said that, it would be useful to find out why mutt is segfaulting.
 You can eliminate and environment differences by sourcing /etc/profile
 before running it. I find this often helps with cron scripts.
 
I did note something I consider quite odd, though. While rebooting,
local.start runs right _before_ inittab starts to bring the system to
runlevel 3. 

A couple thing here.

rc-status shows /etc/init.d/local as part of the _default_ runlevel.

/etc/init.d/local stop  -  warns about shutting a boot service. This
warning only happens the first time it is stopped after a reboot.
Subsequent stops and starts produce no warnings.

It looks to me like _local_ is for some reason being started earlier
than it should, or my understanding of the boot process is limited.

Thanks,
John

 
 -- 
 Neil Bothwick
 
 Minds are like parachutes; they only function when fully open. * Sir
 James Dewar

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2 (GNU/Linux)
 
 iD8DBQFDaxiDum4al0N1GQMRAqPDAJ9LOt/L/8QsADVTK/odaA3FRtzYlQCbBiuV
 R70e5FCXgWWoH/5dkVOlQzc=
 =pPl0
 -END PGP SIGNATURE-


-- 
If voting could change anything,
it would be illegal


pgpLM4cn4Boa7.pgp
Description: PGP signature


Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread Hemmann, Volker Armin
On Friday 04 November 2005 01:44, Richard Watson wrote:
 Hi ... I've just spent ages compiling my laptop. I'm really happy with
 the result ... So fast ...

 What I want to is create a directory called /backup and then create a
 tarball using the command

 # tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
 don't want to go in circles).

 I'm then going to copy off the resulting tarball to my server in case my
 laptop dies (I'd rather not have to recompile everything). Does this
 sound OK?If I ever had to restore I would copy the file to / and run the
 command.

 # tar -zxvf mylaptop.tar
 --
 Thanks, Richard


you need to --exclude /proc, or you'll run into problems.
You should exclude /sys, /dev/, /tmp and /var/run
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread Peper
 I did note something I consider quite odd, though. While rebooting,
 local.start runs right _before_ inittab starts to bring the system to
 runlevel 3.

 A couple thing here.

 rc-status shows /etc/init.d/local as part of the _default_ runlevel.

 /etc/init.d/local stop  -  warns about shutting a boot service. This
 warning only happens the first time it is stopped after a reboot.
 Subsequent stops and starts produce no warnings.

 It looks to me like _local_ is for some reason being started earlier
 than it should, or my understanding of the boot process is limited.
Strange for me. Maybe your local is added to both runlevels? Check rc-status 
boot. If it's not i would try rc-update add local boot and then rc-update del 
boot.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Hemmann, Volker Armin
On Friday 04 November 2005 00:34, Peper wrote:
  No idea, but 3.5.0_beta2 is solid here :)

 I wanted to switch to 3.5.0_beta2 too, but:

 emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
 (dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

if you'd used the 'monolithic' (I like to call them the 'correct' ebuilds), 
all you need is some /etc/portage/package.unmask magic to get a full blown, 
nice Kde 3.5.0:beta2.

KDE version:  3.4.92 (beta2, = 20051010)

from, control center

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



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 08:16:07 -0500, John J. Foster wrote:

 I did note something I consider quite odd, though. While rebooting,
 local.start runs right _before_ inittab starts to bring the system to
 runlevel 3. 

That's odd, it definitely runs last here, as it appears is should.

Have you trued using mail instead of mutt? It should give a clue as to
where the problem lies.


-- 
Neil Bothwick

Life is like an analogy.


signature.asc
Description: PGP signature


Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread John J. Foster
On Fri, Nov 04, 2005 at 01:47:55PM +, Neil Bothwick wrote:
 On Fri, 4 Nov 2005 08:16:07 -0500, John J. Foster wrote:
 
  I did note something I consider quite odd, though. While rebooting,
  local.start runs right _before_ inittab starts to bring the system to
  runlevel 3. 
 
 That's odd, it definitely runs last here, as it appears is should.

Agreed.

 
 Have you trued using mail instead of mutt? It should give a clue as to
 where the problem lies.

May I ask why trying mail, which I will this weekend, would at all
explain why local is starting in the wrong runlevel? 

Thanks,
John

-- 
If voting could change anything,
it would be illegal


pgpH6ZPfvUzyf.pgp
Description: PGP signature


Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Peper
  emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
  (dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

 According to the certmanager ebuild, it only depends on beta1, which is
 available.
No, i think that you are misreading the ebuild. I haven't chagned a single 
thing in it and emerge reports above error.

  I think kde 3.5.0_beta2 isn't a full release yet or hasn't been
  well/fully imported to portage.

 I think it is more likely that some components have not changed since
 beta1, so there is no need for updated ebuilds.
I think that there is an error in certmanager-3.5.0_beta2 ebuild. Changing 
some things manualy to 3.5_beta1 causes the same error, but with another 
version: missing ...3.5.0_beta1... So it could be a version naming error: 
logicaly after 3.5_beta1 should be 3.5_beta2 not 3.5.0_beta2.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Peper
   No idea, but 3.5.0_beta2 is solid here :)
 
  I wanted to switch to 3.5.0_beta2 too, but:
 
  emerge: there are no ebuilds to satisfy ~kde-base/libkpgp-3.5.0_beta2.
  (dependency required by kde-base/certmanager-3.5.0_beta2 [ebuild])

 if you'd used the 'monolithic' (I like to call them the 'correct' ebuilds),
 all you need is some /etc/portage/package.unmask magic to get a full blown,
 nice Kde 3.5.0:beta2.
I am not using the kde-desktop, but a lot of its components and updating one 
of them - kontact, for now, is not possilble with newest monolithic version 
of ebuilds. Try to emerge certmanager(one of the kontact's dependecies) and 
you will see...

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-04 Thread Drew Tomlinson

On 11/3/2005 12:26 PM Hans-Werner Hilse wrote:


Hi,

On Thu, 03 Nov 2005 11:11:41 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:

 


And lirc won't load.  I get these errors when inserting the module:

tv mythtv # modprobe lirc_dev
FATAL: Error inserting lirc_dev 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)

tv mythtv # modprobe lirc_i2c
WARNING: Error inserting lirc_dev 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_dev.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
FATAL: Error inserting lirc_i2c 
(/lib/modules/2.6.13-gentoo-r5/misc/lirc_i2c.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
   



well, and what does dmesg say? Do you have i2c support in the kernel?
What kind of IR receiver are you using? Do you need certain kernel
drivers for the TV card?


Thank you for your reply.  Here is the relevant part of dmesg:

lirc_dev: Unknown symbol class_simple_device_add
lirc_dev: Unknown symbol class_simple_destroy
lirc_dev: Unknown symbol class_simple_device_remove
lirc_dev: Unknown symbol class_simple_create
lirc_i2c: Unknown symbol lirc_unregister_plugin
lirc_i2c: Unknown symbol lirc_register_plugin

I think I have i2c support in the kernel via module.  This is my lsmod 
output:


[EMAIL PROTECTED] ~ $ lsmod | grep i2c
i2c_nforce2 6560  0
i2c_algo_bit9448  1 ivtv
i2c_core   20976  7 
i2c_nforce2,tda9887,msp3400,saa7115,tuner,tveeprom,i2c_algo_bit


I'm using the receiver that comes with the Hauppauge PVR-250 card.  I 
have this line in /etc/make.conf:


# From http://gentoo-wiki.com/HARDWARE_Setup_MythTV
LIRC_OPTS=--with-driver=hauppauge

From something I read last spring when I first setup the box, I have 
/etc/modules.d/lirc with these lines:


alias char-major-61 lirc_i2c
add above ivtv lirc_dev lirc_i2c

And I have rebuilt lirc against the new kernel.  Any ideas?

Thanks for your help!

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread Peper
 rc-update del boot.
Of course i meant rc-update del local boot.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread brullo nulla
Given this hell, I can't see why my original suggestion of parsing
ifconfig has not been taken into account... a couple of lines of
python/perl/whatever should do the trick.

m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge difficulty.

2005-11-04 Thread Billy Holmes

Michael A Rowley, MD wrote:
works.  But whenever I try to get a package to emerge, I get a failure 
at 'set +x' on the debug screen, and it just sits there.


-x The shell shall write to standard error a  trace  for  each  command
after  it  expands  the  command  and  before  it executes it. It is
unspecified whether the command that turns tracing off is traced.

so 'set +x' disables debugging, and 'set -x' enables it for the shell.

Perhaps the script is doing something else right after that... maybe an 
strace?


However, I don't think it's something that complicated. Normally the 
simplest answer is correct.


Check dmesg? have lockd and statd running (since it's an NFS mount)?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread John J. Foster
On Fri, Nov 04, 2005 at 08:16:07AM -0500, John J. Foster wrote:
  
 I did note something I consider quite odd, though. While rebooting,
 local.start runs right _before_ inittab starts to bring the system to
 runlevel 3. 
 
 A couple thing here.
 
 rc-status shows /etc/init.d/local as part of the _default_ runlevel.
 
 /etc/init.d/local stop  -  warns about shutting a boot service. This
 warning only happens the first time it is stopped after a reboot.
 Subsequent stops and starts produce no warnings.
 
 It looks to me like _local_ is for some reason being started earlier
 than it should, or my understanding of the boot process is limited.
 
OK, I may have found the answer here, which I'll verify tonight when I
get home and can watch a reboot.

/etc/init.d/local needsme

showed that /etc/init.d/splash was dependent on local. splash was in the
boot runlevel, although I haven't used splash for a few months now, and
obviously forgot to remove it. I am pretty sure this will solve my
problem.

I'll let you know.
John

-- 
If voting could change anything,
it would be illegal


pgpSryQwtBezB.pgp
Description: PGP signature


Re: [gentoo-user] lockup and freeze

2005-11-04 Thread Tamas Sarga

On Tue, 1 Nov 2005, Mike Williams wrote:


 On Tuesday 01 November 2005 11:17, Tamas Sarga wrote:
  I have a problem. My PC lockups time to time with the attached dmesg. It
  occurs once or twice a week. After a minute or so it comes back, and the
  computer works again. At last time it dropped lost interrupts into
  dmesg, but I can't save it because it didn't come back after ten minutes
  and I had to reset the machine.
  What can be the problem? What other informations do you need?

 I'd say your hard drive/ide controller is about to die, or perhaps the cable
 isn't seated properly or broken.
 Check that the IDE cable is seated properly, and not damaged at all.
 Install, and run, smartmontools. That could give you loads of info.

 --
 Mike Williams

Hi,

Thanks for all the responses. It seems that I'm not as unfortunate as it
seemed at first glance, but on the other hand I'm not as good in
hardwares as I thought.
The lockups and freezes are gone for three days. The problem was that my
8 mm system fan was on the same power-cable as my HDD. It disturbed the
drive. I linked the fan to the motherboard, it is fine at the moment. I
hope my mobo will be able to supply two fans, one for CPU and one for
system.
I would have never thought that a 8mm fan can disturb a HDD's power
supply.

TIA.
Cheers,
Tamas Sarga Sárga Tamás
--
Make the world confused!Zavard össze a világot!
Smile on monday morning!Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 09:05:09 -0500, John J. Foster wrote:

  Have you trued using mail instead of mutt? It should give a clue as to
  where the problem lies.
 
 May I ask why trying mail, which I will this weekend, would at all
 explain why local is starting in the wrong runlevel? 

It wouldn't, but it may help to determine whether the problem is specific
to mutt or wider ranging.


-- 
Neil Bothwick

If nothing sticks to Teflon, how do they stick teflon on the pan?


signature.asc
Description: PGP signature


Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread capsel
Or maybe bind / to a subdir and tar from it. It's like
--one-filesystem but it works always (for me).

2005/11/4, Neil Bothwick [EMAIL PROTECTED]:
 On Fri, 4 Nov 2005 14:29:17 +0100, Hemmann, Volker Armin wrote:

  you need to --exclude /proc, or you'll run into problems.
  You should exclude /sys, /dev/, /tmp and /var/run

 And /sys and much of /mnt or /media. It's probably best to use the
 --one-filesystem option and specify the directories you do want

 tar --one-filesystem -czf /backup/name.tar.gz / /home /any/other/partition/


 --
 Neil Bothwick

 I'm Not Sure If I'm Homosexual, Said Tom, Half In Earnest.




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wine emerge wants to downgrade?

2005-11-04 Thread Mark Knecht
Is there some small thing I'm overlooking. It seems that portage
thinks that wine-20050930 is newer than the first official release
wine-0.9 and therefore wants to 'upgrade' Wine when it's really a
downgrade.

Does portage need to be informed of something special here?

Thanks,
Mark

lightning ~ # emerge -pv world

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

Calculating world dependencies ...done!
[ebuild U ] sys-apps/man-pages-2.11 [2.09] +nls 1,669 kB
[ebuild U ] app-emulation/wine-20050930 [0.9] +X +alsa -arts +cups
-debug +e sd +gif -glut +jack +jpeg -lcms -ldap -nas +ncurses +opengl
+oss -scanner -truet ype +xml2 0 kB

Total size of downloads: 1,669 kB
lightning ~ #

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 16:12:07 +0100, brullo nulla wrote:

 Given this hell, I can't see why my original suggestion of parsing
 ifconfig has not been taken into account... a couple of lines of
 python/perl/whatever should do the trick.

Given the apparent vagaries of hostname -i, I'm inclined to agree,
although sed would suffice, to avoid anyone having to subject themselves
to perl :)


-- 
Neil Bothwick

Indecision is the key to flexibility.


signature.asc
Description: PGP signature


Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 17:02:41 +0100, capsel wrote:

 Or maybe bind / to a subdir and tar from it. It's like
 --one-filesystem but it works always (for me).

Why go to the trouble of mounting / again when tar already has an option
to deal with this?

I don't doubt that it works, but it seems like a long-winded way of doing
things.


-- 
Neil Bothwick

Press any key to continue or any other key to quit


signature.asc
Description: PGP signature


Re: [gentoo-user] file with IP?

2005-11-04 Thread Jorge Almeida
On Fri, 4 Nov 2005, brullo nulla wrote:

 Given this hell, I can't see why my original suggestion of parsing
 ifconfig has not been taken into account... a couple of lines of
 
It has, at least by the OP (that would be me).

/sbin/ifconfig|grep -m 1 inet|sed -e 's/^\s*inet addr://'|sed -e 's/\s.*$//'
-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-04 Thread Hans-Werner Hilse
Hi,

On Fri, 04 Nov 2005 06:31:55 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:

 And lirc won't load.  I get these errors when inserting the module:
 [...]
 
 well, and what does dmesg say? Do you have i2c support in the kernel?
 What kind of IR receiver are you using? Do you need certain kernel
 drivers for the TV card?
 
 Thank you for your reply.  Here is the relevant part of dmesg:
 
 lirc_dev: Unknown symbol class_simple_device_add
 lirc_dev: Unknown symbol class_simple_destroy
 [...]

While just checking google to make sure that I'm not gonna talk
nonsense here, I found a lot of similar trouble descriptions. It seems
that there's some incompatibility between newer kernel versions and
some lirc versions. Are you running lirc w/ ~x86 or just x86? If the
latter is the case (lirc  0.7.2), I'd recommend

$ ACCEPT_KEYWORDS=~x86 emerge lirc


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



Re: [gentoo-user] wine emerge wants to downgrade?

2005-11-04 Thread Holly Bostick
Mark Knecht schreef:
 Is there some small thing I'm overlooking. It seems that portage 
 thinks that wine-20050930 is newer than the first official release 
 wine-0.9 and therefore wants to 'upgrade' Wine when it's really a 
 downgrade.
 
 Does portage need to be informed of something special here?

Yes, it does. There is a bug on b.g.o about the issue, but said issue
will ex not be resolved until the maintainer sees how future releases
are going to be numbered. For now, just mask

(piped to prevent Thunderbird quoting)

| app-emulation/wine-0.9

in /etc/portage/package.mask, and that should do it. (It's how I did it).

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



Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Neil Bothwick
On Fri, 4 Nov 2005 15:25:15 +0100, Peper wrote:

  According to the certmanager ebuild, it only depends on beta1, which
  is available.

 No, i think that you are misreading the ebuild. I haven't chagned a
 single thing in it and emerge reports above error.

It emerges OK here, so it would appear I am reading it correctly.

# emerge certmanager -pv

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

Calculating dependencies ...done!
[ebuild   R   ] kde-base/certmanager-3.5.0_beta2  +arts -debug
+kdeenablefinal (-kdexdeltas) -xinerama 0 kB

Total size of downloads: 0 kB

[EMAIL PROTECTED] localbackup]# emerge libkpgp -pv

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

Calculating dependencies ...done!
[ebuild   R   ] kde-base/libkpgp-3.5_beta1  +arts -debug +kdeenablefinal
(-kdexdeltas) -xinerama 0 kB

  I think it is more likely that some components have not changed since
  beta1, so there is no need for updated ebuilds.

 I think that there is an error in certmanager-3.5.0_beta2 ebuild.
 Changing some things manualy to 3.5_beta1 causes the same error, but
 with another version: missing ...3.5.0_beta1... So it could be a
 version naming error: logicaly after 3.5_beta1 should be 3.5_beta2 not
 3.5.0_beta2.

It looks like they changed the naming between beta1 and beta2, but the
ebuild appears to take this into account.
 

-- 
Neil Bothwick

Press any key to continue or any other key to quit


signature.asc
Description: PGP signature


Re: [gentoo-user] wine emerge wants to downgrade?

2005-11-04 Thread Mark Knecht
On 11/4/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Mark Knecht schreef:
  Is there some small thing I'm overlooking. It seems that portage
  thinks that wine-20050930 is newer than the first official release
  wine-0.9 and therefore wants to 'upgrade' Wine when it's really a
  downgrade.
 
  Does portage need to be informed of something special here?

 Yes, it does. There is a bug on b.g.o about the issue, but said issue
 will ex not be resolved until the maintainer sees how future releases
 are going to be numbered. For now, just mask

 (piped to prevent Thunderbird quoting)

 | app-emulation/wine-0.9

 in /etc/portage/package.mask, and that should do it. (It's how I did it).

 Holly

OK, thanks Holly. That's basically how I got it installed.

I generally avoid putting these masks in as I seem to forget they are there. :-)

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread brullo nulla
  Given this hell, I can't see why my original suggestion of parsing
  ifconfig has not been taken into account... a couple of lines of
 
 It has, at least by the OP (that would be me).

 /sbin/ifconfig|grep -m 1 inet|sed -e 's/^\s*inet addr://'|sed -e 's/\s.*$//'

Wow. You evil geniuses of regular expressions! °_°

I'm not that good with sed, awk and the like... I'd have used a couple
lines of python, probably. You know, I belong to the new, lazy,
spoiled generations of desktop Linux users, that no more learn all the
old Unix magic formulas... :)

m.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Billy Holmes

brullo nulla wrote:

Wow. You evil geniuses of regular expressions! °_°


can even shorten it with just one sed expression:

/sbin/ifconfig eth0 | sed -n 's/^.*inet addr:\([^ ]*\) .*$/\1/p'


--
gentoo-user@gentoo.org mailing list



[gentoo-user] accessing usb mp3 player

2005-11-04 Thread maxim wexler
Hi all,

I have a 256M USB player in good working order. After
mounting: 

[EMAIL PROTECTED] ~ $ ls -l /mnt/usb
total 0
dr-xr-xr-x  2 root root 0 Nov  4 10:06 001
dr-xr-xr-x  2 root root 0 Nov  4 10:06 002
dr-xr-xr-x  2 root root 0 Nov  4 10:06 003
-r--r--r--  1 root root 0 Nov  4 10:07 devices

devices contains more info:
snip
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  4
Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=16
#Cfgs=  1
P:  Vendor=04e8 ProdID=9826 Rev= 1.00
S:  Manufacturer=NewTech Inc
S:  Product=USB Mass Storage Device 2.0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=255ms

hmm, NewTech, lsusb -v calls Samsung manufacturer.

The three dirs lead to unreadable binary files.

But the player is fully loaded. How do I r/w files
from/to the thing? 

-mw



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a bit confused by emerge blockers

2005-11-04 Thread michael

That was it - thanks very much!

Michael


On Fri, 4 Nov 2005, Dirk Heinrichs wrote:


Am Freitag, 4. November 2005 07:21 schrieb ext
[EMAIL PROTECTED]:

I don't understand. Where do I add the =? What do I put before or after
the =?


Sorry didn't read that you tried to use -e to remove pine. There was a
weird dependency problem with pine and uw-mailutils. Your idea to remove
pine and re-emerge it later was indeed right, but -e (aka --emptytree)
doesn't remove. Use emerge unmerge pine  emerge pine.

HTH...

Dirk
--
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstra??e 55  | Web:  http://www.capgemini.com
D-40472 D??sseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


Re: [gentoo-user] accessing usb mp3 player

2005-11-04 Thread Ryan Viljoen
What is the command that you use to mount it?


--
When you say I wrote a program that crashed Windows, people just
stare at you blankly and say Hey, I got those with the system, for
free. - Linus Torvalds, 1995

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Alexander Skwar
Billy Holmes schrieb:
 brullo nulla wrote:
 Wow. You evil geniuses of regular expressions! °_°
 
 can even shorten it with just one sed expression:
 
 /sbin/ifconfig eth0 | sed -n 's/^.*inet addr:\([^ ]*\) .*$/\1/p'

Doesn't work, as it makes wrong assumptions. It assumes, that
there's string inet addr:. For example in LANG=de_DE, that's
wrong:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0
ra0   Protokoll:Ethernet  Hardware Adresse 00:14:A5:00:AE:D2
  inet Adresse:192.168.1.11  Bcast:192.168.1.31  Maske:255.255.255.224
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12234 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6965 errors:0 dropped:0 overruns:0 carrier:0
  Kollisionen:11 Sendewarteschlangenlänge:1000
  RX bytes:18131234 (17.2 Mb)  TX bytes:665533 (649.9 Kb)
  Interrupt:5

To fix that, the locale should be shanged, eg. like this:

$ LC_ALL=C /sbin/ifconfig ra0

Let's make a different assumption, which is independent of
the locale - IP is after the 1st : in the 2nd line. One
solution:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | head -n 2 | tail -n 1 | sed 
's|.*:\(.*\) .*:.*:.*|\1|'
192.168.1.11

Doing away with tail -n 1, as sed can do that:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | head -n 2 | sed -e '$!d' -e 
's|.*:\(.*\) .*:.*:.*|\1|'
192.168.1.11

head is also useless:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | sed -n 2p | sed -e '$!d' -e 
's|.*:\(.*\) .*:.*:.*|\1|'
192.168.1.11

But I actually don't quite like the regexp - it's too long... With
perl, I'd use a non-gready .*, like so:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | sed -n 2p | sed -e '$!d' | perl -pe 
's|.*?:(.*?) .*|$1|'
192.168.1.11

How to do it more ellegant?

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with Intel wireless networking and kernel 2.6.14

2005-11-04 Thread Richard Fish

John Green wrote:


Hi,

I still cannot make my Intel wireless card work under
kernel 2.6.14.  Wireless works fine with 2.6.12.6, but not
with 2.6.13.x or 2.6.14.

I have a Dell Inspiron 510m with built-in wireless, for which
the ipw2100 driver is appropriate.  I have followed the advice
in the Wiki for ipw2100-with-2.6.14 and taken some extra steps,
but still nothing.

Here are the relevant outputs from dmesg.

2.6.14 (fails)
--

ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
eth0 (WE) : Driver using old /proc/net/wireless support, please fix driver !

## How do I fix the driver in question? ##
 



Not important...it's just a note for the developers.  I get the same 
warning (again, ipw2200), and it works fine.


I noticed that the version in the kernel is the 'stable' .0 version, 
while the one you are using with 2.6.12.6 is a .2 'unstable' version.  
It might be interesting to try merging the 1.1.0 version of the package 
with 2.6.12.6, and see if you have the same issue.  That would tell you 
if it is a driver version or kernel change that is causing the problem.



I have already run emerge -C ipw2100 to remove that Gentoo
package, which is no longer needed with kernel 2.6.14.  How
does wireless still work under 2.6.12.6 without that package?
 



Sounds like removing the package didn't remove the compiled kernel 
modules from /lib/modules/2.6.12.6.  Both unusual and lucky!



Is the warning about versions 19 and 17 significant?  It seems
to come from iwconfig, which is part of wireless-tools.  I have
version 27-r1 of that package, which is the latest available.
 



28_pre10 is available for ~x86.  Try:

   echo net-wireless/wireless-tools ~x86 /etc/portage/package.keywords
   emerge -Dv wireless-tools

Also, there are now versions of the ieee80211 and ipw2100 packages that 
will merge with 2.6.14.  They are also masked ~x86, so you will need to 
do the same updates to package.keywords:


   echo net-wireless/ieee80211 ~x86 /etc/portage/package.keywords
   echo net-wireless/ipw2100 ~x86 /etc/portage/package.keywords

This should give you the latest 1.1.3 version of the driver.  If it 
still won't work with 2.6.14, I suggest subscribing and posting to the 
devel list at:


http://lists.sourceforge.net/lists/listinfo/ipw2100-devel

HTH,
-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What about

ip addr show dev eth0 | awk '{print $2}' | grep -v \: | head -n 1 | cut -d'/' 
-f1


- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDa6YFAlpOsGhXcE0RAsLgAJ9voJclEKGEAYrSUYT+fWnLVl6gVwCfa3hk
HpwUqV4lmjC/lt35HJFpSgU=
=StWO
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Billy Holmes

Alexander Skwar wrote:

But I actually don't quite like the regexp - it's too long... With
perl, I'd use a non-gready .*, like so:


then don't use a regex at all:

/sbin/ifconfig eth0 | grep inet | cut -d : -f 2 | cut -d ' ' -f 1

--
gentoo-user@gentoo.org mailing list



[gentoo-user] entering dark area - ipv6

2005-11-04 Thread Martins Steinbergs
hi

i was setting up crossover cable connection for laptop using this:
http://www.gentoo.org/doc/en/home-router-howto.xml

dont know was it successful cause laptop still in shop, but for sure i lost 
sit0 and therefore firewall (firestarter) wont start

where i should look for problem? what config fails are responsible for sit0? 
or this might be kernel issue? I'm totaly lost and dont know where to start.

martins



 
-- 
Linux 2.6.13 AMD Athlon(tm) 64 Processor 3200+
 19:54:45 up 41 min,  5 users,  load average: 0.02, 0.04, 0.02
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Fredrik

ifconfig eth0 | awk 'NR==2 {print $2}' | sed -e s/addr://

will also work.(you may need to modify it so it fit your own cards)

//Fredrik


Billy Holmes wrote:

Alexander Skwar wrote:


But I actually don't quite like the regexp - it's too long... With
perl, I'd use a non-gready .*, like so:



then don't use a regex at all:

/sbin/ifconfig eth0 | grep inet | cut -d : -f 2 | cut -d ' ' -f 1



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Alexander Skwar
Arturo 'Buanzo' Busleiman schrieb:

 What about
 
 ip addr show dev eth0 | awk '{print $2}' | grep -v \: | head -n 1 | cut -d'/' 
 -f1

IMO, too many different commands to be elegant...

Further:

[EMAIL PROTECTED] ~ $ ip addr show dev ra0
bash: ip: command not found

But if awk is okay, I'd do:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | sed -n 2p | sed -e '$!d' | awk -F: 
'{print $2}' | sed 's| .*||'
192.168.1.11

Or if we make the assumption, that the network mask will
always start with 255., we could do:

[EMAIL PROTECTED] ~ $ /sbin/ifconfig ra0 | awk -F: '/:255\./{print $2}' | sed 
's| .*||'
192.168.1.11

Any awk gurus around? If so, how to do away with that sed command?

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Alexander Skwar
Billy Holmes schrieb:
 Alexander Skwar wrote:
 But I actually don't quite like the regexp - it's too long... With
 perl, I'd use a non-gready .*, like so:
 
 then don't use a regex at all:
 
 /sbin/ifconfig eth0 | grep inet | cut -d : -f 2 | cut -d ' ' -f 1
 

Don't like that - there might be locales, where there's no inet
in the line. IMO better:

/sbin/ifconfig eth0 | grep :255\. | cut -d : -f 2 | cut -d ' ' -f 1

How about that:

[EMAIL PROTECTED] ~ $ echo `/sbin/ifconfig ra0` | cut -d : -f 8 | cut -d ' ' -f 
1
192.168.1.11

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread Richard Fish

Neil Bothwick wrote:


On Fri, 4 Nov 2005 17:02:41 +0100, capsel wrote:

 


Or maybe bind / to a subdir and tar from it. It's like
--one-filesystem but it works always (for me).
   



Why go to the trouble of mounting / again when tar already has an option
to deal with this?

I don't doubt that it works, but it seems like a long-winded way of doing
things.



It has one major advantage regarding udev, in that some device nodes 
(/dev/console, for example) must exist in the /dev directory on the root 
filesystem, and when /dev is mounted and you use --one-filesystem, you 
won't backup those nodes.  Binding / somewhere else let's you backup 
what is really on the root filesystem, so you will restore those device 
nodes when recovering from a live CD.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Skwar wrote:
 Arturo 'Buanzo' Busleiman schrieb:
 
 
What about

ip addr show dev eth0 | awk '{print $2}' | grep -v \: | head -n 1 | cut -d'/' 
-f1
 
 
 IMO, too many different commands to be elegant...

But simple. The idea of writing scripts is that any non-guru will understand it 
easily.

For a **very** simple unix-scripter

awk means: print fields
grep: print [non] matching
head: from start
tail: from end
cut: name says it all

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDa6ryAlpOsGhXcE0RApZNAJ45EF9Wpx7zd6OFdnVJDvprvJUCdACffH3e
dNJFp0K6Ya1gVY3qHOfEOGU=
=DrbN
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerge exim fails

2005-11-04 Thread Jean Magnan de Bornier
Hello all,
I'm having a problem with my emerge -uD world these days, when it comes to
exim:

(...)
: undefined reference to `Perl_Gthr_key_ptr'
perl.o(.text+0x1474): In function `xs_init':
: undefined reference to `Perl_Gthr_key_ptr'
perl.o(.text+0x14aa): In function `xs_init':
: undefined reference to `Perl_Gthr_key_ptr'
perl.o(.text+0x14e0): In function `xs_init':
: undefined reference to `Perl_Gthr_key_ptr'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [exim] Erreur 1
make[1]: Leaving directory 
`/home/tmp/portage/exim-4.54/work/exim-4.54/build-exim-gentoo'
make: *** [go] Erreur 2

!!! ERROR: mail-mta/exim-4.54 failed.

seems related to perl, so I re-emerged perl, but it didn't improve things.

any hint welcome, tia!
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FW: Problems upgrading KDE failure on flac package

2005-11-04 Thread Scott Hall
 
Thanks Beau, 

This was the exactly what fixed it.  

--Scott Hall
harmonyIP.com
 
 

-Original Message-
From: Beau Winters [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 03, 2005 10:08 P
To: [EMAIL PROTECTED]
Subject: Problems upgrading KDE failure on flac package

Hi Scott -

I was going to post this under the linux.gentoo.user group, but it wouldn't
let me.

I had this very same problem.  Make sure you have the most recent libogg
emerged.  After emerging libogg-1.1.2, I was able to emerge flac-1.1.2-r3.

Best wishes.

- Beau


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accessing usb mp3 player

2005-11-04 Thread maxim wexler
#mount -t usbfs /dev/sda1 /mnt/usb

aha!

when I use -t vfat I see 'em. Thanks for the hint.

But shouldn't I be getting a wrong fs error for
usbfs?

--- Ryan Viljoen [EMAIL PROTECTED] wrote:

 What is the command that you use to mount it?
 
 
 --
 When you say I wrote a program that crashed
 Windows, people just
 stare at you blankly and say Hey, I got those with
 the system, for
 free. - Linus Torvalds, 1995
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pvcreate on a dmraid device

2005-11-04 Thread Dan Johansson
I'm trying to setup a new Linux-server with an on board RAID-controller 
(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well until 
I try to do a pvcreate on one of the raid-partitions, this is the output I 
get:
# pvcreate /dev/mapper/pdc_edcfibbf4
  Device /dev/mapper/pdc_edcfibbf4 not found.

But the device-file is there (along with the other partitions).

# ll /dev/mapper/pdc_edcfibbf*
brw---  1 root root 253,  7 Nov  4 18:22 /dev/mapper/pdc_edcfibbf
brw---  1 root root 253,  8 Nov  4 18:22 /dev/mapper/pdc_edcfibbf1
brw---  1 root root 253,  9 Nov  4 18:22 /dev/mapper/pdc_edcfibbf2
brw---  1 root root 253, 10 Nov  4 18:22 /dev/mapper/pdc_edcfibbf3
brw---  1 root root 253, 11 Nov  4 18:22 /dev/mapper/pdc_edcfibbf4

and dmraid shows the raidgroup OK:
# dmraid -s
*** Active Set
name   : pdc_edcfibbf
size   : 160086465
stride : 128
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0

Any suggestions on how I can solve this issue and move on with my 
installation.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgp84iTBKoBxZ.pgp
Description: PGP signature


Re: [gentoo-user] Begging For Help With ALSA and Lirc

2005-11-04 Thread Drew Tomlinson

On 11/4/2005 8:52 AM Hans-Werner Hilse wrote:


Hi,

On Fri, 04 Nov 2005 06:31:55 -0800
Drew Tomlinson [EMAIL PROTECTED] wrote:

 


And lirc won't load.  I get these errors when inserting the module:
[...]
   


well, and what does dmesg say? Do you have i2c support in the kernel?
What kind of IR receiver are you using? Do you need certain kernel
drivers for the TV card?

 


Thank you for your reply.  Here is the relevant part of dmesg:

lirc_dev: Unknown symbol class_simple_device_add
lirc_dev: Unknown symbol class_simple_destroy
[...]
   



While just checking google to make sure that I'm not gonna talk
nonsense here, I found a lot of similar trouble descriptions. It seems
that there's some incompatibility between newer kernel versions and
some lirc versions. Are you running lirc w/ ~x86 or just x86? If the
latter is the case (lirc  0.7.2), I'd recommend

$ ACCEPT_KEYWORDS=~x86 emerge lirc



Thank you so much!  This seems to have solved the problem.  I was 
running version 0.7.0-r1.  Now I have 0.7.2 installed and modprobed the 
lirc_dev module without error.  I will verify it's working when I get 
home tonight.


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Billy Holmes

Alexander Skwar wrote:

Don't like that - there might be locales, where there's no inet
in the line. IMO better:
/sbin/ifconfig eth0 | grep :255\. | cut -d : -f 2 | cut -d ' ' -f 1


broadcasts don't always begin or end with 255, odd yes, but if we're 
spliting hairs then anything is possible.


The only option is to assume that the address line appears on the 2nd 
line, and it is delimited by a colon, and then strip out the fields past 
the trailing spaces.


/sbin/ifconfig eth0 | head -n 2 | tail -n 1 | cut -d : -f 2 | cut -d ' ' 
-f 1


and.. of course, this only works in linux... and for IPv4 Addresses.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] file with IP?

2005-11-04 Thread Alexander Skwar
Billy Holmes schrieb:
 Alexander Skwar wrote:
 Don't like that - there might be locales, where there's no inet
 in the line. IMO better:
 /sbin/ifconfig eth0 | grep :255\. | cut -d : -f 2 | cut -d ' ' -f 1
 
 broadcasts don't always begin or end with 255, odd yes, but if we're 
 spliting hairs then anything is possible.

Well, I wasn't thinking about the *broadcast* adress (which
in my address indeed has no 255 in it, as it is 192.168.1.31).
I was referring to the network mask. Sure, even that doesn't
*HAVE* to start with 255 - but I don't know about any network
that spans multiple class A networks.

But you're right, there's no requirement that the network
mask MUST start with 255. It just happens to always and
ever be that way - not so with the inet addr text. That
happens to often be wrong (locale de_DE, fr_FR and certainly
many others).

 The only option is to assume that the address line appears on the 2nd 
 line, and it is delimited by a colon, and then strip out the fields past 
 the trailing spaces.

Yep. Or that it is the 1st quad-dotted adress, or the 1st
sequence of numbers, maybe followed by dot after the
first colon, which would be a regexp approach.

 /sbin/ifconfig eth0 | head -n 2 | tail -n 1 | cut -d : -f 2 | cut -d ' ' 
 -f 1

Nice.

 and.. of course, this only works in linux... and for IPv4 Addresses.

Yep.

-- 
Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bugday reminder

2005-11-04 Thread kloeri
Hi all.

Just a friendly reminder that bugday starts in a few hours and as usual
lasts most of the weekend. New this time is a new amd64 bugs category
but appart from that bugday should be it's old friendly self :)

As usual we gather around the campfire in #gentoo-bugs on
irc://irc.freenode.net and hopefully fix lots of bugs. The Bugday
website can be found at http://bugday.gentoo.org.

Hope to see lots of users and developers.

Regards,
Bryan Østergaard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pvcreate on a dmraid device

2005-11-04 Thread Richard Fish

Dan Johansson wrote:

I'm trying to setup a new Linux-server with an on board RAID-controller 
(Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well until 
I try to do a pvcreate on one of the raid-partitions, this is the output I 
get:

# pvcreate /dev/mapper/pdc_edcfibbf4
 Device /dev/mapper/pdc_edcfibbf4 not found.

But the device-file is there (along with the other partitions).

# ll /dev/mapper/pdc_edcfibbf*
brw---  1 root root 253,  7 Nov  4 18:22 /dev/mapper/pdc_edcfibbf
brw---  1 root root 253,  8 Nov  4 18:22 /dev/mapper/pdc_edcfibbf1
brw---  1 root root 253,  9 Nov  4 18:22 /dev/mapper/pdc_edcfibbf2
brw---  1 root root 253, 10 Nov  4 18:22 /dev/mapper/pdc_edcfibbf3
brw---  1 root root 253, 11 Nov  4 18:22 /dev/mapper/pdc_edcfibbf4
 



I suspect the devices are being filtered.  Take a look at 
/etc/lvm/lvm.conf, and try running pvcreate with -vv to see how it is 
probing the devices.  You might need to add a 'filter = [ a/pdc_*/ ]' 
option to lvm.conf.


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] batch images de-transparenting

2005-11-04 Thread Andrew Gaydenko
Hi!

Say, I have 1000 png files with transparent background. I'd want
to replace this transparency with, for example, white color.

How to do this job?

I have tried ImageMagick tools but haven't special (graphics-related)
knowledge to understand the way of this converting.

Thanks in advance!
Andrew
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SOLVED pvcreate on a dmraid device

2005-11-04 Thread Dan Johansson
On Friday 04 November 2005 21.35, Richard Fish wrote:
 Dan Johansson wrote:
 I'm trying to setup a new Linux-server with an on board RAID-controller
 (Promise PDC20265 FastTrak100 Lite/Ultra100). Now everything goes well
  until I try to do a pvcreate on one of the raid-partitions, this is the
  output I get:
 # pvcreate /dev/mapper/pdc_edcfibbf4
   Device /dev/mapper/pdc_edcfibbf4 not found.
 
 But the device-file is there (along with the other partitions).
 
 # ll /dev/mapper/pdc_edcfibbf*
 brw---  1 root root 253,  7 Nov  4 18:22 /dev/mapper/pdc_edcfibbf
 brw---  1 root root 253,  8 Nov  4 18:22 /dev/mapper/pdc_edcfibbf1
 brw---  1 root root 253,  9 Nov  4 18:22 /dev/mapper/pdc_edcfibbf2
 brw---  1 root root 253, 10 Nov  4 18:22 /dev/mapper/pdc_edcfibbf3
 brw---  1 root root 253, 11 Nov  4 18:22 /dev/mapper/pdc_edcfibbf4

 I suspect the devices are being filtered.  Take a look at
 /etc/lvm/lvm.conf, and try running pvcreate with -vv to see how it is
 probing the devices.  You might need to add a 'filter = [ a/pdc_*/ ]'
 option to lvm.conf.

I got a tip on the LVM mailinglist and now it works. I had to change my lvm2 
devices configuration in /etc/lvm/lvm.conf to include:
types = [ device-mapper, 254 ]

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgp7GHZlzTUcB.pgp
Description: PGP signature


Re: [gentoo-user] accessing usb mp3 player

2005-11-04 Thread Nick Rout
On Fri, 4 Nov 2005 10:57:38 -0800 (PST)
maxim wexler [EMAIL PROTECTED] wrote:

 #mount -t usbfs /dev/sda1 /mnt/usb
 
 aha!
 
 when I use -t vfat I see 'em. Thanks for the hint.
 
 But shouldn't I be getting a wrong fs error for
 usbfs?

no, usbfs is a virtual filesystem for accessing usb kernel info and is
usually mounted on /proc/bus/usb. You can mount it elsewhere if you
like. Thats what you did.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bandwidth monitor on per service/program basis

2005-11-04 Thread A. Khattri
On Fri, 4 Nov 2005, Stuart Howard wrote:

 I am looking to find a tool that will allow me to monitor which
 applications or services are utilising my network and hence bandwidth.
 Now I have found loads of useful tools that can offer me representations
 of the interface but little that breaks it down on a time basis and per
 program basis.
 If anyone has a suggestion of a ready built application it will be welcome,
 prefer it to be console based for ssh [with a nice gui at home, if I am being
 greedy ].

Most network tools know about ports and protocols so per program basis
may not be possible. However, you can monitor protocols using something
like iptraf or ntop (web-based). A quick look in
/usr/portage/net-analyzer/ will give you an idea of what's available.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing Apache installation

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, michael higgins wrote:

 Hello, all.

 I've tried to install Template Toolkit, Apache2::Template under Apache2, 
 mod_perl2 and am having, no suprise, issues. Though this may be possible, I'm 
 not up to it.

 So, rather than try to make this work, I just want to unmerge cleanly all 
 apache/mod_perl/TT stuff on my machine, including leftover configs. And then 
 re-install apache 1.x, or whatever.

 Any pointers to make this go smoothly? I'm thinking something like 
 CONFIG_PROTECT_MASK=-* emerge -Cv apache modperl or something similar... is 
 this possible, or do I have to hunt  peck for the old configs, particularly 
 if I've had an old apache 1.x install on here before and didn't try to clean 
 the configs?

etcat files apache will tell what files apache installed - you could
use this to make a list of where to look for manualing removing config and
doc files.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happened with KDE?

2005-11-04 Thread Peper
 It looks like they changed the naming between beta1 and beta2, but the
 ebuild appears to take this into account.
Sorry for saying thtat you are misreading the ebuilds. 

I have just figured out how it works, but i think that is misleading:
Unless you unmask the libkpgp package, emerge reports missing beta2 ebuild. I 
think that emerge instead of reporting that highest version of dep is 
missing, should report masked beta1 ebuild, because it matches the 
deprange(from 3.5_beta1 to 3.5.0_beta2).

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, Grant wrote:

 Yeah, I wasn't very clear about that.  The problem is I can't use
 VirtualHost definitions because I don't think apache knows which
 domain is actually being served.  I don't use any apache virtual host
 stuff.  Domain identification is handled by my shopping cart software.

But presumably the shopping cart software merely looks at the URL you are
coming from right? (What software is it? Does it run locally or is it on a
remote server?).


-- 
Aj.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: syntax colorful highlight printing tool?

2005-11-04 Thread Peper
Maybe try using the mod_php code viewer. By fefault .phps files are coloured 
and displayed in web browser.

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using tar to backup my system

2005-11-04 Thread Neil Bothwick
On Fri, 04 Nov 2005 11:29:51 -0700, Richard Fish wrote:

 It has one major advantage regarding udev, in that some device nodes 
 (/dev/console, for example) must exist in the /dev directory on the
 root filesystem, and when /dev is mounted and you use --one-filesystem,
 you won't backup those nodes.  Binding / somewhere else let's you
 backup what is really on the root filesystem, so you will restore those
 device nodes when recovering from a live CD.

Good point.


-- 
Neil Bothwick

Real women don't have hot flashes, they have power surges.


signature.asc
Description: PGP signature


Re: [gentoo-user] MySQL issue

2005-11-04 Thread C. Beamer
John Jolet wrote:


 On Nov 3, 2005, at 1:15 PM, Jeff Smelser wrote:

 On Thursday 03 November 2005 07:49 am, C. Beamer wrote:


 ERROR 2002 (HY000): Can't connect to local MySQL server through  socket
 '/var/run/mysqld/mysqld.sock' (111)

 I
 I do have the file /var/run/mysqld/mysqld.sock


 Thats a connection refused message.. Make sure the proper mysql 
 files are
 there, and you may need to restart it to load your versions of the 
 grant
 tables.

 you  might also shut down mysql, verify that all processes are gone, 
 and make sure that file is gone.  that file should ONLY exist while 
 mysql is running.

Both of the above tips helped.  I'm not sure what happened, but I think
that mysql was not shutting down properly.  Anyway, I finally gave up,
unmerged the upgraded mysql depcleaned and then deleted a few files that
did not get removed with the unmerge process, did a fresh install of
mysql and everything seems to be working again.

Just wanted to say thanks!  :-)

Regards,

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



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-04 Thread Grant
  Yeah, I wasn't very clear about that.  The problem is I can't use
  VirtualHost definitions because I don't think apache knows which
  domain is actually being served.  I don't use any apache virtual host
  stuff.  Domain identification is handled by my shopping cart software.

 But presumably the shopping cart software merely looks at the URL you are
 coming from right? (What software is it? Does it run locally or is it on a
 remote server?).

The shopping cart software does only look at the URL, but I have it
determining what to display partially based on the domain in that URL.
 apache2 doesn't do anything based on the domain.  The shopping cart
software is open-source Interchange, but the stuff I'm talking about
here is custom-programmed in ITL (Interchange Tagging Language) for
non-standard operation.

http://icdevgroup.org

Interchange is awesome and I highly recommend it, but I have to
mention its steep learning curve.

apache2, Interchange, etc. are all run on the same remote server.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accessing usb mp3 player

2005-11-04 Thread Ryan Viljoen
On 11/4/05, maxim wexler [EMAIL PROTECTED] wrote:
 #mount -t usbfs /dev/sda1 /mnt/usb

 aha!

 when I use -t vfat I see 'em. Thanks for the hint.

 But shouldn't I be getting a wrong fs error for
 usbfs?


Sure no problem, enjoy! :P

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Shutdown/Restart Issue

2005-11-04 Thread C. Beamer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All,

Recently, I've started to experience an issue when trying to restart
or shutdown my computer using the K menu Log Out selection, which
gives the options to End Current Session, Restart the Computer,
Turn of the Computer and of course, Cancel.  If I select to
restart or turn off the computer, the computer will do neither.  My
monitor shuts down, but the computer itself neither restarts or shuts
off depending on which selection I've made.

I *can* restart or shutdown properly if I do it from the command line
in a terminal window.  This probably isn't a specific Gentoo issue.
It *could* be a KDE issue, but I haven't done anything to KDE.  When I
installed KDE in September, I emerged kde-meta.  I don't recall if
there have been updates since then, but I know that I could shutdown
or restart using the menu selection and no changes were made to KDE
since before this behaviour started.

This seemed to start around the same time as I upgraded mysql.  I
don't know specifically if that had anything to do with it.  I'm just
saying that this behaviour started around that time and up until then,
everything was fine.

Any ideas?

Regards,

Colleen

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDa60h7FsR4jhcRJoRAh8uAJ9jLGfiwOKvEOSUIM/ZT68athfCNACguDYZ
wfiSmWu9NoIINEgEgJPY/pM=
=XoUS
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] local.start and sending an email

2005-11-04 Thread John J. Foster
On Fri, Nov 04, 2005 at 10:14:28AM -0500, John J. Foster wrote:
 On Fri, Nov 04, 2005 at 08:16:07AM -0500, John J. Foster wrote:
   
  I did note something I consider quite odd, though. While rebooting,
  local.start runs right _before_ inittab starts to bring the system to
  runlevel 3. 
  
  A couple thing here.
  
  rc-status shows /etc/init.d/local as part of the _default_ runlevel.
  
  /etc/init.d/local stop  -  warns about shutting a boot service. This
  warning only happens the first time it is stopped after a reboot.
  Subsequent stops and starts produce no warnings.
  
  It looks to me like _local_ is for some reason being started earlier
  than it should, or my understanding of the boot process is limited.
  
 OK, I may have found the answer here, which I'll verify tonight when I
 get home and can watch a reboot.
 
 /etc/init.d/local needsme
 
 showed that /etc/init.d/splash was dependent on local. splash was in the
 boot runlevel, although I haven't used splash for a few months now, and
 obviously forgot to remove it. I am pretty sure this will solve my
 problem.
 
Well damn. Removing /etc/init.d/splash from the boot runlevel did in fact
cause /etc/init.d/local to run as the last initscript, just like it's
supposed to. But it didn't solve the problem of mutt segfaulting when
called here.

I took Neil's advice and emerged mailx. All is well again in gentooland.

(I'd sure like to know why mutt didn't work in local.start, though)

Thanks for all the help,
John
-- 
If voting could change anything,
it would be illegal


pgpJ1rhRw4yCc.pgp
Description: PGP signature


[gentoo-user] Re: Bandwidth monitor on per service/program basis

2005-11-04 Thread Marc Christiansen
Stuart Howard [EMAIL PROTECTED] wrote:
 I am looking to find a tool that will allow me to monitor which
 applications or services are utilising my network and hence bandwidth.
 Now I have found loads of useful tools that can offer me
 representations of the interface but little that breaks it down on a
 time basis and per program basis.
 If anyone has a suggestion of a ready built application it will be
 welcome, prefer it to be console based for ssh [with a nice gui at
 home, if I am being greedy ].

You could try nethogs:

*  net-analyzer/nethogs
  Latest version available: 0.6.0
  Latest version installed: 0.6.0
  Size of downloaded files: 19 kB
  Homepage:http://nethogs.sf.net/
  Description: A small 'net top' tool, grouping bandwidth by process
  License: GPL-1

It's console only, though, so you'll have to reign in your greed ;-)

Marc

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-04 Thread Bill Six
Hi,

I've just installed Gentoo alongside XP.  /dev/hde is
my main harddrive.  I'm getting the error

VFS: Cannot open root device hde4 or
uknown-block(0,0)
Please append a correct root= boot option
Kernel panic..

Any idea why this is?  Maybe this info will help

It's a 120 Gig harddrive
/dev/hde1 is 20 Gigs, for Windows
/dev/hde2 is 32 Megs, for /boot
/dev/hde3 is 512 Megs, for swap
/dev/hde4 is the rest of the harddrive, for /

Any ideas?

Thanks,

Bill Six




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Strange problem with partition reiserfs

2005-11-04 Thread Rafael Barreto
Hi,

I'm with a very strange problem with a partition reiserfs. When I
installed gentoo I created a partition to save my personal docs and I
formatted it with reiserfs filesystem. Today, I was wrinting a little
program in python using Kate and, accidentaly, I overwrite a file on
that partition. The strange was that Kate don't ask me for a
confirmation about that. Kate just overwrote the file. Well, I imagined
that comportament was not right and I tried to ovewrite an archive in
the partition mounted under /home and Kate, now, ask me for a
confirmation. Strange... any idea?

Other thing... I would like to mount that partition such that all files
created have the same group and permission. I thought that I could use
the umask option, but reiserfs don't have that option, so I don't
know how could I do that... Help please...

Sorry by my english!

Thanks!


Re: [gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-04 Thread Willie Wong
On Fri, Nov 04, 2005 at 08:54:56PM -0800, Bill Six wrote:
 Hi,
 
 I've just installed Gentoo alongside XP.  /dev/hde is
 my main harddrive.  I'm getting the error
 
 VFS: Cannot open root device hde4 or
 uknown-block(0,0)
 Please append a correct root= boot option
 Kernel panic..
 
 Any idea why this is?  Maybe this info will help
 
 It's a 120 Gig harddrive
 /dev/hde1 is 20 Gigs, for Windows
 /dev/hde2 is 32 Megs, for /boot
 /dev/hde3 is 512 Megs, for swap
 /dev/hde4 is the rest of the harddrive, for /
 
 Any ideas?

what do you have in grub.conf?

what filesystem are you running for /? (did you compile the necessary
kernel options for that filesystem?)

W
-- 
Barium: what you do with dead chemists.
Sortir en Pantoufles: up 2 days,  8:17
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-04 Thread Glenn Enright
On Sat, 05 Nov 2005 19:59, Willie Wong wrote:
 On Fri, Nov 04, 2005 at 08:54:56PM -0800, Bill Six wrote:
  VFS: Cannot open root device hde4 or
  uknown-block(0,0)
  Please append a correct root= boot option
  Kernel panic..
  It's a 120 Gig harddrive
  /dev/hde1 is 20 Gigs, for Windows
  /dev/hde2 is 32 Megs, for /boot
  /dev/hde3 is 512 Megs, for swap
  /dev/hde4 is the rest of the harddrive, for /
 
  Any ideas?

 what do you have in grub.conf?

That looks like the right idea to me too. root(0,0) is not what should be in 
your boot loader.
-- 

BOFH Excuse #200:

The monitor needs another box of pixels.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Strange problem with partition reiserfs

2005-11-04 Thread Willie Wong
On Sat, Nov 05, 2005 at 04:29:45AM -0200, Rafael Barreto wrote:
 Other thing... I would like to mount that partition such that all files
 created have the same group and permission. I thought that I could use the
 umask option, but reiserfs don't have that option, so I don't know how
 could I do that... Help please...
 

I don't think umask would do what you want anyway. AFAIK, umask is
used to set the mounting permissions for filesystems that do not
support permissions/users, such as the FAT family, HPFS, NTFS, UDF...

ext2/3 allows the option of grpid which can be used to set the default
group of newly created file, but I don't think such is available with
reiserfs. 

A (poor?!) work around is to set your umask and group id via the
'umask' and 'newgrp' or 'sg' commands in your shell profile...

HTH

W
-- 
Rules are meant to be broken. 
Proof:
  If there are rules, there are something that must be regulated
  if the rule is not broken ever, there's no need to externally impose a 
regulation to control that something
  Therefore there will be no need for rules.

  So, the existence of a rule lies in its breakability, as nonbreakable rules
are illogical and should not exist.
Sortir en Pantoufles: up 2 days,  8:23
-- 
gentoo-user@gentoo.org mailing list