Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Robert Crawford
On Tuesday 24 May 2005 03:04 am, Ciaran McCreesh wrote:
> -funit-at-a-time

For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge suddenly blocked

2005-06-07 Thread Robert Crawford
On Tuesday 07 June 2005 12:24 pm, Kevin O'Gorman wrote:
> This morning I can no longer emerge world.  It says (in part)
>
> > treat root # emerge -aDvu world && etc-update
> >
> > These are the packages that I would merge, in order:
> >
> > Calculating world dependencies ...done!
> > [blocks B ] <=x11-themes/gnome-themes-2.8.2 (is blocking
> > x11-themes/gtk-engines-2.6.3)
>
> and later
>
> > Total size of downloads: 45,079 kB
> >
> > !!! Error: The above package list contains packages which cannot be
> > installed !!!on the same system.
> >
> > treat root #
>
> Now since my package.mask and package.keywords are both empty, I don't
> think it's anything I did.  How can I get this working again, or is this a
> momentary glitch
> that will go away by itself?
>
> ++ kevin

Remove the blocking package (emerge -C =(the blocking package), then do emerge 
-aDvu world again. This is a very common procedure. Afterwards, if needed, 
remerge the package you unmerged. Sometimes an updated package for the one 
you removed shows up in the list AFTER the blocked package is emerged.

I'd question doing the && etc-update, as if it runs etc-update automatically 
with the -5 option, you might be screwed. I always back up my entire /etc 
directory (at the very least) before a major emerge system or world. Then I 
always go through etc-update manually. If you know what to look for, and 
don't blindly update files that don't need it, it doesn't take that long.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how do I change to /etc/conf.d/hostname

2005-07-15 Thread Robert Crawford
On Friday 15 July 2005 06:31 pm, George Roberts wrote:
> I have a day off work and it is too hot to play outside, so I got the
> bright idea to clean up some minor warnings I have been getting.  When I
> am booting my computer, I get warnings to change from using
> /etc/hostname to /etc/conf.d/hostname.  Also the same with my
> /etc/domainname.  My first though was these topics would be covered in
> the Gentoo install manual.  But after re-reading the manual I find no
> difference now than when I installed everything a few months ago.  Is
> there something I need to do, or do I live with this for now?

IIRC, I just copied my /etc/hostname to /etc/conf.d/hostname.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how do I change to /etc/conf.d/hostname

2005-07-15 Thread Robert Crawford
On Friday 15 July 2005 06:31 pm, George Roberts wrote:
> I have a day off work and it is too hot to play outside, so I got the
> bright idea to clean up some minor warnings I have been getting.  When I
> am booting my computer, I get warnings to change from using
> /etc/hostname to /etc/conf.d/hostname.  Also the same with my
> /etc/domainname.  My first though was these topics would be covered in
> the Gentoo install manual.  But after re-reading the manual I find no
> difference now than when I installed everything a few months ago.  Is
> there something I need to do, or do I live with this for now?

I never had that problem, as I reboot every day, so env-update gets run.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Going to Ubuntu - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford

> > I have an old IDE drive, maybe I can squeeze Gentoo on it for testing.
> > Bob has a good idea too regarding the CPU compound under the heat-sink
> > but at CPU temp. 39C I don't see how that could cause any problem.
> >
> > --
> > #Joseph

No matter what the temp sensors are reading, your problem definitely sounds 
like it's heat related. Temp sensor readings can, and often are not accurate, 
sometimes to an amazing degree. I don't know what type of sensor your cpu 
uses, but if it's the type under the cpu, it might not be in good contact 
with the cpu itself, thus giving false readings, I wouldn't be surprised if 
your cpu temp was really  over 50C.   In my experience, temps over 50C. with 
AMD 32bit cpus start giving problems like this, no matter what AMD says about 
it. Seeing as how you have an AMD 64, I'm not sure about the sensor type- all 
I'm saying is that the readings can vary wildly, and are not to be trusted, 
especially considering your current problems.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Going to Ubuntu - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford
One other thought- I don't recall seeing any mention of this in this thread.  
Are you sure your heatsink/fan combo is rated for your AMD 64 cpu?

On Friday 22 July 2005 11:26 am, Joseph wrote:
> On Fri, 2005-07-22 at 10:00 -0400, Robert Crawford wrote:
> > > > I have an old IDE drive, maybe I can squeeze Gentoo on it for
> > > > testing. Bob has a good idea too regarding the CPU compound under the
> > > > heat-sink but at CPU temp. 39C I don't see how that could cause any
> > > > problem.
> > > >
> > > > --
> > > > #Joseph
> >
> > No matter what the temp sensors are reading, your problem definitely
> > sounds like it's heat related. Temp sensor readings can, and often are
> > not accurate, sometimes to an amazing degree. I don't know what type of
> > sensor your cpu uses, but if it's the type under the cpu, it might not be
> > in good contact with the cpu itself, thus giving false readings, I
> > wouldn't be surprised if your cpu temp was really  over 50C.   In my
> > experience, temps over 50C. with AMD 32bit cpus start giving problems
> > like this, no matter what AMD says about it. Seeing as how you have an
> > AMD 64, I'm not sure about the sensor type- all I'm saying is that the
> > readings can vary wildly, and are not to be trusted, especially
> > considering your current problems.
> >
> > Robert Crawford\
>
> I'll try to get to the bottom of it.
>
> 1.) First, I have noticed that the Sata Controller share one IRQ with
> Network Controller, this is not a good combination.  I don't know if it
> is possible to re-assign and IRQ so they will be on a different one
> (BIOS does not have this option).
> If not I'll install another network card and disable the one on the
> Motherboard.
>
> 2.) Heat could be a problem as you have mentioned, I'll try to change
> the thermal padding under the heatsink.
>
> --
> #Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Update] - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford
If you are using the thermal pad, tape, or grease  that came with the stock  
heatsink, you might try using some arctic silver compound instead. It's good 
for a 3-5C. drop from the regular stuff. Sometimes even the AMD approved 
stock heatsinks don't do the job, and you might need to get a better one 
(assuming heat is the problem). I build a lot of computers, and with AMD 
cpus, overkill in the cooling dept. is sometimes necessary.

Robert Crawford

On Friday 22 July 2005 03:31 pm, Joseph wrote:
> On Fri, 2005-07-22 at 10:00 -0400, Robert Crawford wrote:
> > > > I have an old IDE drive, maybe I can squeeze Gentoo on it for
> > > > testing. Bob has a good idea too regarding the CPU compound under the
> > > > heat-sink but at CPU temp. 39C I don't see how that could cause any
> > > > problem.
> > > >
> > > > --
> > > > #Joseph
> >
> > No matter what the temp sensors are reading, your problem definitely
> > sounds like it's heat related. Temp sensor readings can, and often are
> > not accurate, sometimes to an amazing degree. I don't know what type of
> > sensor your cpu uses, but if it's the type under the cpu, it might not be
> > in good contact with the cpu itself, thus giving false readings, I
> > wouldn't be surprised if your cpu temp was really  over 50C.   In my
> > experience, temps over 50C. with AMD 32bit cpus start giving problems
> > like this, no matter what AMD says about it. Seeing as how you have an
> > AMD 64, I'm not sure about the sensor type- all I'm saying is that the
> > readings can vary wildly, and are not to be trusted, especially
> > considering your current problems.
> >
> > Robert Crawford
>
> Now I tend to lean towards your solution.
> It could be heat related.
> I've disable on-board network and add standard PCI card on a IRQ3
> (separate IRQ); so the SATA controller has its own IRQ as well.
>
> The computer freesed once during "emerge sync" without any error
> message, and with error during emerge Apache.
>
> --
> #Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Update] - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford
Joseph,
Sorry- I haven't been reading this thread from the beginning, so I might have 
missed some of your first posts.

If we eliminate heat as the problem (not saying we absolutely have), I'm 
starting to think it could be a misconfigured kernel, or kernel bug itself.

What kernel are you you currently using?  It might be worth a try compiling a 
new one, making sure all config options are correct for your system.

One question (maybe you answered this before):
Have you booted to a live cd like Knoppix or Slax, and the same problem 
occurs?  If it does still happen, that would eliminate your kernel and/or 
hard drive as the source of the problem, and again focus back on the heat 
issue.

If it doesn't happen, after being booted to a live cd for several hours of 
heavy usage, that would eliminate the heat issue. 

Robert


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Update] - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford
On Friday 22 July 2005 07:57 pm, Joseph wrote:
> On Fri, 2005-07-22 at 17:24 -0400, Robert Crawford wrote:
> > Joseph,
> > Sorry- I haven't been reading this thread from the beginning, so I might
> > have missed some of your first posts.
> >
> > If we eliminate heat as the problem (not saying we absolutely have), I'm
> > starting to think it could be a misconfigured kernel, or kernel bug
> > itself.
>
> I'm just following handbook AMD64 instruction, so everything boots OK
> after installation (if I don't get the kernel panic).
>
> > What kernel are you you currently using?  It might be worth a try
> > compiling a new one, making sure all config options are correct for your
> > system.
>
> I'm on gentoo-source 2.6.12-r6 (the newest one)
>
> > One question (maybe you answered this before):
> > Have you booted to a live cd like Knoppix or Slax, and the same problem
> > occurs?  If it does still happen, that would eliminate your kernel and/or
> > hard drive as the source of the problem, and again focus back on the heat
> > issue.
> >
> > If it doesn't happen, after being booted to a live cd for several hours
> > of heavy usage, that would eliminate the heat issue.
>
> It does not happen when I do some light stuff computing, only during
> compilation, when I'm emerging something.
>
> --
> #Joseph

OK- if it doesn't happen during light computing stuff, and only with very cpu 
intensive stuff like compiling, I feel virtually certain it is a cpu heat 
issue.  IMHO, there's not really any other reasonable explanation. 

Have you investigated the cpu voltage setting in the bios (if your Asus board 
has one to adjust it)?  It's probably set at default for the cpu, but if it's 
set too high, that will cause cpu overheating, especially with a borderline 
heatsink/fan.  I'm not sure what the default voltage of your cpu should be- 
look it up on the net, or it is coded on the cpu numbers, if you have the 
code. For example, the Athlon 64 3200+ has a default operating voltage of 
1.50 volts. This link shows an example of the cpu codes written on the chips, 
and what the markings mean.

http://www.digital-daily.com/cpu/amd-athlon64/

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



Re: [gentoo-user] Re: [Update] - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-22 Thread Robert Crawford
Yeah- Kanotix is great- I forgot about that one. I just burnt a copy of the 
latest 32 bit version- it's a wonderful distro, although I'm still basicallya 
Gentoo man!


On Friday 22 July 2005 06:49 pm, Matt Randolph wrote:
> Robert Crawford wrote:
> >Joseph,
> >Sorry- I haven't been reading this thread from the beginning, so I might
> > have missed some of your first posts.
> >
> >If we eliminate heat as the problem (not saying we absolutely have), I'm
> >starting to think it could be a misconfigured kernel, or kernel bug
> > itself.
> >
> >What kernel are you you currently using?  It might be worth a try
> > compiling a new one, making sure all config options are correct for your
> > system.
> >
> >One question (maybe you answered this before):
> >Have you booted to a live cd like Knoppix or Slax, and the same problem
> >occurs?  If it does still happen, that would eliminate your kernel and/or
> >hard drive as the source of the problem, and again focus back on the heat
> >issue.
> >
> >If it doesn't happen, after being booted to a live cd for several hours of
> >heavy usage, that would eliminate the heat issue.
> >
> >Robert
>
> Excellent idea, but I'd suggest Kanotix 64 instead of Knoppix or Slax.
> Unless there are 64-bit versions of those that I don't know about.
>
> --
> "Pluralitas non est ponenda sine necessitate" - W. of O.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [New Development] - was 1.) Kernel panic - not syncing: Aiee, killing interupt handler

2005-07-23 Thread Robert Crawford
On Saturday 23 July 2005 03:43 am, Joseph wrote:
> So, I borrowed two good memory sticks from my backup server, and the new
> box is happy so far, compiled some kind of 27Mb lib-file without any
> kernel panic.
>
> I would like to run this Red-Hat memtest.sh script on these two stick,
> but I'm missing something (I'm not that good in reading the scripts :-/
> Can anybody have a pick at it and tell me what is it looking for?
>
> --
> #Joseph

This looks very promising- if you keep on compiling things without any more 
kernel panics, bad ram must have been the problem all along, and not the cpu 
heating issue.  I'd try a big compile of 2-3 hours just to check.

Don't know about the Red-Hat memtest script, but isn't there a memtest kernel 
on the Gentoo universal install disk you could boot from, and do the full 
test? 

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



Re: [gentoo-user] [OT?] ram question

2006-01-14 Thread Robert Crawford
On Saturday 14 January 2006 17:27, Ryan Sims wrote:
> I just bought a 512M stick of Crucial ram to complement another 512M
> stick...suddenly I'm getting tons of crashes, reboots, failed
> compiles, etc.  I removed the new stick, and all is well, now I'm
> trying just the new stick alone, see if perhaps it was the both
> together...
>
> Something odd I've noticed, however:  the new stick takes longer
> during the BIOS memory check...i.e. the old stick (infineon, I
> believe) the numbers go by essentially instantaneously.  The new
> stick, however, I watch them tick past for a good second (unless I hit
> ESC, of course)  This is true if the two sticks are in together, or if
> only the new stick is in.  Is this indicative of something?  I'm
> already pretty convinced that it's a bad stick, but I wondered if
> anyone could shed further light for me.
>
> --
> Ryan W Sims

If you got the Crucial stick from them, not second hand, it's very unlikely 
it's bad- they test them at the factory- I've never gotten a bad stick from 
them in many years of building computers. Does the Crucial stick by itself 
cause the problems?

Have you tried changing which stick is in ram slot 1- that's the slot that 
will control the memory HZ and timings. If they aren't compatible, you may 
have problems. For example, if a faster pc3200 stick is in slot 1, and a 
slower pc2700 stick in slot 2, you can have problems, as it will be forced to 
try and run are a higher speed that it can handle.

I assume you have reset the sticks in the slots.  What about overheating? What 
about checking the ram timings in the bios. What about the power supply?   
There's a lot of things that could cause this,  but if your box boots and 
runs normally for a short while, them problems start occurring,  I'd suspect 
overheating- maybe the second stick  blocks airflow to the first stick- it's 
unlikely, but who knows?  Maybe you moved some ribbon cables around in the 
case when you added the new stick, and disrupted air flow that way.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to safely unmerge a package

2006-01-20 Thread Robert Crawford
On Friday 20 January 2006 04:31, Catalin Grigoroscuta wrote:
> Dale wrote:
> > Catalin Grigoroscuta wrote:
> >> Hi,
> >>
> >> Thanks a lot for the replies, I managed to get qpkg working.
> >>
> >> However, it's very interesting that I asked for a way to achieve the
> >> functionality of a deprecated tool with the current tools.
> >> Everybody explained to me how to obtain the deprecated tool, yet
> >> nobody answered to "how to do this with the new tools".
> >> So, what is the reason for qpkg is deprecated, after all?
> >>
> >> Regards,
> >> Catalin
> >
> > I wonder the same thing about etcat.  It's gone and I have no clue how
> > to find out what versions of ppp are available.  The new equery makes no
> > sense to me.  I have used it a couple times but I can not figure out how
> > to get it to tell me what all versions are in portage for ppp.  I would
> > like to try ether a masked version or a older version, if I knew what
> > they were.
>
> This is an easy one :)
> equery l -p -o -i ppp
>
> > I wonder how long equery will last?  I figure about the time I learn to
> > use it a bit, it will be gone too.  This has been a bad week.
> >
> > Dale
> >
> > :-)

I too like qpkg more than equery, at least for what I usually need to do. My 
solution is just to put a copy of qpkg and ecat in /usr/bin, and make a 
backup copy somewhere for when it's no longer available (in gentoolkit, or a 
new gentoo install). 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to safely unmerge a package

2006-01-20 Thread Robert Crawford
On Friday 20 January 2006 14:29, Paul Varner wrote:
> On Fri, 2006-01-20 at 19:15 +, Neil Bothwick wrote:
> > On Fri, 20 Jan 2006 13:30:57 -0500, Robert Crawford wrote:
> > > I too like qpkg more than equery, at least for what I usually need to
> > > do. My solution is just to put a copy of qpkg and ecat in /usr/bin, and
> > > make a backup copy somewhere for when it's no longer available (in
> > > gentoolkit, or a new gentoo install).
> >
> > Put it in /usr/local/bin, if you emerge portage-utils, you'll overwrite
> > the copy in /usr/bin. Once in /usr/local/bin, it's safe from anything,
> > even if it's removed from gentoolkit.
>
> As the current maintainer of gentoolkit, please do what Neil said and
> place it in /usr/local/bin and not /usr/bin
>
> Regards,
> Paul

Neil and Paul- thanks much for the tip!  
Will correct it right away.

Robert C
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sound card stopped working after kernel rebuild

2006-01-30 Thread Robert Crawford
On Monday 30 January 2006 12:23, Robert Persson wrote:
> EMU10K1_Audigy: probe of :02:09.0 failed with error -12

I think "EMU10K1_Audigy: probe of :02:09.0 failed with error -12"   might 
have something to do with modprobe failing with a new kernel.

Maybe try rebuilding .module-init-tools against your new kernel? Just a guess.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ...startup information on screen...

2006-02-10 Thread Robert Crawford
Same problem here- I've tried for a while to figure it out, with no luck. I'd 
also like to not have it not overwritten with each boot, and appended 
instead.

On Friday 10 February 2006 04:09, Jorge Almeida wrote:
> On Mon, 6 Feb 2006, Neil Bothwick wrote:
> > On Mon, 6 Feb 2006 14:39:38 +0100, Fredrik Lundgren wrote:
> >> Is the information that runs on the screen before and after X is
> >> started or closed saved in some place or can it be saved or retrieved
> >> somehow?
> >
> > The early part of the startup information is available from
> > dmesg. The next stage can be logged if you set RC_BOOTLOG
> > in /etc/conf.d/rc. see the comments in that file.
>
> I gave it a try, and it seems that not everything gets logged:
>   $ cat /var/log/boot.msg
>
>* Activating (possible) swap ...
> [ ok ]
>* Checking root filesystem ...
>   /home: clean, 48404/256512 files, 122807/512064 blocks
> [ ok ]
>* Remounting root filesystem read/write ...
> [ ok ]
>* Setting hostname to moria ...
> [ ok ]
>* Calculating module dependencies ...
>* System.map not found - unable to check symbols
> [ ok ]
>* Checking all filesystems ...
>   /boot: clean, 45/8032 files, 9889/32098 blocks
>   /1: clean, 23/768544 files, 880666/1536215 blocks
>   /dev/hda12: clean, 35/131616 files, 4220/263056 blocks
>   /dev/hdb1: clean, 14439/3842720 files, 4020444/7679062 blocks
>   /dev/hdb4: clean, 62419/4374528 files, 2600814/8747392 blocks
>   /dev/hda13: clean, 66726/1284224 files, 802063/2568384 blocks
>   /: clean, 4035/513024 files, 40118/1024143 blocks
>   /dev/hda11: clean, 141207/780288 files, 1043596/1560305 blocks (check in
> 2 mounts) /dev/hda10: clean, 2559/788704 files, 971368/1574362 blocks
> [ ok ]
>* Mounting local filesystems ...
> [ ok ]
>* Mounting USB device filesystem (usbfs) ...
> [ ok ]
>* Activating (possibly) more swap ...
> [ ok ]
>* Setting system clock using the hardware clock [UTC] ...
> [ ok ]
>* Configuring kernel parameters ...
> [ ok ]
>* Updating environment ...
> [ ok ]
>* Cleaning /var/lock, /var/run ...
> [ ok ]
>* Cleaning /tmp directory ...
> [ ok ]
>* Coldplugging input devices ...
> [ ok ]
>* Coldplugging isapnp devices ...
> [ ok ]
> What about everything from "Coldplugging pnp devices ..." to the end
> (net, local, etc.) ?
> Is this normal?
> --
> Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ...startup information on screen...

2006-02-10 Thread Robert Crawford
On Friday 10 February 2006 05:46, Michael Kintzios wrote:
> > -Original Message-
> > From: Robert Crawford [mailto:[EMAIL PROTECTED]
> > Sent: 10 February 2006 09:32
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] ...startup information on screen...
> >
> >
> > Same problem here- I've tried for a while to figure it out,
> > with no luck. I'd
> > also like to not have it not overwritten with each boot, and appended
> > instead.
>
> I think that /var/log/syslog does a better job for what you want, as I
> have commented in a previous response (not sure if it appeared in the
> list - it's been playing up lately on my end).
> --
> Regards,
> Mick

Mick,
Syslog gives good info, but what we are referring to is under No.5 "Tips & 
Tricks" here:
http://www.gentoo.org/news/en/gwn/20050822-newsletter.xml

Although it says all the boot messages as seen on the sreen will be logged 
into /var/log/boot.msg, they aren't all there.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems

2006-02-12 Thread Robert Crawford
If downloading time and cost are a concern, you might not get the real 
benefits of Gentoo, and maybe should consider a binary distro.


Anyway, if you wish to install stuff not in portage (almost everything is), 
you need to employ " portage overlays" you create yourself in 
/usr/local/portage- an advanced topic.


The basic Gentoo install gives you the x86 "stable" version.

The 4.x gcc versions are  "~x86", and are masked, so you need to create the 
etc/portage/package.unmask and package.keywords files to unmask anything not 
in the "x86 stable" Gentoo version.  That, or edit your /etc/make.conf file 
to go pure "~x86 testing" version. There's info on the Gentoo forum and in 
the Documentation:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part3

When you need to override Portage's behaviour regarding the installation of 
software, you will end up editing files within /etc/portage. You are highly 
recommended to use files within /etc/portage and highly discouraged to 
override the behaviour through environment variables!

Within /etc/portage you can create the following files:

 a.. package.mask which lists the packages you never want Portage to 
install
 b.. package.unmask which lists the packages you want to be able to install 
even though the Gentoo developers highly discourage you from emerging them
 c.. package.keywords which lists the packages you want to be able to 
install even though the package hasn't been found suitable for your system 
or architecture (yet)
 d.. package.use which lists the USE flags you want to use for certain 
packages without having the entire system use those USE flags
More information about the /etc/portage directory and a full list of 
possible files you can create can be found in the Portage man page:


- Original Message - 
From: "Meino Christian Cramer" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, February 12, 2006 3:09 AM
Subject: [gentoo-user] WARNING! : Newbie ahead -- EMERGEncy problems




Hi,

I """installed""" Gentoo 2005.1.r1 the first time on a hd.
I used a stage 3 downloaded from teh internet.


But I fear, I haven't understand a certain aspect of emerge
not correctly.

The problems arised as I tried to update the installed gcc-3.4.3
to gcc-4.02.

I understood, that this is a change with more impact to the system
as for example installing slocate... :)

I think I did it a described in the docs...("think" means: Before
doing so I was sure, but concerning the results of my doing, I am
no longer sure ;)

What happens: The version of gcc changes to gcc-3.4.4.

In my /usr/portage there were files concerning gcc-4.02 (and even
gcc-4.1.beta*).

But they were silently ignored.

Then I tried to specify the version of gcc while using emerge...
But this failed totally with syntax errors. I tried different
syntactically variation, from which I *thought* to be correct
after reading in the docs to emerge, but no success.

The final plan of all this is to install Gentoo as the working horse
on my new PC, since my old PC (from which I currently mailing) is
very old and buggy (hardware probs) and has to be replaced as soon
as possible. The new one will be an Athlon 64 X2 bases system.

So I am experimenting on a free hd with Gentoo to decide, whether
this will be my new Distro. Until now I was using/installing "Linux
from scratch".

Another problem I have is: Is it possible to convince emerge to use
source archives (tar.gz, tar.bz2) of a newer version of a certain
software as that one available vie gentoo sites???

I dont have a flatrate and used to build new sources via patching and
not via downloading the whole stuff again and again. This would cause
pain to me aspecially when it comes to packages like new kernels or
gnome/kde since they are very bulky.

Thank you very much for any help/response in advance!

Have a nice sunday!
mcc


--
gentoo-user@gentoo.org mailing list



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006






--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How many GB for / partition?

2006-02-16 Thread Robert Crawford
The main reason for putting /var,  /tmp, and portage on their own partitions 
is to minimize fragmentation on /, especially with a source distro like 
Gentoo. And yes, Linux does fragment and does require attention, especially 
with reiserfs, where the only solution is to dump/format/restore.

On Thursday 16 February 2006 09:58, [EMAIL PROTECTED] wrote:
> "Hemmann, Volker Armin" <[EMAIL PROTECTED]> wrote:
> > To put everything on its own partition was good, when harddisks were
> > 2gb-10gb big. But today it is just a waste of space and time.
>
> IMHO there still might be advantages to using more partitions,
> for example security (you can mount /boot /tmp /home with nodev,
> noexec, nosuid, /usr with read-only, etc.), or different quota
> settings. But it would be probably more usable for server, less
> for workstation...
>
> Jarry
>
> --
> Telefonieren Sie schon oder sparen Sie noch?
> NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
-- 
gentoo-user@gentoo.org mailing list



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

2006-02-17 Thread Robert Crawford
On Friday 17 February 2006 05:17, Rob Oravec wrote:
> On Thu, 2006-02-16 at 23:32 -0500, Grant wrote:
> > I've been struggling to get my wireless card to connect to the WEP
> > Airport router at my housing complex.  It turns out it connects just
> > fine using a Knoppix disc and manual ifconfig/iwconfig commands, but
> > the same commands don't work in Gentoo.  My Gentoo packages are
> > totally up to date.  I'm using madwifi.  Any suggestions?
> >
> > - Grant
>
> Hi Grant,
>
> Firstly have you got wireless extensions enabled in the kernel?
> -CONFIG_NET_WIRELESS=y
> I believe that is a requirement.
>
> Is the madwifi-driver installed and the module loaded?
> -modprobe ath_pci
>
> If it can't find the module emerge the madwifi-driver package
> -emerge madwifi-driver
> or alternatively try the madwifi-ng code at http://madwifi.org
> Both methods should give you a "ath0" interface.
>
> Are you getting any error messages?, when you run "iwconfig" does it
> show wireless related settings on the relevant interface?
>
> Hope this helps.
> Let us know,
>
> Rob

You also need to emerge madwifi-tools, and you need ath_hal loaded too.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pam-login

2006-03-20 Thread Robert Crawford
On Monday 20 March 2006 11:12, Mingfeng Yang wrote:
> emerge -uDvp system gave me
>
> [blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.14-r3)
> [ebuild U ] app-shells/bash-3.1_p11 [3.1_p10] USE="nls -afs -bashlogger
> -build" 1 kB
> [ebuild U ] sys-libs/readline-5.1_p3 [5.1_p2] 1,984 kB
> [ebuild U ] sys-devel/gnuconfig-20060227 [20051223] 38 kB
> [ebuild U ] sys-devel/binutils-2.16.1-r2 [2.16.1-r1] USE="nls
> -multislot -multitarget -test -vanilla%" 12,297 kB
> [ebuild U ] sys-apps/groff-1.19.2-r1 [1.19.2] USE="X" 2,835 kB
> [ebuild U ] sys-apps/portage-2.1_pre6-r4 [2.1_pre6-r2] USE="-build
> -doc" 0 kB
> ..
>
> Then I unmerged pam-login imprudently. Ooops, then I could not login from
> console anymore, though login by ssh or gdm is still fine.
> So what's the problem here? How to resolve the confliction between
> pam-login and shadow?
>
> Thanks!
>
> Mingfeng

When we use the Gentoo "Evolution emission Install Guide" for an ~x86 gcc-4.1, 
etc. advanced install, we unmerge pam-login, then emerge shadow.  No 
problems. http://forums.gentoo.org/viewtopic.php?p=3193533#3193533
-
Step 7.9 - Removing pam-login 
 
Code:
  # emerge -C pam-login 
 # emerge --oneshot shadow
---

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NPTL and glibc

2005-04-29 Thread Robert Crawford
If you want NPTL only, and not linuxthreads also, you have to add the USE 
flags nptlonly AND nptl to /etc/make.conf. That way, Gentoo doesn't compile 
linuxtheads.

 Some people running regular x86 systems seem to have problems with this, but 
I'm running ~x86 systems, and haven't had any problems. YMMV

Robert Crawford


On Friday 29 April 2005 10:54 am, Dave Nebinger wrote:
> > I have recently built a new Gentoo 2005.0 box with a stage3 tarball.  I
> > set the NPTL flag (among others) and rebuilt the entire system.  It does
> > not appear that NPTL is sticking and I am not at all sure why; instead
> > it has pulled in the linuxthreads package.  Can anybody help out here?
>
> You probably have both.  If you look at the output of the glibc build
> you'll see a note indicating that both NPTL and linuxthreads are built and
> installed by gentoo.
>
> All of my systems report linuxthreads although I too have NPTL installed.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NPTL and glibc

2005-04-29 Thread Robert Crawford
On Friday 29 April 2005 11:52 am, Dave Nebinger wrote:
> > You can also set the "nptlonly" flag for glibc, which will avoid using
> > linuxthreads at all (forces everything to use nptl).
>
> If you look at the OP's message, it appeared that he did have the nptlonly
> flag set...  There is the message about glibc/gcc masking off some use
> flags for stability purposes, maybe that one is masked as well.

Good point.  He must be running x86, not ~x86, thus flags might be getting 
masked/stripped
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] The LiveCD as the workstation

2005-04-29 Thread Robert Crawford
On Friday 29 April 2005 12:50 pm, Calvin Spealman wrote:
> The Ramdisk option eliminates the need for two CD drives in most situations
> (not a good idea for low-memory systems), and I've seen others use this
> kind of setup in tandem with a USB key drive for storage.
>
> On 4/29/05, Grant <[EMAIL PROTECTED]> wrote:
> > I've read a little about how custom LiveCDs can be built with
> > catalyst. I do like to keep my system very minimal so I wonder how it
> > would work to use a LiveCD as my only workstation. Are LiveCDs ready
> > to be used in this way? I really like the idea of being able to walk
> > up to any computer, pop in a CD, reboot, and be working on my system.
> > What do you guys think about this?
> >
> > I guess this would require two CD drives in order to access another CD
> > from the OS?

Take a look at Slax 5.0.4.  It's small, kde 3.4.0, dhcp. k3b, all the desktop 
essentials, etc., and you can save your settings/configs either on floppy, 
HD, or their web site, so you don't even have to carry a floppy or USB key 
around. Slax mounts all HD disks, and you can save your work easily.

I've tried lots of live cd's, and this IMO is the best, most up-to-date, and 
easy to use. I've used it on several boxes, and it detects everything, and it 
all works. Copy to ram, and the slaxconf.mo file is easily updated. Easy to 
add modules for other apps. Good forum too.
http://slax.linux-live.org/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] The LiveCD as the workstation

2005-04-29 Thread Robert Crawford
On Friday 29 April 2005 02:48 pm, Grant wrote:
> > Take a look at Slax 5.0.4.  It's small, kde 3.4.0, dhcp. k3b, all the
> > desktop essentials, etc., and you can save your settings/configs either
> > on floppy, HD, or their web site, so you don't even have to carry a
> > floppy or USB key around. Slax mounts all HD disks, and you can save your
> > work easily.
> >
> > I've tried lots of live cd's, and this IMO is the best, most up-to-date,
> > and easy to use. I've used it on several boxes, and it detects
> > everything, and it all works. Copy to ram, and the slaxconf.mo file is
> > easily updated. Easy to add modules for other apps. Good forum too.
> > http://slax.linux-live.org/
>
> How is that better than mastering your own Gentoo LiveCD with catalyst
> though?  It seems like if I'll end up with the same thing (Linux on a
> CD), I should stick with what I know (Gentoo).
>
> - Grant

I guess you could brew one up after you got a minimalist Gentoo install 
configured to your liking, taking care that the total size didn't exceed 
700mb compressed.  However, my understanding is that Gentoo Live Cds are 
essentially designed just for installing Gentoo, not a full featured and 
functional desktop live cd. 

Slax is very high performance, and everything is already done, and you can add 
modules on boot from your HD, or brew up a whole new expanded cd that 
includes your added stuff. The "kill bill version has wine, etc., for running 
some windows apps. The Slax iso is only 200mb even with kde-3.4.0, so it's 
got lots of expansion possibilities  since you could theoretically add 500mb 
more stuff and still have it compressed onto one cd.. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Botched Gentoo Install - but some progress

2005-08-09 Thread Robert Crawford
On Tuesday 09 August 2005 08:13 am, C.Beamer wrote:
> Hi All,
>
> When I previously posted and got the response below, it may as well
> have been hieroglyphics because I had no idea what Bob was talking
> about.  However, when I went back to square one and got to the point
> of compiling the kernel, I still used genkernel, but ran the
> makemenuconfig utility and saw that the format was as below.  So, I
> made the changes that Bob suggested.  Now, I _don't_ get the errors as
> in my previous attempt and as displayed below.
>
> Bob Sanders wrote:
> >> After attempting to connect to the xserver, I got my shell prompt
> >> back again with the following printed on the screen:
> >>
> >> New driver is "i810" (==)Using default built in configuration
> >> (EE) open /dev/fb0: No such device --> I have no idea what this
> >> means (EE) GARTinit: Unable to open /dev/agpgart (no such file or
> >> directory) (EE)I810(0) AGPGART support is not available. Make
> >> sure your kernel has agpgart support or that the agpgart kernel
> >> module is loaded (EE)Screens found, but non have useable
> >> configuration Fatal server error: no screens found i
> >
> > /dev/fb0 is the framebuffer. No need to worry about that if using
> > X. But if running a splash screen, then it needs to be defined in
> > the kernel. There is a how-to on gentoo-wiki.org explaining how to
> > setup the system and kernel.
> >
> > The other, you'll need to re-config your kernel to include -
> >
> > Device Drivers --> I2C Support -->  I2C support <*> I2C device
> > interface I2C Hardware Bus Support -->  Intel 810/815
> >
> > And -
> >
> > Device Drivers --> Character Devices --> Intel 440LX/BX/GX, I8xx
> > and E7x05 chipset support
>
> However, x still won't start and I get the  message 'Cannot run in
> framebuffer mode'.
>
> I don't think that I changed anything related to framebuffers when I
> ran makemenuconfig.
>
> It was also my understanding that although I could use a vga statement
> in my grub.conf file to specify a framebuffer device, that with a
> gentoo patched kernel, I didn't need to.
>
> So, any idea where I made my mistake?
>
> Regards,
>
> Colleen

I didn't see your earlier post(s). so I can only offer general advice.

When you configure the kernel, you need to be sure you have support  for all 
your specific hardware, like cpu, motherboard, video card, USB devices, etc. 
Also, any feature you want, like frame buffer support, different file 
systems, etc.  Once you get the correct .config file for your particular 
system and kernel, you can import it into menu or xconfig on subsequent 
kernel compiles, so save a copy of it somewhere once you get it right.

Some items do better compiled as modules, and some need to be built into your 
kernel. For example, the i2c sensors items do better as modules, and then you 
need to place entries for those modules in /etc/modules.autoload.d/kernel 
file so they autoload on boot.

You also need to configure X after you get Gentoo installed, and rebooted.
 This doc should help.
http://www.gentoo.org/doc/en/xorg-config.xml

This only works if you have the kernel support for your card compiled in.

 If you still have trouble, another way to get a functional config file for X 
if is to boot to a knoppix-like live cd, which configures X automatically, 
and copy over the /etc/X11/xorg.conf file from it into your Gentoo /etc/X11 
directory, and reboot.

I've never liked genkernel myself, so I always do mine manually. To do this 
correctly, you need to know what hardware you have, and find it in 
menuconfig- Sometimes you need to dig down a level to find things. I prefer 
xconfig over menuconfig.

The kernel section in the Gentoo install doc is pretty good- review it again.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] live CD (gentoo or otherwise) with lm-sensors?

2005-08-12 Thread Robert Crawford
Try this- they say it has gkrellm and lmsensors. It's a custom live cd made by 
a Yoper developer.  Towards the middle of this page - a post by arkaine23.

http://www.yoper.com/forum2/lofiversion/index.php/t6266.html

Here's a download link- not sure if it still works. This looks so good, I 
might download and try it myself.

http://overclockix.octeams.com/

Robert Crawford


On Friday 12 August 2005 11:19 pm, Matt Garman wrote:
> Does anyone happen to know if any live CDs (or DVDs) come with
> the i2c modules and lm-sensors built (particularly the i2c-viapro
> module)?
>
> I just built a system using a Via EPIA-CL6000E motherboard, and
> would like to monitor its temperatures while stress testing it.  I
> actually installed OpenBSD on it, which does not have support for
> this motherboard's temperature sensor, and I can't get cpuburn to
> run on it.
>
> So I figured I might as well use one of the Linux live CDs... I just
> can't seem to find any info on exactly what software is contained on
> various live CDs.
>
> Thank you!
> Matt
>
> --
> Matt Garman
> email at: http://raw-sewage.net/index.php?file=email
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] audacity and gtk not playing nice

2005-08-13 Thread Robert Crawford
On Saturday 13 August 2005 06:26 am, Adrian wrote:
> Greetings.
>
> I recently made the mistake of upgrading something.  Every time I do
> this I manage to break something else.  I upgraded gtk+ and now when I
> try to run audacity I get:
>
> audacity: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined
> symbol: _gtk_accel_group_attach
>
> For kicks I tried to re-emerge audacity to see if that helped or gave
> me any useful information and I get the error:
>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so:
> undefined r eference to `_gtk_accel_group_detach'
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so:
> undefined r eference to `_gtk_accel_group_attach'
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so:
> undefined r eference to `_gtk_rc_context_get_default_font_name'
> collect2: ld returned 1 exit status make[1]: *** [../audacity] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1. 2.1/src' make: ***
> [audacity] Error 2
>
> !!! ERROR: media-sound/audacity-1.2.1 failed.
> !!! Function src_compile, Line 75, Exitcode 2
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status
> message.

Have you done a revdep-rebuild -p to see what's up? 

Did you upgrade gtk+ only, or was this done along with other stuff, like gcc?

Check this out- it might be exactly the fix for your problem:

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

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] audacity and gtk not playing nice

2005-08-14 Thread Robert Crawford
On Sunday 14 August 2005 08:14 am, Adrian wrote:
> On Sat, 13 Aug 2005 11:18:21 -0400
>
> Robert Crawford <[EMAIL PROTECTED]> wrote the words:
> > Have you done a revdep-rebuild -p to see what's up?
> >
> > Did you upgrade gtk+ only, or was this done along with other stuff,
> > like gcc?
> >
> > Check this out- it might be exactly the fix for your problem:
> >
> > http://bugs.gentoo.org/show_bug.cgi?id=84016
> >
> > Robert Crawford
>
> Hi Robert, that bug report was it actually.  Got it fixed.  Figures --
> usually when I look for bugs, I find nothing about whatever problem I'm
> having.  This time I don't check the bug report -- and there it is.
>
> Thank you very much.
> Adrian
>

I discovered Gentoo Bugzilla about a year ago. Since I run ~x86 systems, I 
occasionally run up against minor problems, and Bugzilla usually has the 
solution already posted- it's really a useful resource.

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



Re: [gentoo-user] Problems with madwifi

2005-08-17 Thread Robert Crawford
On Tuesday 16 August 2005 11:52 pm, Pupeno wrote:
> Hello,
> I have an IBM wifi card that has an Atheros chipset that was working
> perfectly with the madwifi driver untill the update that happened recently,
> now it is a big mess.
> When I plug it in or at boot if it is plugged in when coldplugging pnp
> devices I got somethig like:
>
> PREEMPT
> Modules linked in: md5 ipv6 pcmcia tsdev ohci_hcd parport_pc parport floppy
> psmouse rtc pcspkr yenta_socket rsrc_nonstatic pcmcia_core tg3 snd_intel8x0
> snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801
> i2c_core piix shpchp pci_hotplug ehci_hcd uhci_hcd intelfb intel_agp
> agpgart evdev usbcore aes_i586 dm_crypt ath_pci ath_rate_sample
> ath_rate_onoe ath_rate_amrr wlan_xauth wlan_wep wlan_tkip wlan_ccmp
> wlan_acl wlan ath_hal ibm_acpi thermal processor fan button battery ac loop
> dm_mod ide_cd cdrom nls_utf8 nls_base
> CPU:0
> EIP:0060:[]Tainted: P  VLI
> EFLAGS: 00010246   (2.6.12-suspend2-r4)
> EIP is at ath_rate_ctl_reset+0xd0/0x470 [ath_rate_sample]
> eax:    ebx: ee300800   ecx: ec62c000   edx: 
> esi: 70007972   edi:    ebp: ee300800   esp: ed8e5cc8
> ds: 007b   es: 007b   ss: 0068
> Process pccardd (pid: 6197, threadinfo=ed8e4000 task=ef3db020)
> Stack: c034e946 ed8e5d10 0046 ef22ca40 c042ff10 000f4bd1 ef22ca40
> ef22ca40 4145c780 000f4bd1 000d9038 4145c780 000f4bd1 ef22ca40 ee3009fc
> ec62c620 ec62c000 ee300800 f01a1490 ee300ff8 ec62c000 f01a242b ec62c000
> ee300800 Call Trace:
>  [] schedule+0x336/0x620
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ath_node_alloc+0x9b/0xc0 [ath_pci]
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ieee80211_node_lateattach+0x13/0xe0 [wlan]
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ieee80211_media_init+0x1f/0x4a0 [wlan]
>  [] ath_setslottime+0x2c/0x50 [ath_pci]
>  [] ieee80211_watchdog+0x5f/0x90 [wlan]
>  [] ieee80211_ifattach+0x159/0x2e0 [wlan]
>  [] ath_key_update_end+0x0/0x70 [ath_pci]
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ieee80211_node_lateattach+0x13/0xe0 [wlan]
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ieee80211_media_init+0x1f/0x4a0 [wlan]
>  [] ath_setslottime+0x2c/0x50 [ath_pci]
>  [] ieee80211_watchdog+0x5f/0x90 [wlan]
>  [] ieee80211_ifattach+0x159/0x2e0 [wlan]
>  [] ath_key_update_end+0x0/0x70 [ath_pci]
>  [] ath_key_update_begin+0x0/0x70 [ath_pci]
>  [] ath_attach+0x889/0xb00 [ath_pci]
>  [] ath_media_change+0x0/0x40 [ath_pci]
>  [] ieee80211_media_status+0x0/0x180 [wlan]
>  [] ath_pci_probe+0x226/0x3e0 [ath_pci]
>  [] pci_device_probe_static+0x52/0x70
>  [] __pci_device_probe+0x3c/0x50
>  [] pci_device_probe+0x2c/0x50
>
> if I try to connect I get:
>
>  # /etc/init.d/net.ath0 start
>   * Starting ath0
>   *   Bringing up ath0
>   * Configuration not set for ath0 - assuming dhcp
>   * dhcp
>   *   ath0 does not exist
>
> in some cases I just get: failed to connect.
> Checking a bit more, ath0 doesn't exist, and I can't even see it on lspci.
>
> When I unplug it, I get a kernel panic.
>
> I am loading the modules:
> ath_hal
> wlan
> wlan_acl
> wlan_ccmp
> wlan_tkip
> wlan_wep
> wlan_xauth
> ath_rate_amrr
> ath_rate_onoe
> ath_pci
> at boot thru /etc/modules.autoload.d/kernel-2.6.
>
> Any ideas what is going on ? Am I doing something wrong ?
>
> Thank you.

Which updates are you talking about- did you change kernels? Maybe you need to 
reemerge all the wifi and dhcpcd stuff.

I have a D-link Atheros based card, and here's what I do:

1. compile into the kernel all support items for wifi (not modules)

2. emerge all madwifi stuff (tools, driver), and dhcpcd

3. As root, type

iwconfig ath0

This brings up the config list, but no essid, and the address is all zeros.

then I type

 dhcpcd ath0

and it connects fine.

If I redo the iwconfig ath0 command, it now lists the essid name of my 
wireless router (linksys), and the numerical isp address dhcpcd found.

Hope this helps.

Robert Crawford




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with madwifi

2005-08-17 Thread Robert Crawford
On Wednesday 17 August 2005 11:28 am, Grant wrote:
> > > Which updates are you talking about-
> >
> > madwifi, it was updated some days ago, to be exact, version
> > 0.1_pre20050809 released on 2005/08/10 12:44:19, while previously I was
> > using
> > 0.1_pre20050420.
>
> If downgrading to 20050420 doesn't work, try upgrading to the latest
> baselayout.  An older baselayout triggers the problem for me.
>
> - Grant


H.  I'm running ~x86 systems, and just synced yesterday, so I must be 
about as current as possible. I've had no problems with wifi.

UPDATE: Seems I'm still using  0.1_pre20050420, so apparently yesterday's ~x86 
sync and -uD world didn't pull in  0.1_pre20050809. 

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12.3 i686)
=
System uname: 2.6.12.3 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre5

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



Re: [gentoo-user] Blocking package stops emerge now what?

2005-08-27 Thread Robert Crawford
On Saturday 27 August 2005 09:40 am, Harry Putnam wrote:
> Running emerge -v -p world -u shows:
>
> Calculating world dependencies  ^H^H ...done!
> [blocks B ]  net-ftp/ftpbase-0.00)
>
> However any attempt to unmerge net-ftp/ftpbase-0.00 gets this error:
> root # emerge -v -C net-ftp/ftpbase-0.00
>
> --- Couldn't find net-ftp/ftpbase-0.00 to unmerge.
>
> >>> unmerge: No packages selected for removal.
>
> I want to keep the vsftpd package so what needs to happen here?

You need to:

emerge -C  net-ftp/vsftpd-2.0.3-r1

(or any earlier vsftpd version found on your system) temporarily,  and after 
you emerge  net-ftp/ftpbase-0.00 and world, you can emerge 
net-ftp/vsftpd-2.0.3-r1  again.

Robert Crawford   
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] installation 2005.1

2005-09-02 Thread Robert Crawford
On Friday 02 September 2005 09:37 pm, Dita widyo wrote:
> hello,i am new using gentoo linux,as far i used to use
> windows.now i am trying linux and i choose gentoo.but
> i have problem with the installation.after ekstract
> source file using command tar -xvjpf some file can not
> extracted.example that i remembered
> usr/lib/perl15/.
> can not write i forget and no space left on the
> device and use command ls /mnt/gentoo  the directory
> has been built just usr bin tmp and 2 more i forget.
>
> tell me what's wrong???or the cd installation was
> broken
>
> thanks and i am sorry if my english is not good

It sounds like the size of your root partition might be too small.  What size 
(in GB) did you make root, swap, and home? I'd never try and install Gentoo 
with less than a 4 GB root, assuming I wanted much on it. Plusm Gentoo needs 
room to work when doing your compiling, which is a feature of Gentoo and 
source based distros. If you don't have much space, I recommend Slax as one 
of the best "small" yet feature packed distro.  There are other good ones 
too.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: /dev/cdrom has gone!

2005-09-05 Thread Robert Crawford
On Monday 05 September 2005 09:56 am, [EMAIL PROTECTED] wrote:
> thanks to all...
>
> i finally get the cdrom work, not perfectly though, i change
> the BIOS setting that use S-ATA only instead and keep P-ATA
> enabled, which makes cdrom the primary 1st, the sata drive
> recognized as primary third. (i hate such layout !! i prefer
> the hard disk to be the primary first and recognized as hda).
>
> at last, the sata drive was recognized as sda, so that's the
> whole story,
>
> now i'm wondering what on earth are the changes made with those
> BIOS settings, and how it affect the kernel? (because whatever i
> configure, the M$ Windows just works perfectly).
>
> i would not think the problem solved already, i'll take a look at
> this later.
>
> thanks again.
> daniel
>
> On Sat, Sep 03, 2005 at 02:35:51PM -0400, Greg Yasko wrote:
> > On Sat, 03 Sep 2005 18:19:37 +0800, danielhf wrote:
> > > i upgrade my system to use udev instead of previously known
> > > devfs, and leave the devfs option blank while configure the
> > > kernel, but recently, i found i could not mount my cdrom,
> > > there is no such device at all! the /dev/cdrom and the like has
> > > gone!
> > >
> > > any ideas please, thanks a lot.
> > >
> > > -
> > > daniel
> >
> > I had the same problem several months ago when I upgraded to the 2.6
> > kernel and udev.
> >
> > Just boot off the livecd, mount the / partition and delete .devfsd from
> > the /dev directory. That should do it.
> >
> > Hope this helps.
> >
> > -G.Y.

I just had a similar problem after I updated udev (I think). I run ~x86 
systems, always kept current, so I expect a few minor hiccups, even though 
I'm extremely careful  with etc-update. There seems to be some weird stuff 
going on with udev, at least on my system, but after a lot of reading on the 
formum, and trying many things, I tried changing my fstab line

/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,rw,user  
0 0

to this.

/dev/hdc/mnt/cdrom  iso9660 noauto,rw,user  0 0

I think some rule in the new udev changed, and it wasn't creating cdroms and 
cdrom0 anymore- only /dev/hdc.

I looked in /dev, and sure enough, the cdrom and cdrw links point to the hdc 
block device.

Anyway, whatever it was, changing the fstab line now lets me mount cdroms 
normally, as before.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: /dev/cdrom has gone!

2005-09-05 Thread Robert Crawford
On Monday 05 September 2005 10:51 am, Steve Evans wrote:
> On Monday 05 Sep 2005 15:31, Robert Crawford wrote:
> > I just had a similar problem after I updated udev (I think). I run ~x86
> > systems, always kept current, so I expect a few minor hiccups, even
> > though I'm extremely careful  with etc-update. There seems to be some
> > weird stuff going on with udev, at least on my system, but after a lot of
> > reading on the formum, and trying many things, I tried changing my fstab
> > line
> >
> > /dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,rw,user  
> > 0 0
> >
> > to this.
> >
> > /dev/hdc/mnt/cdrom  iso9660 noauto,rw,user  0 0
> >
> > I think some rule in the new udev changed, and it wasn't creating cdroms
> > and cdrom0 anymore- only /dev/hdc.
> >
> > I looked in /dev, and sure enough, the cdrom and cdrw links point to the
> > hdc block device.
> >
> > Anyway, whatever it was, changing the fstab line now lets me mount cdroms
> > normally, as before.
> >
> > Robert Crawford
>
> I assume that as you are running ~x86 you have upgraded to gentoo-sources
> version 2.6.13. In that version devfs has been removed (well the config
> option has gone, the code is still there). The /dev/cdroms/cdrom0 style of
> device file name is a part of devfs, so if with earlier kernels you still
> had devfs enabled in the kernel, despite running udev, then you would have
> gotten the /dev/cdroms/cdrom0 link.
>
> I am running x86 and running with udev but with devfs still in the kernel.
> Yesterday I disabled devfs on one of the machines so that I could see what
> would break in preparation for 2.6.13 moving to x86. I experienced exactly
> your problem of /dev/cdroms/cdrom0 disappearing. Fortunately the solution
> is simple, as you describe above.
>
> Steve
> --
> 
> Steve EvansE-mail: mailto:[EMAIL PROTECTED]
>WEB:http://www.gorbag.com
> Registered Linux user #217906: http://counter.li.org
> Public Encryption Key: http://www.gorbag.com/public-key.html
> 

Steve,
What you say makes perfect sense, but I'm still not sure I have an 
understanding of what has changed. I always compile my own kernels from 
vanilla, and patches, so I haven't used gentoo-sources in at least 2 years. 
My  current kernel is 2.6.13-gvivid (based on 2.6.13 final), which works 
great, and is where I first noticed this cdrom problem. I did notice that 
devfs had finally been removed.

However, when I boot with other previous kernels (2.6.12.x- vivid and nitro, 
and 2.6.12.3 vanilla),  the problem remains. This leads me to believe that 
somehow it's the newest udev version causing and some kind of compatibility 
issue with recent kernels. I haven't investigated this much, but it didn't 
happen with the previous udev version.

Anyway, for now I'm content with the fstab hdc edit resolution, and happy to 
be rid of devfs..

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



Re: [gentoo-user] Re: /dev/cdrom has gone!

2005-09-05 Thread Robert Crawford
Page 5-6 of a long udev thread is good reading on recent udev problems.

Robert
http://forums.gentoo.org/viewtopic-t-355069-postdays-0-postorder-asc-start-100.html


On Monday 05 September 2005 10:51 am, Steve Evans wrote:
> On Monday 05 Sep 2005 15:31, Robert Crawford wrote:
> > I just had a similar problem after I updated udev (I think). I run ~x86
> > systems, always kept current, so I expect a few minor hiccups, even
> > though I'm extremely careful  with etc-update. There seems to be some
> > weird stuff going on with udev, at least on my system, but after a lot of
> > reading on the formum, and trying many things, I tried changing my fstab
> > line
> >
> > /dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto,rw,user  
> > 0 0
> >
> > to this.
> >
> > /dev/hdc/mnt/cdrom  iso9660 noauto,rw,user  0 0
> >
> > I think some rule in the new udev changed, and it wasn't creating cdroms
> > and cdrom0 anymore- only /dev/hdc.
> >
> > I looked in /dev, and sure enough, the cdrom and cdrw links point to the
> > hdc block device.
> >
> > Anyway, whatever it was, changing the fstab line now lets me mount cdroms
> > normally, as before.
> >
> > Robert Crawford
>
> I assume that as you are running ~x86 you have upgraded to gentoo-sources
> version 2.6.13. In that version devfs has been removed (well the config
> option has gone, the code is still there). The /dev/cdroms/cdrom0 style of
> device file name is a part of devfs, so if with earlier kernels you still
> had devfs enabled in the kernel, despite running udev, then you would have
> gotten the /dev/cdroms/cdrom0 link.
>
> I am running x86 and running with udev but with devfs still in the kernel.
> Yesterday I disabled devfs on one of the machines so that I could see what
> would break in preparation for 2.6.13 moving to x86. I experienced exactly
> your problem of /dev/cdroms/cdrom0 disappearing. Fortunately the solution
> is simple, as you describe above.
>
> Steve
> --
> 
> Steve EvansE-mail: mailto:[EMAIL PROTECTED]
>WEB:http://www.gorbag.com
> Registered Linux user #217906: http://counter.li.org
> Public Encryption Key: http://www.gorbag.com/public-key.html
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdk build error

2005-09-15 Thread Robert Crawford
On Thursday 15 September 2005 12:44 pm, Aleksandr Guidrevitch wrote:
> Hi there,
>
> I get the following error while `emerge -uD world`:

> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No
> such file or directory
> make: *** [libcdk.la] Error 1
>
> I have 3.3.6 installed. I've also run `fix_libtool_files.sh 3.3.5` but
> it doesn't help
>
> Sincerely,
> Aleksandr Guidrevitch

Try rebuilding libtool, then do fix_libtool_files.sh again. Then try your 
emerge -uD world again.

Sometimes that seems to be required.  If that doesn't work, have you also kept 
up with doing revdep-rebuild after big emerges- that might contribute to the 
problem too. (use the -p option first to see what you are dealing with).

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -u world fails -- broke compiler?

2005-09-18 Thread Robert Crawford
What is the output of:

gcc-config -l(-l  is a small L)

and the output of:
 emerge --info

Robert Crawford

On Sunday 18 September 2005 03:41 pm, [EMAIL PROTECTED] wrote:
> test
>
> On Sunday 14 August 2005 18:35, maxim wexler wrote:
> > Hello everybody,
> >
> > This is another "C compiler cannot create executables
> > error" :( There's a lot of stuff in the archive about
> > it but nothing I've seen so far seems to suit my case.
> >
> > I ran emerge --sync successfully and then tried -uv
> > world; it failed trying to compile sed-4.1.4
> >
> > Sure enough, compiling Hello_World.c, did not produce
> > the .o file
> >
> > Anyways, here's the /var/tmp/portage/../config.log:
> >
> > This file contains any messages produced by compilers
> > while
> > running configure, to aid debugging if configure makes
> > a mistake.
> >
> > It was created by sed configure 4.1.4, which was
> > generated by GNU Autoconf 2.59.  Invocation command
> > line was
> >
> >   $ ./configure --prefix=/usr --host=i686-pc-linux-gnu
> > --mandir=/usr/share/man --infodir=/usr/share/info
> > --datadir=/usr/share --sysconfdir=/etc
> > --localstatedir=/var/lib --enable-nls
> >
> > ## - ##
> > ## Platform. ##
> > ## - ##
> >
> > hostname = dayglo
> > uname -m = i686
> > uname -r = 2.6.11-gentoo-r3
> > uname -s = Linux
> > uname -v = #3 Wed Aug 3 11:42:53 Local time zone must
> > be set--see zic manua
> >
> > /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+
> > /bin/uname -X = unknown
> >
> > /bin/arch  = i686
> > /usr/bin/arch -k   = unknown
> > /usr/convex/getsysinfo = unknown
> > hostinfo   = unknown
> > /bin/machine   = unknown
> > /usr/bin/oslevel   = unknown
> > /bin/universe  = unknown
> >
> > PATH: /sbin
> > PATH: /usr/sbin
> > PATH: /usr/lib/portage/bin
> > PATH: /bin
> > PATH: /usr/bin
> > PATH: /usr/local/bin
> > PATH: /opt/bin
> > PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> > PATH: /opt/ati/bin
> > PATH: /usr/qt/3/bin
> > PATH: /usr/kde/3.4/sbin
> > PATH: /usr/kde/3.4/bin
> >
> >
> > ## --- ##
> > ## Core tests. ##
> > ## --- ##
> >
> > configure:1376: checking for a BSD-compatible install
> > configure:1431: result: /bin/install -c
> > configure:1442: checking whether build environment is
> > sane
> > configure:1485: result: yes
> > configure:1550: checking for gawk
> > configure:1566: found /bin/gawk
> > configure:1576: result: gawk
> > configure:1586: checking whether make sets $(MAKE)
> > configure:1606: result: yes
> > configure:1682: checking for i686-pc-linux-gnu-strip
> > configure:1711: result: no
> > configure:1720: checking for strip
> > configure:1736: found /usr/bin/strip
> > configure:1747: result: strip
> > configure:1791: checking for i686-pc-linux-gnu-gcc
> > configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc
> > configure:1817: result: i686-pc-linux-gnu-gcc
> > configure:2099: checking for C compiler version
> > configure:2102: i686-pc-linux-gnu-gcc --version
> > &5
> > i686-pc-linux-gnu-gcc (GCC) 3.3.5  (Gentoo Linux
> > 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
> > Copyright (C) 2003 Free Software Foundation, Inc.
> > This is free software; see the source for copying
> > conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR
> > A PARTICULAR PURPOSE.
> >
> > configure:2105: $? = 0
> > configure:2107: i686-pc-linux-gnu-gcc -v  >
> > >&5
> >
> > Reading specs from
> > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
> > Configured with:
> > /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure
> > --enable-version-specific-runtime-libs --prefix=/usr
> > --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5
> > --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include
> > --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5
> > --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man
> > --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info
> > --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g
> >++ -v3 --host=i686-pc-linux-gnu --disable-altivec
> > --enable-nls --without-included-gettext
> > --enable-__cxa_atexit --enable-clocale=gnu
> > --with-system-zlib --disable-checking --disable-werror
> > --disable-libunwind-exceptions --enable-

Re: [gentoo-user] klibc fails

2005-09-25 Thread Robert Crawford
On Sunday 25 September 2005 02:44 am, Martin S wrote:
> Doing a update of my system I get the following error:
>
> /usr/src/linux/include/linux/times.h:60:28: division by zero in #if
> /usr/src/linux/include/linux/times.h: In function `nsec_to_clock_t':
> /usr/src/linux/include/linux/times.h:61: error: `x' undeclared (first
> use in this function)
> /usr/src/linux/include/linux/times.h:61: error: (Each undeclared
> identifier is reported only once
> /usr/src/linux/include/linux/times.h:61: error: for each function it
> appears in.)
> /usr/src/linux/include/linux/times.h:61: error: `NSEC_PER_SEC'
> undeclared (first use in this function)
> /usr/src/linux/include/linux/times.h:61: error: `USER_HZ' undeclared
> (first use in this function)
> make[1]: *** [eval.o] Error 1
> make[1]: Leaving directory `/var/tmp/portage/klibc-1.1/work/klibc-1.1/ash'
> make: *** [all] Error 2
>
> !!! ERROR: dev-libs/klibc-1.1 failed.
>
>
> Tried looking through the forums, but I failed to find something. Any
> suggestions as how to solve this.
>
>
> Regards,
>
> Martin S

Did you try looking in Gentoo Bugzilla?  I find that's a great resource for 
solving problems like this.

http://bugs.gentoo.org/

type in klibc in the search box.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] partitioning from Knoppix

2005-10-08 Thread Robert Crawford
I'm virtually certain re-writing the partition table is going to require a 
reboot. 

BTW, over the years I've had several drives with the "over 1024" cylinder 
message, and it has never been a problem with many versions of linux, 
including Gentoo, so that shouldn't be a problem using any modern distro.

Robert Crawford

On Saturday 08 October 2005 04:36 am, Jorge Almeida wrote:
> I'm trying to reinstall gentoo, after serious troubles due to hd failure
> (I fear) or filesystem corruption (I hope). So, I booted Knoppix and I'm
> trying to repartition hda. I deleted all partitions and tried to save
> changes, before making new partitions. Problem is:
>
>   [EMAIL PROTECTED] fdisk /dev/hda
>
>   The number of cylinders for this disk is set to 9733.
>   There is nothing wrong with that, but this is larger than 1024,
>   and could in certain setups cause problems with:
>   1) software that runs at boot time (e.g., old versions of LILO)
>   2) booting and partitioning software from other OSs
>  (e.g., DOS FDISK, OS/2 FDISK)
>
>  Command (m for help): p
>
>  Disk /dev/hda: 80.0 GB, 80060424192 bytes
>  255 heads, 63 sectors/track, 9733 cylinders
>  Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot  Start End  Blocks   Id  System
>
> Command (m for help): w
> The partition table has been altered!
>
> Calling ioctl() to re-read partition table.
>
> WARNING: Re-reading the partition table failed with error 16:
> Device or resource busy.
> The kernel still uses the old table.
> The new table will be used at the next reboot.
> Syncing disks.
>
>
> Rebooting is not an option, since I'm working remote through ssh.
>
> BTW:
>   [EMAIL PROTECTED] mount
>   /dev/root on / type ext2 (rw)
>   /dev/hdc on /cdrom type iso9660 (ro)
>   /dev/cloop on /KNOPPIX type iso9660 (ro)
>   /ramdisk on /ramdisk type tmpfs (rw,size=813616k)
>   /UNIONFS on /UNIONFS type unionfs
>   (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)
>   /UNIONFS/dev/pts on /UNIONFS/dev/pts type devpts (rw)
>   /proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
>   automount(pid2703) on /mnt/auto type autofs
>   (rw,fd=4,pgrp=2703,minproto=2,maxproto=4)
>   /UNIONFS/dev/hdb5 on /mnt/hdb5 type ext3 (rw)
>
> So, what went wrong? And is there any way to force use of the new table,
> other than rebooting?
> --
> Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with new install

2005-10-13 Thread Robert Crawford
Take a look at these these pages. I've never done a 64bit install myself, but 
these pages should help, and you need a 64bit LiveCD called

"install-amd64-universal-2005.1.iso."

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml

http://gentoo-wiki.com/HOWTO_AMD_64
http://forums.gentoo.org/viewtopic-t-390955.html?sid=f738b1d68cbdbafd1451ecbcc01b181c
http://forums.gentoo.org/viewforum.php?f=46

Robert Crawford
--
On Thursday 13 October 2005 15:00, damian bamforth wrote:
> I am fairly new to linux, and have decided to 'give it
> a shot'. I have read the manual for gentoo... but I
> have run into problems.
>
> My system is an AMD64 3000, with abit AX8 mobo. I
> downloaded "Gentoo 2005.1 Universal install CD" and it
> boots fine, but does not detect the network card,
> which is an on-board device controlled by a 'c plus'
> gigabit ethernet chip.
>
> I managed to get drivers from the manufacturer, in
> source code, but I can't work out how to compile it.
> According to the stuff I read in the manual and on the
> internet, I need to turn the driver source code into a
> .ko file for this to work, then use the
> 'insmod'command.
>
> The 'make' command that I have read about on the
> internet doesn't work. Some documentation talked about
> ensuring links point to the right place, and then
> recompile the kernel, but obviously this is not an
> option on a bootable cd. There doesn't seem to be a c
> compiler either - I tried 'gcc'.
>
> It says in the manual that if I have a universal cd
> then I don't actually need an internet connection at
> this point of the install, but firstly I want to start
> at stage 1, because from what I understand gentoo will
> be configered more acurately to my system (hence
> *better*, I think), and secondly I think I need to
> have the network connection set up at this point in
> order for portage to work right.
>
> So, what do I do now?
>
> Thanks,
> Damian.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] use of /usr/src/linux symlink

2005-11-09 Thread Robert Crawford


- Original Message - 
From: "Philip Webb" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, November 09, 2005 10:28 AM
Subject: Re: [gentoo-user] use of /usr/src/linux symlink



051109 Holly Bostick wrote:

Can someone tell me on what basis this *needs* to be done
as a standard operation?  Not getting it at all.
How many kernels does one keep in a bootable state, anyway
-- and use commonly, without needed external modules, no less --
that this would be necessary?
Really, truly, not getting the point.


Switching kernels is not like using a different browser or editor.
I now have 2.6.14 working ok (still ~x86),
but am keeping 2.6.12 & (may be soon to go) 2.6.9 around
in case something unexpected happens with 2.6.14 .
However, if I want to use 2.6.12 , I will have to recompile Nvidia
& reset the display for Gkrellm & might even find something else needs 
doing.

Some apps do depend on the version of the kernel you are using.

Maybe I'm not getting what you're not getting ... (smile)



I've compiled many hundreds of kernels over the years on lots of linux 
distros, including Gentoo ~x86 systems, and it's perfectly acceptable to 
compile as user in /home/user/kernels, and then su to root for modules 
install and copying/renaming over bzImage to /boot.


I generally have anywhere from 4-8 experimental kernels listed in grub.conf. 
I use to not worry about making the linux symlink in /usr/src point to my 
currently running kernel every time, but lately I've taken to redoing it 
each time I compile a new kernel, as I've found more and more that emerging 
programs look for a kernel symlink in /usr/src, and if it isn't there, 
emerge fails.


I guess it depends on how much updating and compiling you do as too how 
aggrevating this would become, but since it's no big deal to change it, I'd 
recommend doing it as a matter of course, so you don't have to stop and do 
it during an emerge session.


Robert Crawford 




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 11/8/2005

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kde version

2005-11-21 Thread Robert Crawford
On Mon November 21 2005 1:33 pm, Thiago Lüttig wrote:
> Hi folks !
> I upgrade my gentoo every day, and when I try to upgrade the kde, the
> portage always display the last version of kde as 3.4.1. But newer versions
> of kde has been launched (3.4.3). What´s the reason of this late version
> still remains in the portage list ??
>
> __
>
> Atenciosamente,
> Thiago Lüttig

You need to learn about masking in portage. Type in man:portage in a konqueror 
address bar, and look at all the options for setting up your /etc/portage 
directory files. The settings in these files will overide /etc/make.conf

That way, you'll be able to emerge stuff that's in ~x86 in addition to x86 
(so-called "stable."  It's common that the newest kde releases won't make it 
into x86 right away, so you need to "unmask" and "keyword" them. They almost 
always work fine. for example, I've been running kde 3.5 betas  and rc1for 
many weeks- no problems. But, I'm pure ~x86 (in make.conf) anyway, so I 
always have the latest packages show up in my emerge -uD system or world.

Robert Crawford

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] best filesystem for Gentoo

2005-11-26 Thread Robert Crawford
On Sat November 26 2005 11:48 pm, Thomas Harold wrote:
> Colin Copley wrote:
> > Hi List,
> >
> > Any comment on the best filesystem to use for Gentoo running  a
> > webserver, I prefer more speed and less journaling, is there a standard?
>
> Probably can't go wrong with ext2 (personally, I'd still go with ext3
> because you get faster fscks during bootup, right?).  Ext2/ext3 have
> been around for a long time, there are lots of tools written to work
> with them, supported in most (all?) linux distros.
>
> I'm sure there are good arguments for using Reiser, XFS, JFS, etc, but I
> haven't gotten comfortable enough about them to make the switch away
> from ext2/ext3.

For a server, I'd stay away from reiserfs, as it does appear to have serious 
fragmentation over time- this is becoming more and more apparent. Check this 
thread out on Gentoo forums- I posted links to a lot of good info.

http://forums.gentoo.org/viewtopic-t-401591-start-0.html

With ext3, you might want to set the dir_index feature when you format, as 
this allows diretory B=Trees to be used, and really helps with the big 
performance drawback this FS has. This might be your best bet for a 
webserver- rock solid, really good speed (with the dir_index option), and 
virtually no fragmentation over time.

If you deal with lots of really large files, xfs might serve your circumstance 
better, as it performs much better. It really depends on what you are using 
your system for, and what types of files/directories reside on each 
partition. For example, reiserfs (and R4) do much better than the others with 
lots of really small files. But as stated, plan on doing periodic "tarball 
partition and save on another media/reformat partition/copy back all data" 
procedures to defrag the reiserfs partition to maintain top performance. 
There is as yet no decent "repacker" for reiserfs that I know of.

This is contrary to what most people believe about all Linux file systems, but 
for reiserfs, this is becoming an accepted fact. It  does get seriously 
fragmented over time, though probably not as quickly as a FAT or NTFS windows 
partition.

Robert Crawford (wrc1944- on the forum)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-26 Thread Robert Crawford
On Sat November 26 2005 9:15 pm, Alan E. Davis wrote:
> I have tried alot of approaches.  Wvdial is superior for detecting
> hardware: it found my modem on ttyS14, where other approaches hadn't found
> it.
>
> What I cannot seem to do is set up for my family to dial in from their
> accounts.  I have tried changing permissions of various kinds, adding user
> to dialout, etc.
>
> UNCLE!
>
> Alan Davis

Try these thread on the forums- I posted my experience with wvdial- it should 
fix your problems.

http://forums.gentoo.org/viewtopic.php?t=112214&highlight=

or:

http://forums.gentoo.org/viewtopic-t-160597-highlight-wvdial+wrc1944.html


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no more NV_SATA, etc support in kernel?

2005-11-30 Thread Robert Crawford
With 2.6.14-rc5, and 2.6.14-archck5, all the other usual options for the 
motherboard chipsets are still there under  SCSI low-level drivers (with make 
xconfig).


On Wed November 30 2005 9:37 pm, Ryan Tandy wrote:
> On Wednesday 30 November 2005 17:22, maxim wexler wrote:
> >>Hello everybody,
> >
> >hi!
> >
> >>I note NV_SATA, SIL_SATA, CONFIG_FORCEDETH and
> >>whatever other options are no longer offered in make
> >>menuconfig for the stage3 tarballed kernel 2.6.12-r6
> >>or for the latest 2.6.14-r2. These are precisely the
> >>options my board, Asus K8NE w/nVidia and Sil3114,
> >>requires for SATA drives and the onboard ethernet.
> >>
> >>When the PC boots, and it _does_ boot off /dev/sda2,
> >>it can't detect /dev/sda6 where / lives and crashes
> >>just at the point of detecting it:
> >>...
> >>VFS: Cannot open root device "sda6" or
> >>unknown-block(0,0)
> >>Please append a correct "root=" boot option
> >>Kernel panic - not syncing: VFS: Unable to mount root
> >>fs on unknown-block(0,0)
> >>
> >>Ah, but those very drivers are in the kernel used by
> >>the LiveCD to boot. Plus, they're part of the config
> >>file it uses.
> >>
> >>What gives? I note the config options include
> >>CONFIG_SCSI_SATA under low-level SCSI drivers; is that
> >>all that's required.
> >>
> >>Also a very curious file in /usr/portage/distfiles:
> >>NVIDIA-Linux-x86-10=6626-pkg1.run. Anybody know what
> >>this is for?  No  ebuilds correspond to it as far as I
> >>can tell although it must be part of some package or
> >>other.
>
> Either CONFIG_FORCEDETH still exists, or in the 7 or so hours since I
> last synced a new kernel has come out that doesn't have it.  I found it
> under Device Drivers->Network Devices->Ethernet cards (10 and 100
> Mbit)->PCI and built-in.
>
> No idea about the SATA stuff, sorry.
>
> The nVidia file is the proprietary package for nvidia-driver (or
> whatever the pkg name is) version 66.26, in case no one else mentioned
> it yet.
>
> >>-mw
> >>
> >>
> >>
> >>
> >>__
> >>Yahoo! Mail - PC Magazine Editors' Choice 2005
> >>http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE 3.5

2005-12-01 Thread Robert Crawford
Correct. Just to be sure, do emerge -up kde first, and if NS (new slot) is 
before each kde package, you're ready to go. Also it's a good idea to do a :

cp -a /home/user/.kde3.4 .kde.old 

for a backup of your user configs. Maybe also back up a few config files 
in /usr/kde/3.4/share/config.  Really, upgrading to 3.5 is painless and 
simple.

Robert Crawford

On Thu December 1 2005 7:31 pm, Dale wrote:
> Hi,
>
> Just to make sure I get this right, when I upgrade to KDE 3.5, KDE 3.4
> will still be installed right?  This is how it was done in the past but
> I don't want to loose 3.4 until I get used to 3.5 and make sure it will
> work OK.
>
> I use kdm and can select what version of KDE I want to login to.  I also
> used that to select between KDE, Gnome, IceWM etc when I was testing the
> waters.  Just thought you would like to know that.  Kept me from having
> to edit rc.conf to pick what GUI I wanted to use.
>
> Dale
>
> :-)
>
> --
> To err is human, I'm most certainly human.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE 3.5

2005-12-02 Thread Robert Crawford
Kde-3.5 runs perfect- best kde yet.  Just unmask it 
in /etc/portage/package.keywords, like this:

=kde-base/arts-1.5.0 ~x86
=kde-base/kdelibs-3.5.0 ~x86
=kde-base/kdebase-3.5.0 ~x86
=kde-base/kdenetwork-3.5.0 ~x86
=kde-base/kdepim-3.5.0 ~x86
=kde-base/kdemultimedia-3.5.0 ~x86
=kde-base/kdeutils-3.5.0 ~x86
# =kde-base/kdesdk-3.3.0 ~x86
=kde-base/kdegraphics-3.5.0 ~x86
# =kde-base/kdegames-3.3.0 ~x86
# =kde-base/kdeedu-3.3.0 ~x86
# =kde-base/kdetoys-3.3.0 ~x86
=kde-base/kdeartwork-3.5.0 ~x86
=kde-base/kdeaddons-3.5.0 ~x86
=kde-base/kdeadmin-3.5.0 ~x86
=kde-base/kdeaccessibility-3.5.0 ~x86

(I just commented out packages I don't use or want).

Then, also add the unwanted packages to /etc/portage/profile/package.provided 
to stop emerge from trying to pull in the unwanted kde packages. Might be a 
simpler way, but this works for me. 3.5 goes in a slot, so your other kde is 
safe.

kde-base/kdetoys-3.5.0
kde-base/kdeedu-3.5.0
kde-base/kdegames-3.5.0
kde-base/kdesdk-3.5.0
kde-base/kde-i18n-3.5.0
kde-base/kdewebdev-3.5.0

On Fri December 2 2005 9:11 am, Dale wrote:
> Neil Bothwick wrote:
> >On Fri, 02 Dec 2005 07:12:04 -0600, Dale wrote:
> >>Anybody know when they will release it in portage?  This weekend maybe?
> >
> >It is already in portage, you only have to unmask it to install. It will
> >probably be a while before the builds are marked stable, the normal delay
> >is 30 days.
>
> Crap, I'm going to bed then.  I can't stay up that long.  Just be a late
> Christmas is all.
>
> Later
>
> Dale
>
> :-)
>
> --
> To err is human, I'm most certainly human.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford
On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:
> Dale wrote:
> > Hi,
> >
> > I have been up and running a while and am running stable but this is
> > Gentoo.  ;)  I found a script that tells you what your CFLAGS are
> > suposed to be and it is different from what I am using.  This is what I
> >
> > am using now, from make.conf of course:
> >>CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
> >
> > This is what the script said:
> >>-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
> >
> > I assume I would have to add the-O3 to that though.
> >
> > I have a AMD XP 2500+ and 1GB of ram.  I like it to run fast even if it
> > takes longer to compile.  I think that is where the -O3 comes in but be
> > gentle if I am wrong.  For those who may read this and not tell the
> > difference, that is a minus sign, the letter O and the number three.
> >
> > What do you folks think?  Is the one I am using better or the one it
> > says?  I do have long uptimes so I do want to stay stable.  I have went
> > as long as 9 months with no reboot.
> >
> > Thanks.
> >
> > Dale
> >
> > :-)
>
> Well, it looks pretty much like my CLAFGS:
>
> CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer -msse
> -mmmx -m3dnow -pipe"   (the same I used with LFS).
>
> The difference being -O2 instead of -O3.
>
> I don't think you'll gain much with the new CFLAGS, but they won't hurt
> stability.
>
> -Kristian Poul Herkild

-mfpmath=sse is not a good idea, the consensus is it actually lowers 
performance.  -msse -mmmx -m3dnow are redundant (implied by 
-march=athlon-xp), and should be removed from your cflags line, but SHOULD be 
placed in your USE= line, wthout the - sign, like this:

USE="mmx 3dnow sse"

If you use gcc-3.4.4, these flags should work fine (I've used them for a long 
time- no problems).

CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb -ftracer 
-fprefetch-loop-arrays -ffast-math -falign-functions=64 -fno-ident"

CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford
On Sun December 4 2005 6:35 am, Dale wrote:
> Kristian Poul Herkild wrote:
> > Personally I stick to -O2 since -O3 usually won't do much in reality.
> > -O3 takes longer to compile, and there is very little or no gain at
> > all (and sometimes the gain is negative).
> >
> > If space is the most important issue you might want to compile for
> > smallest possible binary, e.g. -Os
> >
> > -Kristian Poul Herkild
>
> Thanks, I may try that -Os on my rig with the tiny drive.  I'm pruning
> it right now.  It's so full it can't compile.  LOL  -O2 huh.  May give
> that a shot too.  I've got a emerge -e world with the gcc update so . .
> . . .
>
> Dale

Have you deleted the content in /var/tmp/portage (not the directory itself)?  
That can get huge very quickly, and is only needed if you're troubleshooting 
failed emerges.  It's where emerge does it's job with compile-time work 
files. A failed emerge of a large package  can leave a file of hundreds of 
mb, and several of those quickly can reach GB's of wasted disk space.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford

On Sun December 4 2005 6:37 am, Kristian Poul Herkild wrote:
> Robert Crawford wrote:
> > On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:
> >
> >
> >
> > -mfpmath=sse is not a good idea, the consensus is it actually lowers
> > performance.  -msse -mmmx -m3dnow are redundant (implied by
> > -march=athlon-xp), and should be removed from your cflags line, but
> > SHOULD be placed in your USE= line, wthout the - sign, like this:
> >
> > USE="mmx 3dnow sse"
> >
> > If you use gcc-3.4.4, these flags should work fine (I've used them for a
> > long time- no problems).
> >
> > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb -ftracer
> > -fprefetch-loop-arrays -ffast-math -falign-functions=64 -fno-ident"
> >
> > CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
>
> Hmm... according to this thread
> http://forums.gentoo.org/viewtopic.php?t=43648 and the GCC manual -march
> does not imply -mmx -msse -m3dnow, nor does it imply mfpmath=sse. I know
> of no consensus of -mfpmath=sse lowering performance. Actually, I only
> know of the opposite from the LFS-community as well as Gentoo Wiki.
>
> I don't want to start a flamewar on this, so if you have other and more
> correct information than me, then please share it :)
>
> -Kristian Poul Herkild

No flame war- if my conclusions/understanding is incorrect, I'd love to know, 
and make corrections!

I think that almost 3 year old thread refers to  -march=cpu ( now deprecated 
for -mtune), not -march=athlon-xp (the actual architecture). -march="cpu 
type" or -mtune generates not only code for say, athlon-xp, but also code for 
the entire family of i386 cpus. Thus the resulting binary is functional with 
different older cpus. 

On the other hand, -march=athlon-xp generates only code that  works with an 
athlon-xp cpu, thus would be more "tuned" to that cpu (less bloat). At least 
that's the theory- why compile in code you don't need and use for other cpus?  
My understanding of man gcc is that -march=athlon-xp does enable mmx 3dnow 
sse support.

In other words, from a "freshmeat" article:
-
"-march implies -mcpu, so when you use -march, there's no need to use -mcpu. 

 -mcpu generates code tuned for the specified CPU, but it does not alter the 
ABI and the set of available instructions, so you can still run the resulting 
binary on other CPUs. 

 When you use -march, you generate code for the specified machine type, and 
the available instructions will be used, which means that you probably cannot 
run the binary on other machine types."


For example, from this thread http://forums.gentoo.org/viewtopic.php?p=275851, 
page 3, bottom:

"If I compile with -march=athlon-xp, sse, 3dnow, and mmx are enabled (through 
the -D__athlon_sse__ -D__tune_athlon__ -D__tune_athlon_sse__ -D__SSE__ 
-D__MMX__ -D__3dNOW__ -D__3dNOW_A__ macros). When I add, for example -mmmx, 
-mno-mmx appears after -mmmx in the "options enabled" list in the output of 
gcc -Q -v -march=athlon-xp -mmmx. However, -D__MMX__ doesn't go away, so MMX 
is still used. In short -mmmx, -msse, and -m3dnow are unneccessary, but they 
don't hurt.undefined"

Over the years, I've read similar statements by experienced people on hundreds 
of posts on many forums and groups- sorry I can't point you to them off the 
top of my head. If you can wade through the huge cflags central Gentoo forum 
threads (an ordeal in itself), you will probably reach the same conclusions I 
have.

Also, as I understand it from some recent posts, compiling in mmx 3dnow sse 
support is pointless bloat in any programs that don't use it, thus putting 
them in USE= makes much more sense than cflags.

As for-mfpmath=sse, every benchmark testing article (and several more recent 
forum posts I've seen indicate no real performance gain, and in many cases, 
degraded performance, at least with AMD cpus. That's contrary to what man gcc 
generally says, but people who have actually run tests tend to disagree. Keep 
in mind that the version of gcc used and cpu type (AMD or INTEL) also 
influences the results. However, If anyone knows of more recent info on this 
flag, please post a link.

Robert Crawford

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is qpkg in latest portage

2005-12-08 Thread Robert Crawford
On Thu December 8 2005 5:46 pm, Neil Bothwick wrote:
> On Thu, 08 Dec 2005 12:13:47 -0600, Harry Putnam wrote:
> > I'm in the process of installing from scratch and noticed that qpkg is
> > missing from gentoolkit.  A few portage updates back it was still
> > there but installed onder /opt I think it was.
>
> /usr/share/doc/gentoolkit-0.2.1_rc3/deprecated/qpkg
>
> Move it to /usr/bin and it won't be removed on the next gentoolkit update.

Do you mean move the entire qpkg directory to /usr/bin, or the individual qpkg 
shell script?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: kview missing 50% of its menus - what to install?

2005-12-13 Thread Robert Crawford
kdeaddons?


On Tuesday 13 December 2005 09:43, [EMAIL PROTECTED] wrote:
> Chris White <[EMAIL PROTECTED]> writes:
> > On Tuesday 13 December 2005 11:38, [EMAIL PROTECTED] wrote:
> > [lots of ranting]
> >
> > This email would prove more usefull to us if it was less rant and more
> > specifics.  How you want us to figure out what version of kde you're
> > using, what guide you're talking about, or what browser functionality
> > you're referring to is beyond me.  Give us more details and until you do
> > this remains nothing BUT a rant.
>
> Let me try this again, without dorky rant.
>
> Version of kde 3.4.1  Installed like this:
> emerge -v kde-base/kdebase
>
> With that installed, the kview tool appears to be missing several menu
> items referenced in kde's kview manual.
>
> My version shows:
>
> File  Edit View Go Tools Settings Help
>   As is expected I believe.
>
> Clicking help there brings up kview manual.  In the headings one
> finds:
>   A sample KView session
>
> Beginning there, user is walked thru creating a wallpaper.
>
>   [...] At header:
>   Stirring the Paste
>
> We find:
>
>   We wanted to be creative, didn't we? KView provides some filter
>   functions to manipulate images. They are (conveniently) placed in the
>   Filter menu. Firstly, we will change the so-called “gamma factor”.
>
> My kview browser does not have a `Filter menu'  and so no `gamma
> factor' either.
>
> Further along is header:
>Cluttering up your desktop:
> Where we find:
>
>The great moment has finally come: Choose Desktop->Desktop Tile and
>admire your incredibly artistic background:
>
> My kview browser does not have `Desktop->Desktop Tile
>
> I'm guessing there are other kde packages that add that stuff to
> kview?  And asking what they might be.
>
> I currently have these installed:
>
> kde-base/kdegraphics-3.4.1-r1
> kde-base/kdelibs-3.4.1-r1
> kde-base/kdebase-pam-6
> kde-base/kde-env-3-r4
> kde-base/arts-3.4.1-r2
> kde-base/kdebase-3.4.1-r1
> kde-base/kdeartwork-3.4.1
> kde-base/kdepim-3.4.1-r2
> kde-base/kdegames-3.4.1
> kde-base/kdeutils-3.4.1
> kde-base/kdenetwork-3.4.1-r1
> kde-base/kdeedu-3.4.1-r1

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: kview missing 50% of its menus - what to install?

2005-12-13 Thread Robert Crawford
Just suggesting it, as it wasn't in the list of your already installed 
packages. I think it does contain something called fsview (files system view) 
and other plugins that might help add some kview functionality, but yes, I'm 
really just guessing. Can't hurt to emerge it and see.

R.C.

On Tuesday 13 December 2005 11:54, [EMAIL PROTECTED] wrote:
> Robert Crawford <[EMAIL PROTECTED]> writes:
> > kdeaddons?
>
> Does the question mark mean you are guessing or that you are asking
> If I tried adding that?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to make emerge skirt a package built from tar.gz

2005-12-14 Thread Robert Crawford
On Wednesday 14 December 2005 09:36, [EMAIL PROTECTED] wrote:
> Isn't /etc/package/provides the proper way to do this as inject is
> deprecated?

It's: 
/etc/portage/profile/package.provided


>
> > From: [EMAIL PROTECTED]
> > Date: 2005/12/14 Wed AM 12:35:17 EST
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user]  Re: How to make emerge skirt a package built from
> > tar.gz
> >
> > Ryan Tandy <[EMAIL PROTECTED]> writes:
> > > emerge --inject 'app-foo/bar-1.2.3'
> > >
> > > Sounds like that's what you're thinking of.
> > > --
> >
> > That may be a way to do it.  It isn't what I was thinking of though.
> > I've never heard of this and man emerges has almost nothing to say
> > about it.  And `man inject'  doesn't now about it at all.
> >
> > The man page makes a brief comment:
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to make emerge skirt a package built from tar.gz

2005-12-14 Thread Robert Crawford
On Wednesday 14 December 2005 19:54, [EMAIL PROTECTED] wrote:
> Robert Crawford <[EMAIL PROTECTED]> writes:
> > On Wednesday 14 December 2005 09:36, [EMAIL PROTECTED] wrote:
> >> Isn't /etc/package/provides the proper way to do this as inject is
> >> deprecated?
> >
> > It's:
> > /etc/portage/profile/package.provided
>
> Is it really /etc/portage/profile though?  All my other `package'
> files are at /etc/portage
>
>  ls /etc/portage
>   package.keywords  package.keywords~  package.use  package.use~
>
> I saw the output from emerge posted here and it does say:
>/etc/portage/profile/package.provided
>
> I just wondered if that is deprecated in favor of
> /etc/portage/package.provided since all the other package adjustment
> files are there and seem to work from there as expected.


 /etc/portage/profile/package.provided always works for me. However, I don't 
know if its location is being  changed to  /etc/portage/package.provided, 
where all the other files are placed.  I did wonder why package.provided 
needed a "profile" directory, but have never seen the reason mentioned 
anywhere.

R.C.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaning up portage

2006-04-12 Thread Robert Crawford
On Wednesday 12 April 2006 16:59, CR Little wrote:
> I did a df -h on my system today and I only have 300 megs left on /usr
>
>
>
> So I went into /usr/portage and ran du -sh and it shows as 1.5G
>
>
>
> I then went into /usr/src and ran du -sh and it shows as 1.5G also
>
>
>
> Granted this is a small box - 5 Gigs for /usr
>
>
>
> Should I delete all the outdated sources in /usr/src to gain space and
> if so will is a simple rm -rf linux-2.6.outdated work?
Try using yacleaner to clean out obsolete distfiles- works great, and I've 
tried them all- this is the best IMO! Also cleans out other junk too. It's 
usually good for about 1GB if you haven't cleaned up stuff in a while.  Look 
on forum for link to download.  I use version 3.1- the more recent ones have 
had problems.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaning up portage

2006-04-12 Thread Robert Crawford
On Wednesday 12 April 2006 18:13, Benno Schulenberg wrote:
> CR Little


CR Little,
Please post output of df -h, and your /etc/fstab. From the posts on your 
problem, I can't tell what's what- looks lke all is on /usr, as its own 
partition.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaning up portage

2006-04-13 Thread Robert Crawford
On Thursday 13 April 2006 09:38, CR Little wrote:
> It's a single drive.
>(add this line
> /dev/hda3 3.7G  1.3G  2.3G  36% /
> /dev/hda5 4.6G  4.1G  285M  94% /usr
> /dev/hda6 4.6G  312M  4.1G   7% /var
> /dev/hda7 2.8G   33M  2.6G   2% /tmp
> /dev/hda8  11G   35M  9.9G   1% /home
> none   89M 0   89M   0% /dev/shm
>
Since /home has a lot of free space, you could put portage (along with 
distfiles) on /home, and after you're satisfied it works OK remove portage 
from /usr, gaining back at least around 1GB or so.

cp -a /usr/portage/ /home

Just to be safe, temporarily rename /usr/portage to portage.old

mv /usr/portage /usr/portage.old

Then change the /etc/make.profile symlink to point to the new location.

cd /etc
rm -rf make.profile
ln -s /home/portage/profiles/default-linux/x86/2006.0 make.profile
  
(this is just an example from my system- you may using a different profile- 
check with emerge --info)

Edit /etc/make.conf (add this line)

PORTDIR=/home/portage

Run an emerge --sync to check if it works. It should, and you can then do:

rm -rf /usr/portage.old
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Help : need grub,conf file : kernel wouldn't boot

2006-04-16 Thread Robert Crawford
On Sunday 16 April 2006 13:46, Regis Decamps wrote:
> Rohit and Bhavana wrote:
>  > Hi all,
>  >
>  > I have built my kernel 2.6.15-r5 [not the latest I know but should
>  > support all that I have].
>  > I am unable to boot it. It stops looking for root device when booting.
>  > Corresponding line from my grub,conf is title Linux-latest
>  >
>  > kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
>  > real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1
>  > initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5

Do you have ANY kernel that does boot on this system?  If so, or even if not, 
post a copy of your entire grub.conf, and your /etc/fstab file, so we can see 
how your system partitions are set up.  Is there an error message, like error 
17, or some other number?

I think your (hd0,2) and root=dev/hd2 are probably wrong.

If you installed Gentoo following the Docs, your /boot should be hda1, swap 
hda2, and / hda3.
Your grub should be installed on the MBR, and grub.conf should look something 
like this, set up with no splash framebuffer:

title=[Evo-2.6.16-beyond1]
root (hd0,0)
kernel /boot/2.6.16-beyond1 root=/dev/hda3

With a splash framebuffer, something like this:

title=Gentoo [Evolution-Mission]
root (hd0,0) # boot partition
kernel /vmlinuz-2.6.15-archck root=/dev/hda3 
video=vesafb:[EMAIL PROTECTED],mtrr,ywrap splash=silent,fadein,theme:default 
quiet console=tty1
initrd (hd0,0)/fbsplash-default

Robert Crawford.
-- 
gentoo-user@gentoo.org mailing list