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] Previous system uptime - not Gentoo specific

2010-05-13 Thread John J. Foster
On Thu, May 13, 2010 at 05:18:08PM -0600, John J. Foster wrote:
> On Fri, May 14, 2010 at 01:02:01AM +0200, Alex Schuster wrote:
> > John J. Foster writes:
> > 
> > > I lost utility power for 2 hours today while at work (on my home
> > > machine). UPS probably help for 20 minutes, or so. Just out of
> > > curiousity, is there a way to determine previous system uptime. I know
> > > I was getting close to 11 months, which would be a record for me.
> > 
> > The system logs boot and login dates in /var/log/wtmp, the last command 
> > shows the content of this binary file.
> > 
> > last | grep "system boot" | head
> > 
> > Hope you broke the record,
> > Wonko
> > 
> fes...@localhost ~ $ last | grep "system boot"   
> reboot   system boot  2.6.28-gentoo-r5 Thu May 13 16:39 - 17:30  (00:51)
> 
> OK, so after looking at "man last", I tried
> 
> fes...@localhost ~ $ last reboot
> reboot   system boot  2.6.28-gentoo-r5 Thu May 13 16:39 - 17:30  (00:51)
> 
> wtmp begins Sat May  1 08:23:36 2010
> 
> which doesn't really help much.
> 
> Any other ideas,
> festus

Damn - log-rotate cleans wtmp monthly

> -- 
> It is not unusual for those at the wrong end of the club to have a
> clearer picture of reality than those who wield it.
>   Noam Chomsky



-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpC7eePbIwir.pgp
Description: PGP signature


Re: [gentoo-user] Previous system uptime - not Gentoo specific

2010-05-13 Thread John J. Foster
On Fri, May 14, 2010 at 01:02:01AM +0200, Alex Schuster wrote:
> John J. Foster writes:
> 
> > I lost utility power for 2 hours today while at work (on my home
> > machine). UPS probably help for 20 minutes, or so. Just out of
> > curiousity, is there a way to determine previous system uptime. I know
> > I was getting close to 11 months, which would be a record for me.
> 
> The system logs boot and login dates in /var/log/wtmp, the last command 
> shows the content of this binary file.
> 
> last | grep "system boot" | head
> 
>   Hope you broke the record,
>   Wonko
> 
fes...@localhost ~ $ last | grep "system boot"   
reboot   system boot  2.6.28-gentoo-r5 Thu May 13 16:39 - 17:30  (00:51)

OK, so after looking at "man last", I tried

fes...@localhost ~ $ last reboot
reboot   system boot  2.6.28-gentoo-r5 Thu May 13 16:39 - 17:30  (00:51)

wtmp begins Sat May  1 08:23:36 2010

which doesn't really help much.

Any other ideas,
festus
-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpOB0O11vdoL.pgp
Description: PGP signature


[gentoo-user] Previous system uptime - not Gentoo specific

2010-05-13 Thread John J. Foster
I lost utility power for 2 hours today while at work (on my home
machine). UPS probably help for 20 minutes, or so. Just out of
curiousity, is there a way to determine previous system uptime. I know I
was getting close to 11 months, which would be a record for me.

Thanks,
festus

-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpR3tzbGzpCB.pgp
Description: PGP signature


[gentoo-user] xorg-server upgrade

2010-04-20 Thread john
Hello,
After updating my machine which included upgrading
xorg-server-1.7.6. I was left with a none working mouse and
keyboard. After an hour or so of checking I decided to
re-emerge xorg-server again to discover a message to rebuild
x11-drivers. I rebuilt x11-drivers/xf86-input-evdev and mouse
and keyboard worked again.

Question 1
Should x11-drivers/xf86-input-evdev be rebuilt automatically
after xorg-server upgrade? 

Linux/Gentoo appaers to be moving away from xorg.conf and
towards hal/policices. When using proprietary graphics
drivers you also need xorg.conf.

Question 2
Is it possible to use proprietary ati-drivers and
nvidia-drivers wthout having to use xorg.conf. Can this
be done through hal and will this change in the future?

I have tried using x11 radeon driver with built in kernel
direct rendering. The performance of this was relatively poor.
Stellarium would not work, a few games would barely
function. ati-drivers-8.7.2 works well with xorg-server-1.7.6
and cured all these issues but this required unmasking hard
masked package.

Question 3
Sould I expect x11 radeon driver with built in kernel dri to be
as good as fglrx? Direct rendering was running (glxinfo).

Thanks. Hope this is clear
--
John D Maunder
j...@arcticwolf.myzen.co.uk


signature.asc
Description: PGP signature


RE: [gentoo-user] Portage + checksums

2010-04-07 Thread Butterworth, John W.
So to avoid "spamming" with 20+ Thank You emails I'll send out just one and
thank you all collectively for the information provided (I hope this isn't
rude - I'm not sure of proper protocol in this situation).  

I have a lot more insight now and some new ideas of where I need to look to
learn more.  This is a great community and it reflects in the OS - I don't
know why I waited so long to try Gentoo.(??)!
-john

-Original Message-
From: Jonas de Buhr [mailto:jonas.de.b...@gmx.net] 
Sent: Wednesday, April 07, 2010 8:35 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Portage + checksums


>This was an argument against Gentoo more than six or seven years ago
>with regards to the security of whole portage system.  

Every package management system which uses hashes to verify integrity
has the same problems.

I think a lot of source tarballs are downloaded from the official sites
anyway. Someone really paranoid might manually check the patches.

>A number of
>suggestions were made in those early days, one of them being to sync
>with two mirrors and diff the ebuilds/Manifests/Distfiles affected by
>these two most recent syncs.  As far as I know people didn't go for
>this because it was perceived that the system as implemented was
>secure enough and anyway the proposed solution would put too much
>pressure on the mirrors.

I do not have the intention to restart the discussion you mentioned.
But getting hashes and tarballs from the same source (mirror) doesn't go
far for security. At the moment I just trust the official mirrors and
trust that the community would realize soon if there were trojaned
packages the same way I trust apache or the kernel devs not to do
anything funny.

But I still like the idea of files signed with asynchr. crypt. I sure
will have a look into "FEATURES=sign".

/jdb



smime.p7s
Description: S/MIME cryptographic signature


RE: [gentoo-user] Portage + checksums

2010-04-06 Thread Butterworth, John W.
Thanks.   

Do you know if someone makes a change to a copy of apache hosted on a public 
mirror, will the sync between the servers determine that it's corrupted (via 
'bad' checksum) on the public side and replace it?  

-john

-Original Message-
From: Albert W. Hopkins [mailto:mar...@letterboxes.org] 
Sent: Tuesday, April 06, 2010 2:24 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Portage + checksums

On Tue, 2010-04-06 at 14:15 -0400, Butterworth, John W. wrote:
> How can I verify that the installed packages on a Gentoo system came
> from the same source that was on a main rotation mirror and/or
> “blessed” by the Gentoo development team?  
> 
>  
> 
> By verifying the checksum located in  /var/db/pkg/$APPNAME/CONTENTS am
> I only confirming that the source was the same as that which was
> downloaded from the mirror? 
> 
>  
> 
> I guess what I’m getting at is how can I be sure I can trust a
> mirror?  
> 
>  
> 
> Thank you very much in advance for any insight provided,

It really depends on your level of paranoia.  Ultimately it can't be
trusted at all.

If you really want to be sure then just the source/manifest from your
"trusted" mirror and compare.







smime.p7s
Description: S/MIME cryptographic signature


[gentoo-user] Portage + checksums

2010-04-06 Thread Butterworth, John W.
How can I verify that the installed packages on a Gentoo system came from
the same source that was on a main rotation mirror and/or "blessed" by the
Gentoo development team?  

 

By verifying the checksum located in  /var/db/pkg/$APPNAME/CONTENTS am I
only confirming that the source was the same as that which was downloaded
from the mirror? 

 

I guess what I'm getting at is how can I be sure I can trust a mirror?  

 

Thank you very much in advance for any insight provided,

-john  



smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] do we have gst-plugins-really-bad or equivalent?

2010-03-25 Thread John H. Moe
On 26/03/10 01:49, Xi Shen wrote:
> hi,
>
> i have some .m4a files. and i want to play them in rhythmbox. when i
> import them into rhythmbox, it says it needs plugin to play mpeg-4 acc
> file. i searched the network, and people from ubuntu says a
> gstreamer0.10-plugins-really-bad package would do. but i cannot find
> this 'really bad' one on gentoo. i have already emerged
> gst-plugins-bad, but i still cannot play these file.
>
>
>   
I would have thought that gst-plugins-faac would do this for you; try
that and see if it helps.

Looking through the changelog for RhythymBox ebuild, and if I understand
it all correctly, it appears there used to be a "faad" use flag to
automatically pull it in back in 2003-2004, but then in 2007, there was
a bug report that caused them to remove it.  See
http://gentoo-portage.com/media-sound/rhythmbox/ChangeLog and 
http://bugs.gentoo.org/159538.

John Moe



Re: [gentoo-user] Cannot edit files on usb flash drive.

2010-03-08 Thread John H. Moe
On 08/03/10 16:46, Alan McKinnon wrote:
> On Monday 08 March 2010 08:31:40 ubiquitous1980 wrote:
>> I have a usb flash drive which will not allow me to edit its files.  I
>> have tried chmod a+rwx -R $files but this does still not permit
>> editing.  Further, the files within the directories refuse to have
>> ownership changed via chown $myusername -R /mnt/disk.  Output is:
>> operation not permitted.  Any ideas?  Thanks.
>
> This happens when the flash drive is type vfat. This excuse for a file system 
> does not have a concept of owners and permissions so the kernel has to fudge 
> it. You are finding that you cannot change these for the simple reason that 
> they do not exist and the kernel is pretending they are owned by root with 
> MODE 755 or some such.
>
> If hal is mounting the device, check your hal config, looking for some likely 
> named option.
>
> If the device is mounted via /etc/fstab, adjust the uid/gid/umask/dmask/fmask 
> options to mount in column 4. Full details in the man page, under section 
> "fat"
>   

I use both a USB memory stick with VFAT, and a USB hard drive with
NTFS.  Both work fine, but I *am* mounting both as my user account using
/etc/fstab.  Entries are as follows:

LABEL="USBSTICK"/media/usbstick autouser,noauto 0 0
LABEL="USBstorage"  /media/usbstorage   ntfs-3g user,noauto 0 0

Then I just type "mount /media/usbstick" and use it as normal.

John Moe



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread John H. Moe
 Corporation"
>   compiled for 4.0.2, module version = 1.0.0
>   Module class: X.Org Server Extension
> (II) NVIDIA GLX Module  190.53  Tue Dec  8 20:47:42 PST 2009
> (II) Loading extension GLX
> (II) LoadModule: "dbe"
> (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
> (II) Module dbe: vendor="X.Org Foundation"
>   compiled for 1.6.5, module version = 1.0.0
>   Module class: X.Org Server Extension
>   ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "record"
> (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
> (II) Module record: vendor="X.Org Foundation"
>   compiled for 1.6.5, module version = 1.13.0
>   Module class: X.Org Server Extension
>   ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension RECORD
> (II) LoadModule: "dri"
> (WW) Warning, couldn't open module dri
> (II) UnloadModule: "dri"
> (EE) Failed to load module "dri" (module does not exist, 0)
> (II) LoadModule: "dri2"
> (WW) Warning, couldn't open module dri2
> (II) UnloadModule: "dri2"
> (EE) Failed to load module "dri2" (module does not exist, 0)
> (II) LoadModule: "nvidia"
> (II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
> (II) Module nvidia: vendor="NVIDIA Corporation"
>   compiled for 4.0.2, module version = 1.0.0
>   Module class: X.Org Video Driver
> (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
> (EE) NVIDIA: system's kernel log for additional error messages.
> (II) UnloadModule: "nvidia"
> (II) Unloading /usr/lib/xorg/modules/drivers//nvidia_drv.so
> (EE) Failed to load module "nvidia" (module-specific error, 0)
> (EE) No drivers available.
>
> Fatal server error:
> no screens found
>
> Please consult the The X.Org Foundation support
>at http://wiki.x.org
>  for help.
> Please also check the log file at "/var/log/Xorg.0.log" for additional
> information.
>
> dragonfly ~ #
>   
Nvidia's site seems to say that your card is supported up to the current
release; perhaps try the latest version and see if it works?  I seem to
remember Nvidia's driver is rather kernel-version specific; if you're
using a recent kernel, you should probably use a recent driver.

http://www.nvidia.com/object/linux_display_ia32_190.53.html

John Moe



Re: [gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-22 Thread John H. Moe
Arttu V. wrote:
> On 2/22/10, John H. Moe  wrote:
>   
>> From the looks of things, it's trying to install a file directly to the
>> filesystem outside the /var/tmp sandbox.  I believe this is a bug that
>> needs reporting, but before I did that, I thought I'd check to be sure
>> it wasn't something I was doing wrong.  Can can someone more
>> knowledgeable than me advise?
>> 
>
> Could it be bug #306177? Looks a lot like your case.
>
> http://bugs.gentoo.org/show_bug.cgi?id=306177
>
>   
Perfect, thank you.  :-)  I had searched bugs.gentoo.org before, but
obviously not thoroughly enough...

John Moe



Re: [gentoo-user] Can't unsubscribe from gentoo-user

2010-02-21 Thread John H. Moe
Adam Van Ymeren wrote:
> I've sent two emails to gentoo-user+unsubscr...@lists.gentoo.org over
> the last week , but I continue to receive emails from the list.
>
> Not that I don't love the gentoo-user mailing list :-)
>
> Any advice?
> -Adam
>
>   
Do you get any response from the list?  Any reason given?  If not, maybe
it's not making it to the list server?

You could try sending to gentoo-user+h...@lists.gentoo.org and see what
options are available to you there.

John Moe



[gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-21 Thread John H. Moe
When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw. 
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:

**

>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.73

>>> Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/
category media-gfx
make -j5 DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.73/image/ install
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:  /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto':
Permission denied
>>> Completed installing dcraw-8.73 into
/var/tmp/portage/media-gfx/dcraw-8.73/image/

--- ACCESS VIOLATION SUMMARY
---
LOG FILE "/var/log/sandbox/sandbox-9890.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/lib/gimp/2.0/plug-ins/rawphoto
A: /usr/lib/gimp/2.0/plug-ins/rawphoto
R: /usr/lib/gimp/2.0/plug-ins/rawphoto
C: cp rawphoto /usr/lib/gimp/2.0/plug-ins


>>> Failed to emerge media-gfx/dcraw-8.73, Log file:

>>>  '/var/tmp/portage/media-gfx/dcraw-8.73/temp/build.log'

**

>From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox.  I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong.  Can can someone more
knowledgeable than me advise?

I've attached emerge --info and the full build log file for reference.

John Moe
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 
2.6.31-gentoo-r6 i686)
=
System uname: 
Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 21 Feb 2010 20:15:02 +
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:   4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -...@eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distcc distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://jhb5970 ftp://ftp.swin.edu.au/gentoo 
ftp://ftp.planetmirror.com/pub/gentoo";
LANG="en_AU"
LC_ALL="en_AU"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU en en_GB en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise"
SYNC="rsync://jhb5970/gentoo-portage"
USE="X a52 aac acl acpi aim alsa apache2 bash-completion berkdb branding bzip2 
cdda cddb cdinstall cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr 
encode exif ffmpeg firefox flac fortran ftp gdbm gif gimp gpm gtk gzip hal 
hddtemp iconv icq imap jbig joystick jpeg jpeg2k kde libnotify lm_sensors lzo 
matr

Re: [gentoo-user] Problem configuring Intel Wireless 5300 device

2010-02-07 Thread John H. Moe
Shoka wrote:
> On 07.02.2010 20:29, Zeerak Waseem wrote:
>> On Sun, 07 Feb 2010 19:21:20 +0100, Shoka  wrote:
>>
>>> Hi folks,
>>>
>>> I got stuck when trying to get the Intel Wireless 5300 device
>>> running. I'm using the 2.6.31.gentoo-r6 kernel source and have tried
>>> several configuration options for getting this driver to work.
>>>
>>> The gentoo os is running on a lenovo x200 notebook.
>>>
>>> It seems that the iwlagn module doesn't get compiled at all. When
>>> trying to run "modprobe iwlagn" I get the message "Module iwlagn not
>>> found". The device is properly recognized when using the Gentoo Live
>>> CD. There it uses the iwlagn module. So it should be possible to
>>> configure the kernel to do the same.
>>>
>>> I have found this forum post about configuring the 5300 device, but
>>> this guy used the 2.6.30-gentoo-r6 kernel source and it looks like
>>> the kernel config options in menuconfig have changed. I cannot find
>>> a kernel config option called "Intel Wireless WiFi Next Gen AGN
>>> (iwlagn)".
>>>
>>> Link to forum post:
>>> http://forums.gentoo.org/viewtopic-t-792424-highlight-5300.html
>>>
>>> I'm a gentoo newbie and therefore would be very glad, if anyone
>>> could give me an advice in the right direction.
>>>
>>> Thank you very much!
>>>
>>> Best regards
>>> Shoka
>>
>> You should be able to find the iwlagn in Device Drivers -> Network
>> Device Support -> Wireless Lan
>>
>> There you need to set "Intel Wireless Wifi" and then the option
>> should appear :-)
>
> Hi Zeerak,
>
> When calling "make menuconfig", then enter section "Device Drivers"
> --> "Network Device Support" --> "Wireless LAN", all I can see are
> these options:
>
> [ ] Wireless LAN (pre-802.11)
> [ ] Wireless LAN (IEEE 802.11)
> < > Intel PRO/Wireless 2100 Network Connection
> < > Intel PRO/Wireless 2200BG and 2915ABG Network Connection
>
> I have selected both Intel PRO/Wireless sections and the only
> sup-options that appeared were:
>
> [ ] promiscuous mode
> [ ] full debugging output
>
> But there was nothing written about "Intel Wireless Wifi" or iwlagn
> stuff
> Even if I checked all the options nothing more appeared.
>
> Shoka

You need to enable Wireless LAN (IEEE 802.11) first.  You don't need
either of the 2100 or the 2200 modules; once you select Wireless LAN
(IEEE 802.11) a new slew of options should come up, including the Intel
Wireless Wifi option, and in there you should find your wireless card.

John Moe



Re: [gentoo-user] Thunderbird 2.0.0.23: Incorrect date format.

2010-01-31 Thread John H. Moe
Neil Walker wrote:
> ubiquitous1980 wrote:
>   
>> I am trying to get Thunderbird to correctly display the date format in
>> my locale: EN_AU
>>
>> Does anyone have any tips?
>> 
>
> Setting LANG in /etc/env.d/02locale works for me.
>
>
> Be lucky,
>
> Neil
> http://www.the-workathome.com
>   

Is this the "Gentoo" way of setting this?  I've always used .bashrc to
set up LANG and LC_ALL.

To the OP: I'm using Thunderbird and I didn't have to configure anything
special to get the AU date format.  Just emerged it.  But I had already
set LANG and LC_ALL when I built my system.  Also, I use FVWM as my WM,
so I have no localization settings via KDE or Gnome or such; that may
affect things for you?

John Moe



Re: [gentoo-user] Error in Emerge

2010-01-28 Thread John H. Moe
Crístian Viana wrote:
> pastebin can also hold the file forever :)
>
> On Thu, Jan 28, 2010 at 8:16 AM, Neil Bothwick  wrote:
>
>   
>> On Thu, 28 Jan 2010 12:12:15 +0300, wins mallow wrote:
>>
>> 
>>> Please place full log to pastebin.
>>> maybe, you missed cc profile, gcc not found, etc ?
>>>   
>> Please don't use pastebin. It only holds the file for something like 30
>> days, whereas the mailing list archives are long term. If the log file is
>> too large for a plain attachment, gzip it.
>>
>>
>> --
>> Neil Bothwick
>>
>> C Error #029: Well! I'm impressed
>> 
Yeah, but does pastebin refer back to this e-mail thread if I look up
the same error sometime later?  If the errors and info are directly in
the e-mail, then future searches for the same problem are much easier to
track down.

I would assume the info requested might make up a few KB?  And if it's
bigger than that, the like the man said, gzip it; text files generally
get really good compression.

Just my $0.02.

John Moe



Re: [gentoo-user] skype masked because of eula?

2010-01-26 Thread John H. Moe
Mick wrote:
> This is confusing me ...
>
> I have skype-2.0.0.72 installed for some time now.  eix -l skype shows:
>
> [I] net-im/skype
>  Available versions:  
> 2.0.0.72!m!s "amd64 x86" [qt-static]
> ~   2.1.0.81+i!m!s "~amd64 ~x86" [qt-static]
>  Installed versions:  2.0.0.72!m!s(06:22:21 04/15/09)(-qt-static)
>  Homepage:http://www.skype.com/
>  Description: A P2P-VoiceIP client.
>
> However, after updating portage I see:
>
> Calculating dependencies... done!
>
> Total: 0 packages, Size of downloads: 0 kB
>
> !!! The following installed packages are masked:
> - net-im/skype-2.0.0.72 (masked by: skype-eula license(s))
> A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-
> eula'.
>
> Is portage telling me that I need to do something about the eula?  eix does 
> not show this version as being masked.
>   
1. Go to Google (or your favourite search engine)
2. Search for "gentoo license mask"
3. Follow instructions from several previous threads

John Moe



Re: [gentoo-user] A quick test of su

2010-01-18 Thread John H. Moe
Hilco Wijbenga wrote:
> 2010/1/18 walt :
>   
>> Can I trouble you folks to do this ten-second test and report your
>> results?
>>
>> As an ordinary user, type 'su' at a bash prompt.  Now, where you
>> would normally type your root password, just type Ctrl-d instead.
>>
>> What do you see? (I'm ruling out evil spirits here, so please bear
>> with me ;)
>> 
>
> su: Authentication information cannot be recovered
>
>   
>> Thanks for your help.
>> 
>
> What did I win? :-)
>   
Same result:

j...@aus9703 ~ $ su
Password:
su: Authentication information cannot be recovered




Re: [gentoo-user] {OT} Problems playing back DVD

2010-01-15 Thread John H. Moe
John H. Moe wrote:
> pk wrote:
>   
>> John H. Moe wrote:
>>
>>   
>> 
>>> play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
>>> AcidRip all seem to have the same basic problem:
>>>
>>> libdvdread: Can't seek to block 3362902
>>> libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).
>>> 
>>>   
>> Not sure if this is the solution but judging from what you write it
>> seems likely:
>> http://tobias.rautenkranz.ch/libdvdread_ifo.html.en
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400
>>
>> Might help to upgrade to a newer version of libdvdread (you don't say
>> which version you have installed)?
>>
>> Best regards
>>
>> Peter K
>>   
>> 
> Thanks for the reply!  Sorry, I didn't think to put versions in.  I'm
> currently using 0.97, the latest "stable" ebuild on x86.  However, the
> link you pointed me to seems to say if I go up to 4.13, I shouldn't have
> that problem.  Portage, conveniently, has "unstable" builds for 4.13. 
> I'll give it a go and report back.
>
> John Moe
>   

Damn, didn't work.  I still get the same error from Xine, but now VLC
will play the first track.  However, if I try to view the 2nd through
the 8th track, they all seem to be the same track.  Also, it seems to
think there's 99 tracks on the DVD.  And if I choose something higher up
like track 75, it segfaults and I get what's in the attached log.

I've included logs of all output from Xine, VLC and K3B in case
something in there helps.

Any other ideas?  Should I just pick one player, and follow up on their
mailing list?  I've only asked here because it doesn't seem to be
specific to any one player, and am looking for some more general help. 
Or is this even fixable?  I assume this all has something to do with
copy protection, and that they've come up with a new way of doing it
that the authors of the apps/libs haven't figured out yet, and maybe I
just need to wait?

Any help or ideas would be appreciated.  Thanks.

John Moe
j...@jhb5970 ~ $ k3b
K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
j...@jhb5970 ~ $ libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't seek to block 2389220
libdvdread: Can't seek to block 2389220
libdvdread: Invalid IFO for title 14 (VTS_14_0.IFO).

j...@jhb5970 ~ $ VLC media player 1.0.4 Goldeneye
[0x9d268a8] main libvlc: Running vlc with the default interface. Use 'cvlc' to 
use vlc without interface.
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: SC8-0A-AT1_DES
libdvdnav: DVD Serial Number: UNDEFINED
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/jmoe/.dvdnav/SC8-0A-AT1_DES.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f5. Regions: 2 4

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x02d0
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0408
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x040f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x0007a103
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x0007a10a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x000ed583
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x000ed58a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00160ed4
libdvdread: Elapsed time 0
libdvdread: Get key for

Re: [gentoo-user] {OT} Problems playing back DVD

2010-01-15 Thread John H. Moe
pk wrote:
> John H. Moe wrote:
>
>   
>> play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
>> AcidRip all seem to have the same basic problem:
>>
>> libdvdread: Can't seek to block 3362902
>> libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).
>> 
>
> Not sure if this is the solution but judging from what you write it
> seems likely:
> http://tobias.rautenkranz.ch/libdvdread_ifo.html.en
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400
>
> Might help to upgrade to a newer version of libdvdread (you don't say
> which version you have installed)?
>
> Best regards
>
> Peter K
>   
Thanks for the reply!  Sorry, I didn't think to put versions in.  I'm
currently using 0.97, the latest "stable" ebuild on x86.  However, the
link you pointed me to seems to say if I go up to 4.13, I shouldn't have
that problem.  Portage, conveniently, has "unstable" builds for 4.13. 
I'll give it a go and report back.

John Moe



[gentoo-user] {OT} Problems playing back DVD

2010-01-13 Thread John H. Moe
Hello all,

I've just gotten Scrubs Season 8 on DVD (as well as House Season 5 and a
Dylan Moran DVD), and have found, to my chagrin, that I can't seem to
play or rip it on my computer.  SMplayer, VLC, Xine, K3B, DVD::Rip and
AcidRip all seem to have the same basic problem:

libdvdread: Can't seek to block 3362902
libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO).

I know the DVD drive is fine, as I've ripped (and watched) all of the
House and Dylan Moran DVDs after trying Scrubs the first time.  The DVD
seems to be fine, as I can play it on my laptop using Windows and
InterVideo WinDVD (comes with many HP laptops).

As near as I can tell, there's some sort of encryption that libdvdread
can't read (yet).  Can anyone recommend another player that may have
success?  I was under the impression that Xine, Mplayer and VLC were the
main three, and most others used one of the first two as a playback
engine anway, but maybe there's others I haven't heard of yet that do
better.  Or does anyone know a good DVD playback/ripping guide that's
fairly current?  Or perhaps a) how long I can expect to wait for someone
to figure out the encryption, and b) how I might help with my specific
DVDs?  Any info (especially current info) that might help would be welcome.

John Moe




[gentoo-user] Is Gentoo going to represent at SCALE 8x?

2009-12-31 Thread John Lowry
Seeing if there is plan in place to man a booth and, if not, get
interest in manning one.



Re: [gentoo-user] kde-4.3 tweenview does not work

2009-12-27 Thread John H. Moe
Xi Shen wrote:
> On Mon, Dec 28, 2009 at 11:54 AM, Xi Shen  wrote:
>   
>> have they changed the definition of the word, or i were wrong at the
>> first place?
>>
>>
>> On Sun, Dec 27, 2009 at 5:13 AM, Alan McKinnon  
>> wrote:
>> 
>>> On Saturday 26 December 2009 19:29:10 Xi Shen wrote:
>>>   
>>>> hi,
>>>>
>>>> my system is gentoo amd64, kde-4.3, my graphic card is nvidia's. i use
>>>> nvidia-settings to set up my two displayer to work in the tweenview
>>>> mode. it supposed to have two separate desktop, instead it have a
>>>> large desktop expand two displayer.
>>>>
>>>> on gnome and windows, tweenview always sets up two separate desktop.
>>>> how can i set this on kde?
>>>>
>>>> 
>>> Per the nvidia-driver docs 
>>> (/usr/share/doc/nvidia-drivers-190.53/README.bz2),
>>> TwinView is designed to give you one large desktop and there's not much you
>>> can do about that in KDE.
>>>
>>> See Chap 15 of that same doc for a description of how to configure two
>>> separate screens.
>>>
>>> --
>>> alan dot mckinnon at gmail dot com
>>>
>>>
>>>   
>>
>> --
>> Best Regards,
>> David Shen
>>
>> http://twitter.com/davidshen84/
>> http://meme.yahoo.com/davidshen84/
>>
>> 
>
>
> why i cannot find the file you mentioned? it looks like i do not have
> it installed. how can i install it?
>
>
>   
It should get installed with nvidia-drivers:

j...@jhb5970 ~ $ equery belongs
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2
[ Searching for file(s)
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2 in *... ]
x11-drivers/nvidia-drivers-185.18.36
(/usr/share/doc/nvidia-drivers-185.18.36/README.bz2)

You may have to substitute your nvidia-drivers version number for the
185.18.36 in my path, or the 190.53 in Alan's path?

John H. Moe



Re: [gentoo-user] {OT} Preparing a laptop for sale

2009-12-22 Thread John H. Moe
Neil Bothwick wrote:
> On Mon, 21 Dec 2009 13:31:31 -0500, Willie Wong wrote:
>
>   
>> If DSLinux is what I think it is, it may have been (on hindsight)
>> rather obvious that it may not support the block device your system HD
>> is on or the filesystem used. The DS, afterall, has fairly predictable
>> hardware. 
>> 
>
> DS = Damn Small, not Dual Screen.
>
> I don't know if anyone has installed Gentoo on the DS you were thinking
> of ;-)
>   
The anal-retentive in me feels compelled to point out:

http://www.dslinux.org/
http://www.damnsmalllinux.org/

DSLinux = Linux on the Nintendo DS
DSL = Damn Small Linux

:-P

John Moe



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] {OT} Preparing a laptop for sale

2009-12-16 Thread John Lowry
Darik's Boot and Nuke is a good projects for wiping.

http://www.dban.org/

On 12/16/2009 10:49 AM, Grant wrote:
> I'm about to sell my old laptop and I'd like to wipe out the data and
> install any flavor of Linux via USB (the CD drive doesn't work any
> more).  I've got a bootable USB key that will get me into Gentoo.  How
> would you take it from there?  I'm looking for something quick and
> easy.  My data isn't too sensitive, but I'd like to do some type of
> wiping so it isn't all just sitting there with a deleted flag or
> however that works.
> 
> - Grant
> 



Re: [gentoo-user] eth1 won't start

2009-11-28 Thread John Lowry

Roger Mason wrote:

Hello John & Walt,

Thanks for the responses.  Here is the information you asked for.

John Lowry  writes:


What is the contents of your /etc/udev/rules.d/70-persistent-net.rules


# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b",
NAME="eth0"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:c5:13",
NAME="eth1"

# PCI device 0x1113:0x1211 (8139too)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8",
NAME="eth2"

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:04:75:8f:8f:b4",
NAME="eth3"




file contain? Also, what about ifconfig -a?


eth0  Link encap:Ethernet  HWaddr 00:01:03:C5:2A:7B  
  inet addr:134.153.37.83  Bcast:134.153.37.255

  Mask:255.255.254.0
  inet6 addr: fe80::201:3ff:fec5:2a7b/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:407960 errors:0 dropped:0 overruns:1 frame:0
  TX packets:105016 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:70312188 (67.0 Mb)  TX bytes:22034895 (21.0 Mb)
  Interrupt:11 Base address:0x2000 

eth2  Link encap:Ethernet  HWaddr 00:10:B5:E0:CC:C8  
  BROADCAST MULTICAST  MTU:1500  Metric:1

  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Interrupt:10 Base address:0x4000 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0

  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:79 errors:0 dropped:0 overruns:0 frame:0
  TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:5980 (5.8 Kb)  TX bytes:5980 (5.8 Kb)


sit0  Link encap:IPv6-in-IPv4  
  NOARP  MTU:1480  Metric:1

  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Based on the above it looks like you have had or still have four NICs 
installed? If you have only the two cards installed you can delete 
everything except for the first entry and the one referencing the card 
currently in the machine and change name to "eth1." So:


SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:01:03:c5:2a:7b", 
NAME="eth0"


SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:10:b5:e0:cc:c8", 
NAME="eth1"




Re: [gentoo-user] eth1 won't start

2009-11-27 Thread John Lowry
What is the contents of your /etc/udev/rules.d/70-persistent-net.rules 
file contain? Also, what about ifconfig -a?


Roger Mason wrote:

Hello all,

I have a machine[1] into which I installed a second NIC.  It is identified
by lspci as:

00:0a.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX
(rev 10)

The driver, 8139too, is compiled as a module and loaded by udev.  After
booting, lsmod says:

8139too18304  0

I have net.eth1 symlinked to net.lo in /etc/init.d/ and /etc/conf.d/net
is empty.  When I try to start interface:

# /etc/init.d/net.eth1 start
 * Starting eth1
 *   Configuration not set for eth1 - assuming DHCP
 *   Bringing up eth1
 * dhcp
 *   network interface eth1 does not exist
 *   Please verify hardware or kernel module (driver)

I'd appreciate any help.

Thanks,
Roger
Linux lowalbite 2.6.26-gentoo-r3 #6 Fri Nov 27 14:01:52 NST 2009 i686 Pentium 
II (Deschutes) GenuineIntel GNU/Linux





[gentoo-user] Avahi + mDNSResponder at the same time?

2009-11-19 Thread John Lowry
I was under the impression that avahi with the mDNSResponder-compat  USE
flag would make it possible to have both mDNSResponder and avahi
installed at the same time, yet I am getting blocked packages error
messages. Is this impossible to pull off?



Re: [gentoo-user] Problem with update world

2009-11-10 Thread John H. Moe
Dale wrote:
> Neil Bothwick wrote:
>   
>> On Tue, 10 Nov 2009 22:39:24 +0200, Alan McKinnon wrote:
>>
>>   
>> 
>>> You likely don;t need it then. device-mapper is only used by lvm and
>>> software- raid type packages. If you use those, you will know about it
>>> 
>>>   
>> It's also used by cryptsetup.
>>
>>
>>   
>> 
>
> Yup, I'm not sure if I am using that or not.  I don't think so but I
> don't want to remove it without making sure.  Be my luck it will blow up
> or something. lol  This is what equery returns tho:
>
> sys-apps/hal-0.5.13-r2 (kernel_linux & crypt? >=sys-fs/cryptsetup-1.0.5)
> sys-apps/pmount-0.9.20 (crypt? >=sys-fs/cryptsetup-1.0.5)
>
> Don't get me started on hal.  Is this a USE flag thing?  I need to check
> on this more.
>
> Dale
>
> :-)  :-) 
>
>   
That's pretty much what I ended up doing: emerge --unmerge device-mapper
&& emerge -aDNuv world.  Get rid of it, and let Portage tell me if I
need it or not.  :-)  Seems to be working still...

John Moe



Re: [gentoo-user] sendmail: write permition problem?

2009-11-10 Thread John Lowry


Jarry wrote:
> 220 mail.somemydomain.com ESMTP Sendmail 8.14.0/8.14.0; Tue, 10 Nov 2009
> 19:57:31 GMT
> HELO
> 501 5.0.0 HELO requires domain address

> 
> Q1: Why on my "HELO" sendmail does not respond with "250 OK"?

The hostname in the HELO message needs to be included. It does not
unnecessarily need to be correct, but a lot of anti-spam measures will
reject it out of hand if the originating IP address does not have a PTR
address that matches it. So if you are connection from foo.example.com

HELO foo.example.com

> 
> Q2: What does that "Cannot write ./dfnAAJvV8n022567" mean?
> Maybe some write-permition on server side? But what/where?
> 
> 
> mail.somemydomain.com ~ # ls -al /var/spool
> total 28
> drwxr-xr-x  7 root  root  4096 May 30 17:40 .
> drwxr-xr-x 11 root  root  4096 Nov  9 19:30 ..
> drwxrwx---  2 smmsp smmsp 4096 Nov 10 19:37 clientmqueue
> drwxr-x---  3 root  cron  4096 Apr  7  2009 cron
> drwsrws---  2 fcron fcron 4096 Nov 10 20:00 fcron
> drwxr-xr-x  2 mail  root  4096 Apr  7  2009 mail
> drwxr-xr-x  2 smmsp root  4096 Apr 24  2009 mqueue
> 
> mail.somemydomain.com ~ # more /etc/passwd | grep mail
> mail:x:8:12:added by portage for mailbase:/var/spool/mail:/sbin/nologin
> postmaster:x:14:1000:added by portage for
> mailbase:/var/spool/mail:/sbin/nologin
> smmsp:x:209:209:added by portage for
> sendmail:/var/spool/mqueue:/sbin/nologin
> mail.somemydomain.com ~ #
> 
> 
> I just installed sendmail on mail.somemydomain.com instead
> of ssmtp, and did not change a lot, just included all my
> server names in /etc/mail/local-host-names. What do I have
> to do more???
> 
> Jarry
> 



Re: [gentoo-user] sun-jre-bin end-of-life - what now?

2009-11-09 Thread John H. Moe
Mark Knecht wrote:
> On Mon, Nov 9, 2009 at 6:27 PM, Dale  wrote:
>   
>> Mark Knecht wrote:
>> 
>>> Hi,
>>>It seems that Gentoo-devs have decided that Sun Java is end-of-life
>>> with security problems. I don't find any mention of this or what is
>>> recommended on the Gentoo front page so I figured I'd ask what others
>>> are doing for their machines.
>>>
>>> Thanks,
>>> Mark
>>>
>>>
>>>   
>> I checked the changelog and it appears to be stable as of a few days ago.
>>
>> # ChangeLog for dev-java/sun-jre-bin
>> # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
>> # $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
>> 1.163 2009/11/05 21:28:43 maekke Exp $
>>
>>  05 Nov 2009; Markus Meier  sun-jre-bin-1.5.0.22.ebuild,
>>  sun-jre-bin-1.6.0.17.ebuild:
>>  amd64 stable, bug #291817
>>
>>  05 Nov 2009; Markus Meier  sun-jre-bin-1.6.0.17.ebuild:
>>  x86 stable, bug #291817
>>
>>  05 Nov 2009; Markus Meier  sun-jre-bin-1.5.0.22.ebuild:
>>  x86 stable, bug #291817
>>
>>
>> I synced my tree yesterday so unless it was done today it looks like it
>> is still there.  What kind of message are you getting?
>>
>> Dale
>>
>> :-)  :-)
>>
>>
>> 
>
> Hi Dale,
>If I remove the new ACCEPT_LICENSE="dlj-1.1" I added to make.conf
> then I see this:
>
> DesertFlower ~ # emerge -pv sun-jre-bin
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> !!! All ebuilds that could satisfy "dev-java/sun-jre-bin" have been masked.
> !!! One of the following masked packages is required to complete your request:
> - dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
> A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
>
> - dev-java/sun-jre-bin-1.6.0.16 (masked by: dlj-1.1 license(s), ~x86 keyword)
> - dev-java/sun-jre-bin-1.6.0.15 (masked by: dlj-1.1 license(s))
> - dev-java/sun-jre-bin-1.5.0.22 (masked by: dlj-1.1 license(s))
> - dev-java/sun-jre-bin-1.5.0.21 (masked by: dlj-1.1 license(s), ~x86 keyword)
> - dev-java/sun-jre-bin-1.5.0.20 (masked by: dlj-1.1 license(s))
> - dev-java/sun-jre-bin-1.4.2.19 (masked by: package.mask)
> /usr/portage/profiles/package.mask:
> # Vlastimil Babka  (06 Nov 2009)
> # Removal for EOL and security, bug #287615
>
>
> For more information, see the MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.
>
> DesertFlower ~ #
>
> Thanks,
> Mark
>
>
>   
Did you read the bug it referenced?  It sounds like they're removing JRE
1.4 only, not all JRE.  Also, the message you pasted shows that only the
1.4.2.19 is masked by package.mask, which is where that message came
from.  The rest of the versions are masked by dlj-1.1 license (and a few
by ~x86 keyword as well), not by package.mask.

John H. Moe



Re: [gentoo-user] Re: kernel build - back in the soup.

2009-11-04 Thread John H. Moe
Harry Putnam wrote:
> "John H. Moe"  writes:
>
>   
>> I stopped using that option in my systems, as there is now a AHCI SATA
>> option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
>> requires) is deprecated. From the help on it:
>> 
>
> Do you notice some kind of difference from switching?
>
>
>   
Well, my understanding is that SATA controllers can operate in one of
two modes: AHCI (or native) mode, which allows for the full capabilities
(read: SPEED) of the SATA interface, and an IDE-compatible mode, for
things like Windows XP (which I use at work) that doesn't, by default,
understand SATA. If you try to load WinXP on to a PC with SATA, you
either have to switch the SATA controller to IDE-mode, which allows
WinXP to see it as a normal IDE hard drive, or load a SATA driver at
install time (from a floppy! One of the few things I still need 3.5"
floppies for).

Translating this to Linux (at home), I chose the AHCI option when it
showed up in one kernel upgrade, and when I saw in the help for ATA_SFF
that it's the "legacy IDE interface", I figured I didn't need it, so I
left it out.

So if I understand this correctly, you should use the AHCI option if
your SATA controller is in "AHCI" or "Native" mode, and the ATA_SFF
option if you're in "IDE" or "Compatible" mode.

Hope this helps (and makes sense)

John Moe



Re: [gentoo-user] kernel build - back in the soup.

2009-11-03 Thread John H. Moe
ration
> 19: e100: Intel (R) PRO/100 Network Driver 3.5.24-k-NAPI
> 20: e100: Copyright blah blah
> 21: sky2 driver version 1.23
> 22: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> 23: r8169 :02:03:0: PCI INT A -> GSI 19 (level,low) -> IRQ 19
> 24: r8169 :02:03:0: no PCI Experss capability
> 25: eth0  RTL8110s at 0xf8026f00, 00:40:f4:b5:29:41, XID 0400 IRQ 20
> 26: r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
> 27: r8169 :02:06:0: PCI INT A -> GSI 20 (level,low) -> IRQ 20
> 28: r8169 :02:06:0: no PCI Experss capability
> 29: eth1  RTL8110s at 0xf802ae00, 00:11:09:ee:6c:04, XID 0400 IRQ 20
> 30: PnP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 IRQ 1
> 31: PnP: PS/2 appears to have AUX port disabled, if this bla bla
> 32: serio: i8042 KBD port at 0x60,0x64 IRQ 1
> 33: mice: PS/2 mouse device common for all mice
> 34: cupidle: using governors ladder
> 35: cpuidle: using governor menu
> 36: TCP cubic registered
> 37: NET: Registered protocol family 17
> 38: RPC: Registered udp transport module
> 39: RPC: Registered udp transport module
> 40: Using IPI No-Shortcut mode
> 41: input: AT Translated Set 2 keyboard as 
> /devices/platform/i8042/serio0/input/input2
> 42: ROOT-NFS: No NFS server available, giving up.
> 43: VFS: Unable to mount root fs via NFS, trying floppy
> 44: VFS: Cannot open root device "hda5" or unknown-block(2.0)
> 45: Please append a correct "root=" boot option - here are the available 
> partitions:
> 46: 1600   419302 hdc driver: ide-cdrom
> 47: kernel panic - not syncing: VFS: Unable to mount root fs on 
> unknown-block(2.0)
> 48: Pid: 1: comm: swappers Not tainted 2.6.31-gentoo-r4_rdr-2 #3
> 49: Call Trace:
> 50: [] ? printk+0xf/0x17
> 51: [] panic+0x39/0xd4
>  [There were several more lines here]
>
>
>
>   
I stopped using that option in my systems, as there is now a AHCI SATA
option to use instead. It appears CONFIG_ATA_SFF (which CONFIG_ATA_PIIX
requires) is deprecated. From the help on it:

--
SFF is the legacy IDE interface that has been around since the dawn of
time. Almost all PATA controllers have an SFF interface. Many SATA
controllers have an SFF interface when configured into a legacy
compatibility mode.

For users with exclusively modern controllers like AHCI, Silicon Image
3124, or Marvell 6440, you may choose to disable this unneeded SFF support.
--

So I disabled ATA_SFF and used SATA_AHCI instead. You can enable (or
disable) AHCI from most BIOS'es; sometimes it's nice and simple with
something like: ATA Mode: AHCI or IDE Emulation. Others just ask if you
want ATA Native mode, which seems to be AHCI.

HTH

John Moe




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.



Re: [gentoo-user] Installation gentoo problem.

2009-10-15 Thread John Moe
igwasm wrote:
>
> - Original Message - From: "John Moe" 
> To: 
> Sent: Thursday, October 15, 2009 1:40 PM
> Subject: Re: [gentoo-user] Installation gentoo problem.
>
>
>> Igor Spiridonov wrote:
>>> Hi. I tryed install "gentoo 10.0" and there was: "scanning for
>>> ata_piix" and istallation stopped. If i switch off the sata disk then
>>> installation runs good.
>>> I try "gentoo 10.1" now and stopped on: "Scanning for ehci-hcd...usb
>>> core". I switch off usb on motherboard and installation continue. But
>>> then stopped on: "Scanning for scsi_wait_scan". I have not scisi
>>> disks. My matherboard is Asus P4P800SE. What to do?
>>>
>> If there's a module you don't need to load to install Gentoo, you can
>> use the "noload" option as described in the handbook
>> (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2)
>> under "Booting the Installation CD", as well as the options listing on
>> the boot screen of the install CD.  Just list the modules that are
>> causing problems.
>>
>> John Moe
>>
>
> Hm. noscsi? I don`t found this option.
>
No, not noscsi; noload.  From the handbook:

noload=X
This causes the initial ramdisk to skip the loading of a specific
    module that may be causing a problem. Syntax matches that of doload.

The module names to put in for X are listed in the boot sequence:
ata_piix, ehci-hcd, scsi_wait_scan, etc.  Read the whole section
"Booting the Installation CD" in the handbook.

John Moe



Re: [gentoo-user] Intel iwl3945 problem

2009-10-15 Thread John H. Moe




John Moe wrote:

  daid kahl wrote:
  
  

  I've recently rebuilt my laptop, and am having trouble getting the
wireless to work correctly.  My wireless is making an association with
my AP, but TCP/IP traffic doesn't seem to want to transmit over it; I
can't even ping my AP.  TCP/IP works fine on the ethernet adapter.
Wireshark (without the ethernet connected) only shows traffic going out
the wireless card, not in, and another station on my home network is not
seeing the DHCP broadcasts.  My access point can see the MAC address of
the wireless card in my laptop.  I've tried to config the networking
with DHCP and static IPs, neither worked.

So, the wireless card appears to be working, and TCP/IP appears to be
working, but not together.  Does anyone have any idea what could cause
this?  I've previously had it working, however, I forgot to grab my
kernel config before I wiped the drive, only the /etc folder and my home
folder, so there's a good chance that I've done something differently in
the kernel config.

  

Use portage to rebuild all the relevant network ebuilds.  I've had
similar trouble with NetworkManager and my wireless after rebuilding
lots of the system, and once I rebuilt NetworkManager then everything
was back to normal.  So, dhcpcd certainly should be rebuilt, and
whatever other things might be related to the wireless in portage.

~daid


  

  
  Well, I've used emerge -C and then emerge again on dhcpcd and
iwl3945-ucode.  I'm not sure if I did that with wireless-tools, but I'll
try that now.  Actually, I'll unmerge all three and re-emerge them again.

Are there any others that I'm missing?  I can't think of any other
packages that would apply; at least, not that I specified.

John Moe

  

Well, nevermind.  It seems to have sorted itself out.  I'm not sure if
it was the re-emerging of the three network packages mentioned before,
but they didn't seem to do anything afterwards.  So then I noticed that
FireWire networking module hadn't been built, and that was in there the
last build, so I switched CONFIG_IEEE1394_ETH1394 to ,
recompiled the kernel, copied it over and rebooted, and suddenly the
wireless started working.  Could it have needed a reboot after
re-emerging the network packages?  I can't see how adding FireWire
networking support would change anything...

Anyway, thanks for the quick suggestions.  It seems to be working now.

John Moe





Re: [gentoo-user] Intel iwl3945 problem

2009-10-15 Thread John Moe
daid kahl wrote:
>> I've recently rebuilt my laptop, and am having trouble getting the
>> wireless to work correctly.  My wireless is making an association with
>> my AP, but TCP/IP traffic doesn't seem to want to transmit over it; I
>> can't even ping my AP.  TCP/IP works fine on the ethernet adapter.
>> Wireshark (without the ethernet connected) only shows traffic going out
>> the wireless card, not in, and another station on my home network is not
>> seeing the DHCP broadcasts.  My access point can see the MAC address of
>> the wireless card in my laptop.  I've tried to config the networking
>> with DHCP and static IPs, neither worked.
>>
>> So, the wireless card appears to be working, and TCP/IP appears to be
>> working, but not together.  Does anyone have any idea what could cause
>> this?  I've previously had it working, however, I forgot to grab my
>> kernel config before I wiped the drive, only the /etc folder and my home
>> folder, so there's a good chance that I've done something differently in
>> the kernel config.
>> 
>
> Use portage to rebuild all the relevant network ebuilds.  I've had
> similar trouble with NetworkManager and my wireless after rebuilding
> lots of the system, and once I rebuilt NetworkManager then everything
> was back to normal.  So, dhcpcd certainly should be rebuilt, and
> whatever other things might be related to the wireless in portage.
>
> ~daid
>
>
>   
Well, I've used emerge -C and then emerge again on dhcpcd and
iwl3945-ucode.  I'm not sure if I did that with wireless-tools, but I'll
try that now.  Actually, I'll unmerge all three and re-emerge them again.

Are there any others that I'm missing?  I can't think of any other
packages that would apply; at least, not that I specified.

John Moe



Re: [gentoo-user] Installation gentoo problem.

2009-10-15 Thread John Moe
Igor Spiridonov wrote:
> Hi. I tryed install "gentoo 10.0" and there was: "scanning for
> ata_piix" and istallation stopped. If i switch off the sata disk then
> installation runs good.
> I try "gentoo 10.1" now and stopped on: "Scanning for ehci-hcd...usb
> core". I switch off usb on motherboard and installation continue. But
> then stopped on: "Scanning for scsi_wait_scan". I have not scisi
> disks. My matherboard is Asus P4P800SE. What to do?
>
If there's a module you don't need to load to install Gentoo, you can
use the "noload" option as described in the handbook
(http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2)
under "Booting the Installation CD", as well as the options listing on
the boot screen of the install CD.  Just list the modules that are
causing problems.

John Moe



Re: [gentoo-user] No sound with Intel HDA card in Gateway m6888u laptop (2.6.30-r4, amd64)

2009-09-17 Thread John H. Moe
65256  9
> snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
> snd_page_alloc  9496  2 snd_hda_intel,snd_pcm
>
>
> #
> # Kernel config
> #
>
> CONFIG_SND=m
> CONFIG_SND_TIMER=m
> CONFIG_SND_PCM=m
> CONFIG_SND_JACK=y
> CONFIG_SND_SEQUENCER=m
> CONFIG_SND_OSSEMUL=y
> CONFIG_SND_MIXER_OSS=m
> CONFIG_SND_PCM_OSS=m
> CONFIG_SND_PCM_OSS_PLUGINS=y
> CONFIG_SND_SEQUENCER_OSS=y
> CONFIG_SND_HRTIMER=m
> CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
> CONFIG_SND_SUPPORT_OLD_API=y
> CONFIG_SND_VMASTER=y
> CONFIG_SND_PCI=y
> CONFIG_SND_HDA_INTEL=m
> # CONFIG_SND_HDA_HWDEP is not set
> CONFIG_SND_HDA_INPUT_BEEP=y
> CONFIG_SND_HDA_CODEC_ATIHDMI=y
> # CONFIG_SND_HDA_CODEC_INTELHDMI is not set
> CONFIG_SND_HDA_GENERIC=y
> # CONFIG_SND_HDA_POWER_SAVE is not set
>
> #
> # cat /etc/modprobe.d/alsa.conf
> #
>
> alias /dev/mixer snd-mixer-oss
> alias /dev/dsp snd-pcm-oss
> alias /dev/midi snd-seq-oss
> alias snd-card-0 snd-hda-intel
> alias sound-slot-0 snd-hda-intel
>
>
> Also, check out the output of the info script from the official ALSA
> site:
> http://www.alsa-project.org/db/?f=b741663fa1c69d5a5cfeabfa51086ba636c6aef5

>From the above, it looks like your card, while using the Intel HD Audio
spec, is using the Conexant codec.  But you don't have support for that
in your kernel, or at least, not in the options you quoted
(CONFIG_SND_HDA_CODEC_CONEXANT).  Try adding that.  If that doesn't
work, try adding support for all the codecs listed under the Device
Drivers -> Sound card support -> ALSA -> PCI Sound Devices -> Intel HD
Audio sub-menu and see if that fixes things up.

Also, at a guess, the two "codecs" are going to be the Conexant codec
for the sound card, and the SigmaTel for the modem.  But for the ATI
HDMI, I'm used to seeing that referring to video cards and monitors; see
http://en.wikipedia.org/wiki/Hdmi.

HTH

John Moe



Re: [gentoo-user] [OT] In search of a "good" windowmanager

2009-09-12 Thread John H. Moe




Lars Gustäbel wrote:

  On Sat, Sep 12, 2009 at 03:40:56PM +0200, meino.cra...@gmx.de wrote:
  
  
 I would like to hear from others what experiences they made with
 what windowmanagers.

  
  
Hi!

I've been using fvwm2 (http://fvwm.org) for years now and am quite happy with
it. Although it may look old and strange at first (the default settings are
rather horrible IIRC), it is possible to configure every tiny detail of it
using config files. I am still sometimes amazed of what you can do with it.
The fvwm manpage has everything you need to know.
The complexity is also its main drawback: it took me several weeks to have
it the way I wanted it. fvwm is indeed rather complicated at first but that's
why it's so powerful. It is really flexible and you can still use all the
little gui tools out there from other window managers. One cool feature of fvwm
is that you can assign different window styles based on the application, e.g. I
have a graphical system monitor on my third desktop, that is started when I log
in via .xinitrc and always stays on bottom, never gets the focus and does not
appear in the window list or on the task bar, so it does not interfere with the
rest of the system at all.
Before using fvwm2 I used KDE which had too much stuff I didn't really need.
(However, I am still using the KDE kicker panel with fvwm, which I think is
quite funny.)  When I looked for a new window manager I tried fluxbox for a few
days, but it did not convince me. Then I tried fvwm and stayed with it.

Regards,

  

Vote #2 for FVWM.

  It does nothing (or at least, an absolute minimum) by default
  you can configure it to be just about whatever you want
  man pages explicitly say it can be used mouse-less, and I'm like
you: I grew up with old, command-line systems and am still more
comfortable with that  :-P  so I've configured most mouse bindings to
keys as well
  Support for extras via FVWM Modules, so that the core system
itself stays small.  If you want to add a desktop pager, add the
FVWMPager module.  If you want a taskbar, add the FVWMTaskBar module. 
Even a popup banner at startup with FVWMBanner, if you're in to that
sort of thing..  :-P
  However, as previous poster pointed out, all this configurability
is also a bit of a drawback, in that there are a LOT of configuration
items to trawl through to find what you want. But most things I've
wanted to do I've been able to find an example of on the FVWM forums,
which are quite helpful.
  
  From what I've read, you can also use FVWM-Themes to try and get
a jump start with some possible configs, but I've never used them, so I
can't comment on their worth or helpfulness
  

HTH

John Moe





Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-10 Thread John H. Moe
Stroller wrote:
>
> On 11 Sep 2009, at 05:17, John H. Moe wrote:
>> Stroller wrote:
>>> On 11 Sep 2009, at 03:49, cov...@ccs.covici.com wrote:
>>>
>>>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
>>>> when trying to get a lease -- it says broadcasting for a lease and
>>>> times
>>>> out 
>>>
>>> I'm pretty sure you can start dhcpcd with a verbose flag.
>>>
>> Sure can. "dhcpcd -d " will do it. Or put 'dhcpcd_="-d"'
>> in your /etc/conf.d/net to have it always show the output during boot.
>
>
> Ah, splendid!
>
> I didn't feel the need to to look up that information because I was
> sure  the OP would find it in the manpage. 
>
> Stroller.
>
>
You know, I almost didn't click on send, because I had a fleeting
thought that you might have used that reasoning. Always go with your
first instinct, eh? :-P



Re: [gentoo-user] timeouts with dhcpcd 5.1

2009-09-10 Thread John H. Moe
Stroller wrote:
>
> On 11 Sep 2009, at 03:49, cov...@ccs.covici.com wrote:
>
>> Hi. I had a strange problem when I emerge dhcpcd 5.1 I get a timeout
>> when trying to get a lease -- it says broadcasting for a lease and times
>> out, however when I go back to 4.0.13 everything is fine. I even tried
>> toput -I "" in the command line to emulate the old behavior, but it
>> didn't make any difference.
>
> I'm pretty sure you can start dhcpcd with a verbose flag.
>
> Stroller.
Sure can. "dhcpcd -d " will do it. Or put 'dhcpcd_="-d"'
in your /etc/conf.d/net to have it always show the output during boot.

John Moe



Re: [gentoo-user] Making sure I am a good netizen and secure.

2009-09-05 Thread John J. Foster
Hey Willie - a 67 line sig ?

festus
-- 
I just want to break even.


pgpu1Of2XUcCi.pgp
Description: PGP signature


Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-19 Thread John H. Moe
Alex Schuster wrote:
> Roy Wright writes:
>
>   
>> kde-4.3 is now unmasked for ~x86.  Whop!
>> 
>
> I'm also happy, and I want to upgrade soon. I hope many of those little 
> annoyances I experience will be fixed.
>
>   
>> But it is looking like a non-trivial upgrade.  :(
>> 
>
> Yeah.
>
>   
>> When I installed kde-4.2, I followed the advice of unmasking portage
>> and using sets.  Also followed the recommendation to use -kdeprefix.
>> Further I removed kde-3.5 and added a mask on kdelibs-3.5 to help keep
>> 3.5 off of the system.
>>
>> So for the kde-4.3 upgrade, it looks like this is what will be
>> necessary:
>>
>> 1) grab the sets again from the kde-testing overlay and put them in /
>> etc/portage/sets (assumption is to do a replace).
>> 
>
> I did that, too, but got errors from portage (Error during set creation: 
> Redefinition of set...). Looks like the sets are found in the kde-testing 
> overlay, so I removed them from /etc/portage/sets, and all was fine. Coool.
>
>   
>> 2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
>> 
>
> Not really necessary I heard.
> But: I am still using the dreaded kdeprefix use flag. It sounded like a good 
> idea to use it, and I would also like to have different minor KDE versions 
> alongside. Okay, it's hard to maintain, I understand it will be dropped.
> Now, do I REALLY REALLY have to unmerge all @kde-4.2 first, remove the 
> kdeprefix use flag, and proceed to step 3?
>
>   
>> 3) merge kde-4.3 using: emerge -av @kde-4.3
>> 
>
> Hopefully this runs through. If it takes a night, it's okay, but if it stops 
> in the middle, I have no KDE for a while. And I need much of the stuff in 
> there, like the wallet with its passwords.
>
> What about this: I update my system's backup (I'm using rdiff-backup), 
> chroot into the backup, sudo to my account, and issue startkde. Could I get 
> a running KDE 4.2? Then I would have time to install 4.3.
>
>   
>> 4) recustomize kde as the ~/.kde will not be migrated
>> 
>
> I really hope I can just copy .kde4.2 to .kde4 and all (okay, most) settings 
> will be kept. I think it just _should_ work. Customizing all over again 
> every time a new KDE arrives would be no good.
>
>   Wonko
>
>
>   

Well, I don't know about necessary, but on my box, when I tried to
update from kde-meta:4.2 to kde-meta:4.3, there were a few blockers that
wouldn't let it go through, so I ended up unmerging 4.2, then emerging
4.3 (which took about 4-6 hours, but I have distcc set up between two
boxes, so that probably sped things up).  However, I seem to remember
that the blockers were with PyQt, Python and eselect-python; I hadn't
thought about it, cause I'm still not THAT experienced with Linux in
general, and Gentoo in particular, but the Python update was a Big Deal,
so perhaps updating Python before the KDE upgrade would have been a good
idea.  :-P  Granted though, I didn't use sets, so it may be a bit
different for you.

Oh, and I didn't touch my .kde or .kde4 folders during this process, and
as far as I can tell, it's still using all of my customizations...

--==**==--
John Moe



Re: [gentoo-user] how do I resolve udev145 masked issue?

2009-08-02 Thread John covici
on Sunday 08/02/2009 Neil Bothwick(n...@digimed.co.uk) wrote
 > On Sun, 2 Aug 2009 14:53:48 -0400, John covici wrote:
 > 
 > > I am using the gnome overlay from layman. 
 > 
 > It might have been helpful to menyion that :(
 >  
 > > If I comment out the source line for layman in /etc/make.conf I get
 > > the following:
 > > 
 > > 
 > > 
 > > [nomerge  ] gnome-base/gnome-2.26.3 [2.26.2]
 > > [nomerge  ]  app-accessibility/orca-2.26.3 [2.26.2]
 > > [nomerge  ]   dev-python/pycairo-1.8.6  USE="doc%*"
 > > [nomerge  ]dev-python/sphinx-0.6.2  USE="doc -test"
 > > [ebuild  N] dev-python/jinja2-2.1.1-r1  USE="doc -examples
 > > -i18n -test"
 > > [ebuild  N]  dev-python/sphinx-0.6.2  USE="doc -test"
 > > 
 > >  * Error: circular dependencies:
 > > 
 > > ('ebuild', '/', 'dev-python/jinja2-2.1.1-r1', 'merge') depends on
 > >   ('ebuild', '/', 'dev-python/sphinx-0.6.2', 'merge') (buildtime)
 > > ('ebuild', '/', 'dev-python/sphinx-0.6.2', 'merge') depends on
 > >   ('ebuild', '/', 'dev-python/jinja2-2.1.1-r1', 'merge') (buildtime)
 > > 
 > >  * Note that circular dependencies can often be avoided by temporarily
 > >  * disabling USE flags that trigger optional dependencies.
 > 
 > The doc USE flag is causing that. Sphinx is used to build python docs, it
 > needs jinja but that needs sphinx because you have set its doc flag.
 > Emerge jinja without the doc flag.
 > 
 > Incidentally, unless you are a developer, you don't normally need the doc
 > use flag.

OK, thanks for the advise -- I wish there were a devel-doc flag to
distinguish between use and development docs, but I guess you can't
have everything.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] how do I resolve udev145 masked issue?

2009-08-02 Thread John covici
on Sunday 08/02/2009 Neil Bothwick(n...@digimed.co.uk) wrote
 > On Sun, 2 Aug 2009 07:31:41 -0400, John covici wrote:
 > 
 > > (dependency required by "sys-apps/devicekit-power-010" [ebuild])
 > > (dependency required by
 > > "gnome-extra/gnome-power-manager-2.26.3" [ebuild])
 > 
 > Neither of these are in portage. Which overlay are you using for them?
 > 

I am using the gnome overlay from layman. 

If I comment out the source line for layman in /etc/make.conf I get
the following:



[nomerge  ] gnome-base/gnome-2.26.3 [2.26.2]
[nomerge  ]  app-accessibility/orca-2.26.3 [2.26.2]
[nomerge  ]   dev-python/pycairo-1.8.6  USE="doc%*"
[nomerge  ]dev-python/sphinx-0.6.2  USE="doc -test"
[ebuild  N] dev-python/jinja2-2.1.1-r1  USE="doc -examples
-i18n -test"
[ebuild  N]  dev-python/sphinx-0.6.2  USE="doc -test"

 * Error: circular dependencies:

('ebuild', '/', 'dev-python/jinja2-2.1.1-r1', 'merge') depends on
  ('ebuild', '/', 'dev-python/sphinx-0.6.2', 'merge') (buildtime)
('ebuild', '/', 'dev-python/sphinx-0.6.2', 'merge') depends on
  ('ebuild', '/', 'dev-python/jinja2-2.1.1-r1', 'merge') (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] how do I resolve udev145 masked issue?

2009-08-02 Thread John covici
on Sunday 08/02/2009 Neil Bothwick(n...@digimed.co.uk) wrote
 > On Sun, 2 Aug 2009 04:45:46 -0400, John covici wrote:
 > 
 > >  > run the emerge with the -t option to see what is pulling in
 > >  > udev-  
 > > 
 > > I get the same thing if I emerge udev145, so its not unique to 999.
 > 
 > That's because both are masked, it doesn't have any bearing on the reason
 > for udev- being wanted.
 > 

OK, here is emerge with the same options with the -t added

Script started on Sun Aug  2 07:27:20 2009


These are the packages that would be merged, in reverse order:



Calculating dependencies   ... done!



!!! All ebuilds that could satisfy ">=sys-fs/udev-145[extras]" have been masked.

!!! One of the following masked packages is required to complete your request:

- sys-fs/udev- (masked by: package.mask, missing keyword)

/usr/portage/profiles/package.mask:

# Matthias Schwarzott  (3 Jul 2009)

# It needs libblkid provided by util-linux-2.16 not yet released



- sys-fs/udev-145 (masked by: package.mask)



For more information, see the MASKED PACKAGES section in the emerge

man page or refer to the Gentoo Handbook.

(dependency required by "sys-apps/devicekit-power-010" [ebuild])

(dependency required by "gnome-extra/gnome-power-manager-2.26.3" [ebuild])

(dependency required by "gnome-base/gnome-2.26.3" [ebuild])

(dependency required by "@world" [argument])




Script done on Sun Aug  2 07:27:29 2009

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com

Re: [gentoo-user] how do I resolve udev145 masked issue?

2009-08-02 Thread John covici

on Sunday 08/02/2009 Alan McKinnon(alan.mckin...@gmail.com) wrote
 > On Sunday 02 August 2009 00:59:22 John covici wrote:
 > > Hi.  On my latest update attempt, I get the following message: !!! All
 > > ebuilds that could satisfy ">=sys-fs/udev-145[extras]" have been
 > > masked.
 > > !!! One of the following masked packages is required to complete your
 > > request:
 > > - sys-fs/udev- (masked by: package.mask, missing keyword)
 > > /usr/portage/profiles/package.mask:
 > > # Matthias Schwarzott  (3 Jul 2009)
 > > # It needs libblkid provided by util-linux-2.16 not yet released
 > >
 > > - sys-fs/udev-145 (masked by: package.mask)
 > 
 > run the emerge with the -t option to see what is pulling in udev-

I get the same thing if I emerge udev145, so its not unique to 999.
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] how do I resolve udev145 masked issue?

2009-08-01 Thread John covici
Hi.  On my latest update attempt, I get the following message: !!! All
ebuilds that could satisfy ">=sys-fs/udev-145[extras]" have been
masked.
!!! One of the following masked packages is required to complete your
request:
- sys-fs/udev- (masked by: package.mask, missing keyword)
/usr/portage/profiles/package.mask:
# Matthias Schwarzott  (3 Jul 2009)
# It needs libblkid provided by util-linux-2.16 not yet released

- sys-fs/udev-145 (masked by: package.mask)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

I tried this a week ago and waited a week hoping that this would be
resolved, but the latest emerge --sync still has not resolved the
problem.

Any suggestions would be appreciated as to possible courses of action,
as there seems to be no way to tell emerge to do other updates while
this is still not resolved.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[RESOLVED] Re: [gentoo-user] how to amrecover in amanda-2.6.0

2009-08-01 Thread John Blinka
I'm not exactly sure what I've done to fix things, but backups and
amrecovers are now working properly.

For the record, on the backup server, the /etc/xinetd.d/amanda file contains:

service amanda
{
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amandad
server_args = amdump amindexd amidxtaped

only_from   = 192.168.1.0
disable = no
log_type= SYSLOG daemon debug
}

and, again on the backup server, the /etc/amanda/amandahosts file contains:

# Machine-name for those hosts which are permitted to back up (fully-qualified
# is best).  An entry in /etc/hosts adds fail-safe against DNS death :-)
# |
# | permitted user-name
# | |

server  amanda amdump
server  root amindexd amidxtaped
client  root amindexd amidxtaped

On the backup client, the /etc/xinetd.d/amanda file is identical to
the server's.

On the backup client, the /etc/amanda/amandahosts file contains:

# vim: ts=4 sts=4 sw=4 noexpandtab:
# Machine-name for those hosts which are permitted to back up (fully-qualified
# is best).  An entry in /etc/hosts adds fail-safe against DNS death :-)
# |
# | permitted user-name
# | |

client  amanda amdump
server  amanda amdump
client  root amindexd amidxtaped

I used the fqdn for the client and server names in the above files.

John Blinka



Re: [gentoo-user] how to amrecover in amanda-2.6.0

2009-07-30 Thread John Blinka
On Sat, Jul 18, 2009 at 5:42 AM, Stefan G. Weichinger wrote:

>
> Didn't the binary-paths change with 2.6 ?

Yes.

>
> Check if /usr/libexec/amanda/amandad exists and adjust the xinetd-entry
> if necessary.
>

Did that.  The binaries exist and xinetd entries point correctly.

(Sorry for the very long delay in replying.  My backup machine's root
partition disk started
failing, and it has taken me a long time to rebuild things.)

John



[gentoo-user] Email Virus Scanner

2009-07-20 Thread John
Please can you recommend a email virus scanner.

I am a little unsure about all the combinations available. I wish to
scan incoming email on my home desktop. I currently use Claws Mail and
was looking for the simplest option.
  
Many Thanks
-- 
John D Maunder
j...@articwolf.myzen.co.uk



Re: [gentoo-user] how to amrecover in amanda-2.6.0

2009-07-17 Thread John Blinka
On Thu, Jul 16, 2009 at 2:32 AM, Stefan G. Weichinger wrote:
>
> Try "amoldrecover" for a start ...
>


>From what I understand, amoldrecover is for recovering files on a
>=2.5 client from
a < 2.5 server.  My server and clients are all >=2.6.  Am I misunderstanding?

John



[gentoo-user] how to amrecover in amanda-2.6.0

2009-07-15 Thread John Blinka
Hi, all,

I recently upgraded from amanda-2.4.5 to amanda-2.6.0_p2-r4.  I think
I've been able to make backups
successfully: the backup reports amanda sends afterwards look
reasonable.  However, I've not been able
to do restores.  It appears that the contents of
/etc/amanda/amandahosts and /etc/xinetd.d/amanda have
changed between these two versions, and I suspect that my attempts at
updating the contents are at
fault.

My 2.4.5 amandahosts file looked like this:

my_host.my_domain   amanda
my_host.my_domain   root

and the 2.6.0_p2-r4 amandahosts looks like:

my_host.my_domain   amanda amdump
my_host.my_domain   root amindexd amidxtaped


My 2.4.5 amanda file looked like this:

service amanda
{
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amandad
only_from   = 192.168.1.0
disable = no
}

service amandaidx
{
socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amindexd
only_from   = 192.168.1.0
disable = no
}

service amidxtape
{
socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amidxtaped
only_from   = 192.168.1.0
disable = no
}


and my 2.6.0_p2-r4 amanda file looks like:

service amanda
{
disable = no
flags   = IPv4
socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amandad
server_args = -auth=bsdtcp amdump amindexd amidxtaped
}

The above was taken from
/usr/share/doc/amanda-2.6.0_p2-r4/example/xinetd.amandaserver.bz2.

A run of amcheck shows no errors.

Running su -c "/usr/sbin/amadmin my_host find" amanda produces the
expected output.

Running amrecover -C my_host -t my_host -s my_host -d
file:/backup/my_host/vtapes
produces a pause of about 30 seconds then the following output:
AMRECOVER Version 2.6.0p2. Contacting server on my_host ...
[request failed: timeout waiting for ACK]

/var/log/messages contains nothing enlightening.  Neither does
/var/amanda/my_host/log.*

Thanks for any ideas on how to debug this!

John Blinka



Re: [gentoo-user] Re: ncurses is gone

2009-07-07 Thread John covici
on Tuesday 07/07/2009 Alan E. Davis(lngn...@gmail.com) wrote
 > On Tue, Jul 7, 2009 at 8:15 PM, Neil Bothwick wrote:
 > >
 > > It doesn't matter. Once you have chrooted you are using software
 > > installed in the chroot.
 > >
 > > However, it may not be possible to use revdep-rebuild without ncurses, in
 > > which case you need some kind soul with a similar setup to provide you
 > > with a binary package of ncurses, which you can unpack into your root
 > > directory.
 > >
 > 
 > This is exactly what happened.  I used the systemrescuecd, chrooted,
 > and, lo and behold, the same error message was coming up.  What I
 > might be able to do is symlink to libncursesw ?  Don't know whether
 > it's even on the system.
 > 
 > On the other hand, with a binary ncurses, I could see that might work.
 >  Is there a binary repo?  (Back to sabayon?).  I suppose I need to
 > know the exact version.  Does it matter which use flags it was
 > compiled with?

I wonder if you say  -C and -P would it still use ncurses since you
are turning off color and progress indications?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] udev, cryptsetup, and ensuing problems

2009-06-25 Thread John P. Burkett

Neil Bothwick wrote:
> On Thu, 25 Jun 2009 00:16:51 -0400, John P. Burkett wrote:
> 
>> The response included the following lines:
>>  * Determining the location of the kernel source code
>>  * Found kernel source directory:
>>  * /usr/src/linux
>>  * Found sources for kernel version:
>>  * 2.6.20-gentoo-r6
>>  * Checking for suitable kernel configuration options...
>>  *   CONFIG_DM_CRYPT:is not set (required for cryptsetup)
>>  *
>>  * Please check to make sure these options are set correctly.
>>  * Failure to do so may cause unexpected problems.
>>  * Checking for suitable kernel configuration options...
>>  *   CONFIG_CRYPTO:  is not set (required for cryptsetup)
>>  *
>>  * Please check to make sure these options are set correctly.
>>  * Failure to do so may cause unexpected problems.
>>  * Checking for suitable kernel configuration options...
>>  *   CONFIG_CRYPTO_CBC:  is not set (required for kernel 2.6.19)
>>  *
>>  * Please check to make sure these options are set correctly.
>>  * Failure to do so may cause unexpected problems.
>>
>> The references to kernel version 2.6.20 and 2.6.19 surprised me because
>> doing "uname -r" produces "2.6.17-gentoo-r4". Suggestions about how to
>> set CONFIG_DM_CRYPT and CONFIG_CRYPTO appropriately would be
>> appreciated.  As a user of kernel 2.6.17, may I leave CONFIG_CRYPTO_CBC
>> unset?
> 
> It's not checking the running kernel, but the sources pointed to by
> the /usr/src/linux symlink. I take it you have 2.6.20 installed. Change
> the symlink to point to the kernel in use.

Thank you, Neil, for your clear explanation.  I've now changed the symlink.

> 
>> In dmcrypt I find two references to LUKS.  First, "the init-script which
>> reads this file detects whether your partition is LUKS or not. No mkfs
>> is run unless you specify a makefs"  Second,
>> "# options='' == cryptsetup, for LUKS you can only use --readonly"
>> The meaning of these references is not clear to me.
> 
> It's explained in the cryptsetup man page.
Thanks for the pointer.  As far as I can tell from the man page, no
action is required by me now regarding LUKS.
> 
>> Then come the instruction:
>>  * If you are using baselayout-2 then please do:
>>  * rc-update add dmcrypt boot
>>
>> Doing "locate baselayout-2" produces
>> /var/cache/edb/dep/usr/portage/sys-apps/baselayout-2.0.0
>> /usr/portage/metadata/cache/sys-apps/baselayout-2.0.0
>> /usr/portage/metadata/cache/sys-apps/baselayout-2.0.1
>> /usr/portage/sys-apps/baselayout/baselayout-2.0.0.ebuild
>> /usr/portage/sys-apps/baselayout/baselayout-2.0.1.ebuild
>>
>> Does the presence of those files indicate that my system is "using"
>> baselayout-2?
> 
> No, those are just the files in your portage tree. Run emerge -p
> baselayout, or eix -e baselayout to see when you are running.
Thanks again.  Doing "eix -e baselayout" indicates that I'm using
version 1.12.11.1.  Hence there seems to be no need to do "rcupdate add
dmcrypt boot"

Best regards,
John

> 
> 


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] udev, cryptsetup, and ensuing problems

2009-06-24 Thread John P. Burkett
Paul Hartman wrote:
> On Tue, Jun 23, 2009 at 7:39 PM, John P. Burkett wrote:
>> !!! Couldn't download 'cryptsetup-1.0.6.tar.bz2'. Aborting.
> 
> I don't know why your downloads are failing or the rest of your
> problems, but you can download cryptsetup manually from here:
> 
> http://code.google.com/p/cryptsetup/downloads/detail?name=cryptsetup-1.0.6.tar.bz2&can=2&q=
> 
Paul, Thank you very much for this valuable tip. I downloaded
cryptsetup-1.0.6.tar.bz2&can=2&q= to  /usr/portage/distfiles/ and did
"emerge cryptsetup"

The response included the following lines:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.20-gentoo-r6
 * Checking for suitable kernel configuration options...
 *   CONFIG_DM_CRYPT:   is not set (required for cryptsetup)
 *
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Checking for suitable kernel configuration options...
 *   CONFIG_CRYPTO: is not set (required for cryptsetup)
 *
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Checking for suitable kernel configuration options...
 *   CONFIG_CRYPTO_CBC: is not set (required for kernel 2.6.19)
 *
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

The references to kernel version 2.6.20 and 2.6.19 surprised me because
doing "uname -r" produces "2.6.17-gentoo-r4". Suggestions about how to
set CONFIG_DM_CRYPT and CONFIG_CRYPTO appropriately would be
appreciated.  As a user of kernel 2.6.17, may I leave CONFIG_CRYPTO_CBC
unset?

Further down, the output included these lines:
>>> Installing (1 of 1) sys-fs/cryptsetup-1.0.6-r2
 * This ebuild introduces a new set of scripts and configuration
 * than the last version. If you are currently using /etc/conf.d/cryptfs
 * then you *MUST* copy your old file to:
 * /etc/conf.d/dmcrypt
 * Or your encrypted partitions will *NOT* work.

In the directory /etc/conf.d there is no cryptfs and thus, I assume,
nothing to be copied.

The next two lines of output are
 * Please see the example for configuring a LUKS mountpoint
 * in /etc/conf.d/dmcrypt

In dmcrypt I find two references to LUKS.  First, "the init-script which
reads this file detects whether your partition is LUKS or not. No mkfs
is run unless you specify a makefs"  Second,
"# options='' == cryptsetup, for LUKS you can only use --readonly"
The meaning of these references is not clear to me.

Then come the instruction:
 * If you are using baselayout-2 then please do:
 * rc-update add dmcrypt boot

Doing "locate baselayout-2" produces
/var/cache/edb/dep/usr/portage/sys-apps/baselayout-2.0.0
/usr/portage/metadata/cache/sys-apps/baselayout-2.0.0
/usr/portage/metadata/cache/sys-apps/baselayout-2.0.1
/usr/portage/sys-apps/baselayout/baselayout-2.0.0.ebuild
/usr/portage/sys-apps/baselayout/baselayout-2.0.1.ebuild

Does the presence of those files indicate that my system is "using"
baselayout-2?

Best regards,
John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] udev, cryptsetup, and ensuing problems

2009-06-24 Thread John P. Burkett
Alan McKinnon wrote:
> On Wednesday 24 June 2009 15:47:44 John P. Burkett wrote:
>> Alan McKinnon wrote:
>>> On Wednesday 24 June 2009 02:39:33 John P. Burkett wrote:
>>>> At that point I had the impression that the machine was not up-to-date
>>>> but nonetheless functional.  However, the next morning I noticed that
>>>> the computer would not print to my local printer. Using the CUPS menu
>>>> did not rectify the problem.  When I rebooted, the machine wouldn't
>>>> start X and the mouse wouldn't work.  Rebooting again, I used the Grub
>>>> menu to select an old reliable configuration which allowed me to login
>>>> at a command line interface but did allow me to start X.
>>> This has been dealt with ad-nauseam on this list over the last few weeks,
>>> with many many threads covering these issues (they are very common)
>>>
>>> Please check the mail archives for the full story in all it's
>>> excruciating detail.
>> Thank you, Alan, for the pointer.  Going to
>> http://archives.gentoo.org/gentoo-user/ and using Firefox's "find"
>> facility, I searched for each of the following expressions: udev,
>> cryptsetup, host address, distrfiles.shea, filesize, printer, startx,
>> mouse. I have not found the threads to which you refer. If you could
>> point out a relevant starting point in the archives, I would be very
>> grateful.
> 
> Try looking for threads started by user "Dale" and working from there. He's 
> not alone in his woes, but he's certainly the most vocal. His threads also 
> tend to stay on-topic, leading to answers instead of natter.
> 
Alan, thanks for calling Dale's contributions to my attention.  Going to
http://archives.gentoo.org/gentoo-user/ and using Firefox's "find"
facility, I searched for "Dale" on the first 10 pages sorted by thread
and the first 10 pages sorted by date. The later goes back to May 31. So
far I have not found a thread started by Dale that deals with problems
similar to mine. If you could identify a specific thread, I would
appreciate it.
-John


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] udev, cryptsetup, and ensuing problems

2009-06-24 Thread John P. Burkett
Alan McKinnon wrote:
> On Wednesday 24 June 2009 02:39:33 John P. Burkett wrote:
>> At that point I had the impression that the machine was not up-to-date
>> but nonetheless functional.  However, the next morning I noticed that
>> the computer would not print to my local printer. Using the CUPS menu
>> did not rectify the problem.  When I rebooted, the machine wouldn't
>> start X and the mouse wouldn't work.  Rebooting again, I used the Grub
>> menu to select an old reliable configuration which allowed me to login
>> at a command line interface but did allow me to start X.
> 
> This has been dealt with ad-nauseam on this list over the last few weeks, 
> with 
> many many threads covering these issues (they are very common)
> 
> Please check the mail archives for the full story in all it's excruciating 
> detail.
> 
Thank you, Alan, for the pointer.  Going to
http://archives.gentoo.org/gentoo-user/ and using Firefox's "find"
facility, I searched for each of the following expressions: udev,
cryptsetup, host address, distrfiles.shea, filesize, printer, startx,
mouse. I have not found the threads to which you refer. If you could
point out a relevant starting point in the archives, I would be very
grateful.

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] udev, cryptsetup, and ensuing problems

2009-06-23 Thread John P. Burkett
in /etc/udev/udev.conf, but in /etc/fstab
 * as for other directories.
 *
 * For more information on udev on Gentoo, writing udev rules, and
 *  fixing known issues visit:
 *  http://www.gentoo.org/doc/en/udev-guide.xml
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 config files in '/etc' need updating.

I did "dispatch-conf" followed by "emerge cryptsetup".  That produced
the following:

>>> Emerging (1 of 1) sys-fs/cryptsetup-1.0.6-r2
>>> Downloading
'http://distfiles.oshean.org/distfiles/cryptsetup-1.0.6.tar.bz2'
--2009-06-20 12:53:21--
http://distfiles.oshean.org/distfiles/cryptsetup-1.0.6.tar.bz2
Resolving distfiles.oshean.org... failed: Name or service not known.
wget: unable to resolve host address `distfiles.oshean.org'
>>> Downloading
'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cryptsetup-1.0.6.tar.bz2'
--2009-06-20 12:53:21--
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/cryptsetup-1.0.6.tar.bz2
Resolving open-systems.ufl.edu... 128.227.74.33
Connecting to open-systems.ufl.edu|128.227.74.33|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2009-06-20 12:53:21 ERROR 403: Forbidden.

>>> Downloading 'http://luks.endorphin.org/source/cryptsetup-1.0.6.tar.bz2'
--2009-06-20 12:53:21--
http://luks.endorphin.org/source/cryptsetup-1.0.6.tar.bz2
Resolving luks.endorphin.org... failed: Name or service not known.
wget: unable to resolve host address `luks.endorphin.org'
!!! Couldn't download 'cryptsetup-1.0.6.tar.bz2'. Aborting.
 * Fetch failed for 'sys-fs/cryptsetup-1.0.6-r2', Log file:
 *  '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'

>>> Failed to emerge sys-fs/cryptsetup-1.0.6-r2, Log file:

>>>  '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'

 * Messages for package sys-fs/cryptsetup-1.0.6-r2:

 * Fetch failed for 'sys-fs/cryptsetup-1.0.6-r2', Log file:
 *  '/var/tmp/portage/sys-fs/cryptsetup-1.0.6-r2/temp/build.log'
>>> Emerging (1 of 27) media-plugins/live-2008.09.02
>>> Downloading
'http://distfiles.oshean.org/distfiles/live.2008.09.02.tar.gz'
--2009-06-20 12:59:02--
http://distfiles.oshean.org/distfiles/live.2008.09.02.tar.gz
Resolving distfiles.oshean.org... failed: Name or service not known.
wget: unable to resolve host address `distfiles.oshean.org'
>>> Downloading
'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/live.2008.09.02.tar.gz'
--2009-06-20 12:59:02--
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/live.2008.09.02.tar.gz
Resolving open-systems.ufl.edu... 128.227.74.33
Connecting to open-systems.ufl.edu|128.227.74.33|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2009-06-20 12:59:02 ERROR 403: Forbidden.

>>> Downloading
'http://www.live555.com/liveMedia/public/live.2008.09.02.tar.gz'
--2009-06-20 12:59:02--
http://www.live555.com/liveMedia/public/live.2008.09.02.tar.gz
Resolving www.live555.com... 4.79.217.242
Connecting to www.live555.com|4.79.217.242|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-06-20 12:59:18 ERROR 404: Not Found.


!!! Couldn't download 'live.2008.09.02.tar.gz'. Aborting.
 * Fetch failed for 'media-plugins/live-2008.09.02', Log file:
 *  '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'

>>> Failed to emerge media-plugins/live-2008.09.02, Log file:

>>>  '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'

 * Messages for package media-plugins/live-2008.09.02:

 * Fetch failed for 'media-plugins/live-2008.09.02', Log file:
 *  '/var/tmp/portage/media-plugins/live-2008.09.02/temp/build.log'

After doing "emerge --resume --skipfirst" a few more times I got a
seemingly clean ending:
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.

At that point I had the impression that the machine was not up-to-date
but nonetheless functional.  However, the next morning I noticed that
the computer would not print to my local printer. Using the CUPS menu
did not rectify the problem.  When I rebooted, the machine wouldn't
start X and the mouse wouldn't work.  Rebooting again, I used the Grub
menu to select an old reliable configuration which allowed me to login
at a command line interface but did allow me to start X.

I would be grateful for suggestions about how to diagnose and fix the
above noted problems with cryptsetup, printer, mouse, and X.

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] strange warning after upgrading php

2009-06-23 Thread John covici
Does anyone know about the following warning I got after upgrading to
php5-5.2.10?  
PHP Warning:  PHP Startup: mm_create(0, /session_mm_cli500) failed,
err mm:core: failed to open semaphore file (Permission denied) in
Unknown on line 0

Downgrading gets rid of the warning and a google search revealed
nothing.

Thanks in advance for your assistance.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] uvesafb will not work on my dell d820 laptop?

2009-06-20 Thread John covici
on Saturday 06/20/2009 Ian Lee(i...@leehouse.eclipse.co.uk) wrote
 > John covici wrote:
 > > Hi.  I have a Dell Latitude D820 laptop and for the life of me, I
 > > can't get uvesafb to work.  There are no messages, I just get the 25
 > > lines by 80 column screen.  I emerged clib, and v86d and made sure my
 > > .config had /usr/share/v86d/initramfs as the initramfs source, and I
 > > have uvesafb built in to the kernel.  My boot time command line
 > > arguments to lilo are:
 > > init=/linuxrc ramdisk=8192 real_root=/dev/sda5 udev
 > > video=uvesafb:1024x768 speakup.synth=spkout
 > > (all on one line in the original).
 > > 
 > > Attached is my emerge --info and my kernel config -- assistance would
 > > be appreciated.
 > > 
 > > 
 > > 
 > > 
 > > 
 > > 
 > According to you kernel config, uvesafb is not built in to the kernel, 
 > but as a module. Try building it in to the kernel and not as a module.
 > 
OK, thought it was built in, will try again -- thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: font missing

2009-06-13 Thread John P. Burkett
rea...@newsguy.com wrote:
> "John P. Burkett"  writes:
> 
>> Suggestions for recovering the old "10x20" font would be appreciated.
> 
> I had the same problem but was able to view from an old backup of var
> in a previous OS install what was installed.
> 
> It showed 38 packages I'd also like to know what specific fonts
> are in which package.
> 
> But I just installed a few from the list.
> 
> This is a guess but I think it was 
>   media-fonts/font-sony-misc that supplied the missing 10x20 and mine
> was also missing 9x15.
> 
> Be warned that the above pkg is JUST a GUESS... since I installed
> several pkgs and found no way to really tell what is in them.
> 
> Even equery files  doesn't tell you since the naming
> apparently changes somewhere between files installed and actual fonts
> available. 
> 
> 
> The entire list I now have installed is listed below in case the guess
> above is wrong.  One in that bunch has it.  Look in:
> 
>   /var/db/pkg/media-fonts to see what is already installed.  
> 
> Severl of those listed below will almost certainly be there.  So maybe
> it will narrow it down for you a bit.
> 
> ===
> font-misc-meltho-1.0.0
> font-sony-misc-1.0.0
> font-adobe-100dpi-1.0.0
> font-misc-misc-1.0.0
> font-sun-misc-1.0.0
> font-adobe-75dpi-1.0.0
> font-mutt-misc-1.0.0
> font-util-1.0.1
> font-alias-1.0.1
> font-schumacher-misc-1.0.0
> gnu-gs-fonts-std-8.11
> 

Thank you very much for your helpful response.  Emerging font-misc-misc
solved the problem for me. :-)

Best regards,
John




-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] font missing

2009-06-13 Thread John P. Burkett
After doing "emerge --depclean" on an amd64 machine, I find that Emacs
no longer locates the font it previously used. The font I liked was
specified in my .emacs file with the line
(set-default-font "10x20").
Using the old .emacs file and doing "emacs --debug-init" now
produces an error message that starts as follows::

Debugger entered--Lisp error: (error "Font `10x20' is not defined")
  modify-frame-parameters(# ((font .
"10x20")))
  set-default-font("10x20")
  eval-buffer(# nil "/home/john/.emacs" nil t)  ;
Reading at buffer position 3345
  load-with-code-conversion("/home/john/.emacs" "/home/john/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "

Doing "xlsfonts -l 10x20" at the Gentoo prompt elicits this response:
DIR  MIN  MAX EXIST DFLT PROP ASC DESC NAME
-->0  255  some0   23  155
-cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r

Interpreting this as a translation of the nickname 10x20 into the long
name, I edited my .emacs file, replacing
(set-default-font "10x20")
with
(set-default-font
"-cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r")

With that change done, emacs starts without any error message. However,
the font is not quite the same as the old one. The old font had no
serifs except on the letters i and l, where they avoid confusion with
the number 1.  The new font has serifs on most letters and, to my eye,
looks unnecessarily cluttered.

With emacs running, I tried holding down the shift key and clicking the
left mouse button. That as expected brought up a font menu. Selecting
"Misc 10x20" elicited the response "Font not found."

Comparing the font paths on the computer with the missing 10x20 font and
on a computer with no font problem, I see the paths starting with
/usr/share/fonts/misc are identical.

Nonetheless there is a difference in the results from doing "locate
10x20" on the two machines.  I can "locate" the following misc/10x20
fonts on the machine where Emacs works well but not on the machine where
Emacs does not work well:

/usr/share/fonts/misc/10x20.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-1.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-2.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-3.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-4.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-5.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-7.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-8.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-9.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-10.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-11.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-13.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-14.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-15.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-16.pcf.gz
/usr/share/fonts/misc/10x20-KOI8-R.pcf.gz

Suggestions for recovering the old "10x20" font would be appreciated.

-John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] cannot completely shut down my system from command line

2009-06-02 Thread John covici
on Tuesday 06/02/2009 James Ausmus(james.aus...@gmail.com) wrote
 > 2009/6/2 John covici 
 > 
 > > on Tuesday 06/02/2009 Sebastian G nther(sam...@guenther-roetgen.de) wrote
 > >  > * John covici (cov...@ccs.covici.com) [02.06.09 09:24]:
 > >  > > Hi.  I am running unstable gentoo and baselayout2, however when I
 > >  > > shutdown my system with something like shutdown -r now -- it gets into
 > >  > > a state where it says
 > >  > > init: no more processes in this run level, but it never will restart
 > >  > > or shutdown if I use -h.  How in the heck do I even debug such a thing
 > >  > > or fix?
 > >  > >
 > >  > > Thanks in advance for any good ideas.
 > >  > >
 > >  >
 > >  > Did you enable ACPI in your kernel configuration?
 > > Yep.
 > >
 > 
 > Make sure
 > CONFIG_ACPI_BUTTON
 > is enabled in your kernel config (for menuconfig, under Power Management &
 > ACPI -> ACPI Support -> Button) - without this, Linux can't auto-shut-off
 > your system.
Its a module, not built-in.  But even shutdown -r now does not work as
 I get the message mentioned above and the computer hangs there
 forever.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] cannot completely shut down my system from command line

2009-06-02 Thread John covici
on Tuesday 06/02/2009 Sebastian G nther(sam...@guenther-roetgen.de) wrote
 > * John covici (cov...@ccs.covici.com) [02.06.09 09:24]:
 > > Hi.  I am running unstable gentoo and baselayout2, however when I
 > > shutdown my system with something like shutdown -r now -- it gets into
 > > a state where it says
 > > init: no more processes in this run level, but it never will restart
 > > or shutdown if I use -h.  How in the heck do I even debug such a thing
 > > or fix?
 > > 
 > > Thanks in advance for any good ideas.
 > > 
 > 
 > Did you enable ACPI in your kernel configuration?
Yep.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Re: Kernel Oops! with new xorg

2009-06-02 Thread John
On Tue, 2 Jun 2009 16:16:09 + (UTC)
James  wrote:

> Mick  gmail.com> writes:
> 
> 
> > I have come across this debilitating affliction which means that I
> > can no longer shutdown properly my laptop.  It looks as if the
> > kernel crashes when xorg is trying to unload the radeon driver -
> > but I am not sure - please see attached pic.
> 
> Hello Mick,
> 
> 
> I have a similar problem on a workstation. When I use the KDE4 menu 
> to exit, the system seems to halt, but the mobo is still powered up. 
> Upon reboot reiserfs fixes itself (hard reset). If I 
> use "shutdown -h now" all is fine. Otherwise the system is fine.
> 
> 
> I just assumed it was a kde4 problem, but, I have not drilled down
> further to locate the exact problem source.  Between needing to
> reduce or eliminate xorg.conf and evdev, hal , kde4 and new kernels,
> I've definitely missed the boat. as I manage dozens of gentoo
> boxes.
> 
> Anyway, I'll track it down eventually. Here's my info, in case it
> is similar to yours and hopefully helps you find the problem:
> 
> kernel: 2.6.28-gentoo-r5
> 
> x11-base/xorg-server-1.5.3-r6(20:59:56 05/25/09)((hal
> input_devices_evdev input_devices_keyboard input_devices_mouse
> input_devices_synaptics nptl sdl video_cards_radeon xorg
> 
> and from make.conf:
> VIDEO_CARDS="fbdev fglrx vesa"
> INPUT_DEVICES="keyboard mouse joystick evdev"
> 
> 
> I did switch the system from the radeon driver to 
> x11-drivers/ati-drivers-8.5.9.3
> 
> I noticed my "radeon" entry in my xorg-server flags..(problem)...?
> 
> I'm not sure my problem is related to your, I hope
> posting here helps you solve your problem. Once yours 
> is solved, it might give me feedback as to where to
> begin my search...
> 
> 
> HTH,
> James
> 
> 
> 

Also having a similar issue with xfce4. When using shutdown -h now in
command line, there is no response from machine. When shutting down
using xfce4 icon machines returns to login screen. No messages are
produced in system log other than shutdown. 

I use nvidia-drivers on my laptop and have had no problem
until upgrading to latest kernel 2.6.29-gentoo-r5. Assume I am missing
something in kernel config but everything else works ok.

Init 0 does nothing either so maybe there is a clue there


John D Maunder
j...@articwolf.myzen.co.uk



[gentoo-user] cannot completely shut down my system from command line

2009-06-02 Thread John covici
Hi.  I am running unstable gentoo and baselayout2, however when I
shutdown my system with something like shutdown -r now -- it gets into
a state where it says
init: no more processes in this run level, but it never will restart
or shutdown if I use -h.  How in the heck do I even debug such a thing
or fix?

Thanks in advance for any good ideas.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] grub: how to install new version of stage 1

2009-05-31 Thread John P. Burkett
Alan McKinnon wrote:
> On Sunday 31 May 2009 18:12:34 John P. Burkett wrote:
>> Alan McKinnon wrote:
>>> On Saturday 30 May 2009 20:59:00 John P. Burkett wrote:
>>>> The manual suggests doing "grub-install --no-floppy /dev/sda"
>>>> but later says "If your system does not have any floppy drives, add the
>>>> --no-floppy option to the above command to prevent grub from probing the
>>>> (non-existing) floppy drives."  My machine has a floppy drive. Should I
>>>> omit the --no-floppy option and just do "grub-install /dev/sda" ?
>>> The manual is actually quite clear if you know even just a little bit
>>> about boot loaders.
>>>
>>> Use --no-floppy if
>>>
>>> a) you do not have a floppy drive
>>> b) you do not intend grub to use the floppy drive you do have
>>>
>>> The question you should be asking is "have I ever booted off a floppy
>>> drive in the last X years, and do I ever intend do so again?"
>>>
>>> The first example in the manual is assuming the answers are no and no -
>>> pretty normal for the vast majority of users.
>> Thanks, Dale and Alan, for your suggestions. Doing
>> grub-install --no-floppy /dev/sda
>> as root elicits the following response:
>> /dev/md1 does not have any corresponding BIOS drive.
>>
>> In my /dev directory, I see a sda and a md1 file.
>>
>> Suggestions for diagnosing or resolving the problem would be much
>> appreciated.
>>
>> John
> 
> md1 is a software raid drive. grub may or may not be able to read it 
> depending 
> on what kind of raid it is.
> 
> But I doubt you are booting from that if you have an sda, so even though grub 
> finds it, just don't use it and ignore the message. You told grub where to 
> install the boot loader, and it will have done that.
> 
Thanks, Alan.  I'll trust that grub works now.
-John


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] grub: how to install new version of stage 1

2009-05-31 Thread John P. Burkett
Alan McKinnon wrote:
> On Saturday 30 May 2009 20:59:00 John P. Burkett wrote:
>> The manual suggests doing "grub-install --no-floppy /dev/sda"
>> but later says "If your system does not have any floppy drives, add the
>> --no-floppy option to the above command to prevent grub from probing the
>> (non-existing) floppy drives."  My machine has a floppy drive. Should I
>> omit the --no-floppy option and just do "grub-install /dev/sda" ?
> 
> The manual is actually quite clear if you know even just a little bit about 
> boot loaders.
> 
> Use --no-floppy if
> 
> a) you do not have a floppy drive
> b) you do not intend grub to use the floppy drive you do have
> 
> The question you should be asking is "have I ever booted off a floppy drive 
> in 
> the last X years, and do I ever intend do so again?"
> 
> The first example in the manual is assuming the answers are no and no - 
> pretty 
> normal for the vast majority of users.
> 
Thanks, Dale and Alan, for your suggestions. Doing
grub-install --no-floppy /dev/sda
as root elicits the following response:
/dev/md1 does not have any corresponding BIOS drive.

In my /dev directory, I see a sda and a md1 file.

Suggestions for diagnosing or resolving the problem would be much
appreciated.

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] grub: how to install new version of stage 1

2009-05-30 Thread John P. Burkett
On a x86 machine I did "emerge -D -uav world" and got a response that
read in part as follows:
 * Messages for package sys-boot/grub-0.97-r9:
 *
 * To avoid automounting and autoinstalling with /boot,
 * just export the DONT_MOUNT_BOOT variable.
 *
 * *** IMPORTANT NOTE: you must run grub and install
 * the new version's stage1 to your MBR.  Until you do,
 * stage1 and stage2 will still be the old version, but
 * later stages will be the new version, which could
 * cause problems such as an unbootable system.
 * This means you must use either grub-install or perform
 * root/setup manually! For more help, see the handbook:
 *
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto
 * To interactively install grub files to another device such as a USB
 * stick, just run the following and specify the directory as prompted:
 *emerge --config =grub-0.97-r9
 * Alternately, you can export GRUB_ALT_INSTALLDIR=/path/to/use to tell
 * grub where to install in a non-interactive way.

After reading
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto
I did "grep -v rootfs /proc/mounts > /etc/mtab". That seems to have
produced the needed /etc/mtab file.  Now I'm confused by the part of the
manual with code listings 2.6 and
2.7 and the associated commentary.
The manual suggests doing "grub-install --no-floppy /dev/sda"
but later says "If your system does not have any floppy drives, add the
--no-floppy option to the above command to prevent grub from probing the
(non-existing) floppy drives."  My machine has a floppy drive. Should I
omit the --no-floppy option and just do "grub-install /dev/sda" ?

-John


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] massive problems with gdm 2.26.1-r1

2009-05-27 Thread John covici
Hi.  I have been using the gnome overlay, but last night when I did my
latest update and got gdm 2.26.1-r1, I had massive problems including
it trying to take over console 7, even though it was in use and for
whatever reason, I actually could not get out of that screen and had
to reboot.  Anyone know what is happening, or should I file a bug?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Gnome complaining about automount of audio CD

2009-05-13 Thread John covici
on Wednesday 05/13/2009 Mark Knecht(markkne...@gmail.com) wrote
 > I wonder if someone here knows where I turn off Gnome trying to
 > automount audio CDs and complaining that that it can't be mounted.
 > 
 > This is a recent development with updates in the last month or two. I
 > don't play a lot of audio CDs on my Gentoo machine but periodically
 > copy a CD. It used to be that I would start k3b, insert a CD and k3b
 > would go look up it's name. This still works, but recent versions of
 > Gnome seem to be trying to automount the audio CD which is something
 > makes no sense to me, and it fails. I'd like to fix that if possible
 > as I don't think I ever want Gnome to automount and play audio CDs.
 > 
 > I suspect this may be a hal-ish thing but that's totally a guess on my
 > part and backed up by nothing.
There is a use flag in gnome-base/gvfs called cdda which when you have
 it in there, asks you what you want to do with your audio cd, if
 that is not there I was getting a message about not being able to
 mount the cd.

Hope that helps.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 1801 (95228-95277)

2009-05-12 Thread John Hennessy

unsubscribe



Re: [gentoo-user] python 2.6 and mailman

2009-05-06 Thread John covici
on Wednesday 05/06/2009 Neil Bothwick(n...@digimed.co.uk) wrote
 > On Wed, 6 May 2009 14:59:40 +0100, Neil Bothwick wrote:
 > 
 > > otherwise you only need to use
 > > python-config to switch back.
 > 
 > That should be eselect python, as Peter outlined in his post.
 > 
 > 
 > -- 
 > Neil Bothwick
 > 
 > WinErr 005: Multitasking attempted - System confused

Thanks much -- that will fix things up just fine.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] python 2.6 and mailman

2009-05-06 Thread John covici
on Wednesday 05/06/2009 Neil Bothwick(n...@digimed.co.uk) wrote
 > On Wed, 6 May 2009 05:06:51 -0400, John covici wrote:
 > 
 > > Hi.  I upgraded to python 2.6 -- at the time I didn't know that this
 > > would break mailman, buut there is a version of mailman compatible
 > > with 2.6 -- is there any ebuild for this?  I doubt it would be
 > > possible todowngrade to 2.5 -- at least not without great difficult.
 > > Please correct me if I am wrong in any of this, but the easiest thing
 > > would be to get a version of mailman compatible with 2.6.
 > 
 > There is a bug filed for this, so an updated ebuild should appear
 > shortly. Meanwhile, what's wrong with installing Python 2.5? It's
 > slotted, so you can have 2.5 and 2.6 installed together, or simply switch
 > back to 2.5 until a new mailman ebuild is released. Or is there a reason
 > you really need 2.6?

The question is, I would not mind switching back to 2.5, but how do I
do this -- I had to run pythonupdater to switch from 2.5 to 2.6, what
is the procedure to do the reverse?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] python 2.6 and mailman

2009-05-06 Thread John covici
on Wednesday 05/06/2009 David Relson(rel...@osagesoftware.com) wrote
 > On Wed, 6 May 2009 05:06:51 -0400
 > John covici wrote:
 > 
 > > Hi.  I upgraded to python 2.6 -- at the time I didn't know that this
 > > would break mailman, buut there is a version of mailman compatible
 > > with 2.6 -- is there any ebuild for this?  I doubt it would be
 > > possible todowngrade to 2.5 -- at least not without great difficult.
 > > Please correct me if I am wrong in any of this, but the easiest thing
 > > would be to get a version of mailman compatible with 2.6.
 > > 
 > > Thanks in advance for any ideas on this problem.
 > 
 > Perhaps it'd be better to post this query on the mailman mailing list???

Well, maybe, but they do have a newer version which they say works
with 2.6, but gentoo has not put an ebuild up for it yet, this is why
I am using this list.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] python 2.6 and mailman

2009-05-06 Thread John covici
Hi.  I upgraded to python 2.6 -- at the time I didn't know that this
would break mailman, buut there is a version of mailman compatible
with 2.6 -- is there any ebuild for this?  I doubt it would be
possible todowngrade to 2.5 -- at least not without great difficult.
Please correct me if I am wrong in any of this, but the easiest thing
would be to get a version of mailman compatible with 2.6.

Thanks in advance for any ideas on this problem.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

     John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Resizing ext3 Partition

2009-05-04 Thread John covici
on Monday 05/04/2009 Mick(michaelkintz...@gmail.com) wrote
 > On Monday 04 May 2009, John covici wrote:
 > > on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote
 > 
 > >  > > You'd be amazed how much junk collects in /var/log/portage over time
 > >  >
 > >  > Or in /var/log. Logrotate helps there and /var/log/portage can be
 > >  > cleaned up by a script that compresses everything older than 1 day (the
 > >  > test helps not to "disturb" a running portage or get ugly split logs).
 > >
 > > What I would really like to do is get rid of everything except the
 > > most recent compile of each program in /var/log/portage -- anyone have a
 > > script to do that?
 > 
 > Check man emerge and read (carefully) --clean --depclean and --prune 
 > options.  
 > Use any of these judiciously because you can easily hose your box (if you 
 > get 
 > rid of your compiler for example).
 > -- 
 > Regards,
 > Mick

I was only talking about getting rid of log files in /var/log/portage
where it keeps a record of each build of every program.  Seems to me
only the most recent one is significant.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Resizing ext3 Partition

2009-05-04 Thread John covici
on Monday 05/04/2009 Philipp Riegger(li...@anderedomain.de) wrote
 > 
 > On Mon, 2009-05-04 at 17:02 +0200, Alan McKinnon wrote:
 > > > >> I'd look to see what is filling up the root partition, 10GB should be
 > > > >> more than enough.
 > > > >
 > > > > Good tip! cd /usr/src/linux and make clean gave me back 2 GB.
 > > >
 > > > Also unmerge old unneeded kernels and remove leftovers from old
 > > > kernels found in /usr/src and /lib/modules (or /lib64/modules)
 > > 
 > > You'd be amazed how much junk collects in /var/log/portage over time
 > 
 > Or in /var/log. Logrotate helps there and /var/log/portage can be
 > cleaned up by a script that compresses everything older than 1 day (the
 > test helps not to "disturb" a running portage or get ugly split logs).

What I would really like to do is get rid of everything except the
most recent compile of each program in /var/log/portage -- anyone have a script 
to do that?
-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 1790 (94678-94727)

2009-04-30 Thread John Hennessy

unsubscribe



Re: [gentoo-user] conflict in update

2009-04-26 Thread John covici
on Saturday 04/25/2009 Alan McKinnon(alan.mckin...@gmail.com) wrote
 > On Saturday 25 April 2009 20:52:28 Michael P. Soulier wrote:
 > > On 25/04/09 Michael P. Soulier said:
 > > > app-text/poppler-bindings and app-text/poppler aren't needed by anything
 > > > right now.
 > >
 > > So, I just unmerged them and now my upgrade path looks good.
 > >
 > > I'm not sure what pulled in those newer versions previously.
 > 
 > You did. 
 > 
 > You had it in world, remember. At some point you did something like this:
 > 
 > emerge poppler-bindings
 > 
 > So, it went in world, portage continued to emerge it to the latest and 
 > greatest newest version every time you ran emerge -avuND world. Eventually 
 > all 
 > consumers of the library were removed and you were left with an unused 
 > package 
 > in world.
 > 
 > Incidentally, poppler has a long and fine history of insanely breaking 
 > users' 
 > configs every time its developers sneeze. The number of times I've had 
 > poppler 
 > show up in revdep-rebuild output defies any kind of sane, logical, rational 
 > description. Not even Microsoft can breaks so many things so often, and 
 > that's 
 > saying something...

OK, so this brings up the question, how do I make sure (if there is a
way to do so) that my world file does not contain anything which it
should not -- I am sure I have made the mistake of forgetting to put
the -1, so it would be interesting if there were a way to at least get
a list of such packages.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] telephony

2009-04-22 Thread John covici
Take a look at a book called "The Future of Telephony" -- its free,
but I am not sure where to get it.

on Wednesday 04/22/2009 Simon(turne...@gmail.com) wrote
 > hi there,
 >   i'm looking for suggestions and guidance.  I have a vps host with
 > gentoo on it, i dont think the vps is stable enough to ensure a good
 > quality of service, but it could just need an upgrade, no big deal.  I
 > need a phone and the way i decided to go was to get a connection to
 > the internet and use voip or similar services.
 > 
 >   I've looked into several ideas, but the last one that remains a good
 > 'deal' is to set it all up myself, for free (but lots of work)!
 > 
 > I'm thinking on setting up asterisk, but having read about it in the
 > past, i know as soon as i set it up it will take more of my time than
 > my girlfriend ever dreamed of!  It seems extremely difficult to setup,
 > specially for a newbie, I'm wondering if you guys know of a few good
 > guides (that you have experience with, i can google too) for this and
 > if you had any suggestion, pointers, starters mostly...
 > 
 > I've read those, but I'm sure there are a lot of surprises not covered
 > by these...
 > http://www.voip-info.org/wiki-Asterisk+Linux+Gentoo
 > http://www.gentoo-wiki.info/Asterisk
 > 
 > Thanks for any help!
 > 
 > -- 
 > When Earth was the only inhabited planet in the Galaxy, it was a
 > primitive place, militarily speaking.  The only weapon they had ever
 > invented worth mentioning was a crude and inefficient nuclear-reaction
 > bomb for which they had not even developed the logical defense. -
 > Asimov

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Failed to emerge media-libs/libprojectm-0.99-r1

2009-04-19 Thread John P. Burkett
Dale wrote:
> John P. Burkett wrote:
>> Alan,
>> Thank you very much for your diagnosis and suggestion.  Having no
>> experience downgrading packages, I'm not certain how to implement the
>> proposal to downgrade ftgl. The approach I tried is the following:
>> I created a /usr/portage/package.mask file containing the line
>> =media-libs/ftgl-2.1.3_rc5
>> and then did
>> emerge -C ftgl
>> which removed  ftgl-2.l.3_rc5.
>> Then I did
>> emerge ftgl
>> expecting to get a lower version.  Instead, ftgl-2.l.3_rc5 was emerged
>> again.
>> So, if you'll forgive such a basic question, how should ftgl be downgraded?
>>
>> John
>>
>>
>>
>>   
> 
> I got this:
> 
> r...@smoker / # equery list -p ftgl
> [ Searching for package 'ftgl' in all categories among: ]
>  * installed packages
>  * Portage tree (/usr/portage)
> [-P-] [  ] media-libs/ftgl-2.1.2-r1 (0)
> [-P-] [M~] media-libs/ftgl-2.1.2-r2 (0)
> [-P-] [  ] media-libs/ftgl-2.1.3_rc5 (0)
> r...@smoker / # 
> 
> So, I would try this "emerge -va =media-libs/ftgl-2.1.2-r1" and see if
> that version works since it was the last stable version, without the
> quotes of course.  Keep in mind, you have not masked anything so if you
> run "emerge -u world" it will try to upgrade.  I would find a working
> version first, then mask/unmask.  That way you know what to mask/unmask.
> 
> I hope that works for you.
> 
> Dale
> 
> :-)  :-) 
> 
> 
Dale,
Thank you very much for your suggestion.  It solved my problem!
Best regard,
John


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] Failed to emerge media-libs/libprojectm-0.99-r1

2009-04-19 Thread John P. Burkett
Alan McKinnon wrote:
> On Sunday 19 April 2009 18:13:19 John P. Burkett wrote:
>> glConsole.cc:50:23: error: FTGL/FTGL.h: No such file or directory
>> In file included from glConsole.cc:51:
>> /usr/include/FTGL/FTGLPixmapFont.h:29:5: warning: #warning This header
>> is deprecated. Please use  from now.
> 
> There's your error. I'll bet you are using incompatible versions of 
> libprojectm and ftgl - the case of the header file names are different.
> 
> I don't know the packages, so I would try downgrade ftgl through lower and 
> lower versions till you find one that works. Or maybe upgrade libprojectm 
> till 
> you find one that works.
> 
> Two sources of information that are valuable in cases like this:
> 
> Check bugs.gentoo.org
> Read the ebuilds (all versions) to find what blockers are in place.
> 
Alan,
Thank you very much for your diagnosis and suggestion.  Having no
experience downgrading packages, I'm not certain how to implement the
proposal to downgrade ftgl. The approach I tried is the following:
I created a /usr/portage/package.mask file containing the line
=media-libs/ftgl-2.1.3_rc5
and then did
emerge -C ftgl
which removed  ftgl-2.l.3_rc5.
Then I did
emerge ftgl
expecting to get a lower version.  Instead, ftgl-2.l.3_rc5 was emerged
again.
So, if you'll forgive such a basic question, how should ftgl be downgraded?

John



-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] Failed to emerge media-libs/libprojectm-0.99-r1

2009-04-19 Thread John P. Burkett
_CONFIG_H -I. -I.. -DLINUX -D__CPLUSPLUS
-pthread -I/usr/include/FTGL -I/usr/include/freetype2 -march=prescott
-O3 -pipe -fomit-frame-pointer -ggdb -MT func.lo -MD -MP -MF
.deps/func.Tpo -c func.cc -o func.o >/dev/null 2>&1
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DLINUX -D__CPLUSPLUS
-pthread -I/usr/include/FTGL -I/usr/include/freetype2 -march=prescott
-O3 -pipe -fomit-frame-pointer -ggdb -MT glConsole.lo -MD -MP -MF
.deps/glConsole.Tpo -c glConsole.cc  -fPIC -DPIC -o .libs/glConsole.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DLINUX -D__CPLUSPLUS
-pthread -I/usr/include/FTGL -I/usr/include/freetype2 -march=prescott
-O3 -pipe -fomit-frame-pointer -ggdb -MT fftsg.lo -MD -MP -MF
.deps/fftsg.Tpo -c fftsg.cc -o fftsg.o >/dev/null 2>&1
mv -f .deps/func.Tpo .deps/func.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I..-DLINUX -D__CPLUSPLUS -pthread
-I/usr/include/FTGL -I/usr/include/freetype2   -march=prescott -O3 -pipe
-fomit-frame-pointer -ggdb -MT init_cond.lo -MD -MP -MF
.deps/init_cond.Tpo -c -o init_cond.lo init_cond.cc
glConsole.cc:50:23: error: FTGL/FTGL.h: No such file or directory
In file included from glConsole.cc:51:
/usr/include/FTGL/FTGLPixmapFont.h:29:5: warning: #warning This header
is deprecated. Please use  from now.
glConsole.cc: In function ‘int glConsoleDraw(gl_console_t*)’:
glConsole.cc:796: warning: passing ‘double’ for argument 1 to ‘virtual
bool FTFont::FaceSize(unsigned int, unsigned int)’
make[2]: *** [glConsole.lo] Error 1
make[2]: *** Waiting for unfinished jobs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DLINUX -D__CPLUSPLUS
-pthread -I/usr/include/FTGL -I/usr/include/freetype2 -march=prescott
-O3 -pipe -fomit-frame-pointer -ggdb -MT init_cond.lo -MD -MP -MF
.deps/init_cond.Tpo -c init_cond.cc  -fPIC -DPIC -o .libs/init_cond.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DLINUX -D__CPLUSPLUS
-pthread -I/usr/include/FTGL -I/usr/include/freetype2 -march=prescott
-O3 -pipe -fomit-frame-pointer -ggdb -MT init_cond.lo -MD -MP -MF
.deps/init_cond.Tpo -c init_cond.cc -o init_cond.o >/dev/null 2>&1
mv -f .deps/fftsg.Tpo .deps/fftsg.Plo
mv -f .deps/init_cond.Tpo .deps/init_cond.Plo
make[2]: Leaving directory
`/var/tmp/portage/media-libs/libprojectm-0.99-r1/work/libprojectM/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/libprojectm-0.99-r1/work/libprojectM'
make: *** [all] Error 2
 *
 * ERROR: media-libs/libprojectm-0.99-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2611:  Called _eapi0_src_compile
 *   ebuild.sh, line  609:  Called _eapi2_src_compile
 *   ebuild.sh, line  643:  Called die
 * The specific snippet of code:
 *  emake || die "emake failed"
 *  The die message:
 *   emake failed

I'd be grateful for suggestions about how to fix the problem.

John




-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] Failed to install x11-drivers/ati-drivers-8.552-r2

2009-04-19 Thread John P. Burkett
Alex Schuster wrote:
> John P. Burkett writes:
> 
>> Doing "PORT_LOGDIR=/var/log/portage emerge -D -uav world" on my amd64
>> machine elicits a response that ends as follows:
> [...]
>>  * Detected file collision(s):
>>  *
>>  *   /usr/lib64/opengl/ati/extensions/libglx.so
>>  *
>>  * Searching all installed packages for file collisions...
>>  *
>>  * Press Ctrl-C to Stop
>>  *
>>  * x11-base/xorg-server-1.5.3-r5
>>  *   /usr/lib64/opengl/ati/extensions/libglx.so
>>  *
>>  * Package 'x11-drivers/ati-drivers-8.552-r2' NOT merged due to file
>>  * collisions. If necessary, refer to your elog messages for the whole
>>  * content of the above message.
> [...]
>> Suggestions for how to successfully "emerge -D -uav world" would be
>> much appreciated.
> 
> FEATURES="-collision-protect keepwork" =x11-drivers/ati-drivers-8.552-r2
> 
> -collision-protect installs the conflicting file even if a collision is 
> reported. This is more a workaround than a real solution, as the next 
> install of xorg-server will probably bring a collision again. Eventually, 
> either the xorg or the ati-drivers ebuild will be changed. 
> 
> keepwork just avoids re-compiling the driver to save you some time.
> 
> There is already bug report (http://bugs.gentoo.org/247685), with more 
> information on how to solve this.
> 
>   Wonko
> 

Thanks, Alex.  I finally got through the emerge. I'll keep your note
handy for use next time the collision is reported.

Best regards,
John



Re: [gentoo-user] Failed to install x11-drivers/ati-drivers-8.552-r2

2009-04-19 Thread John P. Burkett
Gregory Shearman wrote:
> In linux.gentoo.user, you wrote:
> 
>>>>> Completed installing ati-drivers-8.552-r2 into
>>  *
>>  * Searching all installed packages for file collisions...
>>  *
>>  * Press Ctrl-C to Stop
>>  *
>>  * x11-base/xorg-server-1.5.3-r5
>>  *   /usr/lib64/opengl/ati/extensions/libglx.so
>>  *
>>  * Package 'x11-drivers/ati-drivers-8.552-r2' NOT merged due to file
>>  * collisions. If necessary, refer to your elog messages for the whole
>>  * content of the above message.
>>
>>>>> Failed to install x11-drivers/ati-drivers-8.552-r2, Log file:
> 
>> microway ~ # portageq owners / /usr/lib64/opengl/ati/extensions/libglx.so
>> x11-base/xorg-server-1.5.3-r5
>>  /usr/lib64/opengl/ati/extensions/libglx.so
>>
>> Doing "portageq owners / /usr/lib64/opengl/ati/extensions/libglx.so"
>> gets the following response:
>> x11-base/xorg-server-1.5.3-r5
>>  /usr/lib64/opengl/ati/extensions/libglx.so
>>
>> Suggestions for how to successfully "emerge -D -uav world" would be much
>> appreciated.
> 
> G'day John,
> 
> I had the problem on a 32 bit machine and just removed the offending
> file:
> 
> rm /usr/lib/opengl/ati/extensions/libglx.so
> 
> I then proceeded with the emerge of the ati-driver. It's discussed here:
> 
> http://bugs.gentoo.org/247685
> 
> I hope this helps.
> 
Thanks, Gregory.  Your suggestion pointed me in the right direction.
After removing libglx.so, I tried emerge again and got the following
message:

!!! Cannot write to '/usr/lib32/opengl/ati/extensions'.
!!! Please check permissions and directories for broken symlinks.

Eventually, I did
emerge -C ati-drivers
dispatch-conf
emerge -D -uav world

That seems to have taken care of the problems ... for now anyway.

John




[gentoo-user] Failed to install x11-drivers/ati-drivers-8.552-r2

2009-04-18 Thread John P. Burkett
 packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * x11-base/xorg-server-1.5.3-r5
 *  /usr/lib64/opengl/ati/extensions/libglx.so
 *
 * Package 'x11-drivers/ati-drivers-8.552-r2' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.
microway ~ # portageq owners / /usr/lib64/opengl/ati/extensions/libglx.so
x11-base/xorg-server-1.5.3-r5
/usr/lib64/opengl/ati/extensions/libglx.so

Doing "portageq owners / /usr/lib64/opengl/ati/extensions/libglx.so"
gets the following response:
x11-base/xorg-server-1.5.3-r5
    /usr/lib64/opengl/ati/extensions/libglx.so

Suggestions for how to successfully "emerge -D -uav world" would be much
appreciated.

John


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] xorg-server-1.5.3 no mouse [solved]

2009-04-12 Thread John P. Burkett
Philip Webb wrote:
> For the record, in case anyone else runs into this,
> following the Gentoo Upgrade Guild, I chose course (2) to deal with HAL,
> ie I compiled 'USE="-hal" emerge xorg-server'.
> 
> I encountered  3  problems.
> (1) xf86-video-intel-2.6.3-r1 failed to compile
> with a message implying lack of a file 'xf86dri.h' :
> since I'm using an Nvidia card, not the Intel chip on the mobo,
> that seems not to be relevant for my needs.
> (2) after rebooting & entering 'startx', I got a 'no screen' error,
> which was solved by commenting out the line incl "RgbPath" in  xorg.conf .
> (3) when X finally started, my mouse didn't work: oh no ! --
> first, I followed the 3rd course from the Upgrade Guide
> & add 'Option "AutoAddDevices" "false"' to  xorg.conf
> (it shouldn't be needed if you follow course (2) above);
> that didn't change anything, so I looked at my handwritten list
> of the pkgs I had installed, which I had numbered as usual,
> & noticed that 'xf86-input-mouse' was compiled before 'xorg-server':
> had the former failed to notice '-hal' used with the latter ? --
> so I recompiled the mouse module & now everything is working as it should.
> 
> Yet again, I was helped by NOT doing a blanket 'emerge world',
> but compiling (groups of) pkgs individually & making a note of what I did.
> Also, I could see what was going wrong & fix it much more easily,
> as I don't boot straight into X , but to a raw console first.
> Finally, it helps (if you use KDE) to enable keypad cursor movements,
> tho' I didn't find out how to emulate a mouse click that way.
> 
> HTH & comments welcome.
> 
Thank you, Philip.  Your suggestions worked perfectly for me on an amd64
machine.

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] gegl, eutils inherit

2009-04-07 Thread John P. Burkett
The last two times I've tried
emerge -D -uav world
on an x86 machine, the process has failed while trying to emerge gegl.
The error messages read as follows:

** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [clones.png] Error 255
./OpenRaster-00.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-00.png] Error 255
./OpenRaster-01.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-01.png] Error 255
./OpenRaster-04.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-04.png] Error 255
make[4]: *** [images.stamp] Error 2
make[4]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22'
make: *** [all] Error 2
 *
 * ERROR: media-libs/gegl-0.0.22 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2139:  Called die
 * The specific snippet of code:
 *   emake || die "emake failed"
 *  The die message:
 *   emake failed

A similar problem was discussed at http://bugs.gentoo.org/254485.
The last comment there was the following:
Adding eutils inherit, fixes bug #254485

Two naive questions occur to me:
1. To what should "eutils inherit" be added?
2. How should the addition be made?

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] trouble emerging media-libs/gegl-0.0.22

2009-04-05 Thread John P. Burkett
On a x86 machine I did
emerge -D -uav world
and got a response that included the following messages about gegl:

make[4]: Entering directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery'
--[Updating sample compositions]--
./clones.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [clones.png] Error 255
./OpenRaster-00.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-00.png] Error 255
./OpenRaster-01.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-01.png] Error 255
./OpenRaster-04.xml
** Message: Module '../../operations/workshop/external/.libs/ff_save.so'
load error: ../../operations/workshop/external/.libs/ff_save.so:
undefined symbol: img_convert
make[5]: *** [OpenRaster-04.png] Error 255
make[4]: *** [images.stamp] Error 2
make[4]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs/gallery'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22'
make: *** [all] Error 2
 [31;01m*[0m
 [31;01m*[0m ERROR: media-libs/gegl-0.0.22 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m   ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m environment, line 2139:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   emake || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed

Googling "undefined symbol: img_convert", I found at
http://bugs.gentoo.org/show_bug.cgi?id=240433 in comment 40 the
suggestion to do "emerge -C ffmpeg gegl && emerge -1 ffmpeg gegl".
But that elicited an error message similar to that shown above.

I would be grateful for ideas about how to emerge gegl or, failing that,
how to bypass gegl when doing emerge -D -uav world.

John

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] Re: revdep-rebuild problem

2009-04-05 Thread John P. Burkett
ABCD wrote:
> John P. Burkett wrote:
>> Doing revdep-rebuild on an amd64 machine, I received a response
>> the included the following lines:
>> * All prepared. Starting rebuild
>> emerge --oneshot  app-text/xpdf:0
>> gnome-base/gnome-panel:0
>> kde-base/kdegraphics:3.5
>> mail-client/-MERGING-evolution:2.0
>> media-plugins/gst-plugins-faad:0.8
>> media-plugins/xmms-alsa:0
>> media-plugins/xmms-vorbis:0
>> media-video/totem:0
>> ..
>> Calculating dependencies... done!
>> emerge: there are no ebuilds to satisfy
>> "mail-client/-MERGING-evolution:2.0".
> 
>> After doing emerge -C evolution, I redid revdep-rebuild but got the same
>> response. After doing emerge evolution, I again redid revdep-rebuild,
>> with the same results.
> 
>> Suggestions for how to successfully run revdep-rebuild would be most
>> welcome.  I'm willing to sacrifice evolution if that would help.
> 
> 
> A directory named "$(portageq vdb_path)"/*/-MERGING-* (where $(portageq
> vdb_path) is usually /var/db/pkg) is created when portage is installing
> a new version of a package/a new package.  It is then moved to the same
> name without the -MERGING- part after the old version (if any) is
> removed.  The only way that that directory would be able to exist in
> normal usage is if either 1) you are in the middle of a merge, or 2)
> emerge suddenly quit in the middle of an operation.  Usually, when I've
> had this happen, and didn't catch it right away, I would `emerge -C
> package`, then mv /var/db/pkg/cat/-MERGING-pkg-ver
> /var/db/pkg/cat/pkg-ver, then `emerge -C package` again, to ensure a
> clean system.  Then all that would remain is `emerge -1 package` to get
> it back on the system.  This might not be the best way to do it, but
> I've found it to work.
Your suggestions worked perfectly.  Thank you very much!
-John




Re: [gentoo-user] revdep-rebuild problem

2009-04-05 Thread John P. Burkett
Nick Fortino wrote:
> John P. Burkett wrote:
>> Doing revdep-rebuild on an amd64 machine, I received a response
>> the included the following lines:
>> * All prepared. Starting rebuild
>> emerge --oneshot  app-text/xpdf:0
>> gnome-base/gnome-panel:0
>> kde-base/kdegraphics:3.5
>> mail-client/-MERGING-evolution:2.0
>> media-plugins/gst-plugins-faad:0.8
>> media-plugins/xmms-alsa:0
>> media-plugins/xmms-vorbis:0
>> media-video/totem:0
>> ..
>> Calculating dependencies... done!
>> emerge: there are no ebuilds to satisfy
>> "mail-client/-MERGING-evolution:2.0".
>>
>> After doing emerge -C evolution, I redid revdep-rebuild but got the same
>> response. After doing emerge evolution, I again redid revdep-rebuild,
>> with the same results.
>>
>> Suggestions for how to successfully run revdep-rebuild would be most
>> welcome.  I'm willing to sacrifice evolution if that would help.
>>
>>   
> Hmm, somehow portage got the idea there is a package named
> mail-client/-MERGING-evolution, which is false.
Nick, thank you for the diagnosis.
 If you are lucky:
> emerge -avC mail-client/-MERGING-evolution
The systems's response to this was
>>> These are the packages that would be unmerged:
--- Couldn't find 'mail-client/-MERGING-evolution' to unmerge.
>>> No packages selected for removal by unmerge


> 
> Although that could fail, as package names aren't supposed to start with
> -, so who knows what portage does with it. Next shot, clear out anything
> you don't need (make sure to check the output, although these days this
> command is safe unless you have done something strange).
> emerge -av --depclean
To see what this might do, I tried emerge --pretend -av --depclean.
The response identified 163 packages to be removed, none of which appear
to be related to mail-client/-MERGING-evolution:2.0.

> 
> Final shot is to play around in /var/db/pkg. This is where portage keeps
> track of what is installed, and how, so messing around here is
> inherently unsafe. I have my suspicions as to the correct thing to do
> here, but I won't post it since I'm not terribly sure. Someone with more
> expertise could help here, but I suspect either method 1 or 2 will work.
In /var/db/pkg I found a directory mail-client/-MERGING-evolution-2.12.1
containing the following files
CATEGORY  COUNTER  FEATURES   LICENSE  SLOT
repository
CBUILDCXXFLAGS HOMEPAGE   NEEDED   SRC_URI
CFLAGSDEPEND   INHERITED  PDEPEND  USE
CHOST DESCRIPTION  IUSE   PF   environment.bz2
CONTENTS  EAPI KEYWORDS   RDEPEND  evolution-2.12.1.ebuild

Unsure what to do next, I'd be grateful for suggestions.

-John

> 
> Nick
> 
> 


-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



[gentoo-user] revdep-rebuild problem

2009-04-04 Thread John P. Burkett
Doing revdep-rebuild on an amd64 machine, I received a response
the included the following lines:
* All prepared. Starting rebuild
emerge --oneshot  app-text/xpdf:0
gnome-base/gnome-panel:0
kde-base/kdegraphics:3.5
mail-client/-MERGING-evolution:2.0
media-plugins/gst-plugins-faad:0.8
media-plugins/xmms-alsa:0
media-plugins/xmms-vorbis:0
media-video/totem:0
..
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy
"mail-client/-MERGING-evolution:2.0".

After doing emerge -C evolution, I redid revdep-rebuild but got the same
response. After doing emerge evolution, I again redid revdep-rebuild,
with the same results.

Suggestions for how to successfully run revdep-rebuild would be most
welcome.  I'm willing to sacrifice evolution if that would help.

-- 
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA

phone (401) 874-9195



Re: [gentoo-user] a couple of baselayout2 problems

2009-03-30 Thread John covici
on Monday 03/30/2009 Daniel Pielmeier(daniel.pielme...@googlemail.com) wrote
 > 2009/3/30 John covici :
 > > Hi.  Several months ago, during an update, I converted to baselayout2
 > > -- openrt, etc.  This has caused a couple of annoying problems.  When
 > > I shutdown the computer with shutdown -r now it does not completely
 > > shut down, the last message I get is init: no more processes at this
 > > run level.  How can I fix such a thing?
 > >
 > > The other problem is that once in a while a service dies -- named did
 > > this -- and it would not let me stop the service and when I tried to
 > > restart I got the message that the service was already started and it
 > > would not start.  How do I tell openrt or whomever that something has
 > > already stopped?
 > >
 > > Any assistance on these would be appreciated.
 > 
 > Did you follow the migration guide?
 > 
 > http://www.gentoo.org/doc/en/openrc-migration.xml

Yep.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] a couple of baselayout2 problems

2009-03-30 Thread John covici
on Monday 03/30/2009 Alan McKinnon(alan.mckin...@gmail.com) wrote
 > On Monday 30 March 2009 12:33:48 Dale wrote:
 > > John covici wrote:
 > 
 > > > The other problem is that once in a while a service dies -- named did
 > > > this -- and it would not let me stop the service and when I tried to
 > > > restart I got the message that the service was already started and it
 > > > would not start.  How do I tell openrt or whomever that something has
 > > > already stopped?
 > > >
 > > > Any assistance on these would be appreciated.
 > >
 > > If something is stopped but init thinks it is still running, try the zap
 > > option.  /etc/init.d/ zap
 > >
 > > Not sure on the rest.  Hope that helps tho.
 > 
 > His real problem isn't baselayout2 and openrc, it's named.
 > 
 > named is notorious for crappy stupid behaviour when being stopped and 
 > confusing the init scripts. It happens to me so often that now I tossed out 
 > the init script and do it manually.
 > 
 > One day when my country's currency is worth something I can afford ans then 
 > I 
 > can get rid of named and it's start-up crap forever. It's still the only 
 > service I ever have to use "zap" on

Thanks, at least I can restart with no difficulties after using zap.
Spamd has the opposite behavior, the init script tells me it died when
its actually running.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] a couple of baselayout2 problems

2009-03-30 Thread John covici
Hi.  Several months ago, during an update, I converted to baselayout2
-- openrt, etc.  This has caused a couple of annoying problems.  When
I shutdown the computer with shutdown -r now it does not completely
shut down, the last message I get is init: no more processes at this
run level.  How can I fix such a thing?

The other problem is that once in a while a service dies -- named did
this -- and it would not let me stop the service and when I tried to
restart I got the message that the service was already started and it
would not start.  How do I tell openrt or whomever that something has
already stopped?

Any assistance on these would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



<    3   4   5   6   7   8   9   10   11   12   >