Re: [gentoo-user] Problems to update caused by nvidia-drivers?

2018-03-09 Thread John Campbell
On 03/09/2018 08:42 PM, tu...@posteo.de wrote:

> Looks like nvidia-drivers dont wants the update...or is there any way
> around it -- except of masking the update?

Mask it.  Wait for Nvidia to update.

xorg-1.19.901 doesn't work with nvidia 390.25...I've tried.  The "901"
version of xorg is actually 1.20_rc1.

There's also a permissions problem floating around in the bug reports
which might be masking a working version.  But when I tried the xorg
package, it didn't work, so I'll just wait for either an all-clear
notice or a newer version of the nvidia-drivers.



Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system

2018-02-02 Thread John Campbell
On 02/02/2018 01:07 PM, Floyd Anderson wrote:
> Hi Helmut,
> 
> On Fri, 02 Feb 2018 18:34:23 +0100
> Helmut Jarausch  wrote:
>> With glibc-2.27 installed I cannot compile anything, since most
>> packages try to include 
>> which doesn't exit any more.
>> And downgrading glibc using a binary package doesn't work.
>>
>> It looks like I have to restore my system from a recent backup,
>> very annoying!
> 
> Restoring your backup is probably faster but I want to point out the
> possibility of an intermediate build chroot [1] to get back a working
> toolchain. This helped me in the past to solve troubles with glibc and
> when I didn’t knew about buildpkg/buildsyspkg for FEATURES variable.

It's been fixed now.  glibc-2.27-r1 is in the tree and re-instates the
x32 libs and headers.

I just emerged the new lib and everything is find.  I have
FEATURES=preserve-libs set so I'm not sure how the missing x32 libs
might effect your compile but I had no issues.




Re: [gentoo-user] gambas-3.10.0 installed from jorgicio overlay can't run

2017-12-09 Thread John Campbell
On 12/08/2017 11:04 PM, Kruglov Sergey wrote:

> I installed the 'gambas-3.10.0' from the overlay 'jorgicio'
> (http://data.gpo.zugaina.org/jorgicio/dev-lang/gambas/)
> And I can't run it. In /usr/bin/gambas3 there is a link to
> 'gambas3.gambas' and 'gambas3.gambas' not found.
> Maybe somebody already fix it? 

I haven't tried to install but there are several things I noticed.

There are two sets of ebuilds for the same program.  "dev-lang/gambas"
which is the version you tried, and "dev-util/gambas" which seems to be
slightly less up to date but from a better class of repositories (Funtoo
is a distro in and of itself).

I'd suggest downloading the most recent ebuild from various repositories
and comparing them  One of the older versions might work, and you'd just
have to set up your own local overlay to pull in the latest 3.10.0 version.




Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-22 Thread John Campbell
I don't know if this has been suggested yet, but I run cron on UTC,
which doesn't do daylight saving time. It's an option in cronie to set
the TZ for crontab.  I just have to transcode times from local to UTC
when setting up the job.



Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread John Campbell

> I installed ffmpeg- and it compiles fines.
> 
> Everything else failed again (for example mpv-).
> 
> Why does an update of already ok installed applications
> break something in parts because the installation
> has components, which are mutually exclusive?
> They weren't before (whichout the update everythong was fine...)

I've been periodically fighting with mpv and ffmpeg for various reasons
for quite some time.  Which is why I've been pushed into running live
versions of both.  Version bumps on ebuilds that fail version checks
(like this one) is my first line of defence.

The reason live rebuilds keep breaking even though they're installed it
the upstream developers change to library requirements and flags without
telling anyone.

There's a bug report about this at https://bugs.gentoo.org/635650 which
seems to offer several solutions and satisfies none...  It looks like
the decision at present is "wait and hope it gets fixed upstream"



Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread John Campbell
On 11/07/2017 05:01 PM, tu...@posteo.de wrote:
> Hi,
> 
> I got a couple of depending compilation errors...
> 
> Top of the stack seems to a problem with mpv / libav.
> 
> Is there any known fix for that?
> 
> Thanks a lot for any help in advance! :)

I've got mpv- installed.  I'm pretty sure you need to move to
ffmpeg- as well.

Also, libav and ffmpeg are mutually exclusive.  You can have one, but
not the other.



Re: [gentoo-user] [OT] In search of a certain program...

2017-10-13 Thread John Campbell
On 10/13/2017 08:19 PM, R0b0t1 wrote:
>> Hi all,
>>
>> thanks for all the input! :)
>>
>> I am searching for a program called qcalc. I know bc and several
>> others but -- sorry -- this time it has to be qcalc.
>>
>> Does someone knows about this specific program?
>>
>> Cheers
>> Meino
>>
> 
> I remember a "qcalc," but really it seems like I am not remembering
> the name properly, and you are looking for
> https://packages.debian.org/wheezy/qalc.

qalc is included in sci-libs/libqalculate.  Try emerging
sci-calculators/qalculate-gtk, which as far as I know is the only thing
that pulls in libqalculate.



Re: [gentoo-user] no more googleearth in portage

2017-09-20 Thread John Campbell
On 09/19/2017 10:55 PM, Raffaele Belardi wrote:
> I suppose it's due to Google's choice to support only Chrome, although I 
> missed the Gentoo
> news bit if there was one.
> 
> For Android there is the really good Open Street Map application, are there 
> any desktop
> alternatives in Portage for non-Chrome users? I know OSM has a web interface 
> but I'd
> prefer a standalone application.

Gentoo has never handled new versions of googleearth well.  They gave up
this time.

The alt version  from the voyageur overlay (found from zugainia.org
site) worked with the new 7.3.0.3830 google earth with slight modifications.



Re: [gentoo-user] is zfs no longer compatible with systemd?

2015-10-08 Thread John Campbell

On 10/07/2015 11:51 PM, cov...@ccs.covici.com wrote:

In trying to emerge sysf-fs/zfs today I get the following
[ebuild   R   *] sys-fs/zfs-::gentoo  USE="rootfs -bash-completion
-custom-cflags -debug (-kernel-builtin) -static-libs -test-suite"
PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
[blocks B  ] >=sys-fs/udev-init-scripts-28
(">=sys-fs/udev-init-scripts-28" is blocking sys-fs/zfs-)

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)

  * Error: The above package list contains packages which cannot be
  * installed at the same time on the same system.

   (sys-fs/zfs-:0/0::gentoo, ebuild scheduled for merge) pulled in by
 sys-fs/zfs required by @selected
 sys-fs/zfs

   (sys-fs/udev-init-scripts-30:0/0::gentoo, installed) pulled in by
 >=sys-fs/udev-init-scripts-25 required by
   (sys-apps/systemd-226-r1:0/2::gentoo, installed)


Am I reading this correctly, or is there a way to satisfy the block?


Just from your output and reading the ebuilds you can downgrade to 
udev-init-scripts-27




Re: [gentoo-user] Re: !!!!

2015-08-19 Thread John Campbell



Maybe emerge --quiet=y -a @smart-live-rebuild


Smart live rebuild only deals with live ebuilds. How would it help in this
case?


It seems I miss-remembered from the first post, looking back I see it 
was revdep-rebuild, not smart-live-rebuild.





Re: [gentoo-user] Re: !!!!

2015-08-18 Thread John Campbell

On 08/18/2015 06:38 PM, walt wrote:

On Tue, 18 Aug 2015 18:03:31 -0700
John Campbell jdc@cox.net wrote:


I haven't really been following this closely but I haven't seen any
suggestion to use emerge -1 --quiet=y smart-live-rebuild  to remove
the offending curses output.  Hopefully emerge doesn't check/use
curses unless it's producing actual output.


A very obscure hint, and I like it :)  I have no trouble emerging
packages (at the moment) so I emerged app-portage/smart-live-rebuild,
which dragged in eselect-package-manager as a dependency.

'eselect package-manager list' shows only portage as installed, even
though I now also have porthole and smart-live-rebuild installed too.

Do you see something different?


I only have portage as a manager.  You probably have to re-emerge 
porthole to get it to show up.


Your problem seems to be a portage/ncurses mismatch.  Once you fix that 
you should be able to at least see the output from your initial 
smart-live-rebuild


Whenever I have a problem with python throwing out library mismatch 
errors I look to emerge everything from the program to the library. 
Something along the way has probably lost it's library...  And as 
python's an interpreted language revdep-rebuild won't find it.


Do you get different output from emerge @smart-live-rebuild than from 
smart-live-rebuild?  I personally don't use the smart-live-rebuild 
script but instead rely on the emerge @smart-live-rebuild set.  But 
that's just my preference and really shouldn't make any difference.


How about emerge --color=n --nospinner -p @smart-live-rebuild  Color 
and spinners are the only things in portage that should be using curses.


Maybe emerge --quiet=y -a @smart-live-rebuild



Re: [gentoo-user] Re: !!!!

2015-08-18 Thread John Campbell

On 08/18/2015 05:29 PM, walt wrote:

On Tue, 18 Aug 2015 15:52:53 -0400
Alan Grimes alonz...@verizon.net wrote:


Like a stupid dumbfuck, I tried to update my machine today

tortoise ~ # revdep-rebuild
/bin/bash: error while loading shared libraries: libtinfo.so.5: cannot
open shared object file: No such file or directory
tortoise ~ # ufed
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory
sh: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory

Couldn't determine EPREFIX and PORTDIR from Portage
INIT failed--call queue aborted.
tortoise ~ #



GOOD JOB, PENGUINS!!!
I won't even be able to reboot my machine!!!


In addition to the suggestions already made by other posters, it's good
to keep busybox in mind.  Depending on how you boot your machine, there
is usually a way you can pass 'init=/bin/bb' to the kernel at boot time.

You can do wonderful stuff with busybox when you're in a bind.


I haven't really been following this closely but I haven't seen any 
suggestion to use emerge -1 --quiet=y smart-live-rebuild  to remove 
the offending curses output.  Hopefully emerge doesn't check/use curses 
unless it's producing actual output.




Re: [gentoo-user] smartd and ssmtp not sending emails again.

2015-08-04 Thread John Campbell

On 08/04/2015 01:35 AM, Dale wrote:

Howdy,

I went through this before and I haven't changed anything so not sure
why it isn't working now.  I decided to test smartd to make sure that it
would send me a email if a drive developed a problem.  I added -M test
to the line, restarted smartd and got nothing.  I mean nothing but
crickets.  Going to post relevant info that I know of.  Here we go:

Uncommented lines from smartd.conf:


DEVICESCAN -I 194 -I 231 -I 9

/dev/sda -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdb -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test
/dev/sdc -a -d sat -o on -S on -s (S/../.././12|L/../../6/12) -m root -M
test


Everything in smartd.conf after the DEVICESCAN is ignored.

Unless you've stripped out all the comments from smartd.conf it should 
be explained a half dozen lines above your DEVICESCAN line.





Re: [gentoo-user] gentoo announces total website makeover :-)

2015-03-31 Thread John Campbell

On 03/31/2015 09:39 PM, Gevisz wrote:

On Wed, 1 Apr 2015 02:46:39 +0300 Andrew Savchenko birc...@gentoo.org wrote:


On Wed, 1 Apr 2015 01:37:06 +0200 waben...@gmail.com wrote:

This really made my day. :-)

https://www.gentoo.org/news/2015/03/31/website-update.html


The best design ever! So nice and readable font, so yummy
background, very fast page load.


It did not load from the first try for me.

Than it take some time to load from the second attempt.

A really awful blue background.

The quote from the site:

“We accept that members in more fortunate circumstances may feel
that a site with a 16-colour palette and an optimal screen resolution
  of 640 x 200 pixels is not the best fit for their needs but we urge
such members to keep the greater good in mind. The vast majority of
potential new Gentoo Linux users are still using IBM XT computers,
storing their information on 5.25-inch floppy disks and communicating
via dial-up BBS,” said Roy Bamford (neddyseagoon), a Foundation trustee.

Oh, my God! I really hope that it is the 1 April joke.


Did you notice The new site is also available via Gopher.?

With Gentoo on board they're probably looking at a doubling of the 
available gopher servers.





Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-15 Thread John Campbell

On 06/14/2014 10:10 PM, Dale wrote:

John Campbell wrote:

On 06/14/2014 07:10 PM, Dale wrote:


I don't have a env directory in /etc/portage and there is no
openjpeg-1.3-r2 available in the tree.  I sort of think I know what you
are talking about tho.  I need to create that directory structure for
openjpeg-1.4-r1 and put ABI_X86=32 x32 in the file.


Sorry, I mistyped the version number.


Ahh.  I was curious and thought about that.  That version is mentioned
in the error tho so I wasn't sure.  I wonder tho, can I add that file
and not have a version at all?   Sort of like I do in package.keywords
etc etc.


Yes, you can skip the version number.  It should be just like the 
package.* directories but for env(ironment) variables.  It wouldn't 
suprise me if someone renamed it to package.env someday like they did 
from package.keywords to package.accept_keywords.



Well, I have 16Gbs here.  I'm not lacking for memory.  If memory prices
were to drop a bit, I could upgrade some more.  I'd have to swap out
what I have tho.  Old mobo would only take 4GB sticks and this new one
will take 8GB sticks.


Unless you have a specific reason for keeping both x32 and 64 ABIs I'd 
suggest changing to ABI_X86=32 64 globally in /etc/make.conf (or 
/etc/portage/make.conf).  It's a lot easier than waiting for the next 
conflict.  Then do emerge --new-use --deep @world and you're done. 
There shouldn't bee too many packages that need rebuilding.




Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-14 Thread John Campbell

On 06/14/2014 05:12 PM, Dale wrote:


media-libs/openjpeg:0

   (media-libs/openjpeg-1.5.1:0/0::gentoo, ebuild scheduled for merge)
conflicts with
 =media-libs/openjpeg-1.3-r2:0[abi_x86_64(-)] required by
(media-video/ffmpeg-2.2.3-r1:0/52.55.55::gentoo, installed)


The multilib stuff is a work in progress...  You have two 64bit ABIs set 
up, and ffmpeg wants the x32 rather than the 64.  It needs it's 
libraries to match.  Looks like openjpeg chose the 64 ABI to compile.


Just set ABI_X86=32 x32 for openjpeg.  It's in 
/etc/portage/env/media-libs/openjpeg-1.3-r2





Re: [gentoo-user] Dependency conflict. openjpeg ffmpeg

2014-06-14 Thread John Campbell

On 06/14/2014 07:10 PM, Dale wrote:


I don't have a env directory in /etc/portage and there is no
openjpeg-1.3-r2 available in the tree.  I sort of think I know what you
are talking about tho.  I need to create that directory structure for
openjpeg-1.4-r1 and put ABI_X86=32 x32 in the file.


Sorry, I mistyped the version number.


My question is,
will this eventually be fixed in the tree and the error go away?  I've
never put anything in the env directory before and would prefer to keep
it that way because I will forget it is there and it will come back and
bite me some day.  Ask anyone here.  lol


I doubt it.  Having two different 64bit ABIs isn't a normal use case.  I 
have 8gig of memory, on my system, so I have set it globally as 
ABI_X64=32 64 in /etc/make.conf.  It just wasn't worth the hassle for 
the smaller memory footprint x32 provides.



Now I see why the error didn't make any sense to me.  I usually look for
something like a USE flag conflict or something.  I don't recall ever
running into a 64/32 bit thingy before.  O_O


There seems to be an upheaval in the emul-linux-x32 libraries going on, 
and a lot of packages are adding/subtracting the ABI_X86 options.  It's 
going to be a mess for a while.




Re: [gentoo-user] gstreamer or ffmeg - that's the question

2014-04-28 Thread John Campbell

On 04/28/2014 01:13 AM, Helmut Jarausch wrote:

Hi,
the recent upgrade to Gnome 3.12.1 includes
app-misc/tracker-1.0 which forces me to decide between gstreamer and
ffmpeg.
It says

   The following REQUIRED_USE flag constraints are unsatisfied:
 at-most-one-of ( gstreamer ffmpeg )

But many packages installed here depend on one of these.

What can I do about it and why can't I have both as previously.


It's only asking you to choose which to use for app-misc/tracker, not 
globally.  Just change the USE for that individual package.


echo app-misc/tracker gstreamer -ffmpeg  /etc/portage/package.use/tracker

or

echo app-misc/tracker -gstreamer ffmpeg  /etc/portage/package.use/tracker




Re: [gentoo-user] Logitech MX620 mouse

2013-05-17 Thread John Campbell

On 05/16/2013 09:06 AM, Stefan G. Weichinger wrote:


Has anyone of you managed to map the Search button of the Logitech
MX620 to another function?

A client wants to use that button for panning drawings ... we fiddled
with xmodmap etc but with no success so far.

That button gives not button press event ... so it's kind of strange.

Maybe I have to add some xorg-config section?

EmulateWheelButton sounds interesting because panning with pressing the
wheel works, but is inaccurate (you often move the wheel as well ...).


Take a look at imwheel.  It's a little unmaintained but it still works. 
 I've used it on an old MX1000 and my current PreformanceMX.


You can set mouse buttons on a per window/program basis to have 
different effects for whichever window has focus.  Thus search for 
Firefox and paste for Thunderbird.


You also might need lomoco to turn on the button.  I remember with my 
MX1000, I had to enable the two scroll wheels as buttons.  Otherwise 
they were used by the mouse to scroll fast which I found pretty useless.





Re: [gentoo-user] gst-plugins-ugly Update Error install phase

2012-12-02 Thread John Campbell

On 12/02/2012 12:41 PM, Silvio Siefke wrote:

Hello,

i run update and by gstreamer i become the error message:


Source compiled.
Test phase [not enabled]: media-libs/gst-plugins-ugly-0.10.18



Install gst-plugins-ugly-0.10.18 into 
/var/tmp/portage/media-libs/gst-plugins-ugly-0.10.18/image/ category media-libs

  * ERROR: media-libs/gst-plugins-ugly-0.10.18 failed (install phase):
  *   __eapi2_src_install is not supported


Has someone an idea what is wrong? Has someone same msg and has realized
the Error?


Just try emerging it again.

gstreamer consists of a dozen or so ebuilds.  They tried to mask it out 
until all the files were up, but it looks like they missed something.


Everything is up now, so it should work fine...at least it did for me 
(the second time around).





Re: [gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?

2012-11-26 Thread John Campbell

On 11/26/2012 02:55 PM, Pascal J. Bourguignon wrote:


[blocks B  ] sys-apps/openrc-0.9.9.3 (sys-apps/openrc-0.9.9.3 is 
blocking sys-apps/net-tools-1.60_p20120127084908)


net-tools requires openrc = 0.9.9.3.  Your installed openrc, and 
proposed update, is too old.


Upgrade to openrc-0.11.5...  It came online on Saturday.




Re: [gentoo-user] emerge --depclean: !!! sys-apps/less is part of your system

2011-12-23 Thread John Campbell

On 12/23/2011 12:33 AM, Jarry wrote:


But it was the same in the last week, and yet portage could
live with it. Why it suddenly wants to uninstall something
that is part of system profile? And at the same time it says
it might damage my system. Really nice...


I believe the base, default pager is actually more from 
sys-apps/util-linux not sys-apps/less.  Thus when the last program on 
your system to require sys-apps/less directly migrated to requiring 
virtual/pager it fell back to more.



Honestly, I do not understand this at all. Things worked for
years, now suddenly cause problems, and we call it progress.
What is going to be it tomorrow? bash, tar, or grep?


Bash, sure, in time.  After all, Bash is a replacement for sh and 
there are a lot of alternative shells available.  Wasn't there that push 
to make all scripts work with ash?




Re: [gentoo-user] Re: Converter parallel-port to USB

2011-11-28 Thread John Campbell

On 11/28/2011 07:16 PM, James wrote:


An old parallel port on an old pci card should do the
trick, if all you needs is a parallel port.

Some of those old Laserjet printer could be set up across a serial
port, if nothing else works.


I'd also check your computer's innards for a parallel port header.  My 
gigabyte board has several legacy headers, a parallel port is one of them.




Re: [gentoo-user] xorg-server-1.10 breaks nvidia-drivers

2011-04-01 Thread John Campbell

On 04/01/2011 08:09 AM, walt wrote:

I just updated from xorg-server-1.9 to 1.10, but even the newest beta
from nvidia
complains that 1.10 isn't supported yet for my video cards GeForce FX
5200 and
GeForce 6150SE.

Perhaps drivers for newer cards will work, but I don't know.

The good old nv driver still works with 1.10, happily.


The 270.30 drivers work for newer cards.  It does look like Nvidia has 
been letting the legacy drivers slide though.  I'm not sure how the 
legacy numbering system works, but the newest legacy driver seems to be 
from October.


Just to make sure though, as I forgot to to rebuild the drivers, and had 
evdev failures...you did rebuild your drivers x11-drivers?




Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread John Campbell

On 03/29/2011 08:01 AM, 7v5w7go9ub0o wrote:


While I've been quite pleased with mplayer as tweaked by Nikos
Chantziaras to allow Multi threading on my core-I7 (Nvidia) (and I
realize that MT will now be in the upstream distribution), I'm wondering
if mplayer2 is now stable and better enough to merit switching.


Mplayer2 installs in parallel, so try them both.

I moved to mplayer2 some time ago, before the name-change to mplayer2. 
I've had fewer issues with it than with mplayer but your mileage may vary.


After a quick comparison I'd say they use about the same amount of CPU 
but mplayer still has problems with fontconfig freezing the video for a 
few seconds whenever fonts change in subtitles.  This can be a real 
problem when subtitles contain a lot of UTF8 extended characters not 
actually found in the selected font.  You also see a lot of Glyf not 
found in font, choosing another font warnings.


Mplayer2 doesn't have this problem as it shifts fontconfig into another 
thread.  Mplayer itself isn't multithreaded yet, just ffmpeg.  Mplayer2 
also handles mkv chapters, which aren't really all that useful anyway.


So I'd say just install mplayer2, add threads=5 to your config and try 
them both.




Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread John Campbell

On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:


I am not seeing mplayer2 in the tree -- unless it came in the last day
or so -- and which config takes the threads=5 parameter?


It's in the multimedia overlay.

The threads=# (where # less than total threads available on processor) 
parameter goes in the ~/.mplayer/config file.  I've only got 4 
processors so I set it to threads=4.  You have an i7, so it should 
handle more.




Re: [gentoo-user] Find root partition

2011-01-20 Thread John Campbell
On 01/20/2011 01:28 AM, Neil Bothwick wrote:
 On Wed, 19 Jan 2011 19:35:09 -0800, John Campbell wrote:
 
 After the panic I cannot scroll up to check what drives are detected
 and which numbering is used. What must I do to be able to scroll up
 to see what is logged to the screen?
 (is there maybe a special key available, the shift+page-up and scroll
 is not working)  
 
 If you're using grub you can use the grub shell to figure that out.  At
 least to the which are detected and numbering phase.
 
 The GRUB setting is fine, the kernel has to load to be able to panic.

True. My specific problem ended up being the root=/dev/hd[a-z] part of
the kernel line.



Re: [gentoo-user] Find root partition

2011-01-19 Thread John Campbell
On 01/20/2011 08:02 AM, Matthias Fechner wrote:
 Dear list,
 
 I switched now to a new mainboard and it seems that the drive numbering
 changed or my kernel does not detect any hard disks...
 If I try to boot my gentoo the kernel panic because it cannot find the
 root partition.
 
 After the panic I cannot scroll up to check what drives are detected and
 which numbering is used. What must I do to be able to scroll up to see
 what is logged to the screen?
 (is there maybe a special key available, the shift+page-up and scroll is
 not working)

You didn't mention whether you were using lilo or grub to boot.

If you're using grub you can use the grub shell to figure that out.  At
least to the which are detected and numbering phase.

I had that problem or something similar some time ago when updating to
the new, at the time, pata drivers.  I ended up using a brute force
technique...  I booted grub to it's built in shell and used it's limited
tools to figure out which partition/drive was which and editing the
kernel/initrd lines to get the system to boot to init level 1 and then
make the changes permanent in grub and fstab.

Probably an easier method would be to use a livecd.  Just edit the grub
menu.lst file and fstab to match your new layout.  Or change the
device.map to match the old layout.



Re: [gentoo-user] Re: CPU socket and picking a heat sink.

2010-12-03 Thread John Campbell
On 12/03/2010 05:38 PM, Dale wrote:
 masterprometheus wrote:
 
 Thanks for confirming that the coolers will fit.  I did some googling
 but it just wasn't making sense to me yet.  I found a site later on that
 said most coolers used different adapters to work with different
 sockets if needed.  That helped me figure out some of it.
 
 Picking another mobo was a good idea.  I actually ended up picking this
 one:
 
 http://www.newegg.com/Product/Product.aspx?Item=N82E16819103675

That's a black-box CPU, not OEM.  It includes a heatsink/fan.  As far as
I known, AMD heatsinks are fine for normal usage.  You're not getting a
high-end board so I assume you're not trying to tax the hell out of the
CPU.  You should be fine with that.

 That is a GIGABYTE GA-770T-USB3 AM3 AMD 770 which is a bit better.  I'll
 have to figure out a way to get my UPS, which uses a serial port, to
 work but I *think* I still have a serial to USB adapter around here
 somewhere.  I'm going to have to cross that bridge one of these days.

I have the AMD2+ version of that motherboard and it has a legacy serial
header just like it has a legacy floppy connector.  You just need to get
a cable.  Looking at the picture on NewEgg there seems to be a COMMA
plug in the upper right corner of the motherboard.  You'd need to pull
the manual from Gigabyte to be sure.



Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread John Campbell
On 11/17/2010 05:13 AM, Sebastian Beßler wrote:
 Am 17.11.2010 13:54, schrieb Albert Hopkins:
 On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote:
 Am 17.11.2010 10:19, schrieb Joerg Schilling:

 This is why find -exec + exists since 20 years.

 Could you enlighten me about this?
 I look into man find but it says nothing about -exec + or a + operator
 at all. Also adding + to the command doesn't work either.


 Which man page are you looking at?  It's in my find man page at least.

It's the section right after -exec command {} ;

-exec command {} +

This variant of the -exec action runs the specified command on the
selected files, but the command line is built by  appending  each
selected  file name at the end; the total number of invocations of the
command will be much less than the number of matched files.  The command
line is built in much the same way  that  xargs  builds  its
command  lines.  Only one instance of `{}' is allowed within the
command.  The command is executed in the starting directory.




Re: [gentoo-user] Mystery square under KDE

2010-11-07 Thread John Campbell
On 11/05/2010 09:38 PM, Andrew Lowe wrote:
 Hi all,
 I've got KDE set up in a twin head configuration with the menu/task
 manager thingy set for autohide on the top edge of the LHS monitor. When
 I move the mouse up to the top of the screen to display the task
 manager/kicker, as well as the menu displaying, I also get a large
 translucent rectangle showing. The task manager shows and it is of the
 depth you would expect, the height of a character plus appropriate
 padding, but as well as this I get this translucent rectangle showing
 which is about 2/3 screen depth and 2/3 screen width in size. This is
 displayed as long as the task manager is displayed - move the mouse away
 from the task manager and the task manager disappears, and so does the
 mystery rectangle, move the mouse back to display the task manager and
 the rectangle comes back.

I seem to remember that rectangle.  It went away when I switched to
Folder View and created a Desktop folder like I had in KDE3.



Re: [gentoo-user] Overlays package.mask

2010-09-10 Thread John Campbell
On 09/10/2010 09:53 AM, Hilco Wijbenga wrote:
 Hi all,
 
 So I'm confused. Why is package.mask not having any (apparent) effect
 for pykde4? How do I prevent the downgrade?

pykde4-4.5.1-r1 was removed from the repository, not masked.

In order to keep 4.5.1-r1 you need to obtain a copy of the ebuild and
add it to your local repository.



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread John Campbell
On 09/10/2010 05:30 PM, Ajai Khattri wrote:
 On Fri, 10 Sep 2010, walt wrote:

 The two main ones seemed to be disabling the deprecated ATA drivers and
 another one was disabling some sysfs options. But these changes didn't
 help in this case. At this point, I think Im better off sticking to the
 older kernel until I figure this out properly so Ive focussed my efforts
 on getting that working.

Don't forget your old ata drives are now named /dev/sd[a-z] so rewrite
your grub entries.

Do the systems have a mix of pata and sata drives?  I had this problem
when I updated from ata-pata.  My /dev/hda drive was being mounted as
/dev/sda and thus moving all the sata /dev/sd[a-z] drives up one slot.
Which caused partitions to be mounted, or fail from the wrong drive.

The other problem I had was that my sd[a-z] drives are numbered
depending on their order in the grub device.map file, which had been
shuffled around somehow.

I ended up going into grub menu edit and rewriting the kernel line to
reflect the new naming scheme and then once I'd booted into single user
mode, with no other partitions mounted, editing fstab to reflect the new
drive scheme.



Re: [gentoo-user] All ~arch users: do not update python

2010-08-02 Thread John Campbell
On 08/02/2010 05:53 PM, Nikos Chantziaras wrote:
 Updating python to 2.6.5_p20100801 will break portage.  emerge will stop
 working after that and there's no information on how to recover from
 that right now (because emerge won't work, you can't downgrade to the
 previous, working python version.)
 
 Bug for this issue: http://bugs.gentoo.org/show_bug.cgi?id=330937

/usr/bin/python3.1 emerge =lang-python/python-2.6.5-r3

Assuming of course you've got python3.1 installed in another slot.



Re: [gentoo-user] All ~arch users: do not update python

2010-08-02 Thread John Campbell
On 08/02/2010 06:20 PM, Albert Hopkins wrote:
 On Tue, 2010-08-03 at 03:53 +0300, Nikos Chantziaras wrote:
 Updating python to 2.6.5_p20100801 will break portage.  emerge will stop 
 working after that and there's no information on how to recover from 
 that right now (because emerge won't work, you can't downgrade to the 
 previous, working python version.)

 Bug for this issue: http://bugs.gentoo.org/show_bug.cgi?id=330937

 
 Must not affect all users because it works for me:
 
 
 [Orbitrap(84) ~]$ epm -q python
 python-2.5.4-r4
 python-3.1.2_p20100801
 python-2.6.5_p20100801

Do you have the python3 useflag set?  If so, emerge should be using
python3 not your eselected version.



Re: [gentoo-user] off-topic: logitech mice (MX1000)

2009-12-20 Thread John Campbell
On 12/15/2009 11:11 AM, Allan Gottlieb wrote:
 It seems to me that this mouse sends two button events for some of the
 physical buttons.  For example moving the wheel to the left reports
button press 13
button press 6
button release 6
button release 13
 
 Similar results for the many other buttons on the beast.
 
 Is this what the device actually does or does it signify a faulty X
 setup on my part?
 
 I have the evdev driver in my kernel.
 
 I use xorg.conf and have
 Section InputDevice
 Identifier Logitech MX1000
 Driver evdev
 Option Device /dev/input/event2
 EndSection
 
 gottl...@allan /dev/input/by-id $ ls -l 
 /dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse 
 lrwxrwxrwx 1 root root 9 Dec 15 11:20 
 /dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse - ../event2

As I recall, the fix for this problem is a sys-adm/lomoco.

Logitech mice actually produce those double events...  lomoco allows you
tell the mouse to stop.  I've got a udev rule for it, I think lomoco put
it there, but I've had logitech MX mice for years and lomoco is a fork
of a fork and may no longer contain the udev script.

You also might look into imwheel from the Mandrake distrabution as it
contains patches to deal with more than 10 buttons.



Re: [gentoo-user] livedvd v10.1 on eee PC

2009-10-17 Thread John Campbell
On 10/17/2009 07:55 PM, Maxim Wexler wrote:

 In my case(asus 900a), whether I use startx at the boot prompt or let
 xdm start by default, the X window starts to open and I see a glimpse
 of the desktop but then the screen goes black and flickers and just
 the outline of the mouse cursor is visible. If I switch to a console
 and try to write a command I have to be fast because log messages are
 being re-directed intermittently from F12 and just pop up on the
 screen.

Are you getting squashfs errors?

Try intercepting the login screen and changing to a different desktop.
In my case with the multilib livecd on two multicore PCs, one Intel, and
one AMD, there seemed to be some interaction between KDE4 and squashfs.
 Gnome, Xfe, and I assume others, work fine.