[gentoo-user] Cleaning up /usr/portage

2004-02-15 Thread Paul Kimberley
Hi,

I have a quick maintenance question regarding the /usr/portage
directory, as my /usr/portage/distfiles directory is now 2.7 Gigs and
I'm concerned about the space.

What are some safe commands I can run to clean up my portage directory
(bandwidth isn't a factor, I don't mind re-downloading files)

Can you just delete everything in the /usr/portage/distfiles directory?
Is this safe for a cron job? What are some examples that you use to keep
your /usr/portage directory at a reasonable level.

Thanks,

Paul

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Vitual service errors in portage

2003-12-23 Thread Paul Kimberley
I get the following message when I do anything gentoo related, I can't
track down the source.
I have done an emerge -C metalog sendmail
and the /var/cache/edb/virtuals doesn't contain any references to either
Why does it still think I have sendmail and metalog installed?

Thanks
--
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
 *  Service 'sendmail' already provide 'mta'!;
 *  Not adding service 'postfix'...
 *  Service 'metalog' already provide 'logger'!;
 *  Not adding service
'syslog-ng'... [ ok ]



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Periodic Login Problems

2003-12-23 Thread Paul Kimberley
This is a periodic problem I'm having, I haven't been able to pin point
what is causing the problem. 

Some time after logging in (a few days, a few minutes  periodically)
when i attempt to 'su' the login hangs after I enter my password. 
(YES I am in the wheel group!)
(then a timeout message is displayed, This usually occurs in a
xterm/Konsole)

I then Alt-Ctrl-F1 and attempt to login to a text console as a normal
user, but the same problem occurs. 

I can't ssh\telnet\ftp in, it hangs at the password. 
I can  open xterms\konsoles though but only as the user logged into X.

I've seen two causes on the net: (I don't use either)
  1. Metalog w/ output to /dev/console(I used this but its disabled now)
  2. A bad version of pam-login (i think 3.12, and i use 3.14)

My only recourse thus far is when this occurs reboot, and all is well
for a while!

Does anyone have any idea's how to trace this problem. 
I'm using metalog (no relevant information there), which is very
annoying as I can't be sure when the current logs will be dumped to file
... I think that my first step in tracing this is to upgrade to a better
logger.

Any help would be appreciated


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] net.eth0 problems on boot

2003-11-25 Thread Paul Kimberley
Thanks!

On Tue, 2003-11-25 at 08:53, mathieu wrote:
> Le Mardi, 25 Novembre 2003 16.44, Paul Kimberley a écrit :
> > Hi,
> >
> > A few days ago my nic stopped working on boot, the problem is the
> > /etc/init.d/net.eth0 script can't start-up. I get this error!
> >
> > bash-2.05b# /etc/init.d/net.eth0 start
> >  * Bringing eth0 up...
> >  * eth0 is not plugged in or has no carrier
> > signal[ !! ]
> >
> > I can manually run 'dhcpcd eth0' and then it works again!
> >
> > bash-2.05b# /etc/init.d/net.eth0 start
> >  * Bringing eth0
> > up...[ ok ]
> >
> > Anyone have any idea's where to start to debug this? I'm on a LAN so I
> > shouldn't be getting no carrier signals and the cable IS plugged in!
> 
> This is a known bug of baselayout:
> http://bugs.gentoo.org/show_bug.cgi?id=33272
> 
> the easiest fix until it's fixed is to manually edit net.eth0 and replace
> carrier_IFACE="$(ifconfig | gawk -v IFACE="${iface}" '/RUNNING/ { if ($1 == 
> IFACE) print "running" }')"
> with
> carrier_IFACE='running'
> 
> hth


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] net.eth0 problems on boot

2003-11-25 Thread Paul Kimberley
Sorry for replying to my own thread but, I've found where the problem
starts. 

Does anyone know where $carrier_IFACE gets set? is it set by the kernel?
I've done a grep of the etc dir, and nothing in there sets this flag...

# Check that the interface has a carrier
if [ "${carrier_IFACE}" = "running" ]
 then
/sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} >/dev/null || {
 retval=$?
 eend ${retval} "Failed to bring
${IFACE} up"
 return ${retval}
 }
 else
   eend 1 "${IFACE} is not plugged in or has no
carrier signal"

> Hi,
> 
> A few days ago my nic stopped working on boot, the problem is the
> /etc/init.d/net.eth0 script can't start-up. I get this error!
> 
> bash-2.05b# /etc/init.d/net.eth0 start
>  * Bringing eth0 up...
>  * eth0 is not plugged in or has no carrier
> signal[ !! ]
> 
> I can manually run 'dhcpcd eth0' and then it works again!
> 
> bash-2.05b# /etc/init.d/net.eth0 start
>  * Bringing eth0
> up...[ ok ]
> 
> Anyone have any idea's where to start to debug this? I'm on a LAN so I
> shouldn't be getting no carrier signals and the cable IS plugged in!
> 
> Any help would be appreciated!
> 
> -Thanks


--
[EMAIL PROTECTED] mailing list



[gentoo-user] net.eth0 problems on boot

2003-11-25 Thread Paul Kimberley
Hi,

A few days ago my nic stopped working on boot, the problem is the
/etc/init.d/net.eth0 script can't start-up. I get this error!

bash-2.05b# /etc/init.d/net.eth0 start
 * Bringing eth0 up...
 * eth0 is not plugged in or has no carrier
signal[ !! ]

I can manually run 'dhcpcd eth0' and then it works again!

bash-2.05b# /etc/init.d/net.eth0 start
 * Bringing eth0
up...[ ok ]

Anyone have any idea's where to start to debug this? I'm on a LAN so I
shouldn't be getting no carrier signals and the cable IS plugged in!

Any help would be appreciated!

-Thanks




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dual-head X config

2003-11-24 Thread Paul Kimberley
I'm not a XConfig expert but my guess is that you don't have any modes
defined for Depth 16bpp on Screen0.
It looks like you have screen0 setup only to do 8bpp

On Mon, 2003-11-24 at 20:53, Andrew Gaffney wrote:
> I have a dual-head setup. I used 'X -configure' to get the basics and then changed a 
> few 
> things. Whenever I try to change the color depth, I get a hard-lock when I try to 
> start X. 
> I want to both screens at 16bpp. Does anyone see anything wrong?
> Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"<=
Depth 16
EndSubSection   <=
SubSection "Display"
Depth 24
EndSubSection
EndSection
> 


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] su: permission denied

2003-11-24 Thread Paul Kimberley
Read the man of usermod, the -G flag is used to SET (not append) all
additional groups for a user. So as you didn't specify wheel in the -G
flag wheel was removed even though you were originally a member of
wheel.

> I did an `su` and logged in as root, emerged some stuff, and did a 
> `usermod -G games joeljkp` to add myself to the 'games' group. I then 



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OOPS! Console mode destroyed!

2003-11-21 Thread Paul Kimberley
Have you tried 'reset' ? 
Is it just one terminal or all the tty's?


On Fri, 2003-11-21 at 08:36, Jonas Widarsson wrote:
> Eerh! ... ... This is embarrassing.
> 
> I wanted to kow what is in the /etc/localtime file, so I did:
> 
> cat /etc/localtime
> 
> And now my gentoo install procedure console character set has gone crazy.
> Only the character colours are right. The rest is a mess.
> 
> How can I restore it to default?
> 
> Jonas
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI and TV-out

2003-11-14 Thread Paul Kimberley
Hi,

I am currently using a Sapphire (ATI chipset) 9500 Pro, and with the new
=ati-drivers-3.2.8 TV-Out works. You can set it up via there fglrxconfig
which builds you a XF86Config-4 file. 

The only problems I am currently experiencing, and no-one has confirm
having the same problem or getting this to work is, when using the
multi-head features it seems that XVideo extension get turned off.
 
On Fri, 2003-11-14 at 10:32, Klaus S. Madsen wrote:
> Hi,
> 
>   I'm currently looking for a new gfx card. The requirements are
> that it must have DVI-out and TV-out, and it must (of course) work under
> Linux. So I am looking at a Radeon 9600 Pro card, as it fits the specs.
> 
> But I was wondering if anybody have got TV-out to work with the closed
> source ATI drivers? I have seen in the README for the drivers that
> tv-out is only supposed to be supported on 9700 and 9800 cards, but
> several people seems to have it working on other cards.
> 
> Otherwise I will have to go for a NVidia card, even though I don't like
> it :-)


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CUPS at http://127.0.0.1:631/

2003-11-14 Thread Paul Kimberley
Click on Administration first. That error means you haven't logged in
yet as root via the webpage. Otherwise any local user could add/del
printers.

ps. Your /etc/hosts file links 127.0.0.1 as localhost, so that's not the
problem!

On Thu, 2003-11-13 at 23:50, Brett I. Holcomb wrote:
> Try localhost instead of  127.0.0.01.  You have to modify the cups conf file 
> to allow other hosts in.
> 
> On Thursday 13 November 2003 22:43, you wrote:
> > When I try to delete printer as root from Mozilla at the address
> > http://127.0.0.1:631 I get the message "UNAUTHORISED This server could not
> > verify that you are authorized to access this resource"
> >
> > If anyone can help -- thanks,
> >
> > Alan
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] tvtime & DXR3

2003-11-11 Thread Paul Kimberley
Sorry wrong mailing list!
-My Apologies

On Tue, 2003-11-11 at 22:44, Paul Kimberley wrote:
> Just wondering if anyone gotten tvtime to work with dxr3?
> 
> When I try the following all i get is a Parachute ?!?! (What ever that
> means)
> 
> -Thanks
> 
> bash-2.05b# export SDL_VIDEODRIVER=dxr3
> bash-2.05b# tvtime -D sdl
> tvtime: Running tvtime 0.9.10.
> config: Reading configuration from /etc/tvtime/tvtime.xml
> config: Reading configuration from /root/.tvtime/tvtime.xml
> WARNING: You are using the SDL dxr3 video driver!
> WARNING: width (768) out of bounds. cropping to 720 pixels!
> Fatal signal: Segmentation Fault (SDL Parachute Deployed)
> bash-2.05b#
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



[gentoo-user] tvtime & DXR3

2003-11-11 Thread Paul Kimberley
Just wondering if anyone gotten tvtime to work with dxr3?

When I try the following all i get is a Parachute ?!?! (What ever that
means)

-Thanks

bash-2.05b# export SDL_VIDEODRIVER=dxr3
bash-2.05b# tvtime -D sdl
tvtime: Running tvtime 0.9.10.
config: Reading configuration from /etc/tvtime/tvtime.xml
config: Reading configuration from /root/.tvtime/tvtime.xml
WARNING: You are using the SDL dxr3 video driver!
WARNING: width (768) out of bounds. cropping to 720 pixels!
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
bash-2.05b#



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] File transfer with SSH

2003-11-11 Thread Paul Kimberley
OpenSSH includes sftp which is a secure file transfer protocol I think
thats what your looking for.


On Tue, 2003-11-11 at 07:06, Stefan Vunckx wrote:
> On Monday 10 November 2003 12:24, Stephen Liu wrote:
> > Hi folks,
> > 
> > I have a Gentoo box and a RH9 box.  They can connect to X-server of 
> > another box.  Copy and Paste commands also work i.e. copying the content 
> > of a document of RH9 and pasting to another document of Gentoo and vise 
> > versa.
> > 
> > Is it possible to transfer documents between 2 boxes via SSH without 
> > using Samba?  If YES kindly advise how to make it.  I have tried with 
> > drag and drop action without result.
> > 
> > Thanks in advance.
> > 
> > B.R.
> > Stephen Liu
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> > 
> 
> I use fish protocol for it ( fish://[EMAIL PROTECTED] ), it comes with ssh so 
> there's no need for additional installation.
> 
> Stefan
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Obtaining an Old ebuild?

2003-11-06 Thread Paul Kimberley
Thanks it was in the CVS "Attic"


On Thu, 2003-11-06 at 21:25, Spider wrote:
> begin  quote
> On Thu, 06 Nov 2003 21:13:56 -0500
> Paul Kimberley <[EMAIL PROTECTED]> wrote:
> 
> > I'm looking to obtain an ebuild for media-video/ffmpeg-0.4.6 , I
> > upgraded mine to 0.4.8 by accident and now the ebuild is out of the
> > portage tree and I can't find it on any of the servers.
> > 
> > Does anyone know how I can find old copies of old ebuild's?
> > 
> > -Thanks
> > 
> > p.s the reason is that i need to install a library which links only to
> > that version!
> 
> 
> Viewcvs on Gentoo.org has all the old versions
> 
> //Spider


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Obtaining an Old ebuild?

2003-11-06 Thread Paul Kimberley
I'm looking to obtain an ebuild for media-video/ffmpeg-0.4.6 , I
upgraded mine to 0.4.8 by accident and now the ebuild is out of the
portage tree and I can't find it on any of the servers.

Does anyone know how I can find old copies of old ebuild's?

-Thanks

p.s the reason is that i need to install a library which links only to
that version!




--
[EMAIL PROTECTED] mailing list



[gentoo-user] Ati Dual-Head & XVideo Extension

2003-11-03 Thread Paul Kimberley
Hi 

I don't know where to ask this (is there an ATI forum ?) but since i'm
using gentoo I thought I'd ask here.

I am using a Radeon 9500 pro and ati-drivers-3.2.8, I used fglrxconfig
to create a XF86Config-4 using Dual-Head.

The problem is that when I use the Dual head it seems that XVideo
Extensions turns off! 

If i start X with 'X-screen screen0' (i.e no dual head, but the same
XF86Config-4)  XVideo turns on again. 

Is this a bug or a feature, or just my configuration?
I've attached bits of my XF86Config-4, xdpyinfo, and xvinfo.
Any assistance would be appreciated,

-Thanks

Excerpt of XF86Config-4 ---
# === Video Overlay for the Xv extension ===
Option "VideoOverlay"   "on"
---
Excerpt of xdpyinfo ---
number of extensions:30
ATIFGLEXTENSION
ATIFGLRXDRI
ATITVOUT
...
XKEYBOARD
XTEST
XVideo !!! <==
default screen number:0
number of screens:2

Excerpt of xvinfo --
X-Video Extension version 2.2
screen #0
 no adaptors present
screen #1
 no adaptors present



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] damned usb mouse again

2003-10-31 Thread Paul Kimberley
Hi,

I had the same problem when i tried to install my logitech optial mouse.

you don't have the usbmouse module installed.

You will probably have to recompile your kernel and enable it.

-Paul

On Fri, 2003-10-31 at 12:10, Roberto Padovani wrote:
> Hi all!
> 
> 
> usb mouse is giving me troubles. i searched the old posts but didn't find 
> anything useful.
> 
> problem: i can't have my usb mouse work
> 
> what i've done:
> - read and followed desktop guide
> - checked modules: mousedev, input, hid, usbcore
> - checked kernel messages: it indeed recognizes a (fuxxing) MS Optical Wheel 
> Mouse on one of the usb ports, when i plug it in
> - checked kernel messages: it indeed understand when i plug it off
> 
> BUT, if i 
> 
> # cat /dev/input/mice or  # cat /dev/mouse
> 
> as it is suggested in the gentoo desktop guide, i don't read any "shit" that 
> should instead appear on the screen.
> 
> tips?
> 
> i know, i'm a poor baby please pityingly advice me!
> 
> Roberto
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ATI Radeon 9000 pro OpenGL problem

2003-10-29 Thread Paul Kimberley

> What I do not understand is if this is so, how the hell
> does he start X ?

Hi,

I have a ati 9500 pro, and i found it very confusing to set up but this
is how I was able to do it.

emerge ati-drivers

opengl-update ati 

-- so far exactly like you did.., but the XF86Config is very flaky I had
to use fglrxconfig to make a XF86Config.

almost any hand editing makes my X server crash. So I use the plain
XF86Config-4 that is created by fglrxconfig.

Hope this helps..




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] (URGENT) Installing CD Burner question

2003-10-27 Thread Paul Kimberley
Second thought /boot doesn't get mounted automatically so you might find
the grub.conf .

So you might be using grub. Easy way to tell is grub is usually
graphical which lilo is text based.

If you are using grub highlight the OS, then hit 'e' as in edit
then select the line beginning with "kernel=" hit 'e' as in edit
again. 
Add a one '1' to the end of the line.

then hit 'b' as in boot, to boot the changes
 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] (URGENT) Installing CD Burner question

2003-10-27 Thread Paul Kimberley

> Noted.  I will proceed after having the OS fixed.
> 
> HELP 
> My OS crashed while playing around to install the burner.
> 
> Last modification made
> /etc/devfsd.conf
> umcomment following line
>  Create /dev/cdrw for the first cdrom on the scsi bus
> 
> (remark :  /dev/scsi   found)
> type `sync;halt' and then hit reset
> 


It looks like you messed up your devfs, Hopefully your single usermode
is still working.

if you couldn't find your grub.conf, that means your probably using
lilo! So assuming that this might work

-- To get into single user mode -
When you boot your computer you should see the lilo prompt and then
after a preset time your computer should boot linux(if no prompt hold
shift while booting).
when you see the lilo: prompt hit tab it will give you a list of OS's to
boot. 

usually Linux is called 'linux'
then type 'linux 1'
this tells lilo to boot linux in init level 1, which is single user
mode.
3 is multi user, and 5 is usually XDM

Once your in, try to undo your changes.

If that doesn't work use the gentoo basic CD to boot into rescue mode.
then at a prompt mount your root fs into a new directory then do the
changes.
i.e 
mkdir /mnt/linux
mount -t (ext2/3/reiserfs) /dev/hda1 /mnt/linux
vi /mnt/linux/etc/devfs.conf

let me know if this helps.


> Now I can't even shudown Gentoo
> [root@(none) boot]# shutdown -h now
> init: timeout opening/writing control channel /dev/initctl
> 
> Nor can I locate grub.conf
> [root@(none) boot]# locate grub.conf
> /usr/share/doc/grub-0.93.20030118/grub/conf/sample.gz
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installing CD Burner question

2003-10-27 Thread Paul Kimberley
Did you modify your lilo or grub configuration?
What happens is the IDE controller grabs the CD-R device and then the
ide-scsi mod can't access it.

You need to  add the 'hdX=scsi' (where X is the device letter) argument
at boot.
i.e my grub.conf reads
kernel=(hd1,0)/bzImage root=/dev/hdd hdc=ide-scsi

This tells the IDE controller not to touch hdc, which leaves it for the
ide-scsi mod to configure it.

-Paul

> Hi all folks,
> 
> Just added a IDE CD burner as slave
> 
> As root
> # echo -e "ide-scsi\nsg\nsr_mod" >> /etc/modules.autoload.d/kernel-2.4
> # depmod



--
[EMAIL PROTECTED] mailing list