Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread David Relson
On Sun, 8 Apr 2007 17:56:21 +0100
Neil Bothwick wrote:

> Hello Dan Farrell,
> 
> > Unfortunately, everything above syl.claws 2.4 is masked testing on
> > x86_64, and I don't want to get my hands dirty on this one.  Perhaps
> > one day... 
> 
> The problem here is that Claws development is proceeding so quickly
> that no ebuild gets to spend the normal 30 days in testing before a
> new Claws release. Having said that, I've never had a problem with
> the testing ebuilds (they are still for stable Claws releases) on
> amd64 or ppc.

Dan,

I used Sylpheed-Claws for several years, with the past 6 months being
on Gentoo.  Given the still rapid pace of claws' development (as
Neil mentions), the only way to have new features and fixes for
old is to turn on ~x86.  Even though officially "experimental",
the releases are all very, very usable.  

My recommendation is to add mail-client/claws-mail to package.keywords
and run the latest version of claws-mail.  You'll end up with a good
program that, if not perfect, is 99.9% perfect :->

Regards,

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



Re: [gentoo-user] increase the dmesg buffer

2007-05-20 Thread David Relson
On Sun, 20 May 2007 15:54:52 +0300
Philipp Riegger wrote:

> Hi!
> 
> I get lots and lots of messages in dmesg which results in me only  
> seeing stuff from hard disk drivers and some grsec java messages in  
> dmesg after rebooting. Is there a way to increase the buffer for  
> this, so that i see twice as many messages, for example?
> 
> Thanks,
>   Philipp


Since the dmesg buffer exists in kernel space, a kernel build is
required to change its size.  If recollection serves, the setting is
named CONFIG_LOG_BUF_SHIFT and the value is a power of 2.  For example

CONFIG_LOG_BUF_SHIFT=18

sets the buffer size to 262144 bytes.

HTH,

David

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge claws-mail

2007-07-03 Thread David Relson

As I want the latest and greatest version of claws-mail
in /etc/portage/package.keywords I have: 

mail-client/claws-mail

In directory /usr/portage/mail-client/claws-mail there are 3 ebuilds:


claws-mail-2.9.1.ebuild
claws-mail-2.9.2.ebuild
claws-mail-2.10.0_rc1.ebuild


Their KEYWORDS lines are, respectively:

KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"

"emerge -pv claws-mail" outputs:

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

Calculating dependencies  . .  done!

[ebuild R ] mail-client/claws-mail-2.9.2 
USE="bogofilter crypt dillo doc gnome spell ssl -clamav
-imap -ipv6 -kde -ldap -pda -spamassassin
-startup-notification -xface" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Why is emerge giving me 2.9.2 rather than the newer 2.10.0_rc1 ???

Thanks.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge claws-mail

2007-07-03 Thread David Relson
On Tue, 03 Jul 2007 21:09:43 -0300
Arturo 'Buanzo' Busleiman wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> David Relson wrote:
> > Why is emerge giving me 2.9.2 rather than the newer 2.10.0_rc1 ???
> 
> try "emerge -upv claws-mail"
> 
> If you omit -u (means --upgrade), you will re-emerge currently
> installed version.

Here's the result of "emerge -upv claws-mail"

   These are the packages that would be merged, in order:
   Calculating dependencies  . .  done!
   Total: 0 packages, Size of downloads: 0 kB

Unfortunately it didn't help :-<



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge claws-mail

2007-07-03 Thread David Relson
On Wed, 4 Jul 2007 02:48:46 +0200
Renat Golubchyk wrote:

> On Tue, 3 Jul 2007 19:48:01 -0400 David Relson
> <[EMAIL PROTECTED]> wrote:
> > Why is emerge giving me 2.9.2 rather than the newer 2.10.0_rc1 ???
> 
> Because it is hard-masked in package.mask ;-) If you really want it
> you can unmask it in /etc/portage/package.unmask
> 
> Cheers,
> Renat

At present, /etc/portage only has package.keywords.  As package.mask is
not present, it's not hard masked.

Unmasking it in package.unmask does the trick.  I guess I had
package.keywords and package.unmask confused.  'Tis time to re-read the
man pages.

Thanks!

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge claws-mail

2007-07-04 Thread David Relson
On Wed, 4 Jul 2007 08:48:45 +0100
Neil Bothwick wrote:

> Hello David Relson,
> 
> > > Because it is hard-masked in package.mask ;-) If you really want
> > > it you can unmask it in /etc/portage/package.unmask
> 
> > At present, /etc/portage only has package.keywords.  As
> > package.mask is not present, it's not hard masked.
> 
> It is masked in /usr/portage/profiles/package.mask.
> 
> > Unmasking it in package.unmask does the trick.  I guess I had
> > package.keywords and package.unmask confused.  'Tis time to re-read
> > the man pages.
> 
> No, the two are different. package.unmask is used to override the
> profile package.mask.
> 
> Incidentally, 2.10.0 is out now, but not yet in portage. Instead of
> installing the rc, copy /usr/portage/mail-client/claws-mail to your
> overlay and rename the ebuild to claws-mail-2.10.0.ebuild.

With the addition of "emerge .../claws-mail-2.10.0.ebuild digest", I've
got the 2.10.0 build running ...

Thanks for the suggestion Neil.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Index to /usr/share/doc/...html... a reinvented wheel?

2007-07-04 Thread David Relson
On Tue, 3 Jul 2007 15:19:14 -0700
Kevin O'Gorman wrote:

> I emerge with the doc USE flag and generally have a bunch of stuff in
> /usr/share/doc.  Most of the time it's the HTML stuff I want to read,
> but it's a annoyingly laborious to wade through unindexed
> directgories and get a browser pointing to the right thing.  So I
> wrote a little Perl script to create a top-level "index.html",
> organized by package and with a bit of rudimentary pruning.  I
> bookmarked it in Firefox, and can get to things a lot faster now.  I
> like the result, and will continue to tweak it here and there.
> 
> Did I just reinvent a wheel? If not, is there any point it trying to
> make this part of gentoo?  If so, how would one do that?
> 
> Current script attached.
> 
> -- 
> Kevin O'Gorman, PhD

Hi Kevin,

After saving your script to /var/www/localhost/cgi-bin/makeindex.perl
and running "chmod +x ...", I pointed firefox at
http://localhost/cgi-bin/makeindex.perl and got the following:

Internal Server Error

The server encountered an internal error or misconfiguration and
was unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have
done that may have caused the error.

More information about this error may be available in the server
error log.

Looking in /var/log/apache2/error_log I found

[Wed Jul 04 10:22:06 2007] [error] [client 127.0.0.1] malformed
header from script. Bad header=Index of /usr/sha:
makeindex.perl


Looking at other simple scripts lead me to add

print "Content-type: text/html; charset=iso-8859-1\n\n";

All is good now!

Cheers,

David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Index to /usr/share/doc/...html... a reinvented wheel?

2007-07-04 Thread David Relson
On Wed, 4 Jul 2007 09:27:20 -0700
Kevin O'Gorman wrote:

> On 7/4/07, David Relson <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, 3 Jul 2007 15:19:14 -0700
> > Kevin O'Gorman wrote:
> >
> > > I emerge with the doc USE flag and generally have a bunch of
> > > stuff in /usr/share/doc.  Most of the time it's the HTML stuff I
> > > want to read, but it's a annoyingly laborious to wade through
> > > unindexed directgories and get a browser pointing to the right
> > > thing.  So I wrote a little Perl script to create a top-level
> > > "index.html", organized by package and with a bit of rudimentary
> > > pruning.  I bookmarked it in Firefox, and can get to things a lot
> > > faster now.  I like the result, and will continue to tweak it
> > > here and there.

...[snip]...

> Hmm.  I never intended to run it that way.  I run a cronjob as root,
> with output directed to "index.html".  I'd worry that your way would
> be too slow.

Fair enough :->  

Evidently I misinterpreted "wrote a little Perl script to create
... index.html ... bookmarked it in Firefox" to mean "bookmarked
the scrip"t rather than "bookmarked index.html".

My mistake.

David

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Is Gentoo Healthy? (The Return)

2007-07-05 Thread David Relson
On Thu, 5 Jul 2007 08:37:14 + (UTC)
Thufir wrote:

> On Wed, 04 Jul 2007 21:40:10 -0400, Walter Dnes wrote:
> 
> > Try doing that with
> > RPMs.
> 
> Generally, works fine with YUM.  I expect that yum and portage are
> about the same, and end result differences on dependencies are more
> due redhat/ fedora using multiple "repo's" for liability/policy
> reasons, not due to the superiority of portage over yum.  My two
> cents.
> 
> 
> -Thufir

Mandrake/Mandriva has urpmi which handles RPM dependencies.  Several
times I've updated from one Mandriva release to the next by downloading
the new release's package list then running "urpmi --auto-select".
Once the many packages are downloaded, the upgrade goes very well.

I used YUM for a while and it worked fine, though its dependency
resolving was much slower than urpmi.

Gentoo with portage makes it easier to stay up-to-date with the latest
and greatest.  The existence of /etc/portage/package.* provides lots of
power to customize but adds a significant level of complexity.  urpmi
and YUM are easier to use as both lack the customizability and the
associated complexity.

Just my $0.02.

David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Floppy support question for old farts. lol

2012-01-29 Thread David Relson

> My earliest "new and shiny" then would be a honkin' big desktop
> horizontal all-steel box, with a "Turbo" switch that toggles a
> front-panel (7-segment LED)  display between "4.77" and "8.00"
> 
> And of floppies that really *are* floppy (5.25")...
> 
> And of copy-protected diskettes and CopyIIpc and CopyWrite...
> 
> As you can see, I have a severely traumatic childhood...
> 
> Rgds,

You mean those small floppies?  Remember the big 8 inchers?

In the early days, putting a computer together took more than a screw
driver.  Remember soldering irons and PC board kits with discrete
components?  I do believe I still have an S-100 bus machine in my attic.

Regards,

David



[gentoo-user] emacs - problem rendering pdf files

2012-04-01 Thread David Relson
G'day,

A few weeks ago I discovered that emacs is no longer rendering pdf
files.  Before, I could open a pdf file and read it using emacs, but no
longer.  

When I open a pdf I get the following messages:

### message #1 ### in buffer that used to show the rendered pdf ###

Welcome to DocView!
 
 
If you see this buffer it means that the document you want to view is
being converted to PNG and the conversion of the first page hasn't
finished yet or `doc-view-conversion-refresh-interval' is set to nil.

For now these keys are useful:

`q' : Bury this buffer.  Conversion will go on in background.
`k' : Kill the conversion process and this buffer.
`K' : Kill the conversion process.\n"

### message #2 ### in the emacs status bar ###

DocView: process pdf/ps->>png changed status to exited anbormally with
code 127

### end of messages ###

Research shows that both messages come from file 
/usr/share/emacs/23.4/lisp/doc-view.el.  The first messsages is from
function doc-view-buffer-message() and the second is from function
doc-view-sentinel(proc event).

Any suggestions of what's gone missing on my system ???

Thanks.

David

P.S. emacs is still rendering images (jpg, png, tiff, etc).




Re: [gentoo-user] Portage telling me what it's doing

2012-06-02 Thread David Relson
On Sat, 02 Jun 2012 14:08:39 +0800
Andrew Lowe wrote:

> Hi all,
>   I've just kicked off an "emerge -NuD world" and will now head
> out for a while. My emerge has to do, amongst others, gcc,
> libreoffice, Firefox & Thunderbird. Now when I get back I'll want to
> know where the emerge is up to so, in my ignorance of portage/emerge
> in great depth and with only compiler output spewing up the screen,
> I'll fire up another terminal, and now don't laugh, I'll do "emerge
> --pretend -NuD world". That will tell me what's currently being
> compiled as it will be the top thingy on the list. There has to be a
> better way
> 
>   Is there a way so that the terminal that the emerge is
> happening in can display additional info? At the moment, I get:
> 
> /home/agl: emerge
> 
> can I get, say:
> 
> /home/agl: emerge www-client/firefox
> 
> by setting some config variable? Failing that is there a log file
> that lists just what's been emerged, not a whole lot of "checking
> this, checking that, compiling this file, linking that library,
> whoops, error here..." sort of thing.
> 
>   Any thoughts, greatly appreciated,
> 
>   Andrew

I use "emerge -auDtqv world" to update.  

The "uD" identifies all the updates (from world) and the packages used
in lower levels.  The "t" uses indented names to show levels of
dependency.  Lastly "qv" suppresses (from my console) all the
configuration and build details while that information is written
to /var/lib/portage.

In short, I can see what's being emerged without being overwhelmed by
details.

HTH,

David



[gentoo-user] emacs & iso-8859-1

2011-02-18 Thread David Relson
G'day,

ISO-8859-1 uses byte values 0xC0 to 0xFF for European accented
characters (amongst otherss).

I have a binary file whose bytes have values 0xC0 to 0xFF.  Emacs is
presently displaying them as octal, i.e. \300\301\302\303 etc.  

How do I get emacs to display them as accented characters?

set-language-environment gives me some of the capability I want, but
not all because it isn't sticky.  Ideally setting a mode (or a
variable) in my .emacs would affect newly opened files and show the
accents.

Thanks,

David




[gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
Mounting USB devices is very, very slow.  This morning I inserted my
PNY memory stick at 10:18:22 but "df" didn't show it mounted until 3
minutes later at 10:21:05.

As  background information, in /etc/udev/rules.d/10-local.rules is: 

KERNEL=="sd*1", ATTRS{manufacturer}=="PNY", SYMLINK+="PNY", 
RUN+="/bin/mount -a"

and in /etc/fstab is:

/dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0

The kernel messages in /var/log/messages for this period of time are in
the attached file (to avoid line wrapping by mail clients).

Any thoughts on why it takes so long and how I can speed up
recognition?

Ideas for enabling more messages (from udev, the kernel, etc) to see
what's happening would also be helpful.

TIA,

David

Feb 20 10:18:22 osage kernel: usb 1-4.1: new high speed USB device using 
ehci_hcd and address 25
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device found, idVendor=154b, 
idProduct=0016
Feb 20 10:18:22 osage kernel: usb 1-4.1: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Feb 20 10:18:22 osage kernel: usb 1-4.1: Product: USB 2.0 FD  
Feb 20 10:18:22 osage kernel: usb 1-4.1: Manufacturer: PNY 
Feb 20 10:18:22 osage kernel: usb 1-4.1: SerialNumber: 6E821D1300DE
Feb 20 10:18:22 osage kernel: scsi26 : usb-storage 1-4.1:1.0
Feb 20 10:18:23 osage kernel: scsi 26:0:0:0: Direct-Access PNY  USB 2.0 
FD   PMAP PQ: 0 ANSI: 0 CCS
Feb 20 10:18:23 osage kernel: sd 26:0:0:0: Attached scsi generic sg2 type 0
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] 15663104 512-byte logical 
blocks: (8.01 GB/7.46 GiB)
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Write Protect is off
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Mode Sense: 23 00 00 00
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sdc: sdc1
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Assuming drive cache: write 
through
Feb 20 10:18:24 osage kernel: sd 26:0:0:0: [sdc] Attached SCSI removable disk
Feb 20 10:18:38 osage usb_id[16872]: unable to access 
'/devices/pci:00/:00:13.5/usb1/1-4/1-4.1/1-4.1:1.0/host25/target25:0:0/25:0:0:0/block/sdc'

Feb 20 10:20:01 osage cron[17659]: (root) CMD (test -x /usr/sbin/run-crons && 
/usr/sbin/run-crons )
Feb 20 10:20:01 osage cron[17660]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Feb 20 10:25:01 osage cron[18431]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)


Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
On Sun, 20 Feb 2011 18:03:24 +
Mick wrote:

> On Sunday 20 February 2011 17:44:58 Neil Bothwick wrote:
> > On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:
> > > As  background information, in /etc/udev/rules.d/10-local.rules
> > > is: KERNEL=="sd*1", ATTRS{manufacturer}=="PNY", SYMLINK+="PNY",
> > > 
> > > RUN+="/bin/mount -a"
> > > 
> > > and in /etc/fstab is:
> > > /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
> > 
> > Could the delay be caused by something else is fstab trying to mount
> > and failing? Try with mount /dev/PNY instead of mount -a.
> > 
> > Even better use pmount /dev/PNY.
> > 
> > Either way, you should run the command with & because udev blocks
> > while running commands.
> 
> To state the obvious ... have you tried it on a different USB port, a 
> different PC and finally a different OS?
> 
> I've had a USB stick failing recently and there was a mechanical
> (contact) problem.  So a process of elimination would at least do
> away with physical level problems and indirectly confirm if there is
> something wrong with your system.
> -- 
> Regards,
> Mick

The PNY stick mentioned runs very nicely on a machine at work.  The
environment there is Ubuntu (as guest OS) running in VMWare on
WinXP (as host OS).  Automounting works very nicely.

The slowness is true of several USB sticks. 



Re: [gentoo-user] flash drive mounting is very slow

2011-02-20 Thread David Relson
On Sun, 20 Feb 2011 17:44:58 +
Neil Bothwick wrote:

> On Sun, 20 Feb 2011 10:33:52 -0500, David Relson wrote:
> 
> > As  background information, in /etc/udev/rules.d/10-local.rules is: 
> > 
> > KERNEL=="sd*1", ATTRS{manufacturer}=="PNY", SYMLINK+="PNY",
> > RUN+="/bin/mount -a"
> > 
> > and in /etc/fstab is:
> > 
> > /dev/PNY /mnt/pny vfat rw,nosuid,auto 0 0
> 
> Could the delay be caused by something else is fstab trying to mount
> and failing? Try with mount /dev/PNY instead of mount -a.
> 
> Even better use pmount /dev/PNY.
> 
> Either way, you should run the command with & because udev blocks
> while running commands.

You're suggesting that the RUN clause be

   RUN+="pmount /dev/PNY &"

right?




[gentoo-user] pmount question

2011-02-21 Thread David Relson
G'day,

My USB subsystem is working much better now (than it was this
weekend).  /etc/fstab had a reference to "/dev/hdb" which no my current
kernel no longer supports.  Removing this has improved flash drive
mounting a whole lot!

I've also modified /etc/udev/rules.d/10-local.rules to use "pmount
device label" rather than "mount -a".  This is mounting flash drives
in /media as desired:

root@osage media # ls -l
total 32
drwx-- 19 root plugdev 16384 Dec 31  1969 PNY
drwx--  3 root plugdev 16384 Dec 31  1969 SD_2G

However (as can be seen above) the permissions are 700, which
makes the drives unusable by members of the plugdev group.

Alternatively, I can use "pmount -u 007 device label" to provide full
access to the plugdev group.  This seems awkward and inelegant.

What's the right way to use pmount and set permissions?

Regards,

David



Re: [gentoo-user] pmount question

2011-02-22 Thread David Relson
On Tue, 22 Feb 2011 08:37:06 +
Neil Bothwick wrote:

> On Mon, 21 Feb 2011 21:01:25 -0500, David Relson wrote:
> 
> > > pmount is supposed to be run as a user and it mounts the
> > > filesystem owned by the user running it. If you only have a
> > > single user, you could call pmount with su. If you have multiple
> > > users, you should be letting a desktop tool handle the mounting
> > > anyway.  
> 
> > I've heard "pmount ... as a user" before, but never understood what
> > it meant.  If "pmount ..." is run by a rule
> > in /etc/udev/rules.d/10-local.rules, how is it known what userid to
> > use?  Does "pmount ... as a user" assume particular settings in
> > gnome, the kernel, or ???
> 
> pmount is meant to be run by a normal user, usually from an
> automounter, as its main objective is to allow normal users to mount
> removable devices without fstab rules, while udev rules are run as
> root. So if you want it to run as a user from a udev rule you'll have
> to use su, as in
> 
> su youruser -c 'pmount /dev/PTY'

Neil:

I'm currently using "pmount -u 007 /dev/PTY" as this gives rwx
permissions for root and group plugdev, which is adequate for my
workstation (which only ever has me using it).

I've seen that Ubuntu with Gnome automounts USB sticks.  That seems
pleasantly convenient and is done without any rules (such as I
presently have) in /etc/udev/rules.d. Do you know what they're doing?

Regards,

David



Re: [gentoo-user] setting locale

2011-05-31 Thread David Relson
On Mon, 30 May 2011 22:34:46 +0200
Nils Larsson wrote:

> Eh... Right, so ...
> 
> The echo example might have been a bit blunt. I've found myself using
> echo examples as a general "you need to add this setting here"
> device, like you learn to do when you start using Gentoo, might have
> been a bit presumptuous of me.
> 
> As for the incorrect locale string, copy&paste from parent.
> 

Why not use "echo >> ..." ?? 

Since the ">>" does an append, the original file contents are still
available for reference. 

Since the added line is at the end of the file, the new value will be
used instead of the old value.



Re: [gentoo-user] Thanks for all the fish!

2011-06-06 Thread David Relson
Long live emacs !

emacs is an essential part of my personal toolkit.  I've been using it
since 1996.  For 11 yrs before that I used epsilon - an editor
with much the same keymappings.  


I started using epsilon (


On Mon, 6 Jun 2011 18:32:11 +
Alan Mackenzie wrote:

> Hi, Gentoo.
> 
> Just to say I'll be withdrawing from this list in a few days,
> unsubscribing actually, mainly so that I can go back to being an Emacs
> developer; the number of emails on both lists combined is just more
> than I can handle comfortably.
> 
> I've counted 28 questions I've asked since late 2009, and every single
> one of them bar two got good answers too.  One of those two I answered
> myself just after posting the email ;-), and the other is currently a
> bug report.
> 
> I'd like to say THANK YOU to everybody who helped me get a well
> running Gentoo system and patiently taught me about it, but in
> particular to Alan McKinnon because he's got such a splendid name.
> 
> -- 
> Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] virtualbox 4.1.2 problem

2011-09-08 Thread David Relson
On Thu, 8 Sep 2011 11:58:21 +0200
Alan McKinnon wrote:

> On Wed, 7 Sep 2011 19:08:21 -0400
> David Relson  wrote:
> 
> > G'day,
> > 
> > I'm having a problem with VirtualBox and am looking for ideas.
> > 
> > As background, I'm running virtualbox-bin-4.1.2 on a
> > 2.6.39-gentoo-r2 kernel on an AMD Phenom 9850.  My vmware install
> > no longer works because vmware wants the BKL and the 2.6.39 kernel
> > doesn't have it. Using vmware-converted the WinXP vmware guest has
> > been converted to .ova format.
> > 
> > VirtualBox-4.1.2 loads the .ova OK.  After clicking "start" the
> > guest starts up, shows the splash screen, then aborts with a blue
> > screen saying:
> > 
> > A problem has been detected and windows has been shut down to
> > prevent damage to your computer.
> > 
> > If this is the first time you've seen this Stop error screen,
> > restart your computer. If this screen appears again, follow
> > these steps:
> > 
> > Check to be sure you have adequate disk space. If a driver is
> > identified in the Stop message, disable the driver or check with
> > the manufacturer for driver updates. Try changing video
> > adapters.
> > 
> > Check with your hardware vendor for any BIOS updates. Disable
> > BIOS memory options such as caching or shadowing. If you need to use
> > Safe Mode to remove or disable components, restart your
> > computer, press F8 to select Advanced Startup options, and then
> > select Safe Mode.
> > 
> > Technical information:
>>> Verifying ebuild manifests
>>> Jobs: 0 of 1 complete, 1 runningLoad avg: 1.05,
>>> 0.72, 0.55 Emerging (1 of 1) app-emulation/virtualbox-4.1.2
>>> Jobs: 0 of 1 complete, 1 runningLoad avg: 1.05,
>>> 0.72, 0.55 Jobs: 0 of 1 complete   Load
>>> avg: 2.10, 3.99, 3.56
> > 
> > *** STOP: 0x008E
> > (0xC005,0x8053A8E3,0xF779E610,0x)
> > 
> > Using virtualbox-4.1.2 on my wife's Win 7 laptop, the same .ova file
> > works fine.
> > 
> > Any thoughts on what needs changing in my gentoo environment to
> > successfully run the guest?
> > 
> > Thank you.
> > 
> > David
> > 
> > P.S. The most recent log file is attached.
> > 
> > 
> 
> Did you import the .ova file first?

Yes.  I imported the .ova file -- a process that took several minutes
and resulted in .vbox (6.5K) and .vmdk (7.4G) files in directory
~/VirtualBox/Machines/WinXP. 

In the log file (attached to the original message) can be seen the
following "VM state" messages:

00:00:01.535 Changing the VM state from 'CREATING' to 'CREATED'.
00:00:01.535 Changing the VM state from 'CREATED' to 'POWERING_ON'.
00:00:01.535 Changing the VM state from 'POWERING_ON' to 'RUNNING'.
00:00:29.481 Changing the VM state from 'RUNNING' to 'RESETTING'.
00:00:29.509 Changing the VM state from 'RESETTING' to 'RUNNING'.
00:00:35.391 Changing the VM state from 'RUNNING' to 'SUSPENDING'.
00:00:35.420 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'.
00:00:38.711 Changing the VM state from 'SUSPENDED' to 'POWERING_OFF'.
00:00:38.711 Changing the VM state from 'POWERING_OFF' to 'OFF'.
00:00:38.722 Changing the VM state from 'OFF' to 'DESTROYING'.
00:00:38.731 Changing the VM state from 'DESTROYING' to 'TERMINATED'.

Looking at the log file, I interpret "RESETTING to RUNNING" as good,
and the messages after that as bad, i.e. indicating that vbox wasn't
happy with the VM.  

Why vbox wasn't happy is not at all clear to me.

Any thoughts?

Regards,

David



[gentoo-user] vmware-player problem

2011-09-14 Thread David Relson
G'day,

Using files pointed to from BGO, I have successfully installed
vmware-player and vmware-modules-238-r1 on my 64-bit gentoo system
running kernel 2.6.39-gentoo-r2

However, vmware-player won't start.  Checking in 
/var/tmp/vmware-relson, I found the following message:  

   Could not open /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so

The message is correct, libvmware.so does not exist at the path above
(or anywhere else).

The complete logfile (appLoader-15378.log) is attached.

Any suggestions on how to make vmware happy?

Thanks.

David
Sep 14 07:47:41.622: app-140469027788544| Log for VMware Workstation pid=15378 version=7.1.4 build=build-385536 option=Release
Sep 14 07:47:41.622: app-140469027788544| The process is 64-bit.
Sep 14 07:47:41.622: app-140469027788544| Host codepage=UTF-8 encoding=UTF-8
Sep 14 07:47:41.622: app-140469027788544| Calling: "/usr/bin/vmware"
Sep 14 07:47:41.745: app-140469027788544| Using configuration file /etc/vmware/config.
Sep 14 07:47:41.746: app-140469027788544| Using library directory:  /opt/vmware/lib/vmware.
LOG NOT INITIALIZED | Unable to map /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so.
LOG NOT INITIALIZED | Created dependency tree.
LOG NOT INITIALIZED | libvmware.so 
LOG NOT INITIALIZED | LoadLibraryArray: Nothing to load, nodeCount is 0.
LOG NOT INITIALIZED | Error loading application library: /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so: cannot open shared object file: No such file or directory
LOG NOT INITIALIZED | Could not open /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so


Re: [gentoo-user] Re: vmware-player problem

2011-09-14 Thread David Relson
On Wed, 14 Sep 2011 16:45:58 +0300
Nikos Chantziaras wrote:

> On 09/14/2011 03:00 PM, David Relson wrote:
> > Using files pointed to from BGO, I have successfully installed
> > vmware-player and vmware-modules-238-r1 on my 64-bit gentoo system
> > running kernel 2.6.39-gentoo-r2
> >
> > However, vmware-player won't start.  Checking in
> > /var/tmp/vmware-relson, I found the following message:
> >
> > Could not
> > open /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so
> >
> > The message is correct, libvmware.so does not exist at the path
> > above (or anywhere else).
> 
> Try installing vmware-workstation and try again.
> 

vmware-workstation costs more $$ than I'm willing to pay.

Of course, vmware-server also exists.  However it depends on
vmware-modules-208 which doesn't support my 2.6.39 kernel.



Re: [gentoo-user] Re: vmware-player problem

2011-09-14 Thread David Relson
On Thu, 15 Sep 2011 01:32:59 +0300
Nikos Chantziaras wrote:

> On 09/15/2011 01:28 AM, David Relson wrote:
> > On Wed, 14 Sep 2011 16:45:58 +0300
> > Nikos Chantziaras wrote:
> >
> >> On 09/14/2011 03:00 PM, David Relson wrote:
> >>> Using files pointed to from BGO, I have successfully installed
> >>> vmware-player and vmware-modules-238-r1 on my 64-bit gentoo system
> >>> running kernel 2.6.39-gentoo-r2
> >>>
> >>> However, vmware-player won't start.  Checking in
> >>> /var/tmp/vmware-relson, I found the following message:
> >>>
> >>>  Could not
> >>> open /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so
> >>>
> >>> The message is correct, libvmware.so does not exist at the path
> >>> above (or anywhere else).
> >>
> >> Try installing vmware-workstation and try again.
> >>
> >
> > vmware-workstation costs more $$ than I'm willing to pay.
> 
> You don't have to use it.  You just install it in order to get 
> libvmware.so.  You then use Player, not Workstation.
> 
> It's fetch-restricted, so portage will tell you which file to
> download. To download, you need to register, but creating an account
> doesn't cost.
> 

I wish it were that simple.

vmware-8.0.0 was released today and the vmware site seems not to
include older versions.  (If they're still available, they're well
hidden).

I've created an 8.0.0 ebuild by making the obvious modification to the
7.1.4 ebuild.  However when I run

  ebuild /usr/local/portage/..vmware-workstation-8.0.8...digest" 

portage gives a "fetch restricted; download and copy
to .../distfiles/..." message.  This happens even though I _have_
downloaded the bundle and put it in the distfiles directory.

What the heck?

David



Re: [gentoo-user] Re: vmware-player problem

2011-09-14 Thread David Relson
On Wed, 14 Sep 2011 22:11:35 -0400
David Relson wrote:

> On Thu, 15 Sep 2011 01:32:59 +0300
> Nikos Chantziaras wrote:
> 
> > On 09/15/2011 01:28 AM, David Relson wrote:
> > > On Wed, 14 Sep 2011 16:45:58 +0300
> > > Nikos Chantziaras wrote:
> > >
> > >> On 09/14/2011 03:00 PM, David Relson wrote:
> > >>> Using files pointed to from BGO, I have successfully installed
> > >>> vmware-player and vmware-modules-238-r1 on my 64-bit gentoo
> > >>> system running kernel 2.6.39-gentoo-r2
> > >>>
> > >>> However, vmware-player won't start.  Checking in
> > >>> /var/tmp/vmware-relson, I found the following message:
> > >>>
> > >>>  Could not
> > >>> open /opt/vmware/lib/vmware/lib/libvmware.so/libvmware.so
> > >>>
> > >>> The message is correct, libvmware.so does not exist at the path
> > >>> above (or anywhere else).
> > >>
> > >> Try installing vmware-workstation and try again.
> > >>
> > >
> > > vmware-workstation costs more $$ than I'm willing to pay.
> > 
> > You don't have to use it.  You just install it in order to get 
> > libvmware.so.  You then use Player, not Workstation.
> > 
> > It's fetch-restricted, so portage will tell you which file to
> > download. To download, you need to register, but creating an account
> > doesn't cost.
> > 
> 
> I wish it were that simple.
> 
> vmware-8.0.0 was released today and the vmware site seems not to
> include older versions.  (If they're still available, they're well
> hidden).
> 
> I've created an 8.0.0 ebuild by making the obvious modification to the
> 7.1.4 ebuild.  However when I run
> 
>   ebuild /usr/local/portage/..vmware-workstation-8.0.8...digest" 
> 
> portage gives a "fetch restricted; download and copy
> to .../distfiles/..." message.  This happens even though I _have_
> downloaded the bundle and put it in the distfiles directory.
> 
> What the heck?
> 
> David

Note:  I found the x86_64 bundle for 7.1.4 (the most recent ebuild) by
googling.



Re: [gentoo-user] crossdev avr compile failing on crtm328p.o

2011-12-29 Thread David Relson
On Sun, 08 May 2011 11:40:58 +0800
William Kenworthy wrote:

..
 
> oh, and I should add that the above make.conf entries exist and are
> correct - but if I copy crtm328p.o from /usr/avr/lib/avr5
> to /usr/avr/lib it all works fine.  So while it now works, its ot
> fixed :)
> 
> I have decided to emerge -ep world after doing the python update - and
> see what that fixes/breaks!
> 
> BillK

Hello Bill,

I encountered the same toolchain problem for an Open-USB-IO board,
which also uses an ATmega32 microcontroller.  In my case it was
avr5/crtm32.o that wasn't being found.  Experimentation found that
crtm32.o is found if either of the following symlinks is created

   ln -s /usr/avr/lib/avr5/crtm32.o /usr/avr/lib/crtm32.o

   ln -s /usr/avr/lib/avr5 /usr/avr/lib/avr/4.5.3

The 4.5.3 is the avr-gcc version I have.

HTH,

David



Re: [gentoo-user] help with Persistent hard disk device names with udev

2010-09-01 Thread David Relson
My udev rules use a combination of KERNEL, ATTRS(serial), and SYMLINK to
create named entries in /dev for my 2 USB hard drives.

With the following rules in /etc/udev/rules.d/10-local.rules: 

KERNEL=="sd*", ATTRS{serial}=="FD...7264507", SYMLINK+="WD1" 
KERNEL=="sd*", ATTRS{serial}=="FD...7285643", SYMLINK+="WD2"

Plugging them in results in /dev entries like:

  brw-rw  1 root disk8,  32 Aug 21 13:55 sdc
  lrwxrwxrwx  1 root root 3 Aug 21 13:55 WD1 -> sdc
  brw-rw  1 root disk8,  32 Aug 21 13:55 sdd
  lrwxrwxrwx  1 root root 3 Aug 21 13:55 WD2 -> sdd

And in /etc/fstab, I reference /dev/WD1 and /dev/WD2

HTH,

David

On Mon, 30 Aug 2010 15:00:28 +0200
Pau Peris wrote:

> Hi, i would like to give persistent device names to the system hard
> drives (just renaming its original device name to the one i want using
> its serial number as identifier). I've created the following rules
> which are not currently working. I'm trying to use device serial
> numbers to properly set its device name. One of the main reasons for
> doing that is i have a RAID composed by 3 disk (let's say sda sdc sdd)
> and when i plug another 4 disks sda becomes sde, sdc becomes sdg and
> so on while new drives take old device names, that's why i would like
> to make it sure device names remains always the same.
> Here are the rules
> Código:
> 
> SUBSYSTEM=="block", ATTR{serial}="VNVB05G2RKTRZH", NAME="hda"
> SUBSYSTEM=="block", ATTR{serial}="9QK0T4WM", NAME="sda"
> SUBSYSTEM=="block", ATTR{serial}="3QD0X58D", NAME="sdb"
> SUBSYSTEM=="block", ATTR{serial}="9QK0RS9G", NAME="sdc"
> SUBSYSTEM=="block", ATTR{serial}="9VP0SBVN", NAME="sdc"
> 
> KERNEL=="hd*", SUBSYSTEM=="block", ATTR{serial}="VNVB05G2RKTRZH",
> NAME="hda%n" KERNEL=="sd*", SUBSYSTEM=="block",
> ATTR{serial}="9QK0T4WM", NAME="sda%n" KERNEL=="sd*",
> SUBSYSTEM=="block", ATTR{serial}="3QD0X58D", NAME="sdb%n"
> KERNEL=="sd*", SUBSYSTEM=="block", ATTR{serial}="9QK0RS9G",
> NAME="sdc%n" KERNEL=="sd*", SUBSYSTEM=="block",
> ATTR{serial}="9VP0SBVN", NAME="sdc%n"
> 
> 
> Should this work? Do some one know how can i get it to work? thanks
> in advanced



[gentoo-user] problem with PORTAGE_ELOG_MAILURI

2010-09-03 Thread David Relson
I'm trying to setup mailing of emerge logs, but it's failing for
reasons I don't grasp. 

In /etc/make.conf I have the following:

PORTAGE_ELOG_MAILURI="use...@mydomain.com"

Running emerge, for example "emerge -1 uptimed" give the following
message:

!!! A network error occured while trying to send logmail:
[Errno 111] Connection refused
Sure you configured PORTAGE_ELOG_MAILURI correctly?

As a test, from a bash command line I have run:

echo "testing use...@mydomain.com" | \
mail -s"testing  use...@mydomain.com" use...@mydomain.com

The command line test works fine which indicates that the value of
PORTAGE_ELOG_MAILURI is correct.  However emerge is giving the message
shown above. 

Any thoughts on what I've done wrong?

Regards,

David



[gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-03 Thread David Relson
Needed to use:

PORTAGE_ELOG_MAILURI="use...@mydomain.com mymailserver.com"

On Fri, 3 Sep 2010 21:01:24 -0400
David Relson wrote:

> I'm trying to setup mailing of emerge logs, but it's failing for
> reasons I don't grasp. 
> 
> In /etc/make.conf I have the following:
> 
> PORTAGE_ELOG_MAILURI="use...@mydomain.com"
> 
> Running emerge, for example "emerge -1 uptimed" give the following
> message:
> 
> !!! A network error occured while trying to send logmail:
> [Errno 111] Connection refused
> Sure you configured PORTAGE_ELOG_MAILURI correctly?
> 
> As a test, from a bash command line I have run:
> 
> echo "testing use...@mydomain.com" | \
> mail -s"testing  use...@mydomain.com" use...@mydomain.com
> 
> The command line test works fine which indicates that the value of
> PORTAGE_ELOG_MAILURI is correct.  However emerge is giving the message
> shown above. 
> 
> Any thoughts on what I've done wrong?
> 
> Regards,
> 
> David



Re: [gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-05 Thread David Relson
On Sun, 5 Sep 2010 10:14:18 +0100
Stroller wrote:

> 
> On 4 Sep 2010, at 15:32, Neil Bothwick wrote:
> > On Sat, 4 Sep 2010 12:15:01 +0100, Stroller wrote:
> >
> >>> Needed to use:
> >>>
> >>> PORTAGE_ELOG_MAILURI="use...@mydomain.com mymailserver.com"
> >>
> >> I've got it without that, Portage 2.1.8.3.
> >>
> >> $ grep ELOG /etc/make.conf
> >> PORTAGE_ELOG_CLASSES="warn error log"
> >> PORTAGE_ELOG_SYSTEM="save mail"
> >> PORTAGE_ELOG_MAILURI="root"
> >> PORTAGE_ELOG_MAILFROM="port...@hex"
> >> $
> >>
> >> Works fine here.
> >
> > Are you running a mailserver on localhost?
> 
> Well, David's problem is SOLVED now, so I'm not sure that it
> matters, but yes.
> 
> I assumed he would also have to be running a sendmail-replacement
> for the example he gave to work:
> 
> > echo "testing use...@mydomain.com" | \
> > mail -s"testing  use...@mydomain.com" use...@mydomain.com
> 
> I kinda assumed his problem was that `mail` would provide a valid  
> sender address, whereas the upstream ISP might reject mails from  
> portage with a dodgy from address.
> 
> Stroller.
> 

OP here ...

Having my own domain, I run my own mailserver -- but it's not on my
gentoo development machine.  I read the emerge python code,
specifically mail.py, to find how PORTAGE_ELOG_MAILURI is handled.
Reading the code lead me to (finally) realize that I need to have a
PORTAGE_ELOG_MAILURI value with two (2) fields separated by a space
character.

David



Re: [gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-06 Thread David Relson
On Mon, 6 Sep 2010 11:32:16 +0100
Stroller wrote:

> 
> On 5 Sep 2010, at 17:54, David Relson wrote:
> >> ...
> >>>>> I've got it without that, Portage 2.1.8.3.
> >>>>>
> >>>>> $ grep ELOG /etc/make.conf
> >>>>> PORTAGE_ELOG_CLASSES="warn error log"
> >>>>> PORTAGE_ELOG_SYSTEM="save mail"
> >>>>> PORTAGE_ELOG_MAILURI="root"
> >>>>> PORTAGE_ELOG_MAILFROM="port...@hex"
> >>>>> $
> >>>>>
> >>>>> Works fine here.
> >>
> >> I assumed he would also have to be running a sendmail-replacement
> >> for the example he gave to work:
> >>
> >>> echo "testing use...@mydomain.com" | \
> >>> mail -s"testing  use...@mydomain.com" use...@mydomain.com
> >>
> >> I kinda assumed his problem was that `mail` would provide a valid
> >> sender address, whereas the upstream ISP might reject mails from
> >> portage with a dodgy from address.
> >> ...
> >
> > OP here ...
> >
> > Having my own domain, I run my own mailserver -- but it's not on my
> > gentoo development machine.  I read the emerge python code,
> > specifically mail.py, to find how PORTAGE_ELOG_MAILURI is handled.
> > Reading the code lead me to (finally) realize that I need to have a
> > PORTAGE_ELOG_MAILURI value with two (2) fields separated by a space
> > character.
> 
> What version of portage, please? I certainly don't have that here,
> and it seems to be working.
> 
> Stroller. 2.2_rc75

I'm running the latest and greatest 2.2_rc7.  Are you running a mail
server on your local machine?  My not doing so is why I need the space.



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-10 Thread David Relson
On Fri, 10 Sep 2010 11:05:12 +0200
J. Roeleveld wrote:

> On Friday 10 September 2010 10:43:30 Jake Moe wrote:
> >   On 10/09/2010 5:27 PM, Maciej Grela wrote:
> > > 2010/9/10 Jake Moe:
> > >>   Hello all,
> > >> 
> > >> I've been thinking about creating a Gentoo USB stick for install
> > >> and rescue purposes (and, of course, just to see if I could).
> > >> I've mostly followed the Gentoo handbook (I used a single 4GB
> > >> partition for the whole system, and no swap).  I've used
> > >> genkernel for the kernel (so I can have a multi-system capable
> > >> kernel).  I've gotten GRUB installed and working.  My problem
> > >> comes in after what I believe is the init process:
> > >> 
> > >> 
> > >> Gentoo Linux; http://www.gentoo.org
> > >> 
> > >>   Copyright 1999-2009 Gentoo Foundation; Distributed under the
> > >> GPLv2
> > >> 
> > >> Press I to enter interactive boot mode
> > >> 
> > >>   * Mounting proc
> > >> at /proc ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Mounting sysfs
> > >> at /sys ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   *
> > >> Mounting /dev ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Starting
> > >> udevd ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Populating /dev with existing devices through
> > >> uevents ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Waiting for uevents to be
> > >> processed ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Mounting devpts
> > >> at /dev/pts ... [
> > >> 
> > >> ok ]
> > >> 
> > >>   * Checking root filesystem ...
> > >> 
> > >> fsck.ext2: No such file or directory while trying to
> > >> open /dev/sda1 /dev/sda1:
> > >> The superblock could not be read or does not describe a correct
> > >> ext2 filesystem.  If the device is valid and it really contains
> > >> an ext2 filesystem (and not swap or ufs or something else), then
> > >> the superblock
> > >> 
> > >> is corrupt, and you might try running e2fsck with an alternate 
> superblock:
> > >> e2fsck -b 8193
> > >>   
> > >>   * Filesystem couldn't be
> > >> fixed :( [
> > >> 
> > >> !! ]
> > >> Give root password for maintenance
> > >> (or type Control-D to continue):
> > >> 
> > >> 
> > >> If I give the root password, I can find no /dev/sda1.  However,
> > >> mount shows /dev/sda1 on /, and there *is* a /sys/block/sda
> > >> folders, with a sda1 folder in that as well.  It's almost like
> > >> it had /dev/sda1, but then lost it somehow.
> > >> 
> > >> Does anyone have any idea what's going on here?  Any help would
> > >> be appreciated.
> > > 
> > > Have you seen http://www.sysresccd.org/Main_Page ? It's based on
> > > Gentoo, you could check what they did to boot from a usb stick.
> > > 
> > > Br,
> > > Maciej Grela
> > 
> > Excellent, thanks for that, I hadn't found it in my previous
> > searches. I'll have a look there.
> > 
> > Jake Moe
> 
> Had a similar issue a while ago when I was playing around with this
> myself.
> 
> Take a look at the linux boot parameters.
> 
> The 'theoretical' part is: You need to let the kernel initialize the
> USB-stick before trying to access it. (This can take some time)
> 
> There is a delay-option, just can't remember the proper name off-hand.
> 
> --
> Joost

I've got USB booting working in a syslinux environment.  A delay of 12
seconds is working for me.  The syslinux.cfg stanza I use is:

LABEL usb
KERNEL linux
APPEND rootdelay=12 root=/dev/sda2

HTH,

David



Re: [gentoo-user] Native 32 and 64-bit linux Flash 10 Preview Release available

2010-09-19 Thread David Relson
On Sun, 19 Sep 2010 02:05:51 -0400
Walter Dnes wrote:

>   This is of interest to those of us running old versions of Flash,
> especially on 64-bit installs without 32-bit support (looks in
> mirror).
> 
>   Download site is http://labs.adobe.com/downloads/flashplayer10.html
> To find out where to install, go to "about:plugins" in Firefox, and
> see where your current version of libflashplayer.so is installed.  In
> my case it's /opt/Adobe/flash-player/libflashplayer.so
> 
>   To install...
> 
> * for 64-bit version download the file
> http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz
> 
> * for 32-bit version download the file
> http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_32bit_linux_091510.tar.gz
> 
> * exit Firefox
> 
> * mv your current copy of libflashplayer.so to another directory as a
> backup, in case the new one doesn't work for you
> 
> * extract libflashplayer.so from the downloaded tar.gz into the
> directory which you removed libflashplayer.so from.
> 
> * fire up Firefox, and away you go
> 
> * note that when the release version comes out, you'll need to
> manually remove the Preview Release libflashplayer.so

I've just installed it and it's working nicely for me.

Thanks for the link and install instructions.  After creating
directory /opt/Adobe/flash-player/ and extracting the tarball,
I needed to create a symlink for 
/usr/lib/mozilla/plugins/libflashplayer.so, and then restart firefox.

David



Re: [gentoo-user] Not head, not tail, maybe belly

2010-09-22 Thread David Relson
Or, as a script ...

--- begin bin/belly ---
RANGE=$1
shift
sed -n ${RANGE}p $*
--- end --


On Wed, 22 Sep 2010 17:04:43 +0200
Maciej Grela wrote:

> 2010/9/22 Al :
> > Hi,
> >
> > I am looking for a program similar to head or tail. It should
> > display a given range of lines or take a line and a context number
> > like grep.
> >
> > Any suggestions? Thanks in advance.
> >
> 
> gr...@pazuzu ~ $ cat /etc/passwd | sed -n -e '4,10 p'
> adm:x:3:4:adm:/var/adm:/bin/false
> lp:x:4:7:lp:/var/spool/lpd:/bin/false
> sync:x:5:0:sync:/sbin:/bin/sync
> shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
> halt:x:7:0:halt:/sbin:/sbin/halt
> mail:x:8:12:mail:/var/spool/mail:/bin/false
> news:x:9:13:news:/usr/lib/news:/bin/false
> 
> Br,
> Maciej Grela



Re: [gentoo-user] oder of files opened by a process

2010-10-02 Thread David Relson
On Fri, 1 Oct 2010 11:00:33 -0600
Darren Kirby wrote:

> On Fri, Oct 1, 2010 at 10:29 AM, Dale  wrote:
> > Al wrote:
> >>
> >> Hello,
> >>
> >> I want to find out by which file and line the */temp/environment
> >> script is run or sourced.
> >>
> >> As a am always interested in a general way to solve something, I
> >> ask if there is a tool, that displays me the order in which  files
> >> are read by a process.
> >>
> >> Al
> >>
> >>
> >
> > I'm not sure but you may want to check into strace.  It may be what
> > you are looking for.
> >
> 
> strace may do the job in a pinch, but there is almost certainly
> something better suited to the task...however I don't know what it is.
> You may want to use like this:
> 
> $ strace YourScript 2>&1 | grep open

No need to use grep to find the open operations.  strace has a -feopen
option, i.e.

  strace -feopen YourScript

> 
> which will run YourScript and print all open() system calls to the
> console. You will have to sort through many unrelated calls (such as
> reading shared library calls) but it will show the order in which your
> script is opening external files. Presumably you could key in on the
> relevant files using more grep calls and pipes...
> 
> >
> > Dale
> >
> > :-)  :-)
> >
> >
> 
> 
> D
> -- 
> --
> Support the mob or mysteriously disappear...
> I'm on flickr: http://www.flickr.com/photos/badcomputer/



Re: [gentoo-user] Re: Firefox and Thunderbird spell-checker is offering too many languages

2010-10-07 Thread David Relson
On Thu, 07 Oct 2010 06:55:18 +0300
Nikos Chantziaras wrote:

> On 10/06/2010 09:58 PM, Dale wrote:
> > Nikos Chantziaras wrote:
> >> The list of spell-check languages offered by Firefox and
> >> Thunderbird looks like this:
> >>
> >> English (AU)
> >> English (CA)
> >> English (GB)
> >> English (GB-oed)
> >> English (NZ)
> >> English (US)
> >> English (ZA)
> >> German (DE)
> >> Greek (GR)
> >>
> >> All this English stuff needs to do away, I only want English (US).
> >> Is there a way to do that?
> >>
> >>
> >
> > I have this set in my make.conf.
> >
> > LINGUAS="en_US en"
> > LANG="en_US"
> > LC_ALL="en_US.utf8"
> >
> > Do you have something close to this as well? I can't think of
> > anything else at the moment. Maybe someone else will post a
> > different idea.
> 
> No, that's not it.  I have LINGUAS="en_US en" in my make.conf too.  I 
> found out that Firefox now uses hunspell for spell checking.  Maybe
> that has something to do with it.  So I guess the question now should
> be how to tell hunspell to only offer the US-English dictionary.
> 

run "eix -e hunspell" to show the languages supported/activated for
hunspell



Re: [gentoo-user] baselayout --> openrc ?

2010-10-22 Thread David Relson
On Fri, 22 Oct 2010 12:13:16 +0200
Michael Hampicke wrote:

> > Any caveats with openrc we should be aware of?
> 
> # genlop -l | grep openrc
>  Thu Apr 24 14:05:53 2008 >>> sys-apps/openrc-0.2.2
> 
> I've been running baselayout2/openrc oder 2.5 years now without any
> problems. Of course this does not mean it will run smoothly on your
> gentoo box.
> 
> As I recall upgrading to b2/openrc involves lots of changed config
> files (mostly conf.d init init.d), so you have to be a little careful.

My recollection was of

(1) being scared that I'd get the changes wrong for baselayout2
(2) the changes were easy and went smoothly
(3) no problems!

FWIW, i've been using baselayout2/openrc since August 2008.



[gentoo-user] usb write delay

2010-11-22 Thread David Relson
I'd like to reduce the time delay between a command or program's writing
to a file on a flash drive and when ext2 actually writes the data to the
drive.  How can I do this?



Re: [gentoo-user] usb write delay

2010-11-26 Thread David Relson
On Tue, 23 Nov 2010 07:31:48 +0100
Florian Philipp wrote:

> Am 23.11.2010 04:52, schrieb David Relson:
> > I'd like to reduce the time delay between a command or program's
> > writing to a file on a flash drive and when ext2 actually writes
> > the data to the drive.  How can I do this?
> > 
> 
> Mount with the option commit=x where x is a time in seconds. 0 means
> default (=5).
> 
> Hope this helps,
> Florian Philipp
> 

It doesn't work for my USB memory stick which has the default
filesystem, i.e. vfat

According to mount's man page, commit=n is for ext3.



Re: [gentoo-user] usb write delay

2010-11-26 Thread David Relson
On Tue, 23 Nov 2010 09:04:54 -0600
Paul Hartman wrote:

> On Mon, Nov 22, 2010 at 9:52 PM, David Relson
>  wrote:
> > I'd like to reduce the time delay between a command or program's
> > writing to a file on a flash drive and when ext2 actually writes
> > the data to the drive.  How can I do this?
> 
> In addition to Florian's tip, you can also remove the delay completely
> by mounting with sync option. This may negatively impact performance.
> 
> Alternatively you can leave it caching as normal and then issue the
> "sync" command when you're done doing your USB operations and it'll
> flush remaining data to the flash drive immediately. (I think
> unmount/eject will do this too.) That's what I usually do.

Sync really, really slows down writes, at least for a solid state
drive.  I'm looking for a way to avoid that slowdown without the
dangers of a user yanking a flash drive before the cache is
completely written out.




[gentoo-user] modprobe warnings

2011-01-15 Thread David Relson
My /etc/modprobe.d directory is under configuration management using
subversion.  Whenever modprobe runs, it reads the files in the .svn
directory and complains about all the stuff it doesn't understand, for
example:

Jan 15 08:57:22 osage modprobe: WARNING: /etc/modprobe.d/.svn/entries
line 266: ignoring bad line starting with '

How can I turn off these warnings?


Regards,

David



Re: [gentoo-user] VirtualBox

2011-01-15 Thread David Relson
With my AMD Phenom, v-4.0.0 doesn't work at all.  After clicking on the
icon (or running /usr/bin/VirtualBox - a link
to /opt/VirtualBox/VBox.sh), nothing happens -- specifically VBox's
window doesn't appear.

After reverting to v-3.2.12-r2, all is fine.

FWIW, I'm using virtualbox-bin.


On Sat, 15 Jan 2011 22:51:47 +0200
Alan McKinnon wrote:

> Apparently, though unproven, at 02:23 on Saturday 15 January 2011,
> john did opine thusly:
> 
> > Any one having issues with version 4 of VirtualBox.
> > 
> > Mouse integration does not work any more. I can no longer use mouse
> > within VirtualBox.
> > 
> > I have disabled/enabled mosue integration.
> 
> make sure you did rebuild the virtual box modules after upgrading
> virtualbox.
> 
> They come as a pair at v-4.0.0 but you might have some odd masks that 
> prevented it.
> 
> -- 
> alan dot mckinnon at gmail dot com



[gentoo-user] eix needs GLIBCXX_3.4.xxx

2012-07-22 Thread David Relson
G'day,

I've got a problem with eix on my 32-bit system (but not on my 64-bit
system).  Some GLIBCXX_3.4.?? symbols are not being found.  "emerge -e
world" didn't correct the problem.

Any suggestions?

Details are below.

Regards,

David

*** details ***

On my 64-bit workstation (x86_64 AMD Phenom(tm) running
3.2.11-gentoo), eix runs fine.

On my 32-bit machine (AMD Geode running kernel 2.6.31-gentoo-r6),
running eix reports:

eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
(required by eix) 
eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found 
(required by eix)
eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found
(required by eix)

I've run "emege -w world" and the problem has not gone away

Notes:
eix-0.23.10 is installed on both machines
gcc 4.6.3 is installed on the good (64-bit) machine
gcc 4.5.3-r2 is installed on the problem (32-bit) machine

Testing with ldd gives:

32-bit:

relson@fit-pc ~ $ ldd /usr/bin/eix
/usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by /usr/bin/eix) 
/usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not
found (required by /usr/bin/eix) 
/usr/bin/eix: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not 
found (required by /usr/bin/eix)
linux-gate.so.1 =>  (0xb77e) 
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76f7000) 
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1 
(0xb76d9000) 
libc.so.6 => /lib/libc.so.6 (0xb757e000) 
libm.so.6 => /lib/libm.so.6 (0xb7557000) /lib/ld-linux.so.2 (0xb77e1000)

64-bit:

linux-vdso.so.1 =>  (0x7fffa2091000)
libstdc++.so.6 =>
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libstdc++.so.6
(0x7faea2444000) 
libgcc_s.so.1 => 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1
(0x7faea222d000)  
libc.so.6 => /lib64/libc.so.6 (0x7faea1e9b000) 
libm.so.6 => /lib64/libm.so.6 (0x7faea1c17000) 
/lib64/ld-linux-x86-64.so.2 (0x7faea274c000)



Re: [gentoo-user] eix needs GLIBCXX_3.4.xxx

2012-07-22 Thread David Relson
On Sun, 22 Jul 2012 18:23:47 +0200
Volker Armin Hemmann wrote:

> Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
> > /usr/lib/libstdc++.so.6
> 
> how about moving that stuff away and creating a symlink to the
> correct version?

Such a simple fix...

/usr/lib/libstdc++.so.6 was linked to libstdc++.so.6.0.8 rather than
6.0.14.

All is good now.

Thanks.

David



Re: [gentoo-user] Re: eix needs GLIBCXX_3.4.xxx

2012-07-22 Thread David Relson
On Sun, 22 Jul 2012 16:33:18 -0700
walt wrote:

> On 07/22/2012 10:41 AM, David Relson wrote:
> > On Sun, 22 Jul 2012 18:23:47 +0200
> > Volker Armin Hemmann wrote:
> > 
> >> Am Sonntag, 22. Juli 2012, 09:52:06 schrieb David Relson:
> >>> /usr/lib/libstdc++.so.6
> >>
> >> how about moving that stuff away and creating a symlink to the
> >> correct version?
> > 
> > Such a simple fix...
> > 
> > /usr/lib/libstdc++.so.6 was linked to libstdc++.so.6.0.8 rather than
> > 6.0.14.
> > 
> > All is good now.
> 
> I'm guessing that you have more than one version of gcc on the 32-bit
> machine?  Any time you use gcc-config to change the working version of
> gcc, the symlink to libstdc++.so will also be changed automatically to
> point at the matching library version.
> 
> 

Nope.  I only have gcc-4.5.3.  Evidently symlink 
/usr/lib/libstdc++.so.6 didn't get updated when libstdc++.so.6.0.14 was
built.

FWIW, the machine has the following versions of libstdc++.so

6.0.14 - Jul 21 2012 ( in /usr/lib/gcc/.../4.5.3 )
6.0.8  - May 15 2007 ( in /usr/lib )
6.0.6  - Aug  3 2006 ( in /usr/lib )

Regards,

David




[gentoo-user] SSH question

2012-08-19 Thread David Relson
G'day,

I've volunteered to do some data entry for my local bike club.  This
involves a java application (jar  file) and a tunnel to a mysql
server.  I have detailed PuTTY configuration instructions but haven't
yet succeeded in converting them to ssh options.

The configuration options include:

Seconds between keepalives -- 120
Don't start a shell or command
Forwarded port:
source port number - PORT
Destionation: MACHINE.DOMAIN.COM
Host - IP_Address
Login - userid
Password - pw

Using "ssh -N userid@IP_Address" gives me a password prompt and no
command prompt - both good.

How do I specify the forwarded port?

Thank you.

David



Re: [gentoo-user] SSH question

2012-08-20 Thread David Relson
On Mon, 20 Aug 2012 06:50:29 +0100
Mick wrote:

> On Monday 20 Aug 2012 04:48:40 Canek Peláez Valdés wrote:
> > On Sun, Aug 19, 2012 at 10:31 PM, David Relson
> >  
> wrote:
> > > G'day,
> > > 
> > > I've volunteered to do some data entry for my local bike club.
> > > This involves a java application (jar  file) and a tunnel to a
> > > mysql server.  I have detailed PuTTY configuration instructions
> > > but haven't yet succeeded in converting them to ssh options.
> > > 
> > > The configuration options include:
> > > Seconds between keepalives -- 120
> > > Don't start a shell or command
> > > 
> > > Forwarded port:
> > > source port number - PORT
> > > Destionation: MACHINE.DOMAIN.COM
> > > 
> > > Host - IP_Address
> > > Login - userid
> > > Password - pw
> > > 
> > > Using "ssh -N userid@IP_Address" gives me a password prompt and no
> > > command prompt - both good.
> > > 
> > > How do I specify the forwarded port?
> > 
> > If I understand correctly, with -L:
> > 
> > ssh -L XX:machine2:YY user@machine1
> > 
> > This command will connect you to the "machine1" host with user
> > "user", and any connection to the port XX to the machine you are
> > running the ssh command from, will redirect the connection to the
> > "machine2" host in the YY port.
> 
> If you want to forward a local port XX to a remote port YY then
> Canek's suggestion will do what you want, assuming that the correct
> remote application is listening on port YY.
> 
> When you have more than one application this can soon become
> tedious.  So, if you want to set up the remote machine as a SOCKS
> proxy so that any socks-ified applications on the local machine can
> connect to the remote SOCKS, then you can use:
> 
>   ssh -N -D  user@machine1
> 
> For applications that do not have built in proxy capability you can
> use e.g. proxychains.
> 
> HTH.
> -- 
> Regards,
> Mick

H'lo Mick and Carnek,

The mention of XX and YY wasn't transparent, but a bit of
experimentation gave a good connection.  Using the terms in my original
post, I now have the following working command: 

   ssh -2 -N -L PORT:MACHINE.DOMAIN.COM:22 userid@IP_Address

Just need to add an appropriate TCPKeepAlive and all will be good.

Thank you both for your tips..

Regards,
David



Re: [gentoo-user] SSH question

2012-08-22 Thread David Relson
On Mon, 20 Aug 2012 19:04:38 +0100
Mick wrote:

...[snip]...

> You're welcome.  BTW, port 22 in your example above does not *have*
> to be port 22.  As a matter of fact if it isn't, it would avoid
> zillions of connection attempts by stupid botnets that could drive up
> your bandwidth consumption. It could also be the same port as the one
> you use at your local host. Whichever port you choose, you'll have to
> allow it through the firewall at the remote machine and of course
> whichever application is running at the remote host that you want to
> connect to, should be listening on said port. -- 
> Regards,
> Mick

The remote machine(s) were set up by someone else.

My firewall deals with port 22 by periodically checking for multiple
failed logins from the same IP address and then blocking that address.
The list gets long, but with the automatic handling, it's not a
problem :->



[gentoo-user] udev rules

2012-09-30 Thread David Relson
Good morning!

I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD,
microSD, etc.  udev recognizes USB devices and mounts them
as /media/.  

However, when SD and microSD cards are inserted, /var/log/messages
doesn't report anything and the cards aren't mounted.

Any suggestions where to look? what to fix?

I'm running kernel 3.2.11 on an AMD64 with udev-171.

Here's a link to the card reader
http://rosewill.com/products/1610/ProductDetail_Overview.htm

Regards,

David



Re: [gentoo-user] udev rules

2012-09-30 Thread David Relson
On Sun, 30 Sep 2012 10:58:42 -0500
Dale wrote:

> David Relson wrote:
> > Good morning!
> >
> > I have a Rosewill 75 in 1 card reader with slots for USB, SATA, SD,
> > microSD, etc.  udev recognizes USB devices and mounts them
> > as /media/.  
> >
> > However, when SD and microSD cards are inserted, /var/log/messages
> > doesn't report anything and the cards aren't mounted.
> >
> > Any suggestions where to look? what to fix?
> >
> > I'm running kernel 3.2.11 on an AMD64 with udev-171.
> >
> > Here's a link to the card reader
> > http://rosewill.com/products/1610/ProductDetail_Overview.htm
> >
> > Regards,
> >
> > David
> >
> >
> 
> Have you tried those cards on a different system to see if they work? 
> If they do, then the reader may be bad.  May want to look for dust but
> if it is new, surely not.  ;-)  Packing peanut maybe?  o_O
> 
> I have bought a couple thinks made by Rosewill.  Neither of them
> worked for long.  I sent one back for repair/replacement and got a
> new one with about the same problem.  I didn't send it back again
> because it wasn't worth shipping back again plus I was expecting it
> to work at least for a little while.  It lasted overnight  My new
> policy, don't buy Rosewill products.  They may work fine for someone
> else but they don't for me. 
> 
> Dale

Actually what I've got is a SanDisk 16GB microSD with an SD adapter.
Using my wife's windoze laptop, the SD/microSD combo works fine.

My initial use of the card is for Ubuntu linux for a MK802+ mini-pc.
The MK802+ boots Android off its internal storage or Ubuntu off of the
microSD.  So, yes, the card appears to work.

David



Re: [gentoo-user] Re: [OT] Questions about building from source tarball

2012-11-01 Thread David Relson
In the past when I wanted/needed a newer version of a package than is
in portage, I'd create an entry in /usr/local/portage.

For example for app-example/some-package/some-package.x.y.z.ebuild, I'd

1) create directory /usr/local/portage/app-example/some-package
2) copy some-package.x.y.z.ebuild to some-package.x.y.z-r1.ebuild (in the
new directory).  
3) Some editing of the new ebuild might be needed here...
4) Run "ebuild ... digest" on the new ebuild to create the Manifest
file.
5) test with "ebuild ... compile" or "emerge some-package".
6) when errors are encountered, repeat steps 3, 4, and 5.

HTH,

David
 

On Wed, 31 Oct 2012 20:29:10 -0400
Walter Dnes wrote:

>   Thanks for the pointer.  It got me going... sort of.  Now I know why
> we don't have the latest seamonkey in the Gentoo tree.  It requires
> >=dev-libs/nspr-4.9.3 and the highest ebuild of nspr in the tree is
> 4.9.2, even though I did an "emerge sync" today.  So I'd have to build
> nspr and nss locally from tarballs, and then set .mozconfig's
> nspr-prefix and nss-prefix to the local copy... bleagh.  I'll just
> wait until nspr gets at least a keyworded 4.9.3 in the tree.
> 
> -- 
> Walter Dnes 
> I don't run "desktop environments"; I run useful applications



[gentoo-user] Xorg - RADEON vs VESA

2012-11-24 Thread David Relson
Greetings,

Last night I had to reboot my box because the screen had gone all
wonky.  The reboot has resulted in an obviously different font being
used in terminal windows, emacs, etc, etc.

Comparing Xorg logs from Oct (the previous reboot) to now, Xorg has
been upgraded from 1.12.2 to 1.13.0.  The logs are similar for approx
400 lines, then diverge.  Below is shown the beginning of the log
file differences.

Any suggestions?

Thanks.

David



** 1.12.2 **

 (++) using VT number 7

 (II)  drm report modesetting isn't supported.
 (II) RADEON(0): TOTO SAYS fdbf
 (II) RADEON(0): MMIO registers at 0xfdbf: size 64KB
 (II) RADEON(0): PCI bus 1 card 5 func 0
 (II) RADEON(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
 (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
 (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
 (==) RADEON(0): Default visual is TrueColor
 (II) Loading sub module "vgahw"
 (II) LoadModule: "vgahw"
 (II) Loading /usr/lib64/xorg/modules/libvgahw.so
 (II) Module vgahw: vendor="X.Org Foundation"
compiled for 1.12.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 12.0

 (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
 (==) RADEON(0): RGB weight 888
 (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
 (--) RADEON(0): Chipset: "ATI Radeon X1200" (ChipID = 0x791e)
 (--) RADEON(0): Linear framebuffer at 0xf000
 (II) RADEON(0): PCI card detected
 (II) Loading sub module "int10"
 (II) LoadModule: "int10"
 (II) Loading /usr/lib64/xorg/modules/libint10.so
 (II) Module int10: vendor="X.Org Foundation"
compiled for 1.12.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 12.0
 (II) RADEON(0): initializing int10
 (II) RADEON(0): Primary V_BIOS segment is: 0xc000
 (II) RADEON(0): ATOM BIOS detected
 (II) RADEON(0): ATOM BIOS Rom: 
SubsystemVendorID: 0x1043 SubsystemID: 0x826d
IOBaseAddress: 0xcc00
Filename: BR25534.BIN 
BIOS Bootup Message: 
ATI Radeon Xpress ?1250? for Asus/M2A-VM

 (II) RADEON(0): Framebuffer space used by Firmware (kb): 16
 (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffc000
 (II) RADEON(0): AtomBIOS requests 16kB of VRAM scratch space
 (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffc000
 (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory 
instead
 (II) RADEON(0): Default Engine Clock: 40
 (II) RADEON(0): Default Memory Clock: 20
 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 120
 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0
 (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500
 (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000
 (II) RADEON(0): Maximum Pixel Clock: 40
 (II) RADEON(0): Reference Clock: 14320
 drmOpenDevice: node name is /dev/dri/card0
  failed to load kernel module "radeon"

** 1.13.0 **

 (++) using VT number 7

 (II) [KMS] drm report modesetting isn't supported.
 (WW) Falling back to old probe method for fbdev
 (II) Loading sub module "fbdevhw"
 (II) LoadModule: "fbdevhw"
 (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
 (II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 0.0.2
ABI class: X.Org Video Driver, version 13.0
 (EE) open /dev/fb0: No such file or directory
 (EE) Screen 0 deleted because of no matching config section.
 (II) UnloadModule: "radeon"
 (II) Loading sub module "vbe"
 (II) LoadModule: "vbe"
 (II) Loading /usr/lib64/xorg/modules/libvbe.so
 (II) Module vbe: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.1.0
ABI class: X.Org Video Driver, version 13.0
 (II) Loading sub module "int10"
 (II) LoadModule: "int10"
 (II) Loading /usr/lib64/xorg/modules/libint10.so
 (II) Module int10: vendor="X.Org Foundation"
compiled for 1.13.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 13.0
 (II) VESA(0): initializing int10
 (II) VESA(0): Primary V_BIOS segment is: 0xc000



[gentoo-user] fonts [was: upgrading a large package, say Xorg]

2006-09-29 Thread David Relson
On Fri, 29 Sep 2006 14:57:43 +0200
Bo Ørsted Andresen wrote:

> On Friday 29 September 2006 14:46, John Newman wrote:
> [SNIP]
> > But later on I decided what the hell, I may as well upgrade X.
> > However, when I attempt emerge xorg-base/xorg-x11, I get a whole
> > list of "Blocked" packages, the gist of it being my installation of
> > x11-base/xorg-x11-6.9 is blocking... everything.
> 
> Actually it says  obviously didn't bother to show us...). You are running
> xorg-x11-6.8.x.
> 
> > I was thinking that 
> > emerge could handle this type of situation since I'm doing an
> > upgrade - that it would unmerge the old stuff and emerge the new
> > stuff as it went along.
> 
> Nope.
> 
> > Is my only option to manually unmerge my current
> > x11-base/xorg-x11-6.9 (and I have hundreds of packages I've
> > emerge'd that depend on it, naturally), then emerge
> > x11-base/xorg-x11 to get the new version (7.1 I believe?).   Or is
> > there a better way?
> 
> I believe the upgrade guide should suffice [1]. And yes, it does tell
> you to unmerge the old xorg-x11. Just follow that guide and you
> should be fine...
> 
> [1] http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml

Unmerging xorg-x11-6.9 and then emerging xorg-x11-7.0 does indeed
work!  The unmerge was down with bated breath :->  The emerge went well
and the system has been working well, though a problem has surfaced
that I think is related.

I've got an ATI Radeon card and was using ATI's official drivers which
are xorg-x11-6.x compatible.  Since ATI's drivers are not 7.x
compatible I'm not using them.  About the time of the change I noticed
that fonts weren't looking as good as I recalled them being and
suspect it's related.  Sigh ...

Any suggestions?

Regards,

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fonts [was: upgrading a large package, say Xorg]

2006-09-30 Thread David Relson
On Fri, 29 Sep 2006 20:43:49 -0700
Ryan Tandy wrote:

> David Relson wrote:
> >   Since ATI's drivers are not 7.x
> > compatible I'm not using them. 
> 
> Yes, they are. 
> http://digg.com/linux_unix/ATI_Beats_nVidia_to_Xorg_7_1_Compatible_Drivers

Good news!  Following from there to ATI's site, I found that my
Radeon chipset is supported by driver 8.28.8 (last updated 8/18/06).

The last time I tried updating the ATI driver, I ended with a b0rked
X.org.  I managed to create a working xorg.conf which I shall save
before installing this driver.  As they say, once bitten, twice shy.

Regards,

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



[gentoo-user] Digest verification failed:

2006-09-30 Thread David Relson
Greetings,

In the last few days I've been encountering lots of "Digest
verification failed" messages indicating SHA256 verification
problems (see below).

Searching the web, I've found the "generate your own" digest solution,
i.e.  "ebuild ...package...ebuild digest".  Since the checksums are
present to ensure integrity, this seems like a bad idea.

Is it a bad idea to generate my own digest values?

If so, what are the alternatives?

Thanks.

David

... emerge gettext

 Calculating dependencies ... done!

>>> Emerging (1 of 1) sys-devel/gettext-0.15 to /
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/gettext-0.15.tar.gz'
--20:18:41--  http://distfiles.gentoo.org/distfiles/gettext-0.15.tar.gz
   => `/usr/portage/distfiles/gettext-0.15.tar.gz'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195,
64.50.238.52, ... Connecting to
distfiles.gentoo.org|216.165.129.135|:80... connected. 
HTTP request sent, awaiting response... 200 
OK Length: 8,081,941 (7.7M)
[application/x-gzip]

100%[>] 8,081,941142.51K/s
ETA 00:00

20:19:36 (144.45 KB/s) - `/usr/portage/distfiles/gettext-0.15.tar.gz'
saved [8081941/8081941]

 * checking ebuild checksums ;-) ... [ ok ]
 * checking auxfile checksums ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/portage/sys-devel/gettext/files/gettext-0.12.1-without_java.patch
!!! Reason: Failed on SHA256 verification
!!! Got:
6dfefe191bc9435a957f7f6ff0658a771cf6ccffbaf169cae79ce7017a0421ee 
!!! Expected:
c5a6a223c8be6ba11f1c180c7f381914abe127c0dffb0ec91d2e0a8e06892c92
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Digest verification failed:

2006-10-01 Thread David Relson
On Sun, 1 Oct 2006 03:41:39 +0200
Bo Ørsted Andresen wrote:

...[snip]...

> Since the offending file is in the portage tree rather than in
> distfiles it doesn't make a lot of sense to delete it since only a
> sync will be able to refetch it anyway. Had it been in distfiles then
> Dales suggestions are correct.
> 
> In this case, however, the problem isn't with the file rather it's
> with dev-util/pycrypto (which calculates the hash) [2]. And wow, that
> bug is really old by now! ;P The solution:
> 
> # emerge -va1 =dev-python/pycrypto-2.0.1-r5
> 
> [1]
> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=1#doc_chap4
> [2] http://bugs.gentoo.org/show_bug.cgi?id=131293
> 
> -- 
> Bo Andresen

Bo,

You've provided the solution!  Thanks.

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATI drivers

2006-10-26 Thread David Relson
On Wed, 25 Oct 2006 07:34:14 -0400
Daniel D Jones wrote:

> On Wednesday 25 October 2006 02:58, Mick wrote:
> r> On Wednesday 25 October 2006 01:55, Daniel D Jones wrote:
> > >   Option  "MerdgedFB" "true"
> >
> > Not sure, but could this have something to do with it?
> 
> I believe it may have.  From what I've read, merged frame buffers are
> to allow the use of 3D acceleration across multiple monitors by
> making it appear as one large monitor, which is what appears to be
> happening.  When I right click the desktop and go to properties, it
> shows only a single monitor.  Before, it showed two.

Daniel,

The option appears to be spelled incorrectly.  Have you tried
"MergedFB", rather than "MerdgedFB" (only 1 "d")???

Regards,

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



[gentoo-user] Missing livecd theme

2006-10-27 Thread David Relson
Greetings,

My install the 2006.1 LiveCD didn't work 100% -- the emerge
portion of the install died.  This left me with a system that is
usable, though not 100% correct.  When the system starts up there's a
popup window that says:

"There was an error loading the theme gentoo-livecd.2006.1.  Can't open
file /usr/share/gdm/themes/gentoo-livecd.1/gentoo-livecd-2006.1.xml".

I'm installing the gdm-themes-livecd-2006.1 package to satisfy the
reference, but would like to know how/why the theme is being referenced.
Does anybody know?

Thanks.

David

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] genkernel problem

2006-10-27 Thread David Relson
I've just used genkernel to build a kernel from
gentoo-sources-2.6.18-gentoo-r1.  The build ended with:


* Copying config for successful build to 
* /etc/kernels/kernel-config-x86-2.6.18-gentoo-r1
* initramfs: >> Initializing...
* >> Creating base_layout cpio archive...
* >> Creating auxilary cpio archive...
* >> Creating busybox cpio archive...
* >> Creating insmod cpio archive...
* >> Creating modules cpio archive...
* Merging
* initramfs-base-layout.cpio.gz
* initramfs-aux.cpio.gz
* initramfs-busybox-1.1.3+gentoo.cpio.gz
* initramfs-insmod-0.9.15-pre4.cpio.gz
* initramfs-modules-2.6.18-gentoo-r1o.cpio.gz
* Gentoo Linux Genkernel; Version 3.4.1
* Running with options: all

* ERROR: Could not copy the initramfs to ${BOOTDIR}!
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to [EMAIL PROTECTED] Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with
* effectively.

Checking /var/log/genkernel.log doesn't seem to provide any more info
about what went wrong.  In /boot are new kernel, initramfs, and
System.map files, so the build succeeded at least to that extent.  When
I boot the new kernel, I _do_ get a kernel panic - preceded by the
following lines:

Mounting /proc filesystem
Creating block devices
failed to create /dev/hda
... /dev/hda1, /dev/hda2, /dev/hda5, /dev/hda6, /dev/hda7, /dev/hda8
failed to create /dev/hdb
... /dev/hdb1, /dev/hdb2, /dev/hdb5
Creating root device
mkrootdev: mknod failed: 30
mounting root filesystem
Mount: error 2 mounting ext2
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Kernel panic - not syncing: Attempted to kill init!

FWIW, /proc file system support (PROC_FS) _is_ included
in .config.

Any thoughts on what I should look for to solve this problem?

Thanks.

David

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FIXED: Missing livecd theme

2006-10-28 Thread David Relson
On Fri, 27 Oct 2006 20:21:29 -0400
David Relson wrote:

> Greetings,
> 
> My install the 2006.1 LiveCD didn't work 100% -- the emerge
> portion of the install died.  This left me with a system that is
> usable, though not 100% correct.  When the system starts up there's a
> popup window that says:
> 
> "There was an error loading the theme gentoo-livecd.2006.1.  Can't
> open
> file /usr/share/gdm/themes/gentoo-livecd.1/gentoo-livecd-2006.1.xml".
> 
> I'm installing the gdm-themes-livecd-2006.1 package to satisfy the
> reference, but would like to know how/why the theme is being
> referenced. Does anybody know?
> 
> Thanks.
> 
> David

As luck would have it, I upgraded gdm last night and, this morning,
dispatch-conf revealed that /etc/X11/gdm/custom.conf was naming the
livecd theme.  End of problem!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Grub problems

2006-10-29 Thread David Relson
On Sun, 29 Oct 2006 21:02:43 -0500 (GMT-05:00)
Jeff Cranmer wrote:

> The Bios drive order appears to be correct.  The 250MD SATA drive is
> top of the hard drive order list, and I'm stumped.
> 
> Jeff

Perhaps simplifying the environment might help diagnose the problem.
Have you considered disconnecting all drives except the boot
drive ... ???
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mail system recommendations

2006-11-09 Thread David Relson
On Wed, 8 Nov 2006 19:06:12 -0500
Michael Crute wrote:

> On 11/8/06, Michael Sullivan <[EMAIL PROTECTED]> wrote:
> > I have a small network, consisting of three PCs.  Each of these PCs
> > has a public WAN address, and each runs Apache, vsftpd and sendmail
> > (as well as ipkungfu for firewall protection).  One of them runs
> > mailman.  I would like to replace sendmail with something not
> > so...shall we say prehistoric?  I've been advised many times to do
> > so on this list and others.  Would anyone please give me some
> > recommendations for a new choice of mail server?  I'd like one with
> > plenty if documentation.
> 
> For my money I would say run postfix.

Michael S:

I agree with Michael C.  I've been running postfix for several years.
It's easy to use and it works!  More than that I don't want/need
(though I do use mailman with it to handle the bogofilter mailing
lists).

Regards,

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



Re: [gentoo-user] USB mass storage - WD My Book

2006-11-12 Thread David Relson
You might also consider upgrading your kernel to 2.6.18.

I use BackupPC with an external USB HD.  With the 2.6.17 the usb
subsystem would choke before a full backup would complete.  By "choke"
I mean that 'ps' would show a 'D' state for all USB related processes.
Once the USB subsystem had choked, a command as simple as
'ls /mnt/usbhd' would result in another process hung in 'D' state.  

I've upgraded to 2.6.18 and it's doing much better, though its USB
support is not yet totally solid.

HTH,

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



Re: [gentoo-user] script problem

2006-12-01 Thread David Relson
On Fri, 1 Dec 2006 18:59:29 +0100
Etaoin Shrdlu wrote:

> On Friday 1 December 2006 17:11, Etaoin Shrdlu wrote:
> 
> > > bash: ./config: /bin/bash: bad interpreter: Permission denied (i'm
> > > root)
> >
> > This happened to me once. I finally found that the script source
> > file had been created with windows notepad (don't ask!), so it had
> > windows cr+lf line breaks, instead of unix style ones.
> 
> Just out of curiosity, I did another check and it turns out that, in
> the situation I described, the error message is different (bad
> interpreter: No such file or directory). I had forgot the exact
> error, since it was much time ago.
> Instead, the other suggestions about noexec are right.

Should one happen to have a script with CR/LF pairs (as might happen if
the script came from a DOS/Windoze machine), bash will try to find
"/bin/bash\r" which doesn't exist.  This gives a "bad interpreter"
message ...


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] linux-headers vs gentoo-sources

2006-12-04 Thread David Relson
Today when I ran "emerge -au world" I was surprised to see

Calculating dependencies... done!
[ebuild U ] sys-kernel/linux-headers-2.6.17-r2 [2.6.17-r1] 

because I'm presently running a 2.6.19-gentoo-r2 kernel (built from
gentoo-sources-2.6.19-r1 using genkernel).

When I run "emerge -C linux-headers" it warns me that 

!!! 'sys-kernel/linux-headers' is part of your system profile. 
!!! Unmerging it may be damaging to your system. 

Common sense tells me that anything 2.6.19 renders all things
obsolete that relate to 2.6.17.  Am I right?

Also, where is it recorded that linux-headers 2.6.17-r2 is important?
I suspect I ought to delete that info as well.

Thanks.

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



Re: [gentoo-user] linux-headers vs gentoo-sources

2006-12-04 Thread David Relson
On Mon, 04 Dec 2006 20:23:49 -0500
Statux wrote:

> The old way of doing things was to make the following two symlinks:
> 
> /usr/include/linux -> /usr/src/linux/include/linux
> /usr/include/asm   -> /usr/src/linux/include/asm
> 
> Then the second would be linked to the correct set of asm headers for
> your architecture, etc, inside the linux kernel source tree.
> 
> Somewhere along the lines, the symlinking idea became deprecated in
> favor of using a hard set of header files. I forget why this came to
> be but I agree that at some point, a newer kernel must render some
> portion of an old set of headers outdated. I think the linux-headers
> package is intended to be kept as up to date as possible to avoid
> interface changes/incompatibilities. Why it's not kept even and why
> the redundancy? Good questions.
> 
> I would figure that if you wanted to manually maintain a hard set of
> headers and keep them installed in the correct places, you're free to
> do so but the linux-headers package has been properly maintained from
> my experience.
> 
> My $0.02.

Interesting.  At the moment emerge is updating my linux-headers from
2.6.17-r1 to 2.6.17-r2.  The first step is downloading
linux-2.6.17.tar.bz2 which, at 41MB, seems more like a complete kernel
source tree than just the headers.  Overkill, eh?

It's interesting to compare the keywords of
Linux-headers-2.6.19.ebuild, i.e. "-*", to gentoo-sources-2.6.19-r1
which has "~amd64 ~ppc ~ppc64 ~sparc ~x86".  If I'm interpreting these
correction, gentoo-sources is available but unstable while the headers
(a subset of the source) is completely masked out.  I wonder why that
would be???

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-headers vs gentoo-sources

2006-12-04 Thread David Relson
On Tue, 5 Dec 2006 03:07:11 +0100
Bo Ørsted Andresen wrote:

> On Tuesday 05 December 2006 02:42, David Relson wrote:
> > It's interesting to compare the keywords of
> > Linux-headers-2.6.19.ebuild, i.e. "-*", to gentoo-sources-2.6.19-r1
> > which has "~amd64 ~ppc ~ppc64 ~sparc ~x86".  If I'm interpreting
> > these correction, gentoo-sources is available but unstable while
> > the headers (a subset of the source) is completely masked out.  I
> > wonder why that would be???
> 
> Because 2.6.19 headers break all sorts of things..
> 
> -- 
> Bo Andresen

All the replies are appreciated!  I hadn't considered that special
patches might be needed to make the kernel's header files useful in
user land.  

This thread shows the truth of the old maxim:

  Ask and ye shall learn.

Thank y'all.

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Memory Usage

2006-12-14 Thread David Relson
On Thu, 14 Dec 2006 19:08:35 -0600
Dale wrote:

> Grant wrote:
> >
> > My server is mainly used for apache2 with mod_perl.  I would think
> > that cache comes in handy.  Will a web server pretty much always
> > find something more to cache, or can you add memory to the point
> > where everything that can be cached is cached?
> >
> > - Grant
> 
> I have read a few articles on how Linux manages memory.  The thing I
> get from it is this, Linux likes to have data in memory first, then
> it uses swap because it is more "organized".  The last place it wants
> data is on the hard drive.  It is all about speed of access.  Linux
> likes to be really fast.
> 
> I guess if you have 16GBs of ram and it only access say 10GBs of data,
> then it will eventually have everything in memory and not access the
> drive much at all.  Same can be said for memory plus swap except that
> swap is on the drive of course.
> 
> I will say this, I have 1GB of ram on mine.  I run a full install of
> KDE and I have had 100 or more pictures open with Gimp and have never
> ran out of memory.  The most swap I have ever used is about 200MBs
> and that is with it set to use a lot of swap.  I think it was set at
> 80 or so. With Linux, 1GB is a lot of ram.  The only exception being
> some heavy games or video stuff.

Gaming and video aren't the only reasons to need lots of memory.  I
upgraded my workstation from 512MB to 1GB so I could run BackupPC.
Since BackupPC uses rsync to copy files from the internal HD to an
external HD and since the machine has approx 3,000,000 files a lot of
ram is used :->  The additional ram is also useful for vmware.

Just my $.02

David

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vmware server problem

2006-12-17 Thread David Relson
I've just installed vmware-server and it doesn't start.

Environment: 2.6.19-gentoo-r1 kernel on x86
 vmware-modules-1.0.0.15-r1
 vmware-server-1.0.1.29996-r4
 vmware-server-console-1.0.1.29996-r4

When I run /etc/init.d/vmware start, the following messages appear
in /var/log/messages

... rc-scripts: Vmware Server is installed, but it has not been
(correctly) configured 
... rc-scripts: for the running kernel.
... rc-scripts: Please ensure that the modules have been compiled for
this kernel: 
... rc-scripts: emerge --oneshot vmware-modules
... rc-scripts: Also ensure Vmware Server has been configured:
... rc-scripts: /opt/vmware/server/bin/vmware-config.pl
... rc-scripts: VMware is not properly configured! See above.
... modprobe: FATAL: Module vmmon not found.
... modprobe: FATAL: Module vmnet not found.
... vmware-start: Virtual machine monitor ... failed
... vmware-start: Virtual ethernet ... failed
... vmware-start: Bridged networking on /dev/vmnet0 ... failed

I've run both suggested commands (several times) to no avail.

Looking in /lib/modules/2.6.19-gentoo-r1 directory misc has newly built
modules vmmon.ko and vmnet.ko

It would seem that modprobe is looking in the wrong directory.  Running
"strace modprobe vmmon" shows a read of
"/lib/modules/2.6.19-gentoo-r1/ke"..., which is (unfortunately) an
incomplete path.

Anybody know what's wrong and how to fix it?

Thank you.

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



Re: [gentoo-user] vmware server problem

2006-12-17 Thread David Relson
On Sun, 17 Dec 2006 18:43:52 -0700
Richard Fish wrote:

> On 12/17/06, David Relson <[EMAIL PROTECTED]> wrote:
> > Looking in /lib/modules/2.6.19-gentoo-r1 directory misc has newly
> > built modules vmmon.ko and vmnet.ko
> 
> You need to make sure that /usr/src/linux points to the configured
> sources of your currently running kernel.  Otherwise vmmon and vmnet
> will be built for the wrong kernel version (or wrong kernel config)
> and fail to load.
> 
> >
> > It would seem that modprobe is looking in the wrong directory.
> > Running "strace modprobe vmmon" shows a read of
> > "/lib/modules/2.6.19-gentoo-r1/ke"..., which is (unfortunately) an
> > incomplete path.
> 
> Use the -s option to increase the length of the strings that strace
> prints before truncating them...fex: "strace -s256 ..."
> 
> -Richard

Hi Richard,

Feedback appreciated!

/usr/src/linux is a symlink to the currently running kernel.  The
dates/times of the relevant files, i.e.

/usr/src/linux/.config
/etc/kernels/kernel-config-x86-2.6.19-gentoo-r1
/boot/initramfs-genkernel-x86-2.6.19-gentoo-r1
/boot/System.map-genkernel-x86-2.6.19-gentoo-r1
/boot/kernel-genkernel-x86-2.6.19-gentoo-r1

all match up.

Using "strace -s4096 modprobe vmmon" show that file 
/lib/modules/2.6.19-gentoo-r1/modules.alias is being read 
just before the "FATAL: Module vmmon not found." message is
displayed.

It sounds like you have a working vmware-server environment.  If so,
where are your copies of vmmon.ko and vmnet.ko located and are they
referenced in modules.alias?  Also, any additional thoughts on what I
should be looking at/for to solve the modprobe issue?

Thanks.

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



Re: [gentoo-user] vmware server problem

2006-12-17 Thread David Relson
On Sun, 17 Dec 2006 20:22:04 -0700
Richard Fish wrote:

> On 12/17/06, David Relson <[EMAIL PROTECTED]> wrote:
> > It sounds like you have a working vmware-server environment.  If so,
> > where are your copies of vmmon.ko and vmnet.ko located and are they
> > referenced in modules.alias?  Also, any additional thoughts on what
> > I should be looking at/for to solve the modprobe issue?
> 
> ~ > uname -r
> 2.6.19-gentoo-r1
> 
> ~ > find /lib/modules/ | grep -e vmmon -e vmnet
> /lib/modules/2.6.19-gentoo-r1/misc/vmmon.ko
> /lib/modules/2.6.19-gentoo-r1/misc/vmnet.ko
> 
> ~ > grep -e vmmon -e vmnet /lib/modules/`uname -r`/*
> /lib/modules/2.6.19-gentoo-r1/modules.dep:/lib/modules/2.6.19-gentoo-r1/misc/vmnet.ko:
> /lib/modules/2.6.19-gentoo-r1/modules.dep:/lib/modules/2.6.19-gentoo-r1/misc/vmmon.ko:
> /lib/modules/2.6.19-gentoo-r1/modules.symbols:alias
> symbol:VMX86_RegisterMonitor vmmon
> 
> Try insmod'ing the drivers manually:
> 
> insmod /lib/modules/`uname -r`/misc/vmmon.ko
> 
> Also, the output of dmesg might hold some clue.
> 
> -Richard

Good info!  "uname" and "find" show you and I are running the same
kernel and have the modules in the same places.

Running insmod for vmmon and vmnet gets them installed and output
from "/etc/init.d/vmware start" indicated success.  However
running ".../vmware status" immediately afterwards says vmware
has stopped.  Looking at dmesg I suspect the following is
the key:

vmware-start: Bridged networking on /dev/vmnet0 failed

Since .config contains "# CONFIG_BRIDGE is not set" I do believe I know
the cause of _this_ problem.  Just to be sure, my next (newbie)
question is "Is bridged networking the the right option to choose?"

Thanks.

David



To ask a question of ignorance, does 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Misconfigured system

2006-12-22 Thread David Relson
On Thu, 21 Dec 2006 21:45:07 -0800
Kevin O'Gorman wrote:

...[snip]...
> Oops.  I should have known I could answer my own question with a
> little more digging.  I now see that there's
> hostname
> hostname --fqdn
> dnsdomainname
> and they all work by looking in /etc/host.conf, and if (as is true
> here) that says
> to use the hosts file first, it looks for it in /etc/hosts, which has
> the fqdn. I seem to dimly recall that it actually looks for the first
> non-comment, but that
> cannot be quite right, because localhost comes first in my copy.
> Maybe it's the first
> routable IP number?
> 
> I think this sub-problem is solved.  I've commented my config files a
> bit more, so I
> won't make the same mistake again.
> 
> ++ kevin

Now, I'm curious!  On my system, I see the following:

  dnsdomainname osagesoftware.com
  hostname  osage.osagesoftware.com
  hostname --fqdn   osage.osagesoftware.com

/etc/hosts contains:

  192.168.1.10 osage.osagesoftware.com osage

"strace -feopen" shows that /etc/hosts is opened by "hostname --fqdn"
but not "hostname". 

What have I got wrong?

Regards,

David

P.S.  Greetings from one Kiewit alumni to another ...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Somewhat OT] Backup software for CDs.

2006-12-23 Thread David Relson
On Sat, 23 Dec 2006 21:56:12 +0100
Etaoin Shrdlu wrote:

> On Saturday 23 December 2006 19:45, Dale wrote:
> 
> > Hi,
> >
> > I would like to backup some stuff and can't quite find a program to
> > use.  I'm looking for something that can backup to CD or DVD and can
> > span them over more than one CD if needed.  Some of what I have will
> > require several CDs.  It would be nice if it would tar it or zip it
> > but it is not required.  I searched using equery and emerge -s but I
> > can't seem to find much.  Oh, GUI would be nice too.
> >
> > Is there anything out there that would do this?
> 
> I've never used it myself, but I read an article somewhere about it
> and seems that mondorescue can do that: 
> 
> http://www.mondorescue.org/about.shtml
> 
> However, I'm not sure about its portage status: it seems that all the 
> versions are masked (for x86 at least). The relevant entry in 
> package.mask says
> 
> "has security issues and will be removed from portage
> due to upstream behaviour, see bug #106497"
> 
> but that comment is rather old (more than one year) and it's still in 
> portage. Furthermore, the mondorescue home page shows many 
> gentoo-related downloads.
> 
> Maybe there's someone else using it that hopefully can give you more 
> detailed information.

I've heard good things about the package, installed it yesterday, and
will soon give it a test.  In my case, I'm interested in creating a
bootable CD so that I can have a functioning system able to restore my
system from an external hard drive :->
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Misconfigured system

2006-12-24 Thread David Relson
On Sun, 24 Dec 2006 12:09:13 +
Mick wrote:

...[snip]...
> > Now, I'm curious!  On my system, I see the following:
> >
> >   dnsdomainname osagesoftware.com
> >   hostname  osage.osagesoftware.com
> >   hostname --fqdn   osage.osagesoftware.com
> >
> > /etc/hosts contains:
> >
> >   192.168.1.10 osage.osagesoftware.com osage
> >
> > "strace -feopen" shows that /etc/hosts is opened by "hostname
> > --fqdn" but not "hostname".
> >
> > What have I got wrong?
> >
> > Regards,
> >
> > David
> >
> > P.S.  Greetings from one Kiewit alumni to another ...
> 
> I discovered that the order of entries on the localhost line is
> important to avoid hostname being identified as "none".  I suppose in
> your system it should be:
> 
> 127.0.0.1 osage.osagesoftware.com osage localhost

Curiouser and curiouser...

Using your suggested line as the complete content of my /etc/hosts file
has _no_ effect at all.

As an experiment, I tried modifying /etc/conf.d/hostname to have just
a test name, i.e. osagexxx, and restarting /etc/init.d/hostname. My
system was not at all happy with that. 
 
### hostname ; hostname -s ; hostname --fqdn ; dnsdomainname 

osagexxx
hostname: Unknown host
hostname: Unknown host
dnsdomainname: Unknown host

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Somewhat OT] Backup software for CDs.

2006-12-24 Thread David Relson
On Sun, 24 Dec 2006 09:02:24 -0600
Dale wrote:

> Etaoin Shrdlu wrote:
> > On Sunday 24 December 2006 15:33, Dale wrote:
> >
> >   
> >> OK.  Now I get this for mindi-1.11.  One version has something
> >> missing and the other fails to compile.  Wonder why this is masked?
> >> [cut]
> >> 
> >
> > Are you trying to install mindi by itself or as part of an "emerge 
> > mondo-rescue"? Seems like some dependency is missing...
> >
> >   
> >> Anybody know what newt.h is?  Looks like it needs it for something.
> >> 
> >
> > * dev-libs/newt
> >  Available versions:  0.50.35-r2 ~0.50.35-r3 ~0.50.35-r4 0.51.6 
> > 0.51.6-r1 ~0.51.6-r2 ~0.52.2
> >  Homepage:http://www.redhat.com/
> >  Description: Redhat's Newt windowing toolkit
> > development files
> >
> > mondo-rescue does depend upon newt, but mindi doesn't (I'd say
> > that's probably a bug, but otoh I think mindi alone is rather
> > useless). 
> 
> Here's the funny part.  I figured out that that file is in the package
> newt, who would have thunk that.  LOL  Anyway, I emerge -1 it then
> when I tell it to start emerging mondorescue again, it skips the
> package mindi completely.
> 
> Since I have no clue what this may break, I went back and emerge -1
> mindi just in case.  It worked this time, since newt was there.  May
> be a bug too.  Now back to mondorescue.

Sounds like the ebuild needs to include newt as a dependency!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emacs shell color question

2006-12-24 Thread David Relson
G'day,

I habitually run emacs shell sessions.  When I forget the --color
options, for example for the ls and emerge commands, the shell session
displays the ascii escape sequences which is pretty ugly. Is there an
option for telling emacs to handle escape sequences?

Thanks.

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



Re: [gentoo-user] Re: emacs shell color question

2006-12-25 Thread David Relson
On Mon, 25 Dec 2006 01:00:31 -0600
[EMAIL PROTECTED] wrote:

> David Relson <[EMAIL PROTECTED]> writes:
> 
> > G'day,
> >
> > I habitually run emacs shell sessions.  When I forget the --color
> > options, for example for the ls and emerge commands, the shell
> > session displays the ascii escape sequences which is pretty ugly.
> > Is there an option for telling emacs to handle escape sequences?
> 
> Does the problem persist if you use `eshell' instead of shell?
> (M-x eshell )

yes.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emacs shell color question

2006-12-26 Thread David Relson
On Mon, 25 Dec 2006 21:54:01 -0600
[EMAIL PROTECTED] wrote:

> David Relson <[EMAIL PROTECTED]> writes:
> 
> > On Mon, 25 Dec 2006 01:00:31 -0600
> > [EMAIL PROTECTED] wrote:
> >
> >> David Relson <[EMAIL PROTECTED]> writes:
> >> 
> >> > G'day,
> >> >
> >> > I habitually run emacs shell sessions.  When I forget the --color
> >> > options, for example for the ls and emerge commands, the shell
> >> > session displays the ascii escape sequences which is pretty ugly.
> >> > Is there an option for telling emacs to handle escape sequences?
> >> 
> >> Does the problem persist if you use `eshell' instead of shell?
> >> (M-x eshell )
> 
> There is an ansi mode that is made to hand escape sequences but that
> should not be necessary.  All recent emacs just work.
> 
> That makes me think it is something in your environment.
> 
> To get expert help I suggest you post on gnu.emacs.help  Or on
> gmane.emacs.help (same list).

Eureka!  

A search for "ansi" at gmane suggested using ansi-term instead
of shell.  That gave me color but previous line editing and such were
different, which I'm not sure I like :-<

So I looked in /usr/share/emacs/... for ansi-term and found
ansi-color.el.  Comments at the beginning tell how to turn on color
within a shell.  This looks like what I want!

Thank you muchly.

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



Re: [gentoo-user] Re: emacs shell color question

2006-12-26 Thread David Relson
On Tue, 26 Dec 2006 09:51:22 -0600
[EMAIL PROTECTED] wrote:

...[snip]...
> 
> Good, however you should not really need to use ansi-mode.
> I do not, and don't have the trouble you mentioned.
> 
> In normal shell-mode (M-x shell) I do see the escape sequences you
> mention but not in eshell (M-x eshell).
> 
> I think, if you post on gmane.emacs.help with what you are
> experiencing someone will be able to help you identify, what in your
> OS setup is causing the problem.
> 
> I did notice one thread where the user ended up discovering somekind
> of alias to ls that was causing his problem.
> 
>  http://thread.gmane.org/gmane.emacs.help/39496/focus=39505
> 
> Typing `alias' in an xterm might reveal something.  Here I see:
>   alias ls='ls --color=auto'
> as the only reference to ls.
> 
> Posting there with your exact problem would probably be best.

I generally have ls aliased to 'ls --color=none' and that works
fine.  In my post I used ls as a simple example of a program
that can/does use escape sequences.  

Other programs that use escape sequences are emerge and runscript
(used in starting services).  Alias 'emerge --color'
suppresses ansi color sequences for direct invocations of emerge
(because the alias is used for that).  

I also use 'eix-sync' which runs emerge.  In _this_ instance, ansi
escape sequences are _not_ suppressed and I do find them annoying.

Now that I'm home from work, I have the time to experiment :->
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] cannot find /usr/lib/libdbug-glib-1.1a

2006-12-28 Thread David Relson

After emerging dbus-1.0.2 on my x86 system, I've run

  "rc-update add dbus default" to make sure dbus will run in the future
  "/etc/init.d/dbus start" to start it
  "/etc/init.d/dbus reload" to be sure it's running
  "revdep-rebuild" - as suggested by the build notes

Now, _every_ emerge dies with:

  libtool: link: cannot find the library `/usr/lib/libdbus-glib-1.la' or
 unhandled argument `/usr/lib/libdbus-glib-1.la'

   ...

   !!! ERROR: ... failed.
   Call stack:
 ebuild.sh, line 1580:   Called dyn_compile
 ebuild.sh, line 945:   Called src_compile
 ebuild.sh, line 1269:   Called gnome2_src_compile
 gnome2.eclass, line 71:   Called die

   !!! compile failure
   !!! If you need support, post the topmost build error, and the call
   stack if relevant.

The actual value of "..." depends on which package failed to emerge.

Undoubtedly the problem is that I've not done something necessary, but
I don't know what.  Any hints?

Regards,

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Documentation Index

2006-12-30 Thread David Relson
On Sat, 30 Dec 2006 22:20:18 -0500
Jerry McBride wrote:

> On Saturday 30 December 2006 19:03, Kevin O'Gorman wrote:
> > There's a lot of HTML documentation on my computer, but it's
> > wonderfully hard to find and use compared to man pages
> > because it's not indexed.
> >
> > So I started building a Perl script to create a top-level
> > HTML index page automatically from the .html files it
> > finds lying around.  I started with just the contents of
> > /usr/share/doc.
> >
> > Before I go too much farther, I thought I'd ask if anyone knows
> > of an existing product (that is surely more refined than
> > this little starter gizmo I've got so frar) that does the
> > same or similar thing?
> >
> > If not, are there any other places where generally useful
> > HTML might be hiding?
> >
> 
> I've been doing a similar project using python. I scan the entire
> filesystem for html, pdf and chm files. Once found, I grab matching
> portage names and build a master html index for use with apache... 
> 
> Nice to know that someone else has the desire for handy document
> indexes...

I, for one, would be interested in seeing a copy of your script :->

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



Re: [gentoo-user] revdep-rebuild / missing ebuild

2007-01-01 Thread David Relson
On Mon, 1 Jan 2007 22:16:46 +0200
Uwe Thiem wrote:

> On 01 January 2007 19:15, Boyd Stephen Smith Jr. wrote:
> > On Monday 01 January 2007 08:16, Uwe Thiem <[EMAIL PROTECTED]> wrote
> >
> > about '[gentoo-user] revdep-rebuild / missing ebuild':
> > > revdep-rebuild produces a long list of binaries to be rebuilt.
> > > Not wuite surprising since I haven't done it on that box for a
> > > long while. Problem is it tells me that at least for one binary
> > > no ebuild exists but it doesn't tell me which binary. Bummer! How
> > > do I find out?
> >
> > ???
> 
> I agree. ;-)
> 
> >
> > Are you running with the -q option?  
> 
> No -q option here. Straight revdep-rebuild.
> 
> > Normally in the "assigning file to 
> > packages" stage it will produce error text like " not owned
> > by any package is broken".  
> 
> Yes, I know. 
> 
> > Maybe check your output again?  Or run with the -v 
> > option to see if you get any extra messages?
> 
> I swear on a whole barrel of Windhoek Lager that it did not mention
> any particular file. The issue is resolved meanwhile (see my other
> mail), so I can not reproduce the same output and post it here
> anymore.
> 
> Uwe

One can list binaries known to portage with:

   cat /var/db/pkg/*/*/CONTENTS | grep /usr/bin/

If that's compared to /usr/bin/*, orphaned binaries can be identified.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How packages are made stable - suggestion for improvement

2007-01-05 Thread David Relson
On Fri, 05 Jan 2007 17:23:51 -0700
Steve Dibb wrote:

> Daevid Vincent wrote:
> > But as I read this thread, it seems that in effect, I won't really
> > be getting a more stable system, I'll just be getting an older, out
> > of date one, as nobody is actively monitoring packages and then
> > flagging them as stable. :(
> >   
> The problem, like many other things, comes down simply to manpower.
> 
> I should stress, again, that popular, common applications and
> utilities are going to get marked stable on a regular basis.  For the
> most part, its only the small, fringe programs that get lost in the
> cracks.
> 
> And getting some tools in place to display how long packages have
> been unstable is in the works.  Still though, there is just so much
> work to be done in the first place, not many developers go looking
> for things to mark stable.  It makes things a lot simpler if that
> offload is placed on the users instead, because that way 1) we don't
> focus manpower on stabilizing everything just because its been 30
> days and 2) we stabilize stuff that people are using anyway, and want
> to get marked stable.
> 
> Steve

I've been reading this thread as well as the earlier (July) threads
(from gmane) and notice that everyone is discussing "30 days",
"automatic", and "stabilization bugs".  What if there were 2 time
periods - a minimum and a maximum.  For example:

with a 30 day min, a package would have to be bug free for 30 days
before a stabilization bug _could_ be acted upon.

If there are no open bugs and no stabilization bug was submitted , then
a maximum period (perhaps 60 days, perhaps 6 months) would cause an
_automatic_ upgrade to stable.

Having an acceptably large max period would take some of the load off
of developer shoulders and would prevent the current situation of having
really old ~ARCH packges (some of which currently seem to measure in
the hundreds of days).

Just my $.02

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



[gentoo-user] ESD vs ALSA

2007-01-07 Thread David Relson
I've been using Linux for 6 or 8 years -- without speakers.  Today I
decided to take a trip on the wild side and install speakers.  It has
been interesting.

I've been using /usr/bin/gnome-sound-properties (started from Gnome
start button via system//preferences/sound (from nu) to test my
configuration.  From the Sounds tab, all the System Sounds work
perfectly.  However the Devices tab works fine when ESD (Enlightenment
Sound Daemon) is selected and doesn't work at all when "ALSA" is
selected.  In this case, "doesn't work" means the following dialog is
displayed:
 
  audiotestsrc wave=sine freq=512!
  audioconvert ! audioresample ! gconfaudiosink:
  Could not open resource for writing.

Any tips on what I should check?  

Question 2:  Is either ESD or ALSA to be preferred?  Why?


Regards,

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



Re: [gentoo-user] ESD vs ALSA

2007-01-08 Thread David Relson
On Sun, 7 Jan 2007 17:56:15 -0800
Mark Knecht wrote:

> Sorry - meant to attach this also. Make sure you're building certain
> things with the alsa USE flag and preferably with the esd flag turned
> off. At least that's what I do:
> 
> [ebuild   R   ] media-sound/esound-0.2.36-r2  USE="alsa ipv6 tcpd
> -debug" 0 kB 
> [ebuild   R   ] gnome-base/control-center-2.16.2 USE="alsa -debug
> -eds" 0 kB
> 
Hi Mark

My USE flags were a bit different, notably -ipv6 and eds.  As eds is
the evolution-data-server it doesn't see related, but I've rebuild
esound without it in order to match your environment.

Unfortunately the rebuild hasn't changed the behavior I'm seeing. The
gnome sound preferences app is doing the same as before.  This app
seemed like a good way for setting up and testing whether sound is
working.  Is there a better way for doing this?

Regards,

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



Re: [gentoo-user] ESD vs ALSA

2007-01-08 Thread David Relson
On Mon, 8 Jan 2007 06:08:32 -0800
Mark Knecht wrote:

> Sorry,
>You're right about the flags. It's 'esd' vs. 'eds'. My mistake.
> Sorry.
> 
>As I said I do not use Gnome System Sounds. In the Gnome
> Preferences menu if I choose 'Sounds' and then the 'Sounds' tab I do
> not have 'Enable sound software mixing (ESD)' enabled.
> 
> - Mark

Hi Mark,

Actually "eds" _is_ one of the USE flags used by gnome-control-center's
ebuild, with the other being alsa.

I've disabled "ESD" because sound effects don't generally interest me.
What does interest me is listening to CDs, web radio, etc.

Anyhow, I've got CDPlayer playing Alice's Restaurant and am enjoying
hearing it again (after numerous years).

Regards,

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



Re: [gentoo-user] alsa on startup

2007-01-19 Thread David Relson
On Sat, 20 Jan 2007 08:01:49 +0800
Jed R. Mallen wrote:

> On 1/19/07, doug asherman <[EMAIL PROTECTED]> wrote:
> > Jed R. Mallen wrote:
> > > hello
> > >
> > > whenever i boot my gentoo on fluxbox, i always have to do
> > > alsa-conf as root to enable sound.
> >
> > Did you do "rc-update add alsasound default"?
> 
> worked! thanks!

Worked for me, too.  

I had installed alsa, hadn't realized that rc-update was needed, and
wondered why audacious needed to be run from root.  After running
rc-update, root is not needed for sound.

Thanks!

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



Re: [gentoo-user] GCC Failing

2007-01-22 Thread David Relson
On Mon, 22 Jan 2007 19:33:11 +0200
Vlad Dogaru wrote:

...[snip]...

> PS: Unless I got it wrong, it's memtest86 and it proved very valuable.
> By the way, does it ever stop? After two hours and 13 thousand errors
> I got fed up and removed the chip.

Nope.  It'll run forever, assuming you're patient enough :->
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] livecd install problems

2006-03-19 Thread David Relson
G'day,

I'm trying to install the livecd (livecd-i686-installer-2006.0.iso) on
a PII-450 machine with 256MB ram and an 18GB Fujitsu hard drive.  The
machine is on a 192.168.1.x LAN with 192.168.1.2 providing DNS and DSL
firewall services.  The installation fails :=<  Copies of
installprofile.xml, clientconfiguration.xml, and installer.log.failed
are below.

All my attempts at installing have failed so far.  Suggestions as to
what's wrong (and help in getting around the problems) would be appreciated !

Thanks.

David
 
 /var/log/installer.log.failed

GLI: March 19 2006 17:54:40 - Setting root password.
GLI: March 19 2006 17:54:42 - Livecd root password set.
GLI: March 19 2006 17:54:46 - Portmap started.
GLI: March 19 2006 17:54:46 - Completed pre_install steps
GLI: March 19 2006 17:58:21 - Partition table for /dev/sda is 
unchanged...skipping
GLI: March 19 2006 17:58:26 - Exception received during 'Mount local 
partitions': MountError :FATAL: mount_local_partitions: Could not mount a 
partition
GLI: March 19 2006 17:58:26 - Traceback (most recent call last):
GLI: March 19 2006 17:58:26 - File "/opt/installer/GLIClientController.py", 
line 165, in run
self._install_steps[self._install_step]['function']()
GLI: March 19 2006 17:58:26 - File "/opt/installer/GLIArchitectureTemplate.py", 
line 441, in mount_local_partitions
raise GLIException("MountError", 'fatal','mount_local_partitions','Could 
not mount a partition')
GLI: March 19 2006 17:58:26 - GLIException: MountError :FATAL: 
mount_local_partitions: Could not mount a partition

 clientconfiguratin.xml




192.168.1.2



192.168.1.30




False


False


normal


/mnt/gentoo



static


255.255.255.0


/var/log/installer.log


eth0


**



x86


192.168.1.255


True


192.168.1.2






 installprofile.xml



genkernel


vixie-cron


localdomain


file:///mnt/cdrom/snapshots/portage-20060123.tar.bz2


livecd-kernel


False


America/New_York


False


/dev/sda


True


False


True


localhost





3





grub


$1$a.PHSveD$04QXafey77sXdPqi2QBvW/




True


syslog-ng



snapshot


True


False


192.168.1.2




eth0














/bin/nano




Yes





 X alsa apache2 apm arts audiofile avi berkdb 
bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds elibc_glibc emboss encode 
esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp 
gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 
jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla 
mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python 
qt quicktime readline samba sdl session simplexml slang soap sockets spell spl 
ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev 
userland_GNU vorbis x86 xml xml2 xmms xsl xv zlib




-march=i686 -O2 -pipe




UTC

 

Re: [gentoo-user] livecd install problems

2006-03-19 Thread David Relson
On Sun, 19 Mar 2006 15:21:50 -0300
Daniel da Veiga wrote:

...[snip]...

> 
> Well, it seems the installer was unable to mount /mnt/gentoo, that
> will be your root mountpoint (the "/" in the device), you have told
> the installer not to format the partitions, that could be one of the
> reasons why it can't mount it, because simply there's no filesystem on
> the device. Another option is that you have mounted the device
> already.
> 
> Do you have anything else on the disk? Another partition or
> filesystem? Something that you don't wanna loose? If not, I suggest
> you tell the installer to format the partitions...

Daniel:

Right on!  I restarted the install, taking care to scp the old
configuration to tmpfs (without mounting any partitions).  The install
is now unpacking the stage tarball.  This is considerably further along
than previous efforts.

Regards,

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



Re: [gentoo-user] how long does an install take on "average"?

2006-03-21 Thread David Relson
On Tue, 21 Mar 2006 13:10:31 -0600
Mike Myers wrote:

> kashani wrote:
> 
> > THUFIR HAWAT wrote:
> >
> >> The times:
> >>
> >> start:   March 20 2006 14:00:01
> >> finish:  March 21 2006 13:22:39
> >
> >
> > Depends entirely on what you installed, your CPU, your RAM, and half a 
> > dozen other things. I'd expect with X and KDE/Gnome that looks about 
> > right.
> >
> > If all your src is local (portage, stage3, and distfiles), you have 
> > dual CPU, lots of RAM, and are installing a stripped down build to be 
> > a server it takes just under two hours or so depending on the amount 
> > of software I need for that type of server.
> >
> > kashani
> 
> If you do GRP packages, it's even faster than that.  Immediately after I 
> bought my laptop, I went to Denny's with it and an install CD and a 
> package CD and had it installed before the battery died.  And that's on 
> a Pentium M 1.86Ghz and 512MB of RAM.  It's all dependant on how you 
> install it.

I'll approx 11 hrs into a PIII-450, 256MB Ram install ...  I started it
before leaving for work this AM and it's chugging away.  Perhaps it'll
be done by the time the Father-Daughter dinner and soccer practice are
done (in 4 hrs).  Perhaps it'll be done by the time I head for work
tomorrow.  Perhaps it'll be 24 hrs like the initial posting.  

Only time will tell :->

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Installation Problem

2006-03-22 Thread David Relson
G'day,

So far, I've twice had the Gentoo install run for 12 hours and then
found the machine hung.  Rebooting shows a partially completed
install.  I'd like to find what's going wrong so I can complete my
(first) Gentoo installation!

Environment:

   x86-LiveCD-2006.0.iso

   P-III 450Mhz
   256MB Ram
   Creative 52X IDE CD-ROM
   AHA-2940U/W SCSI controller
   Fujitsu 18GB SCSI HD

   KVM Switch used to share keyboard, monitor, and video between
   current Linux box (Mandriva) and Gentoo install machine.

LiveCD boots and "gentoo doscsi" is used.  The install is configured
using GUI tool.  The packages chosen are mostly GRP as I'm trying to
keep life simple (for now).  Using a terminal window, I've scp'd
installprofile.xml and clientconfiguration.xml to the Mandriva box.

I then click on install and the machine goes to work building
packages.  At this point I use the KVM to switch to my other machine
and let the install go to work.  Periodically I switch back to check
install progress. After approx 12 hrs of building packages, I find that
the machine has hung.  The screen shows the installer window, but only
it's background displays -- no text is visible (for example "building
package 37/95".

If I then boot from the hard drive I get:

   >> Mounting root
  mknod //newroot/dev/console: No such file or device
  mknod //newroot/dev/tty1: No such file or device

   >> Booting (initramfs)
  chroot: Cannot execute /bin/sh:  No such file or device
  Kernel panic not syncing:  Attempted to kill init.

At this point I can boot with the LiveCD, go to the command line, mount
the root and boot partitions, run chroot, and have a partially usable
system.

What's the recommended procedure for completing the install?

Regards,

David

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] broken install from LiveCD-2006.0

2006-03-30 Thread David Relson
G'day,

Using the graphical installer on the LiveCD, I've encountered several
problems - 2 minor and 1 major.

Minor problem: after being prompted for ethernet configuration (static
in my case) and modifying the DNS address (from 127.0.0.1
192.168.0.1 ... to 127.0.0.1 192.168.1.2), /etc/resolv.conf is not
updated, i.e. it doesn't have an entry for my name server.

This is easily fixed, but I'm reporting it for completeness.

Minor problem: the LiveCD allows emacs to be run from its menus.
However it's not usable since characters aren't displayed in a readable
manner.  I'm guessing that fonts aren't configured.

Major problem:

GLI: ... - Fetching and unpacking tarball: 
GLI: ...  - Exception received during 'Unpack stage tarball':
  GLIUtilityError :FATAL: get_uri: File does not exist or URI
  is invalid!
GLI: ... - Traceback (most recent call last):
GLI: ... - File "/opt/installer/GLIClientController.py", line 165, 
in run
 self._install_steps[self._install_step]['function']()
GLI: ... - File "/opt/installer/GLIArchitectureTemplate.py", line 306,
in unpack_stage_tarball

GLIUtility.fetch_and_unpack_tarball(self._install_profile.get_stage_tarball_uri(),
self._chroot_dir, temp_directory=self._chroot_dir,
keep_permissions=True, cc=self._cc)
GLI: ... - File "/opt/installer/GLIUtility.py", line 557, 
in fetch_and_unpack_tarball 
if not get_uri(tarball_uri, temp_directory + "/" +
tarball_filename, cc):
GLI: ... - File "/opt/installer/GLIUtility.py", line 478, 
in get_uri
raise GLIException("GLIUtilityError", 'fatal', 'get_uri', 
"File does not exist or URI is invalid!")
GLI: ... - GLIException: GLIUtilityError :FATAL: get_uri: 
File does not exist or URI is invalid!

As can be seen, the installer is failing to find the tarball it wants.
FWIW, installprofile.xml contains:

installprofile.xml


...
  
file:///mnt/cdrom/snapshots/portage-20060123.tar.bz2
  


and the tarball _does_ exist.

Any tips on how to get the install going?

Thanks.

David

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] subscribe

2006-05-27 Thread David Relson
subscribe
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] custom ebuilds

2006-09-16 Thread David Relson
Greetings,

I recently noticed a keyboard problem (ctrl left arrow moves a word to
the _right_ when using the numeric keypad) and now have a patch for
GTK, specifically file gtk+-2.8.19/gtk/gtktextview.c.

What's the best way to create a personalized ebuild to include this fix
when I build?  

What's the best way to get this patch included in the official ebuild?

Thanks.

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: baselayout-1.12.5 sucks

2006-09-25 Thread David Relson
On Mon, 25 Sep 2006 09:58:46 +0200
Remy Blank wrote:

> Noack, Sebastian wrote:
> > The workaround is to hack /etc/init.d/checkroot to call `dmesg -n
> > 1` on startup, even though in /etc/conf.d/rc is a variable
> > RC_DMESG_LOGLEVEL which is set to "1" by default, but it doesn't
> > affect anything.
> 
> There is a typo in /etc/conf.d/rc, the variable should be called
> RC_DMESG_LEVEL (the comment in the file is correct).

Shouldn't a typo with conspicuous side effects be fixed by a
new release???

David

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [gentoo-user] Re: bus error during compilation of gcc

2013-04-22 Thread David Relson
On Sun, 21 Apr 2013 00:44:46 +0400
the guard wrote:

> 
> 
> 
> Суббота, 20 апреля 2013, 19:56 UTC от Grant Edwards
> :
> > On 2013-04-20, the guard  wrote:
> > 
> > > The package i decided to install required a gcc rebuild so I
> > > started rebuilding it and got a bus error. I've googled and found
> > > suggestions to lower makeopts, but it didn't help. 
> > 
> > Every time I've gotten bus errors when building things it turned out
> > to be a hardware problem.
> > 
> > Bad RAM, failing CPU, failing motherboard power supply capacitors,
> > bad disk controller card (obviously, that was a _long_ time ago).
> > 
> > If I were you, I'd start by running memtest86+ overnight.
> > 
> > -- 
> > Grant
> > 
> > 
> > 
> > 
> > 
> memtest revealed nothing

We had an old QNX machine start giving bus errors during compilation of
a large application.  Running memtest (for approx 40 hrs) showed
nothing, but a close visual examination of the motherboard showed
bulging capacitors, i.e. failing capacitors.



Re: [gentoo-user] Gcc compiling, is this normal?

2013-05-12 Thread David Relson
On Sun, 12 May 2013 23:27:48 +0200
Alan McKinnon wrote:

> On 12/05/2013 23:16, Dale wrote:
> > Howdy,
> > 
> > I been noticing something weird when I upgrade gcc.  Is this normal?
> > 
> > root@fireball / # genlop -c
> > 
> >  Currently merging 2 out of 5
> > 
> >  * sys-devel/gcc-4.4.7
> > 
> >current merge time: 6 seconds.
> >ETA: 24 minutes and 27 seconds.
> > 
> >  Currently merging 3 out of 5
> > 
> >  * net-misc/curl-7.30.0
> > 
> >current merge time: 7 seconds.
> >ETA: 18 minutes and 50 seconds.
> > 
> >  Currently merging 2 out of 5
> > 
> >  * sys-devel/gcc-4.4.7
> > 
> >current merge time: 7 seconds.
> >ETA: 21 minutes and 14 seconds.
> > root@fireball / #
> > 
> > 
> > I'm not worried about curl.  It just happened to be there.  This is
> > the list of packages it is supposed to update:
> > 
> > root@fireball / # emerge -uvaDN world
> > 
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies... done!
> > [ebuild   R] sys-devel/gcc-4.5.4:4.5  USE="gtk mudflap
> > (multilib) nls nptl openmp (-altivec) -cxx -doc (-fixed-point)
> > -fortran -gcj (-hardened) (-libssp) -lto -multislot -nopie -nossp
> > -objc -objc++ -objc-gc {-test} -vanilla (-graphite%)" 0 kB
> > [ebuild   R] sys-devel/gcc-4.4.7:4.4  USE="gtk mudflap
> > (multilib) nls nptl openmp (-altivec) -cxx -doc (-fixed-point)
> > -fortran -gcj (-hardened) (-libssp) -multislot -nopie -nossp -objc
> > -objc++ -objc-gc {-test} -vanilla (-graphite%)" 0 kB
> > [ebuild U  ] net-misc/curl-7.30.0 [7.29.0-r1] USE="ipv6 ssl
> > threads -adns -idn -kerberos -ldap -metalink -rtmp -ssh
> > -static-libs {-test}" CURL_SSL="openssl -axtls -cyassl -gnutls -nss
> > -polarssl" 0 kB [ebuild U  ] app-misc/tmux-1.8 [1.6]
> > USE="-vim-syntax" 0 kB [ebuild U ~]
> > kde-base/kdelibs-4.10.3-r2:4 [4.10.3:4] USE="3dnow alsa bzip2 fam
> > handbook jpeg2k lzma mmx nls opengl (policykit) semantic-desktop
> > spell sse sse2 ssl udev udisks upower zeroconf -acl (-altivec)
> > (-aqua) -debug -doc -kerberos -openexr {-test}" 0 kB
> > 
> > Total: 5 packages (3 upgrades, 2 reinstalls), Size of downloads: 0
> > kB
> > 
> > Would you like to merge these packages? [Yes/No] y
> > 
> > I noticed this one or twice before.  It is compiling the same
> > compiler version twice when it should be upgrading/recompiling two
> > *different* versions.  I read before that gcc compiles three times
> > or something but the thing is, it can compile for HOURS and never
> > finish.  Usually I stop it and restart emerge and it compiles as it
> > should, one for each version and finishes as it should time wise.
> > I once started the upgrade and went to take a nap.  I woke up
> > around 5 or 6 hours later to find gcc compiling twice on the same
> > version.  Even libreoffice only takes a hour or so. 
> > 
> > Anyone else see this before?   Now to go stop this one and get it to
> > update right and not take all week. 
> 
> What have you got in world for gcc?
> What's in make.conf?
> 
> gcc's build system does cause gcc tro be built three times[1], but
> that's internal to gcc and has nothing to do with portage. There
> should still only be one emerge for a SLOT. If it's doing the same
> package twice, then the files in /var/tmp/portage are liable to get
> continually clobbered and who knows what will happen.
> 
> 
> [1]  The logic goes something like this: it's a compiler, so the code
> it produces must be consistently identical for identical inputs. So,
> the current compiler builds gcc, giving version Y built by version X.
> That instance of gcc in turn builds a gcc, giving version Y built by
> version Y.

Haven't you left out the third compile?

Let me rephrase the 3 builds.

1) gcc-X builds gcc-Y giving gcc-Y1
2) gcc-Y1 builds gcc-Y giving gcc-Y2
3) gcc-Y2 builds gcc-Y giving gcc-Y3

gcc-Y1 and gcc-Y2 are likely to be different (since they were build by
gcc-X and gcc-Y which are likely to have optimizations).

gcc-Y2 and gcc-Y3 should be identical (since both were built by gcc-Y)

> Now you should have two copies of the same version of gcc, and they
> should be identical, plus the output code must also be identical. The
> gcc builds system checks for this by actually doing compiles and
> comparing the results. I've gotten a bit hazy on what specific bits
> actually do what, but that's the general concept. But all this
> rebuilding is internal and you only see it if you examine the console
> output scrolling by, it will never show up in any portage tools.
> 
> -- 
> Alan McKinnon
> alan.mckin...@gmail.com
> 



Re: [gentoo-user] {OT} backups... still backups....

2013-06-30 Thread David Relson
On Sun, 30 Jun 2013 01:11:35 -0700
Grant wrote:

> >> Can anyone think of an automated method that remotely and securely
> >> backs up data from one system to another, preserves permissions and
> >> ownership, and keeps the backups safe even if the backed-up system
> >> is compromised?
> >
> > app-backup/backuppc
> >
> > It uses hard links, but to save space, so all versions of all files
> > are kept for your entire history, but unchanged files are kept only
> > once, even if present on multiple targets.
> 
> Thank you for the recommendation.
> 
> How far would I have to open my systems in order for backuppc to
> function?
> 
> Can the web server reside on a different system than the backup
> server?
> 
> - Grant

I've been using backuppc since 2007 and am very happy with it.



Re: [gentoo-user] xscavenger - game

2013-07-05 Thread David Relson
On Fri, 5 Jul 2013 18:49:20 -0600
Joseph wrote:

> I installed "xscavenger" and it installed without any problems but I
> can seems to find this game anywhere. Yes, I'm in "games" group.
> 
> >From the command line:
> /usr/games/bin/scavenger
> -bash: /usr/games/bin/scavenger: Permission denied
> 
> /usr/games/bin/scavenger
> -rwxr-x--- 1 root games 70496 Jul  5 18:39 /usr/games/bin/scavenger
> 
> -- 
> Joseph

User root has permissions rwx.  Group games has permissions
r-x.  Everyone else has no access (permission ---).

You're getting "Permission denied" because you're not running as root and 
you're not a member
of group "games".

Regards,

David



<    1   2   3   4   >