Re: [gentoo-user] kernel 2.6.25-r6 oddities; is this kernel really ready for stable?

2008-07-24 Thread Vladimir G. Ivanovic

Kevin,

It's fruitless to argue with someone who uses crude swearwords --- a 
sign that they more interested in impact than in reason.


--- Vladimir

on 07/24/2008 09:06 AM Volker Armin Hemmann said the following:
it is not about minorities. It is about closed source crap. Nobody can fix 
that execpt vmware. Why should people suffer because vmware is slow?


--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Slow application start, LC_CTYPE and XCreateFontSet

2008-07-23 Thread Vladimir G. Ivanovic
Initially I had similar behavior as you, except that en_US.UTF-8 was 
faster and others slower (my laptop is a 1.8 GHz AMD64).


But, after repeated invocations of 'time xterm ...' all versions 
settled down to the same value: ~0.25 seconds.


Maybe you should post your question on some X-related mailing list.

--- Vladimir

on 07/21/2008 04:36 PM Zdenek Travnicek said the following:

Hello,

I've installed new laptop few weeks ago and everything is running fine 
except for all (most?) X applications taking few seconds to start.
I've tracked the problem down with ltrace to XCreateFontSet() call 
that blocks for more than 2 seconds.
Searching on google lead me some forums about problem with this call and 
UTF-8 encodings.
Further tests showed that the problem is related only to having locale 
set to en_US.UTF-8.

Setting locale to anything else seems to solve it (even en_US)

$ time LC_ALL=en_US.UTF-8 xterm -e echo
real0m2.422s
user0m0.010s
sys 0m0.012s

$ time LC_ALL=cs_CZ.UTF-8 xterm -e echo

real0m0.065s
user0m0.048s
sys 0m0.010s

That's probably the reason I never saw it before, I usually have some 
non-english locale on my system. (czech/japanese/russian, none of them 
affected)

Specificaly, it seems to be related to LC_CTYPE setting.

strace shows lots output similar to:
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, 
\1\0\212\0\0\0\0\0\0\0\351\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0, 
32) = 32
writev(3, [{1\1\t\0\1\0\32\0, 8}, {*-*-*-*-*-*-KSC5601.1987-0, 26}, 
{\0\0, 2}], 3) = 36
read(3, 0x7fff831995a0, 32) = -1 EAGAIN (Resource 
temporarily unavailable)



I tried to generate al locales with 'locale-gen -A' and to install some 
other fonts (to have the same font set as on other machine where it 
works fine) and nothing helped at all.


Any ideas how can I solve it?
Does it mean that I'm missing some fonts? Or something else? I'm running 
out of ideas what to try...



my X server is xorg-server-1.3.0.0-r6 compiled with USE: dri 
input_devices_joystick input_devices_keyboard input_devices_mouse 
input_devices_synaptics ipv6 nptl sdl video_cards_nv video_cards_nvidia 
video_cards_vesa xorg xprint

I generated all possible locales with locale-gen -A
I use fluxbox-1.0.0-r2

Any help is greatly appreciated

Zdenek Travnicek



--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Gentoo laptop issues

2008-07-23 Thread Vladimir G. Ivanovic

My dmesg has this:

ACPI: Thermal Zone [THRM] (39 C)

and then there's

acpitool- a Linux ACPI client, allowing you to query or set ACPI values

Running 'acpitool -t' returns:
  Thermal zone 1 : ok, 61 C
  Trip points :
  -
  critical (S5):   100 C

--- Vladimir

on 07/21/2008 03:07 PM list-catcher said the following:

The most important of the problems involves the fan.  The laptop gets a
whole lot hotter using linux while compiling than it did using vista while
compiling which implies that there is some fan control missing from my
install.  What sort of ebuilds/apps should I be looking at to solve the
problem?



After further investigation of the above with the helpful hint of checking
out 'fancontrol' apparently my laptop contains no pwm capable chips.  Now
I suspect this is highly unlikely as the fan speed does indeed change
under vista.  I wonder then if it's just not detecting the chip.  Anyone
know of a utility or way to find my chip?




--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] revdep-rebuild now very very fast

2008-07-23 Thread Vladimir G. Ivanovic

on 07/19/2008 02:28 AM Volker Armin Hemmann said the following:

On Samstag, 19. Juli 2008, Alan McKinnon wrote:

Hi all,

revdep-rebuild now runs amazingly fast on my machine - 18 seconds as
opposed to the 5 minutes or so it used to take !

I see gentoolkit was updated recently. Is this expected behaviour?



or you are a victim of that new preserved-libs stuff in portage 


s/victim/beneficiary/

That preserved-lib stuff has worked just fine for me. It's useful to 
know what needs to be rebuilt, then to be able to rebuild just those 
packages.


--- Vladimir

--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Firefox is currently in offline mode and can't browse the Web

2008-07-23 Thread Vladimir G. Ivanovic

This also seemed to work:


--- /etc/dbus-1/system.d/NetworkManager.conf.~1~	2008-07-11 
06:14:13.0 -0700
+++ /etc/dbus-1/system.d/NetworkManager.conf	2008-07-14 
22:59:22.0 -0700

@@ -15,7 +15,7 @@
 policy context=default
 allow own=org.freedesktop.NetworkManager/
 allow 
send_destination=org.freedesktop.NetworkManager/

-allow send_interface=org.freedesktop.NetworkManager/
+		deny send_interface=org.freedesktop.NetworkManager 
send_member=state/

 /policy

 limit name=max_replies_per_connection512/limit

Given the huge amount of negative reaction to this feature 
especially on Ubuntu forums, I hope that it'll be backed out for *all* 
applications.


--- Vladimir

on 07/17/2008 08:17 AM Alan McKinnon said the following:

On Wednesday 16 July 2008, Miernik wrote:

I installed a new Gentoo installation, and now when I open Firefox I
get:


Firefox is currently in offline mode and can't browse the Web.


This looks like a bug fixed in 3.0.1 - released just today





--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] revdep-rebuild now very very fast

2008-07-23 Thread Vladimir G. Ivanovic

http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features.html

and

http://blog.flameeyes.eu/articles/2008/06/30/a-few-risks-i-see-related-to-the-new-portage-2-2-preserve-libs-behaviour
http://blog.flameeyes.eu/articles/2008/07/22/the-odyssey-of-preserved-libs-feature

Google (for now) is your friend.

--- Vladimir

on 07/23/2008 09:04 AM Andrew Gaydenko said the following:

=== On Wednesday 23 July 2008, Vladimir G. Ivanovic wrote: ===

on 07/19/2008 02:28 AM Volker Armin Hemmann said the following:

On Samstag, 19. Juli 2008, Alan McKinnon wrote:

Hi all,

revdep-rebuild now runs amazingly fast on my machine - 18 seconds as
opposed to the 5 minutes or so it used to take !

I see gentoolkit was updated recently. Is this expected behaviour?

or you are a victim of that new preserved-libs stuff in portage 


Is there somewhere some information about this preserved-libs? Wiki has 
not found anything.




s/victim/beneficiary/

That preserved-lib stuff has worked just fine for me. It's useful to
know what needs to be rebuilt, then to be able to rebuild just those
packages.

--- Vladimir





--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] libselinux.so.1 dependency problems

2008-07-08 Thread Vladimir G. Ivanovic

Andreas,

Thanks very much for the information.

Yes! I do seem to have *.la files with -lselinux in them. It looks 
like I'm going to have to do some purging and re-emerging to fix things.


Thanks again.

--- Vladimir

on 07/07/2008 04:49 PM Andreas Niederl said the following:

Hi,

Vladimir G. Ivanovic wrote:
[...]
It turns out that many, many executables require libselinux.so.1, 
despite what the documentation of --depclean in man emerge says 
(or what I think it says -- is this a bug or operator error?)


Sadly sys-apps/coreutils is one of them.
Recent versions - including stable - do an autodetection for libselinux 
and link against it even when emerged with USE=-selinux[1].


This should be no problem for systems which never saw libselinux (i.e. 
installed from 2008.0) but unmerging this library on older systems can 
be quite problematic.



I cobbled together a system that limps along thanks to the 2008.0 
beta   LiveCD (which does not depend on libselinux.so.1), but I am 
unable to emerge a large number of packages that seem to silently 
depend on libselinux.so.1: the ebuilds fail when ld cannot find 
-lselinux.

[...]
What gives? Where does the -lselinux come from? How can I get rid 
of   this maddening dependency?


I think that libtool is the main offender here.
At least on my system somehow '-lselinux' made its way into a bunch of 
.la files and provoked these errors.


So I searched for the packages with broken libtool archive files and 
manually emerged them (with --oneshot).
I figured out the correct order by using the trial-and-error method but 
you could do something like the get_build_order() function in the 
revdep-rebuild script.


The command I've used for searching is as follows (requires 
app-portage/portage-utils):

grep -l -r --include='*.la' selinux /usr/lib | qfile --nocolor -f - | \
cut -d' ' -f 1 | sort | uniq

Another way might be to look at the line before the error message and 
rebuild the package containing the library right before the '-lselinux' 
flag.



hth,
Andi

[1] http://bugs.gentoo.org/show_bug.cgi?id=230073


--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


[gentoo-user] libselinux.so.1 dependency problems

2008-07-06 Thread Vladimir G. Ivanovic
Since the package sys-libs/libselinux is masked --- at least on AMD64 
it is --- I ran


   emerge --depclean --verbose sys-libs/libselinux

and the only reverse dependency it reported was python-selinux. So I 
removed both packages and severely broke my system.


It turns out that many, many executables require libselinux.so.1, 
despite what the documentation of --depclean in man emerge says 
(or what I think it says -- is this a bug or operator error?)


I cobbled together a system that limps along thanks to the 2008.0 beta 
  LiveCD (which does not depend on libselinux.so.1), but I am unable 
to emerge a large number of packages that seem to silently depend on 
libselinux.so.1: the ebuilds fail when ld cannot find -lselinux.


I do not have USE=selinux anywhere, and I never have. There is no 
selinux in the output of emerge --info, and none of the build 
environment files I've checked contain selinux. libselinux.so.1 is 
not in directory in /etc/ld.so.conf.  Adding USE=-selinux on the 
command line or in /etc/make.conf does not make any difference.


revdep-rebuild lists 37 packages, in particular many GNOME packages, 
that depend on libselinux.so.1, but I don't seem to be able to 
re-emerge any of them.


I ran

for pkg in $(equery depends libselinux | cut -d' ' -f1); do
eix -e $(qatom ${pkg} | cut -d' ' -f2)
done

and every package shown that depends on libselinux has actually been 
installed with -selinux. (BTW, revdep-rebuild and equery depends 
don't agree on which packages depend on libselinux.so.1.)


What gives? Where does the -lselinux come from? How can I get rid of 
  this maddening dependency?


Thanks for any help.

BTW, as a temporary measure, I've created an empty libselinux.so.1 
that seems to satisfy ld.


--- Vladimir

--
Vladimir G. Ivanovic

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



Re: [gentoo-user] emerge @preserved-rebuild

2008-07-02 Thread Vladimir G. Ivanovic

on 06/27/2008 12:36 PM Zhang Le said the following:

On 13:18 Thu 26 Jun , Alan McKinnon wrote:
That info is still a bit skimpy though. Is there anything more 
somewhere? And what about FEATURES=preserve-libs, is that documented 
somewhere?


All you need to do is to run 'emerge @preserved-rebuild' when you are reminded
to.
If you want to know the background, take a look:
http://r0bertz.blogspot.com/2008/06/portage-22-preserve-libs-features.html


Thanks for the pointer.

I do have one additional question: What happens when a build in 
'emerge @preserve-rebuild' fails?


I'm assuming that 'emerge @preserve-rebuild' does something extra 
beyond a regular emerge, so I can't just 'emerge --skipfirst 
--resume'. If it only removes the listed, preserved libraries in 
addition to the emerge, then I can fix things up by hand by deleting 
the named libraries.


--- Vladimir

--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


[gentoo-user] rlocate bind

2008-02-09 Thread Vladimir G. Ivanovic
AFAICT, it's not possible to run rlocated and named  at the same time. 
Rlocated requires that the capabilities module *not* be loaded, and 
named requires the opposite.


Am I missing something?

--- Vladimir

--

Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] VM Ware or not?

2008-02-07 Thread Vladimir G. Ivanovic

on 02/05/2008 10:21 AM Neil Bothwick said the following:

On Wed, 30 Jan 2008 11:58:26 -0800, Vladimir G. Ivanovic wrote:

I cannot get bridged netwokring to work, no matter what I try. I have 
searched high and low for an answer, and I have spend hours 
experimenting. Bridged networking broke for me when 2.6.21 came out 
and has never worked since.


Is the host on a wired or wireless network? I found bridged wouldn't work
over wireless, so I use NAT on my laptop.


I don't know if this is relevant, but two things:

1. The VMware devices that are used are VMware Accelerated AMD PCNet 
Adapter #5 (for NAT on vmnet8) and VMware Accelerated AMD PCNet 
Adapter #4 (for eth0 on vmnet0). I wonder why they aren't assigned to 
adapters in the range 0-3?  I never see adapter #0 or #1, even when I 
use WinXP's Device Manager (with hidden devices visible).


2. There is a Gentoo directory called /etc/vmware/vmnet8, but no 
directory /etc/vmware0. Yes, the eth0 bridge is up:


$ ps -efww | fgrep bridge
  ==
root 30055  1  0 09:32 ? 00:00:00   \ 
/opt/vmware/workstation/bin/vmnet-bridge -d \ 
/var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0


/dev/vmnet0 exists and has the same owner and permissions as /dev/vmnet8.

--- Vladimir

--

Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] VM Ware or not?

2008-02-07 Thread Vladimir G. Ivanovic

on 02/05/2008 10:21 AM Neil Bothwick said the following:

On Wed, 30 Jan 2008 11:58:26 -0800, Vladimir G. Ivanovic wrote:

I cannot get bridged netwokring to work, no matter what I try. I have 
searched high and low for an answer, and I have spend hours 
experimenting. Bridged networking broke for me when 2.6.21 came out 
and has never worked since.


Is the host on a wired or wireless network? I found bridged wouldn't work
over wireless, so I use NAT on my laptop


I have both, but bridged networking (for me) works with neither. With 
eth0, I get a Limited Connectivity state in WinXP; with ath0 (D-Link 
DWL-G650 PC card) I get Disabled.


I recently tried the vanilla 2.6.23-14 vanilla sources to see if that 
made a difference, but it did not. Of course I used the same .config 
file that I am using for my gentoo-sources kernel.


If someone could send me their .config file for 
gentoo-sources-2.6.23-r6 that they use on a laptop, I'll give that it 
a try.


--- Vladimir

--

Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] VM Ware or not?

2008-02-07 Thread Vladimir G. Ivanovic

on 02/07/2008 11:56 AM Vladimir G. Ivanovic said the following:
2. There is a Gentoo directory called /etc/vmware/vmnet8, but no 
directory /etc/vmware0. Yes, the eth0 bridge is up:


should be
/etc/vmwware/vmnet0

--- Vladimir

--

Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] VM Ware or not?

2008-01-30 Thread Vladimir G. Ivanovic

on 01/29/2008 12:28 PM Ricardo Saffi Marques said the following:
On 1/29/08, *Neil Bothwick* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


That's not the case with VMware Workstation.


Exactly. That's exactly the point that I forgot to specify on my 1st 
message, hehehee. That's basically the main difference between them.


AFAICT, the use pattern for the two is different: The VMware 
Workstation user is expect to work primarily with the unemulated host 
OS and only secondarily with the emulated guest OS, whereas the VMware 
Server user is expected to work (exclusively?) with an emulated OS.


This means that most of the time the VMware Server user is running an 
application on an OS that itself is running on anther OS, whereas the 
VMware Workstation user is just running an application on an OS.


--- Vladimir



--
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com



--

Vladimir G. Ivanovic



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] VM Ware or not?

2008-01-30 Thread Vladimir G. Ivanovic

on 01/29/2008 02:02 PM Neil Bothwick said the following:

On Tue, 29 Jan 2008 16:21:36 -0500, Jerry McBride wrote:


Also, vmware does not currently run on the most recent kernels.


It's working on 2.6.23 and 2.6.24 here.




I cannot get bridged netwokring to work, no matter what I try. I have 
searched high and low for an answer, and I have spend hours 
experimenting. Bridged networking broke for me when 2.6.21 came out 
and has never worked since.


Now nothing except NAT and host-only networking works. So, until this 
bridged networking is fixed, I cannot recommend VMware Workstation to 
anyone.


--- Vladimir

--

Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How to tell portage about manual builds

2007-12-09 Thread Vladimir G. Ivanovic
on 12/07/2007 07:30 PM Mark Shields said the following:
 man portage
 
 snip
 package.provided
 A list of packages (one per  line)  that  portage should
 assume  have  been  provided.  

My impression is that /etc/portage/package.provided is ignored.

If I execute

  # strace -Ff -e trace=open emerge -DpvuN world 21 \
  | fgrep /etc/portage

package.provided never shows up as having been opened.

Also, entries that I have made in package.provided don't seem to
affect ebuilds.

--- Vladimir

-- 

Vladimir G. Ivanovic
+1 650 450 4101




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gcc 4.2 and Core 2 Duo

2007-07-20 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kenneth Prugh wrote:
 Andrew Gaydenko wrote:
 The question is: must I replace '-march=nocona' with '-mtune=native and 
 -march=native'?
 I have a Core2 Duo E6600 and use these CFLAGS with GCC 4.2:

 CFLAGS=-Os -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
 -msse2 -msse3

 Native works fine here.
 Kenneth, thanks! I'll try your flags-string. I hope, there aren't any
 resons to rebuld anything else after switching form 4.1.2 with curennt
 flags to 4.2.0 with youe flags. Is it true?
 
 Personally I rebuilt everything on my system because I wanted everything
 to be compiled under my shiny new toolchain. I accomplished it via this:
 
 # emerge -eav system
 # emerge -eav world
 
 However, I don't believe you _have_ to rebuild. GCC 4.1 and 4.2 should
 be binary compatible. I know that my GCC 4.1 LibTorrent works fine with
 a GCC 4.2 built rtorrent, so I would like to say it should work fine.
 

You, of course, remembered to change your default compiler with

   # gcc-config CHOST-gnu-4.2.0

before recompiling everything. (Run 'gcc-config' with no arguments for
more info.)

- --- Vladimir
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.5 (GNU/Linux)

iD8DBQFGoTGSEo/yvZUwubMRApXJAJ4oTGTglnyFwwESe3XmY6vEUemq6wCfdLhU
+CgZTtunvWDOY7pVGWltwik=
=zs86
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gcc 4.2 and Core 2 Duo

2007-07-20 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kenneth Prugh wrote:
 Vladimir G. Ivanovic wrote:
 snip
 You, of course, remembered to change your default compiler with

# gcc-config CHOST-gnu-4.2.0

 before recompiling everything. (Run 'gcc-config' with no arguments for
 more info.)

 --- Vladimir
 
 Yep. I've also seen that with march/mtune set to native, GCC 4.1.2 fails
 to compile anything (here at least), so it's a bit hard to make that
 mistake.
 

Duh. I should have realized that native had no chance of working on
any version prior to 4.2.0 and so my reminder wasn't needed.

- --- Vladimir
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.5 (GNU/Linux)

iD8DBQFGoX4FEo/yvZUwubMRAgkFAJ9wHxdGjV5Adstc91/V+Kp0PuuPOACfaLO1
E7yfaY4cgD6tQ5hVklrFU44=
=hN1b
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Thunderbird 2.0 browser fonts are tiny

2007-04-22 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Pielmeier wrote:
 
 Since upgrading to Thunderbird 2.0.0.0, the browser font used to
 display trees (folders, message lists) is tiny, so tiny that (a) I
 have difficulty reading it, and (b) nothing is rendered in bold.

 How can I change the size of the fonts in Thunderbird's browser?
   ^^^
 Go to Edit - Preferences - Go To Tab Display - Go To Tab Formatting
 - Fonts  Encoding

I know how to change the font and size of the message contents. I was
asking how to change the font size of the *browser*.

 Here you can edit your message fonts. You can also specify a minimum
 font size, which is probably what you want.
 
 Im don't no if this works for the account-trees too.

It does not.

- --- Vladimir

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGK4MyEo/yvZUwubMRAvCtAKCrshD//CK6Fp/3CIdLVvLfht74LgCgp2+6
7ZiASYxNo92OLHgmofzcEN8=
=0RI1
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Thunderbird 2.0 browser fonts are tiny

2007-04-22 Thread Vladimir G. Ivanovic

Arturo 'Buanzo' Busleiman wrote:

I usually set the xorg.conf option DPI under my Device Section. Usually helps.


This affects *all* other X applications, so it's probably a last resort.

FYI: thunderbird-bin 2.0.0.0 has normal-sized fonts.

--- Vladimir
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Thunderbird 2.0 browser fonts are tiny

2007-04-21 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Since upgrading to Thunderbird 2.0.0.0, the browser font used to
display trees (folders, message lists) is tiny, so tiny that (a) I
have difficulty reading it, and (b) nothing is rendered in bold.

The docs speak of userChrome.css as the file (not present by default)
that allows one to modify the browser's appearance, but

  strace -fe trace=open /usr/bin/thunderbird 21 | \
fgrep userChrome.css

yields nothing; Thunderbird 2.0 apparently no longer uses userChrome.css.

How can I change the size of the fonts in Thunderbird's browser?

TIA.

- --- Vladimir
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGKu18Eo/yvZUwubMRAt2UAJ9xLk9XjC0BmrsKSM3eX+foiTtAdgCffcD/
sgfvVpn3DDoPSmFo+qEI238=
=uU8F
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT im more just curious

2007-04-20 Thread Vladimir G. Ivanovic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter Ruskin wrote:
 On Friday 13 April 2007, kashani wrote:
 [EMAIL PROTECTED] wrote:
 What is the average age of the gentoo user here?
 Looks like I'm coming in at the older end at 33.
 
 No danger of that - I'll be 70 this Christmas ;-)
 

Damn! I was hoping to be the oldest at 55. I seem to remember (Early
Onset Alzheimer's) Red Hat 0.9...

- --- Vladimir

- --

Vladimir G. Ivanovic
+1 650 678 8014

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFGKPGBEo/yvZUwubMRAgoIAKCnTQ8j2kvaoYpEzREZiWEiLPkr2ACdGPci
efP5bsHFjj/S31BH8Jv/nuQ=
=D8uS
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Open Office 2.0.4 and fonts

2007-02-07 Thread Vladimir G. Ivanovic

Adrian wrote:

Greetings;

I just upgraded Open Office from 2.0.3 to 2.0.4 (yes, I'm behind).

Now, I can't use any of the fonts other than the ones which come with
Open Office.  All my existing fonts which I added were being substituted
with other fonts.


Have you tried deleting ~/ooo-2.0/user/psprint/pspfontcache and then 
restarting OOO?


It's been a while since I fooled around with OOO fonts, so my memory 
is fuzzy. I seem to have convinced OOO to pick up 2745 fonts, judging 
from the length of pspfontcache. (More than ~3000 fonts and the 
startup times become unbearably long.)


I converted all my OpenType fonts to TrueType with the following script:

#! /bin/env fontforge
# Quick and dirty hack: converts a font to truetype (.ttf), works only 
# with one font.

# Use in a bash loop like this:
#for font in *.otf ; do
#   fontforge -script otf2ttf $font
#done
#
Print(Opening +$1);
Open($1);
Print(Saving +$1:r+.ttf);
Generate($1:r+.ttf);
Quit(0);

I believe that this script works with Type 1 (PostScript) fonts as 
well, despite what the comments say. (You'll have to change bash loop, 
though to pick up *.pfb or *.pfa??? files.)


Hope this helps...

--- Vladimir

 media-gfx/fontforge
 Available versions:  20050502 (~)20050624 (~)20060406 
(~)20060408 (~)20060703 20060703-r1 (~)20060822 (~)20061014 
(~)20061014-r1 (~)20061025 (~)20061220

 Installed versions:  Version: 20061220
  Date:01:16:42 12/26/06
  USE: X gif jpeg png svg -tiff truetype 
unicode

 Best versions/slot:  (~)20061220
 Homepage:http://fontforge.sourceforge.net/
 Description: postscript font editor and converter
 License: BSD

--

Vladimir G. Ivanovic
+1 650 678 8014
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SegFault while compiling gcc 4.1.1

2006-11-30 Thread Vladimir G. Ivanovic

Etaoin Shrdlu wrote:

On Thursday 30 November 2006 07:56, Vladimir G. Ivanovic wrote:


Let's take a poll.

1. Have you seen this error message in an emerge?


Yes, several times.


2. Have you subsequently identified a hardware problem, fixed the
hardware problem, and have not seen the message since?


Yes. 99% of the times it was bad RAM (verified with memtest86).
Of course, for trivial emerges a subsequent emerge completed fine, but 
the first failure put me on the alert.



3. Have you re-run the emerge and not seen the message in a while
(please indicate how long a while is.)


For me, a while is since fixing the hardware problem.


BTW, do you know portage/emerge/make/whatever knows that the problem
is not reproducible?


If, all other things being equal, a subsequent attempt at the same 
operation does not exhibit the problem, or fails differently, there's a 
good chance that the problem is not reproducible.


Interesting responses from 3 people. But ...

I have done nothing to my hardware and I've seen this error, oh, a 
half a dozen times, the last time 3 months (?) ago. I ran memtest when 
I installed new memory, and it did not report problems even when run 
for hours. And I do not get random segfaults with other programs. 
Finally, I don't think my hardware fixed itself.


Given all of this, my suspicion is that these errors are software 
bugs, not hardware problems.


The other thing that I don't really believe is the part about this 
bug not being reproducible as reported by portage/emerge/make/gcc. I 
don't recall any evidence that the emerge that actually tried the 
compilation again and /succeeded/. (Why then error out rather than 
print a warning message like, Compilation retry succeeded on 
subsequent attempt; hardware problem suspected.) So, my suspicion 
that the commentary is bogus; but I believe the part about internal 
compiler error: Segfault.


--- Vladimir


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SegFault while compiling gcc 4.1.1

2006-11-30 Thread Vladimir G. Ivanovic

Richard Fish wrote:

On 11/30/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:

I have done nothing to my hardware and I've seen this error, oh, a
half a dozen times, the last time 3 months (?) ago. I ran memtest when
I installed new memory, and it did not report problems even when run
for hours.


memtest is basically useless these days.  It can only tell you if you
have a bad memory cell, which almost never happens today.  Most memory
problems are the result of timing issues between the processor(s) and
DMA controllers.

This script [1] seems to be a much better memory test for modern
systems, although you may have to make some tweaks to run it on
Gentoo.


Just for kicks I'll run the script and see what happens.




And I do not get random segfaults with other programs.


Yes, compiling is very unique in this regard.  The memory access
pattern of a compiler, reading and writing to locations on different
rows, or even different modules, under high CPU load and using lots of
memory, with some IO thrown in for good measure, tends to reveal
hardware problems quite nicely.


Finally, I don't think my hardware fixed itself.

Given all of this, my suspicion is that these errors are software
bugs, not hardware problems.


For grins, here is part of comment #174:

Random segfaults during compilation. ... in general a sign of
hardware problems.

// No, this is in general a sign of GCC 4.1 - problem ;-)


If we were talking about a driver, or an event-based GUI program, I
might agree.  But a compiler is going to take the exact same actions
given the same input and options.  The compiler isn't going to do
something different between 2 different executions over the _exact_
same sources because it feels like it.


You're right at the logical level, but not at the physical level. 
Cache effects and different disk accesses are two physical differences 
that spring to mind. Temporary files will be in different physical 
sectors, or in the buffer cache or not; directories may or may not be 
in the directory cache. Depending on what else is running, the pattern 
of cache misses will be different.


I emerge with -j2. Plus I'm doing work while the emerges happen. The 
likelihood of the memory access pattern of two compiles being the same 
is precisely zero.






The other thing that I don't really believe is the part about this
bug not being reproducible as reported by portage/emerge/make/gcc.


Then you should read the gcc sources.  One of the patches applied by
Gentoo adds a retry loop when the compiler is about to exit with an
internal compiler error (ICE).  It retries the compile twice, and if
either of those succeeds, you get the The bug is not reproducible
message.  


Interesting. I did not know that. But I don't get why gcc exits with 
an error when the second (or third) try succeeds? Why not just print a 
warning, perhaps at the end so it is noticeable? Most people will 
restart the entire emerge, which seems like a gargantuan amount of 
wasted effort since the re-compilation has succeeded.



It doesn't output anything because that would possibly
obscure the original error.

The gentoo devs probably added this loop to avoid more duplicates of [2].

-Richard

[1] http://people.redhat.com/dledford/memtest.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=20600


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] HDD I/O and UI responsiveness

2006-11-29 Thread Vladimir G. Ivanovic

Boyd Stephen Smith Jr. wrote:
On Tuesday 28 November 2006 17:45, Dale [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] [OT] HDD I/O and UI responsiveness':

I read somewhere that they are trying to 'nice' the drive usage like
they do the CPU.  That may help if you can find it and enable it.  I
think it is in some of the very new kernels if I read it correctly.
Sorry, I didn't bookmark it.   slaps hand 


There's the ionice utility provided by...
Running equery
...sys-process/schedutils.


Isn't this just masking the problem?

I don't see the CPU pegged, so why should other applications be 
unresponsive?


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



Re: [gentoo-user] SegFault while compiling gcc 4.1.1

2006-11-29 Thread Vladimir G. Ivanovic

Etaoin Shrdlu wrote:

On Thursday 23 November 2006 14:39, Leandro Melo de Sales wrote:

The bug is not reproducible, so it is likely a hardware or OS problem.

   ^

As the message says, you might have a hardware problem (usually bad RAM 
or CPU). 


My experience has been that it NEVER is a hardware problem. The next 
emerge of the same package always completes successfully.


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



Re: [gentoo-user] SegFault while compiling gcc 4.1.1

2006-11-29 Thread Vladimir G. Ivanovic

Raymond Lewis Rebbeck wrote:

On Thursday, 30 November 2006 16:16, Vladimir G. Ivanovic wrote:

Etaoin Shrdlu wrote:

On Thursday 23 November 2006 14:39, Leandro Melo de Sales wrote:

The bug is not reproducible, so it is likely a hardware or OS problem.

   ^

As the message says, you might have a hardware problem (usually bad RAM
or CPU).

My experience has been that it NEVER is a hardware problem. The next
emerge of the same package always completes successfully.



That behaviour usually indicates a hardware problem. Random unexplainable 
segfaults that you can't reproduce.


Let's take a poll.

1. Have you seen this error message in an emerge?
2. Have you subsequently identified a hardware problem, fixed the
   hardware problem, and have not seen the message since?
3. Have you re-run the emerge and not seen the message in a while
   (please indicate how long a while is.)

For me, the answers are:
1. Yes
2. No
3. Yes (~months)

BTW, do you know portage/emerge/make/whatever knows that the problem 
is not reproducible?


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



Re: [gentoo-user] gnome-base/gnome-libs-1.4.2 masked?

2006-11-19 Thread Vladimir G. Ivanovic
On Sun, 2006-11-19 at 00:36 -0700, Richard Fish wrote:
 Do you actually use them?  If not, why do you care?

No and maybe. I don't use gtkdiff, so I obviously don't care, but a lot
of the packages contain libraries. I don't know if I use them or not. Is
there an automated way of dealing with the package removal of
gnome-libs? Or is every user expected to go through the list of package
dependencies (direct and indirect), examine them, and make a decision
for each package?

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome-base/gnome-libs-1.2 masked?

2006-11-18 Thread Vladimir G. Ivanovic
When I run 'emerge -Davu world' I get this message (and the emerge
fails):

!!! All ebuilds that could satisfy gnome-base/gnome-libs have
been masked.
!!! One of the following masked packages is required to complete
your request:
- gnome-base/gnome-libs-1.4.2 (masked by: package.mask)
# Saleem Abdulrasool [EMAIL PROTECTED] (16 Nov 2006)
# GNOME 1.x Removal Mask (15 Dec 2006)

I assume that this means gnome-libs-1.4.2 is going to be removed in one
month. but lots of packages directly depend on gnome-libs:

# equery depends gnome-base/gnome-libs
[ Searching for packages depending on gnome-base/gnome-libs... ]
x11-misc/gtkdiff-1.8.0-r2
gnome-base/gnome-vfs-1.0.5-r4
gnome-base/gnome-print-0.37
gnome-base/libglade-0.17-r6
app-misc/gfontview-0.5.0-r6
gnome-extra/guppi-0.40.3-r3
dev-perl/gtk-perl-glade-0.7008-r1
dev-perl/gtk-perl-0.7009-r2
media-libs/gdk-pixbuf-0.22.0-r5
dev-db/unixODBC-2.2.11-r1

Some of these packages have alternate version, what about the others?
Have those packages been made instantly obsolete? What exactl are users
supposed to do? I could find no guidance on the official Gentoo site,
nor on the Gentoo Wiki.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-base/gnome-libs-1.4.2 masked?

2006-11-18 Thread Vladimir G. Ivanovic
[Subject corrected to gnome-base/gnome-libs-1.4.2 masked?]

--- Vladimir

On Sat, 2006-11-18 at 21:28 -0800, Vladimir G. Ivanovic wrote:
 When I run 'emerge -Davu world' I get this message (and the emerge
 fails):
 
 !!! All ebuilds that could satisfy gnome-base/gnome-libs have
 been masked.
 !!! One of the following masked packages is required to complete
 your request:
 - gnome-base/gnome-libs-1.4.2 (masked by: package.mask)
 # Saleem Abdulrasool [EMAIL PROTECTED] (16 Nov 2006)
 # GNOME 1.x Removal Mask (15 Dec 2006)
 
 I assume that this means gnome-libs-1.4.2 is going to be removed in one
 month. but lots of packages directly depend on gnome-libs:
 
 # equery depends gnome-base/gnome-libs
 [ Searching for packages depending on gnome-base/gnome-libs... ]
 x11-misc/gtkdiff-1.8.0-r2
 gnome-base/gnome-vfs-1.0.5-r4
 gnome-base/gnome-print-0.37
 gnome-base/libglade-0.17-r6
 app-misc/gfontview-0.5.0-r6
 gnome-extra/guppi-0.40.3-r3
 dev-perl/gtk-perl-glade-0.7008-r1
 dev-perl/gtk-perl-0.7009-r2
 media-libs/gdk-pixbuf-0.22.0-r5
 dev-db/unixODBC-2.2.11-r1
 
 Some of these packages have alternate version, what about the others?
 Have those packages been made instantly obsolete? What exactl are users
 supposed to do? I could find no guidance on the official Gentoo site,
 nor on the Gentoo Wiki.
 
 --- Vladimir
 
 -- 
 Vladimir G. Ivanovic [EMAIL PROTECTED]
 
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] parrot openoffice failures

2006-11-08 Thread Vladimir G. Ivanovic
Both parrot-0.4.6  openoffice-2.0.4 (on AMD64) fail to run because they
are linked to *.so.34 versions of libraries in dev-libs/icu-3.4.1. The
current version is 3.6 with *.so.36 libraries.

Is this a bug? If it is a bug, is it a bug against parrot  openoffice,
icu or portage?

BTW, re-emerging parrot fixed parrot's problem, and I have  5 hours, 31
minutes and 40 seconds before I can tell you if it fixed openoffice's
problem (I'm assuming it will).

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] parrot openoffice failures

2006-11-08 Thread Vladimir G. Ivanovic
On Wed, 2006-11-08 at 10:04 -0700, Richard Fish wrote: 
 On 11/8/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
  Both parrot-0.4.6  openoffice-2.0.4 (on AMD64) fail to run because they
  are linked to *.so.34 versions of libraries in dev-libs/icu-3.4.1. The
  current version is 3.6 with *.so.36 libraries.
 
  Is this a bug? If it is a bug, is it a bug against parrot  openoffice,
  icu or portage?
 
 No, not a bug.  This is quite normal when updating libraries on gentoo
 that some applications end up with broken dependencies.  You should
 usually follow world updates with revdep-rebuild to ensure that any
 broken library dependencies get rebuilt.

Hmmm, I thought that portage handled dependencies automatically.

The other thing I don't understand is why parrot and openoffice failed
in the first place. Aren't they're linked against, for example,
libicule.so? I thought the whole point of making  libicule.so a symlink
to the actual library was to allow transparent library upgrades
(provided the entry points don't change).

 
  BTW, re-emerging parrot fixed parrot's problem, and I have  5 hours, 31
  minutes and 40 seconds before I can tell you if it fixed openoffice's
  problem (I'm assuming it will).
 
 Now if openoffice fails to build against the new icu, then _that_ is a bug. 
 :-)

Openoffice build successfully.

 
 -Richard
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Mail system recommendations

2006-11-08 Thread Vladimir G. Ivanovic
On Wed, 2006-11-08 at 18:30 -0600, [EMAIL PROTECTED] wrote:
 Michael Crute [EMAIL PROTECTED] writes:
 
  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.
 
 Your setups sound pretty similar to mine and I'll tell you that I've
 several times attempted to switch ... I tried exim, postfix and
 something else I've since forgotten.

I've looked at postfix  qmail only.

 
 Each time I returned to sendmail and have decided each time that
 sendmail actually has the best and most complete documentation.

Ditto.

 
 It can be aggravating from time to time.  My biggest trouble is
 forgetting all I ever learned each time I need it again.

Ditto.

 
 I'd stick with sendmail if I were you.  Its usually something kind of
 minor once you find the problem.
 
 Sendmail is by far the most versatile of them all.
 
 Spend some time learning the various tests one can run with sendmail
 and you may be able to fix things yourself more often.
 
 I'd also suggest posting whatever problem is bothering you on 
 comp.mail.sendmail newsgroup.
 
 There is lots of expert help available there and a thorough search of
 its archives can sometimes do the job without posting.
 
 -- 
 Just my .02.
 
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] parrot openoffice failures

2006-11-08 Thread Vladimir G. Ivanovic
Thanks for taking the time to explain.

--- Vladimir

On Wed, 2006-11-08 at 18:47 -0700, Richard Fish wrote:
 On 11/8/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
  On Wed, 2006-11-08 at 10:04 -0700, Richard Fish wrote:
   On 11/8/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
Both parrot-0.4.6  openoffice-2.0.4 (on AMD64) fail to run because they
are linked to *.so.34 versions of libraries in dev-libs/icu-3.4.1. The
current version is 3.6 with *.so.36 libraries.
   
Is this a bug? If it is a bug, is it a bug against parrot  openoffice,
icu or portage?
  
   No, not a bug.  This is quite normal when updating libraries on gentoo
   that some applications end up with broken dependencies.  You should
   usually follow world updates with revdep-rebuild to ensure that any
   broken library dependencies get rebuilt.
 
  Hmmm, I thought that portage handled dependencies automatically.
 
 Not reverse library dependencies.  Portage handles the case where you
 install pkg a that depends on libraries from pkg b.  It does not
 handle rebuilding a when b is updated to a new (major) version.
 
 It can also use slots to keep old and incompatible versions of a
 library around...for example for gtk1 vs gtk2 apps.
 
  The other thing I don't understand is why parrot and openoffice failed
  in the first place. Aren't they're linked against, for example,
  libicule.so? I thought the whole point of making  libicule.so a symlink
  to the actual library was to allow transparent library upgrades
  (provided the entry points don't change).
 
 Key statement: provided the entry points don't change.  The standard
 convention is to link against the major version of a library, i.e.
 libstdc++.so.6 instead of libstdc++.so when given -lstdc++.  This is
 because the normal convention is that incompatible library versions
 (fex, changes to a function arguments) require a  change in the
 library major number.  It is not uncommon to have two major versions
 of a library installed...you can easily have something like qt3
 (libqt-mt.so.3) and qt4 (libqt-mt.so.4) at the same time with some
 applications that need one version and some that need the other.
 
 Minor library updates (those update the Y or Z components of
 libfoo.so.X.Y.Z) work as you describe...allowing a transparent upgrade
 of the library.
 
 BTW, this behavior is defined not by the linker itself, but by the
 actual libraries.  When creating a shared library, the developer uses
 the -soname option to define what actual library name should be linked
 against, rather than what was specified on the linker command line.
 
 Thus, the libfoo.so link usually only serves to tell the linker what
 major library version to link with by default.
 
 -Richard
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] X server runs out of file descriptors

2006-11-06 Thread Vladimir G. Ivanovic
My X server (xorg-server-1.1.1-r1; USE flags below) churns through file
descriptors at the rate of ~15/hour (on AMD64). Eventually, it reaches
the 255 open file limit and I can no longer open any new windows. 

A snippet from ls -l /proc/X pid/fd:

  lrwx-- 1 root root 64 Nov  6 18:41 126 - socket:[1408395]
  lrwx-- 1 root root 64 Nov  6 18:41 127 - socket:[1408397]
  lrwx-- 1 root root 64 Nov  6 18:41 128 - socket:[1408400]

A snippet from lsof -c X:

  X 14872 root  126u  unix 0x81002ed46b80 1408395 /tmp/.X11-unix/X0
  X 14872 root  127u  unix 0x81002ed47680 1408397 /tmp/.X11-unix/X0
  X 14872 root  128u  unix 0x81002ed47100 1408400 /tmp/.X11-unix/X0

This is new (a few days old) behavior.

Any ideas on how I should go about figuring out why this is happening?

Thanks.

 Vladimir


-3dfx -aiglx -debug -dmx dri -input_devices_acecad -input_devices_aiptek
-input_devices_calcomp -input_devices_citron -input_devices_digitaledge
-input_devices_dmc -input_devices_dynapro -input_devices_elo2300
-input_devices_elographics input_devices_evdev -input_devices_fpit
-input_devices_hyperpen -input_devices_jamstudio -input_devices_joystick
input_devices_keyboard -input_devices_magellan -input_devices_microtouch
input_devices_mouse -input_devices_mutouch -input_devices_palmax
-input_devices_penmount -input_devices_spaceorb -input_devices_summa
-input_devices_synaptics -input_devices_tek4957 -input_devices_ur98
-input_devices_vmmouse -input_devices_void -input_devices_wacom ipv6
-kdrive -minimal nptl sdl video_cards_apm video_cards_ark
video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
-video_cards_epson video_cards_fbdev -video_cards_fglrx
video_cards_glint video_cards_i128 -video_cards_i740 video_cards_i810
-video_cards_impact -video_cards_imstt -video_cards_mach64
video_cards_mga video_cards_neomagic -video_cards_newport
-video_cards_nsc video_cards_nv -video_cards_nvidia -video_cards_r128
-video_cards_radeon video_cards_rendition video_cards_s3
video_cards_s3virge video_cards_savage video_cards_siliconmotion
video_cards_sis video_cards_sisusb -video_cards_sunbw2
-video_cards_suncg14 -video_cards_suncg3 -video_cards_suncg6
-video_cards_sunffb -video_cards_sunleo -video_cards_suntcx
video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng
video_cards_v4l video_cards_vesa video_cards_vga video_cards_via
video_cards_vmware video_cards_voodoo xorg xprint

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] CPU percentage reported by gkrellm

2006-10-30 Thread Vladimir G. Ivanovic
I am puzzled why gkrellm does not always report 100% usage when I'm
running tasks that --- I assume --- always have at least one process in
the runnable state. I've never seen gkrellm pegged at 100%, even when I
run 3 or more emerges (with MAKEOPTS=-j2) at the same time. (I have a
single core Turion 64 processor.)

What happens is that gkrellm bounces between 99% and 100%. Does the
processor really go idle several times a second? Or is this an artifact
of, say, the way I/O processing is reported? 

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xyz.la seems to be moved message

2006-10-24 Thread Vladimir G. Ivanovic
On Tue, 2006-10-24 at 11:24 -0500, Michael Sullivan wrote:
 On Tue, 2006-10-24 at 17:31 +0200, Fabrice Delliaux wrote:
  Hi,
  
  Explanation  patch here :
  
  http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
 
 I saved the patch at the above link to /root/libtool.patch, but I can't
 figure out how to use it.  

Here's what I did:

 1. cd /usr/portage/sys-devel/libtool/files/
 2. mkdir 1.5.22
 3. cd 1.5.22
 4. Create libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch
with contents: 

--- libtool-1.5.22/ltmain.in.~1~ 2006-10-24 12:54:00.0 -0700
+++ libtool-1.5.22/ltmain.in2006-10-24 12:55:16.0 -0700
@@ -2920,7 +2920,11 @@
exit $EXIT_FAILURE
  fi
  if test $absdir != $libdir; then
-   $echo $modename: warning: \`$deplib' seems to be
moved 12
+ absdir2=`cd $absdir  pwd || echo $absdir`
+ libdir2=`cd $libdir  pwd || echo $libdir`
+ if test $absdir2 != $libdir2; then
+ $echo $modename: warning: \`$deplib' seems to
be moved from \`$libdir' to \`$absdir' 12
+ fi
  fi
  path=$absdir
fi

  5. cd ..
  6. Apply the following patch:

--- libtool-1.5.22.ebuild.~1~   2006-10-17 03:06:30.0 -0700
+++ libtool-1.5.22.ebuild   2006-10-24 11:57:18.0 -0700
@@ -83,6 +83,10 @@
# [EMAIL PROTECTED] - (11 Feb 2004)
epatch
${FILESDIR}/1.5.20/${PN}-1.5.20-ltmain_sh-max_cmd_len.patch
 
+   # Get rid of false positive seems to be moved messages.
+   # http://www.mail-archive.com/bug-libtool@gnu.org/msg00838.html
+   epatch
${FILESDIR}/1.5.22/libtool-1.5.22-ltmain.sh-seems-to-be-moved.patch
+
# Libtool's autoguessing at tag's sucks ... it get's confused 
# if the tag's CC says 'CHOST-gcc' and the env CC says 'gcc'
# or vice versa ... newer automakes specify the tag so no

  7. ebuild libtool-1.5.22.ebuild digest
  8. emerge -av --with-bdeps y =libtool-1.5.22

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome exit clean

2006-10-17 Thread Vladimir G. Ivanovic
On Wed, 2006-10-11 at 10:51 -0300, Arturo 'Buanzo' Busleiman wrote:

 Shaochun Wang wrote:
  It's /etc/X11/gdm/PostSession
 
 And I was mistaken, after all! :) So good for the find command :P

If you know the file or directory name (or even part of it), rlocate is
much, much, much faster than trying to 'find' the file.

--- Vladimir
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Time Machine and Spaces in Apple OS X 10.5 Leopard

2006-08-08 Thread Vladimir G. Ivanovic
http://dailytech.com/article.aspx?newsid=3694

What would be really, really nice is a Gentoo system with a virtual OS X
10.5 system running in it, but I haven't seen any supported
virtualization products for OS X.

--- Vladimir 
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-29 Thread Vladimir G. Ivanovic
If you run 

emerge -av --noreplace

on all the packages that

emerge -av --depclean

wants to clean, then depclean will no longer complain.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't recompile vmware modules

2006-07-24 Thread Vladimir G. Ivanovic
On Sun, 2006-07-23 at 22:39 -0700, Richard Fish wrote:
 On 7/22/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
  When I run vmware-config.pl, I get the following error:
 
  Building for VMware Workstation 5.5.x.
  Using 2.6.x kernel build system.
  make: Entering directory `/tmp/vmware-config0/vmmon-only'
  Makefile:127: *** Inappropriate build environment: you wanted to
  use gcc version  while kernel attempts to use gcc version 4.1.1.
 
 What is the output of:
 
 1. cat /proc/version
 2. gcc -v
 3. gcc-config -l

To me everything looks OK, but I'd love another set of eyes to look at
my setup.

--- Vladimir

$ cat /proc/version
Linux version 2.6.17-gentoo-r4 ([EMAIL PROTECTED]) (gcc version
4.1.1 (Gentoo 4.1.1)) #1 PREEMPT Sat Jul 22 15:13:47 PDT 2006
$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured
with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info

--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec 
--enable-nls --without-included-gettext --with-system-zlib --disable-checking 
--disable-werror --disable-libunwind-exceptions --enable-multilib 
--disable-libmudflap --disable-libssp --enable-java-awt=gtk 
--enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
$ gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   x86_64-pc-linux-gnu-3.4.6/x86-hardened
  [2]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopie
  [3]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednopiessp
  [4]   x86_64-pc-linux-gnu-3.4.6/x86-hardenednossp
  [5]   x86_64-pc-linux-gnu-3.4.6/x86-vanilla
  [6]   x86_64-pc-linux-gnu-4.1.1/x86-vanilla
Available compilers for CTARGET x86_64-pc-linux-gnu
  [7]   x86_64-pc-linux-gnu-3.4.6/amd64-hardened
  [8]   x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopie
  [9]   x86_64-pc-linux-gnu-3.4.6/amd64-hardenednopiessp
  [10]  x86_64-pc-linux-gnu-3.4.6/amd64-hardenednossp
  [11]  x86_64-pc-linux-gnu-3.4.6/amd64-vanilla
  [12]  x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

Activated profiles:
  i686-pc-linux-gnu
x86_64-pc-linux-gnu-4.1.1/x86-vanilla
  x86_64-pc-linux-gnu *
x86_64-pc-linux-gnu-4.1.1/amd64-vanilla

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Can't recompile vmware modules

2006-07-23 Thread Vladimir G. Ivanovic
On Sun, 2006-07-23 at 11:20 -0700, David Talkington wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Vladimir G. Ivanovic wrote:
 
  When I run vmware-config.pl, I get the following error:
 ...
  Has anyone else run into this kind of problem, and if so, how did you
  solve it?
 
 Make sure you're using the latest build of VMware Workstation. 
 Assuming that to be true, then this might help -- it solved a similar 
 build problem for me:
 
 http://www.vmware.com/community/thread.jspa?messageID=76957tstart=0
 

I am using the  latest version of VMware (5.5.1.19175) with the latest
update (101) applied.

BTW, I didn't mention that VMware workstation used to work with some
kernel version (later than 2.6.16), with gcc 4.1.1 and with some version
of binutils, coreutils, etc. Like an idiot, I didn't save the working
setup after I installed a new kernel, so I can't go back to a known,
working version.

--- Vladimir 
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't recompile vmware modules

2006-07-22 Thread Vladimir G. Ivanovic
When I run vmware-config.pl, I get the following error:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
Makefile:127: *** Inappropriate build environment: you wanted to
use gcc version  while kernel attempts to use gcc version 4.1.1.
Makefile:129: *** For proper build you'll have to
replace /usr/bin/gcc with symbolic link to .  Stop.
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

When I explicitly set the GCC version and then run vmware-config.pl with
VM_CCVER=4.1.1 vmware-config.pl, I successfully pass the GCC version
test, but then make can't find the target auto-build:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make: *** No rule to make target `auto-build'.  Stop.
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

Of course the target is there:

fgrep auto-build: /tmp/vmware-config0/vmmon-only/Makefile
auto-build: $(DRIVER_KO)

Falling back to an older version of gentoo-sources doesn't help. make,
perl, binutils and coreutils all seem OK.

Has anyone else run into this kind of problem, and if so, how did you
solve it?

Thanks.

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] qcheck output mystery

2006-07-22 Thread Vladimir G. Ivanovic
If I run qcheck on sys-devel/make, I get output like:

Checking sys-devel/make-3.81 ...
 AFK: /usr/lib/debug
 AFK: /usr/lib/debug/usr
 AFK: /usr/lib/debug/usr/bin
 AFK: /usr/lib/debug/usr/bin/gmake.debug
 MD5-DIGEST: /usr/bin/gmake

The MD5-DIGEST entry is due to prelinking the executable, but what does
AFK mean? (The paths listed are directories that do not exist.) 

Checking the sources, Luke, was unenlightening.

Thanks.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Questions on the number of packages listed by 'emerge --depclean'

2006-07-20 Thread Vladimir G. Ivanovic
When I run 'emerge --depclean' I get this at the end as output:

Packages installed:   2305
Packages in world:1762
Packages in system:   64
Unique package names: 2283
Required packages:2322

 1. It seems I'm missing 17 (2322 - 2305 = 17) packages. How can
find out the names of these packages?
 2. It seems that I have 479 (2305 - 1762 - 64 = 479) packages that
are in neither world nor system.
 A. What are the names of these packages?
 B. How did they get onto my system?
 3. It seems that I have 22 (2305 - 2283 = 22) packages that are
slotted. How can I check this?

Thanks.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Questions on the number of packages listed by 'emerge --depclean'

2006-07-20 Thread Vladimir G. Ivanovic
Paul,

Thanks for your help. One more question...

Does 'emerge --update --deep' look for updates to packages like, using
your example, pysol-sound-server, i.e. packages not in my world file?

--- Vladimir

On Thu, 2006-07-20 at 15:47 -0400, PaulNM wrote:
 They are dependencies of packages in your world file (world includes
 system). The only packages in world are those you specified on the
 command line.  Example: emerge pysol would emerge pysol and it's
 dependencies, like pysol-sound-server.  Only pysol will actually be in
 the world file.

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular xorg loses 4 characters

2006-07-06 Thread Vladimir G. Ivanovic
On Thu, 2006-07-06 at 17:56 +0100, Peter Ruskin wrote:
 Since upgrading to 7.0-r1 from 6.8 I've lost a few characters.  I 
 use xmodmap to get accented and other characters but four of those 
 characers are now missing:
 
   leftarrow, rightarrow, uparrow and downarrow.
 
 When typed they just show up as rectangles.  Anyone know how to fix 
 this?
 
FYI: I'm using xorg-x11-7.1 (AMD64) and xev reports

KeyPress event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157916474, (94,88),
root:(1150,115),
state 0x0, keycode 100 (keysym 0xff51, Left), same_screen
YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157916569, (94,88),
root:(1150,115),
state 0x0, keycode 100 (keysym 0xff51, Left), same_screen
YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157923720, (94,88),
root:(1150,115),
state 0x0, keycode 102 (keysym 0xff53, Right), same_screen
YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157923797, (94,88),
root:(1150,115),
state 0x0, keycode 102 (keysym 0xff53, Right), same_screen
YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157927242, (94,88),
root:(1150,115),
state 0x0, keycode 98 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157927338, (94,88),
root:(1150,115),
state 0x0, keycode 98 (keysym 0xff52, Up), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157928165, (94,88),
root:(1150,115),
state 0x0, keycode 104 (keysym 0xff54, Down), same_screen
YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0x121,
root 0x50, subw 0x0, time 1157928281, (94,88),
root:(1150,115),
state 0x0, keycode 104 (keysym 0xff54, Down), same_screen
YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-21 Thread Vladimir G. Ivanovic
On Wed, 2006-06-21 at 01:21 -0500, David Klempner wrote:
 * Vladimir G. Ivanovic [EMAIL PROTECTED] [2006-06-20 16:51]:
  I figured it out. The VMSPLIT options are *not* available on 64-bit
  systems. (Phew. It's neither encroaching madness nor Alzheimer's.)
 
 Yeah... I suppose I wasn't paying close enough attention to what you
 were saying. :-)

Well, it took way longer than I would have wished for me to catch on.
You'd think the total absence of any VMSPLIT options in *any* of my
saved config files would have been a sufficient hint, but no

 
 The VMSPLIT options are about how the kernel uses the 32 bit address
 space (specifically, what fraction of the address space of each process
 it reserves for its own use). A large portion of what a 64 bit system
 gets you is more than 32 bits worth of address space, so I'm fairly sure
 the entire issue is moot. :-)

You're most certainly right.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Gentoo on an AMD 64bit portable

2006-06-21 Thread Vladimir G. Ivanovic
On Fri, 2006-06-16 at 20:34 +, James wrote:
 Hello,
 
 I've seen snipits of various issues related to running gentoo on a 64 bit
 amd processor. In particular, I'd like to get a 'low power'
 chip such as the Turion in a portable. 

I have a Turion MT-32 laptop (ABS Mayhem F-15 A40 which is actually an
MSI-1011 and only sold by NewEgg for $900.)

 One of my concerns is whether to use
 32 bit or 64 bit Gentoo on a 64 bit AMD portable. Is there
 a document I can read somewhere that explains the merits
 and problems on how to set up Gentoo on a 64 bit machine?
 If not can somebody explain the caveats of 64 bit (amd) gentoo?
 I do not wish to be on the 'bleeding edge' of 64 bit AMD issues,
 but, I'd like to access the power. I'm running a variety of
 32 bit stable gentoo systems now, with relative ease.

I've basically had no problems running a 64-bit system other than the
well-known mplayer  flash-type problems, except when I go and try to
compile open source applications. Many make fundamental assumptions
about data layouts and sizes that are simply not true for 64-bit
systems.

BTW, I have had ACCEPT_KEYWORDS=~amd64 for months now without any
serious problems, although I do run into the occasional (non-essential)
package which won't compile. They are usually fixed (or a patch
provided) in a reasonable amount of time.

I'd unhesitantly run a 64-bit system on an AMD64 system again.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-20 Thread Vladimir G. Ivanovic
What are the names of the config options that change the memory split?
I'm running gentoo-sources-2.6.17, and for the life of me, I can't find
any config option that deal with memory (and I know they existed: I've
set them before.)

Thanks.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-20 Thread Vladimir G. Ivanovic
On Tue, 2006-06-20 at 14:05 -0500, David Klempner wrote:
 * Graham Murray [EMAIL PROTECTED] [2006-06-20 12:55]:
  Justin Piszcz [EMAIL PROTECTED] writes:
  
   # CONFIG_HIGHMEM64G is not set
   CONFIG_VMSPLIT_3G=y
   # CONFIG_VMSPLIT_3G_OPT is not set
   # CONFIG_VMSPLIT_2G is not set
   # CONFIG_VMSPLIT_1G is not set
   CONFIG_PAGE_OFFSET=0xC000
   CONFIG_HIGHMEM=y

I do not see *any* of these by grepping through .config.

$ for string in highmem vmsplit page_offset; do 
 fgrep -i $string /usr/src/linux-2.6.17-gentoo/.config
 done
$

Since I'm currently running a kernel  modules built (yesterday) with
this config, I'm pretty confident that the config is OK.

  
  Is that with x86 and 2.6.17? I had those config options with 2.6.16,
  but they are not present in 2.6.17. Though looking at
  /usr/src/linux/arch/i386/Kconfig I cannot see why the option was not
  offered.
 
 For whatever reason, they made prompting about VMSPLIT dependent on
 CONFIG_EMBEDDED.

This does not seem to be the case on my system

Linux scarlatti 2.6.17-gentoo #1 PREEMPT Mon Jun 19 15:28:07 PDT
2006 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
AuthenticAMD GNU/Linux.

All I get when I check CONFIG_EMBEDDED in gconfig is a bunch of
questions, which all default to yes, about using futexes, eventpoll,
etc. Nothing about memory.

Regardless, I'd expect to see those config options listed (but not set)
irrespective of whether CONFIG_EMBEDDED is or is not set.

The only thing I can conclude is that these configuration options have
been removed. (I checked the config resulting from 'make defconfig' as
well.) But that doesn't explain why I can't find them in older .configs.

$ ls /usr/src/configs/*
 /usr/src/configs/2.6.14-archck7 /usr/src/configs/2.6.15-ck1
/usr/src/configs/2.6.15-ck1-r1  /usr/src/configs/2.6.15-ck3-r1
/usr/src/configs/2.6.15-gentoo-r4   /usr/src/configs/2.6.15-gentoo-r7
/usr/src/configs/2.6.16-ck2 /usr/src/configs/2.6.16-gentoo-r1
/usr/src/configs/2.6.16-gentoo-r10  /usr/src/configs/2.6.16-gentoo-r2
/usr/src/configs/2.6.16-gentoo-r4   /usr/src/configs/2.6.16-gentoo-r6
/usr/src/configs/2.6.16-gentoo-r8
$ for string in highmem vmsplit page_offset; do  
 fgrep -i $string /usr/src/configs/*
 done
$

I *know* I've seen them before (on my Fedora system?) I must be going
mad, or is this what Alzheimer's feels like?

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-20 Thread Vladimir G. Ivanovic
On Tue, 2006-06-20 at 15:01 -0500, David Klempner wrote:
 * Vladimir G. Ivanovic [EMAIL PROTECTED] [2006-06-20 14:45]:

Is that with x86 and 2.6.17? I had those config options with 2.6.16,
but they are not present in 2.6.17. Though looking at
/usr/src/linux/arch/i386/Kconfig I cannot see why the option was not
offered.
   
   For whatever reason, they made prompting about VMSPLIT dependent on
   CONFIG_EMBEDDED.
  
  This does not seem to be the case on my system
 
 It's still in the same place as it was before, and is *definitely* there
 in both 2.6.17 and 2.6.17-gentoo. (the actual change occurred in rc4)
 
 Processor type and features - Memory split
 
 Note that CONFIG_EMBEDDED is not in the same place.
 
 General setup - Configure standard kernel features

I figured it out. The VMSPLIT options are *not* available on 64-bit
systems. (Phew. It's neither encroaching madness nor Alzheimer's.)

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gkrellm-1.2.13 emerge fails

2006-06-18 Thread Vladimir G. Ivanovic
On Sat, 2006-06-17 at 22:04 -0700, gentuxx wrote:

 I was going through and cleaning out some older slotted packages.  One
 of which was gkrellm-1.2.13.  I use (and LOVE) gkrellm2, but really
 have no interesting in keeping 1.2.13 around.  But whenever I run an
 `emerge -Duatv world', 1.2.13 pops up as needing to be installed.  I
 haven't been able to figure out why. 

What does --tree say the reason gkrellm-1.2.13 is needed? What is the
output of emerge?

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Using --deep

2006-06-17 Thread Vladimir G. Ivanovic
On Fri, 2006-06-16 at 22:08 -0500, [EMAIL PROTECTED] wrote:

 Being the thread owner so to speak, I'd like to ask something of you
 here.  The converse of your question.  How is it good.  

--deep catches dependencies of dependencies.
 
 Can't speak for Hermman of course but I think he was suggesting that
 somewhere `Deep' in the dependancies of something things got tangled
 up and caused something to bread that has bearing on my `slow redraw' 
 problem ending up with a need to revdep-rebuild to find the problems.

I manually re-emerge any packages identified by
emerge -av --depclean
and then I fix whatever 
revdep-rebuild -av
complains about. I do this after deep updates (usually). I have not run
into package dependency-related problems.

 
 I still haven't seen what is at the root of my redraw problem and
 haven't really heard any advice about how to debug it further.
 
 I would like to hear both sides of this since you both are obviously
 quite knowledgale about how gentoo works
 
  I *always* use --deep when upgrading because then I am assured of
  getting *all* of the dependencies of packages I am emerging. I am not
  aware of *ever* having system problems due to using --deep. How do you
  prevent packages from being installed that are missing dependencies?
 
 I have been using --deep as a matter of course when upgrading and I
 can say I have had system problems *absolutely every time* I've
 upgraded.  And (Embarrassing given the sad state of my skill level)
 but I've been running gentoo for something like 2 or more years .  
 
 I don't know if the problems I've had are attributable to --deep in
 any way, but I can say its likey to be at least in part due to ill
 informed bumbling on my part.
 
 The problems haven't always been big ones but there have always been
 some requiring me to post here for advice.  Many were about the
 tangled web of kde dependancies.

I do not see this and I have kde-meta installed.

 
 How would you recognize that a system problem was or was not
 attributable to `--deep'?  Also isn't emerge supposed to find
 dependancies as a default behavior?

See above.

 
 In particular how can we determine what is wrong in my system causing
 the slow redrawing of windows and slow scrolling.  Its getting
 annoying enough that I'm thinkin about trashing this install and going
 back to a stage install from snapshots and see if I still get this
 slow redraw.

I ran glxgears recently, and I was shocked to see how slowly they
turned. (I'm getting ~500 FPS.) I remember the gears turning much, much
faster. Perhaps my upgrade to xorg 7.0 has something to do with it.

But, regardless, I don't think slow GLX is due to emerging problems
caused by using --deep.  I may have misconfigured a package, or
installed something that I shouldn't, but my dependencies are not out of
whack.

 
 The revdep-rebuild that Hermman suggested did find problems with gcc
 that I fixed by re emerging  it with USE=-gcj.  But apparently this
 is not related to `slow redraw'.
 

--- Vladimir 

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]

2006-06-17 Thread Vladimir G. Ivanovic
On Sat, 2006-06-17 at 16:11 +0200, Hemmann, Volker Armin wrote:
 On Saturday 17 June 2006 16:01, Michael Weyershäuser wrote:
  Hemmann, Volker Armin wrote:
   IT IS NOT RECOMMENDED!
   Read again!
 
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1 says:
   Since security updates also happen in packages you have not explicitly
   installed on your system (but that are pulled in as dependencies of
   other programs), it is recommended to run this command once in a
   while.
 
  Funny, I can quite clearly see the word recommended.
 
 
 yes, but it does not say 'everytime you update' but 'once in a while'.
 

Are you saying that it's OK to use --deep every now and then, but
terrible things happen if you run it all the time?

If you believe that --deep is broken, file a bug so it can get fixed.

--- Vladiimr

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using --deep [Was: Slow redraw of windows following -uD --world]

2006-06-16 Thread Vladimir G. Ivanovic
On Fri, 2006-06-16 at 15:01 +0200, Hemmann, Volker Armin wrote:

 --deep is almost never needed. Some people love it and tell everybody to use 
 it. Usually people who are version number freaks. But in 90% it is useless to 
 harmfull.

Could you be more specific, please? How is it harmful? What happens to
your system when you use --deep? 

Why is it that despite --deep being recommended[1] and used (I assume)
by the majority of Gentoo users, I haven't heard of any ill effects of
using --deep? (You are the first and so far the only person to recommend
against it.)

I *always* use --deep when upgrading because then I am assured of
getting *all* of the dependencies of packages I am emerging. I am not
aware of *ever* having system problems due to using --deep. How do you
prevent packages from being installed that are missing dependencies?

Thanks.

--- Vladimir

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Typesetting systems

2006-06-14 Thread Vladimir G. Ivanovic
On Tue, 2006-06-13 at 22:25 -0600, Justin R Findlay wrote: 
 LaTeX is awesome if you're not going to be diverging from the builtin
 document layout styles too much.  If you are then you're likely going to
 be editing raw TeX to get things done,

I don't agree. The LaTeX Companion[1] documents hundreds of packages
that extend the basic capabilities of LaTeX, and none of these packages
require that you do anything in raw TeX. (The LaTeX Companion is over
1000 pages, but Leslie Lamport's original LaTeX documentation[2] is 272
pages. LaTeX has been used many times to typeset books.)

 and unfortunately though TeX is very clean and very good at what it does 
 it's not a language that's easy to understand.

Yes, it is true that LaTeX + packages require a significant investment
of time to learn. TeX is, after all, a language for typesetting, and as
a language, it is extensible, witness LaTeX and the LaTeX packages.
(METAFONT is a sister language for designing typefaces.) But the reward
for learning TeX and friends is beautiful books, especially if you're
doing mathematics.

If you don't want to deal with hundreds of packages just to typeset a
book, check out Peter Wilson's very capable memoir package[4] for
LaTeX. 

--- Vladimir

P.S. You'd be set to go if you got The LaTeX Companion and the Guide
to LaTeX[3].

[1] The LaTeX Companion, 2/e, F. Mittelbach  M. Goossens,
http://tinyurl.com/g2tnr
[2] LaTeX: A Document Preparation System. L. Lamport,
http://tinyurl.com/m6dk4
[3] Guide to LaTeX, 4/e, H. Kopka  P. Daly, http://tinyurl.com/kc7m4
[4] memoir: a LaTeX package to typeset fiction, non-fiction and
mathematical books, P. Wilson, http://tinyurl.com/qlm4o

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Editing PDF and/or postscript

2006-06-13 Thread Vladimir G. Ivanovic




Google for edit PDF +Linux.

--- Vladimir

On Tue, 2006-06-13 at 17:54 -0400, JimD wrote:


Are there any tools/editors to edit a pdf or ps file?  I am digitizing
some books.  I have the books as pdf and can convert that to postscript,
text, html.

I would like to be able to insert a few graphics into the PDF files.  I
could convert to plain text, edit in OOo and export to PDF.  However, I
lose all formatting doing that.

I was hoping there were tools/editors for PDF/PS.  What the heck do book
writers use?  I hope not a word processor.  I am only working with small
books and it is a pain to have to deal with layout.

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You roll an 18 in Dex and see if you
don't end up with a girlfriend
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
JimD
Central FL, USA, Earth, Sol





-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]







Re: [gentoo-user] Editing PDF and/or postscript

2006-06-13 Thread Vladimir G. Ivanovic
On Tue, 2006-06-13 at 19:42 -0400, JimD wrote:
 Vladimir G. Ivanovic wrote:
  Google for edit PDF +Linux.
 
 Did that.  There wasn't much out there really.

The first two results seem to be free versions of commercial product.
You didn't specify open source.

--- Vladimir
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc-4.1.1

2006-06-09 Thread Vladimir G. Ivanovic
On Thu, 2006-06-08 at 11:05 -0700, Richard Fish wrote:
 There is simply no way to build libstdc++-v3 with the new compiler; it
 would break any programs that need it.  Gcc likes to make incompatible
 changes in the C++ ABI from one version to the next, so building -v3
 with the new gcc would give you the old stdc++ library, but the new
 ABI, and your programs would be broken.
 
 This is one of the major reasons that gcc uses itself to build itself,
 to make sure that it's ABI is consistent.
 
scarlatti ~ $ genlop libstdc++-v3
 * sys-libs/libstdc++-v3

 Wed Dec 21 10:45:38 2005  sys-libs/libstdc++-v3-3.3.4
 Sun Mar  5 07:58:19 2006  sys-libs/libstdc++-v3-3.3.6
 Sat Mar 18 13:23:43 2006  sys-libs/libstdc++-v3-3.3.6
 Sun Apr  2 04:07:24 2006  sys-libs/libstdc++-v3-3.3.6
scarlatti ~ $ equery depends libstdc++-v3
[ Searching for packages depending on libstdc++-v3... ]
sys-devel/gcc-3.4.6-r1

I definitely built libstdc++-v3 with gcc-4.1.1, but interestingly genlop
doesn't report any USE or CFLAGS for it. Hmmm.

scarlatti ~ $ genlop -i libstdc++-v3
 * sys-libs/libstdc++-v3


   Total builds: 4
   Global build time: 59 minutes and 57 seconds.
   Average merge time: 14 minutes and 59 seconds.

   Info about currently installed ebuild:

   * sys-libs/libstdc++-v3-3.3.6
   Install date: Sun Apr  2 04:07:24 2006

Anyway, I haven't had any problems, but maybe that's because no package
I have uses libstdc++-v3.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New Portage browser

2006-05-16 Thread Vladimir G. Ivanovic
On Tue, 2006-05-16 at 18:29 -0300, Arturo 'Buanzo' Busleiman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 People,
 
   I'm working on a new portage browser, and I was looking for ideas from 
 USERS, that's why I'm
 posting here.
 
   I've never found a program that would allow me to browse portage 
 categories, then packages, showing
 in one window description, version, etc, etc.

Yes! 
 

   Thus, I'm working on one now, but I want to develop something that will 
 run in console and X, too,
 like suse's yast.
 
   So, I would like to know:
 
   1) do you prefer a console, a GUI, or both?

GUI primarily, but a console for scripting.

   2) what additional functionality would you like? (mask/unmask packages, 
 install/remove, emerge
 command generator [much like nmapfe], etc)

mask/unmask would be nice, but it's not absolutely necessary
install/remove is necessary ;-)
emerge command generator might be useful in a scripting application

 
   If you have any idea regarding development (because of the both console 
 and X-compatible
 script/program), please let me know. If not, I may end up writing an API, and 
 two different programs.

Python can handle both scripting and GUI, and of course portage is
written (mostly? completely?) in python, so I'd suggest ... python
(surprise!). I might consider jython if there is a compelling reason to
use Java.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Listing portage categories?

2006-05-14 Thread Vladimir G. Ivanovic
Thanks to [EMAIL PROTECTED] and to Mike Williams for their
suggestions. Both are helpful in different contexts.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Listing portage categories?

2006-05-13 Thread Vladimir G. Ivanovic
Is there a way of getting a list of Portage categories? I know that I
can `ls -s /usr/portage', but that seems like such a hack. Is there some
way of getting that information with a Portage tool?

--- Vladimir

P.S. I haven't found a way to list categories with emerge, equery,
esearch or eix.

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glsa-check script

2006-05-11 Thread Vladimir G. Ivanovic
On Thu, 2006-05-11 at 17:41 -0400, John J. Foster wrote:

 Use at your own risk. I wouln't think of applying anything without
 seeing what it is first. YMMV


I have a cron job that fires off hourly.

#!/bin/sh
glsa-check -f new 2/dev/null
[[ $? -eq 0 ]] || echo glsa-check: error

Never had a problem. Never got an error. It's been this way for months.
(My mileage doesn't vary ;-)

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-09 Thread Vladimir G. Ivanovic
On Tue, 2006-05-09 at 19:33 +0100, Neil Bothwick wrote:
 I am writing a comparative review of a number of X terminals, so I
 thought I'd draw on the collective wisdom of this list. which are your
 most/least favourite X terminals, and why?
 
I use gnome-terminal because it has tabs and color. I used to use
multi-terminal, but I switched a long time ago because I found that
gnome-terminal was more stable. I rarely (if ever) use xterm because its
look-and-feel is so outdated and it doesn't support tabs.

In that operating system masquerading as an editor (XEmacs), I use
shell-mode because I can use all the power of a customizable and
programmable visual editor on shell commands and output. (I just
stumbled upon eshell (Emacs shell), and I'll have to give that a try.)

The best terminal/shell I ever used was MPW (Macintosh Programmer's
Workshop) on the old Macs. Editing and the shell were seamlessly
integrated. Wonderful. 

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Vladimir G. Ivanovic
I have a similar problem to Matthias. /etc/init.d/net.eth0 no longer
returns, so spamd, sendmail, saslauthd, etc. never start up. It used to
work...  In my case, the interface is up, but `/etc/init.d/net.eth0
status' says starting. If I try to start, say, sendmail, it says

WARNING:  sendmail is scheduled to start when net.eth0 has started.

and it never starts. Something has changed in the last couple of weeks,
and I don't know what it is. I'm using hotplug.

Thanks for any help.

--- Vladimir

Gentoo 2.6.16-r6, fully updated.

On Thu, 2006-05-04 at 11:19 -0600, Hani Duwaik wrote:
 
 
 On 5/4/06, Matthias Bethke [EMAIL PROTECTED] wrote:
 I just noticed a strange problem on our server that's just
 been switched
 to Gentoo:
 It's running dhcpd, which init starts right after bringing up
 the
 network interface. But dhcpd quits, complaining it couldn't
 listen on 
 eth0 because it had address 0.0.0.0. So it seems the interface
 isn't
 fully up yet when the init script returns---probably because
 the
 Broadcom Tigon driver seems to be on the slow side when
 changing 
 parameters, while the CPU is plenty fast. I've now tried to
 fix it with
 a postup() function that simply does a sleep 3, but that's
 pretty
 hacky IMHO. Isn't thatere a way to do it properly? I think the
 script 
 should ensure its jobs are finished before it returns in any
 case.
 
 Have you looked through the '/etc/conf.d/net.example' file?  I'm not
 too familiar with DHCP, but the net.example file has this entry: 
 
  
 
 # For passing custom options to dhcpcd use something like the
 following. This
 
 # example reduces the timeout for retrieving an address from 60
 seconds (the
 
 # default) to 10 seconds.
 
 #dhcpcd_eth0=-t 10
 
 =
 
 Not sure if it will help, but maybe increasing the wait time might
 work.
 
 -Hani
 -- 
 If, of the many truths, you select only one and follow it blindly, it
 will become a falsehood, and you a fanatic.

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic




 $ dir /dev/sd*
ls: /dev/sd*: No such file or directory

--- Vladimir

On Thu, 2006-05-04 at 15:24 -0300, Fernando Ferrari wrote:

mkdir /mnt/flash

mount /dev/sda1 /mnt/flash



remplace sda1 for the correct





Saludos

Fernando Ferrari

Desarrollador Linux

http://fernandorferrari.blogspot.com











De: K. Mike Bradley [mailto:[EMAIL PROTECTED] 
Enviado el: Jueves, 04 de Mayo de 2006 02:59 p.m.
Para: gentoo-user@gentoo.org
Asunto: [gentoo-user] How do I mount a compact flash?






How do I mount a compact flash?







Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014







Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
May  4 11:20:27 scarlatti usb 3-4: new high speed USB device
using ehci_hcd and address 4
May  4 11:20:27 scarlatti usb 3-4: configuration #1 chosen from
1 choice
May  4 11:20:27 scarlatti scsi0 : SCSI emulation for USB Mass
Storage devices
May  4 11:20:27 scarlatti usb-storage: device found at 4
May  4 11:20:27 scarlatti usb-storage: waiting for device to
settle before scanning
May  4 11:20:32 scarlatti Vendor: GS-Magic  Model: stor 1040A
Rev: 0811
May  4 11:20:32 scarlatti Type:   Direct-Access
ANSI SCSI revision: 00
May  4 11:20:32 scarlatti scsi.agent[27629]: disk
at 
/devices/pci:00/:00:03.3/usb3/3-4/3-4:1.0/host0/target0:0:0/0:0:0:0

I had seen this output, but ignored it because there is no indication of
a normal disk device.

--- Vladimir

On Thu, 2006-05-04 at 16:14 -0300, Daniel da Veiga wrote:
 On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:
 
 
 
  How do I mount a compact flash?
 
 You get the device that is created by looking at the dmesg output
 after you plugin the flash. I'm assuming you have all options set in
 your kernel the right way.
 
 After that, you mount it normally. Mine can only be mounted using the
 first (and only) partition, so if, for example, /dev/sda doesn't work,
 try /dev/sda1.
 
 Good luck,
 
 --
 Daniel da Veiga
 Computer Operator - RS - Brazil
 -BEGIN GEEK CODE BLOCK-
 Version: 3.1
 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
 --END GEEK CODE BLOCK--
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't delete CUPS print queue

2006-05-04 Thread Vladimir G. Ivanovic
I can't delete a networked queue because its host no longer exists.

   * foomatic-configure -s cups -R -n [EMAIL PROTECTED]

works, but the queue comes back after ~15 seconds.

Grepping for [EMAIL PROTECTED] in my /etc directory (Gentoo 2.6.x)
doesn't yield any hits. Where is the queue name kept across boots? It's
not in /etc/cups/printers.conf, and it still shows up if I remove it
from /etc/printcap and restart cupsd.

I've tried deleting the queue with Webmin, but that doesn't work either.
If the queue delete command works, the queue comes back. Sometimes it
doesn't work and gives me a can't find host error message.

How do I delete this inordinately persistent queue?

Thanks.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 20:04 +, Mick wrote:
 On 04/05/06, Daniel da Veiga [EMAIL PROTECTED] wrote:
  On 5/4/06, K. Mike Bradley [EMAIL PROTECTED] wrote:
  
  
  
   How do I mount a compact flash?
 
  You get the device that is created by looking at the dmesg output
  after you plugin the flash. I'm assuming you have all options set in
  your kernel the right way.
 
  After that, you mount it normally. Mine can only be mounted using the
  first (and only) partition, so if, for example, /dev/sda doesn't work,
  try /dev/sda1.
 
 Don't forget to enter in your /etc/fstab:
 ===
 /dev/sda/mnt/flashauto,vfat,msdos
 noauto,user,noatime 0 0
 ===
 or replace /dev/sda with /dev/sda1, if your CF has been partitioned
 (some manufacturers format their CFs as a large MSDOS floppy).

Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
responsible for defining them.

--- Vladimir


Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 21:14 +0100, Ognjen Bezanov wrote:
 On Thursday 04 May 2006 18:59, K. Mike Bradley wrote:
  How do I mount a compact flash?
 depends on the interface
 
 is it a USB/PCMCIA/builtin CF reader?
 
 because they all have different ways of accessing. The most popular is the 
 usb 
 device, so you will need the usb-storage module and associated libraries

I have the modules usb-storage loaded, but I still don't get any devices
like /dev/sda or /dev/sda1.

# lsmod | fgrep usb
usb_storage71872  0
scsi_mod  109352  1 usb_storage
usbhid 41888  0

--- Vladimir
 
 The device should come up as /dev/sd[a,b,c...] (depending on how many usb 
 storage devices you have installed.
 -- 
 http://ziva-vatra.dnsalias.com/~ognen
 
 
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 16:36 -0400, Statux wrote:
  Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
  responsible for defining them.
  
  --- Vladimir
 
 Perhaps you don't have SCSI support built into your kernel. You need the
 USB mass storage (if it's via USB) and SCSI emulation support options.
 Also, make sure you select the option pertaining to probing multiple
 LUNs which will look at some devices like multi-card readers and
 recognize that they have more than one device in them like my Lexar
 reader does.

This sounds like it. I've made the requisite changes, and I expect that
it'll work.

Thanks.

--- Vladimir
 
 I didn't catch a post or two for this thread but I hope this helps :)
 
 -Statux
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I mount a compact flash?

2006-05-04 Thread Vladimir G. Ivanovic
It does. Thanks.

--- Vladimir

On Thu, 2006-05-04 at 14:08 -0700, Vladimir G. Ivanovic wrote:
 On Thu, 2006-05-04 at 16:36 -0400, Statux wrote:
   Neither /dev/sda nor /dev/sda1 are defined on my system? What package is
   responsible for defining them.
   
   --- Vladimir
  
  Perhaps you don't have SCSI support built into your kernel. You need the
  USB mass storage (if it's via USB) and SCSI emulation support options.
  Also, make sure you select the option pertaining to probing multiple
  LUNs which will look at some devices like multi-card readers and
  recognize that they have more than one device in them like my Lexar
  reader does.
 
 This sounds like it. I've made the requisite changes, and I expect that
 it'll work.
 
 Thanks.
 
 --- Vladimir
  
  I didn't catch a post or two for this thread but I hope this helps :)
  
  -Statux
  
 
 Vladimir G. Ivanovic
 Palo Alto, CA 94306
 +1 650 678 8014
 

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Vladimir G. Ivanovic
On Thu, 2006-05-04 at 10:56 -0700, Vladimir G. Ivanovic wrote:
 I have a similar problem to Matthias. /etc/init.d/net.eth0 no longer
 returns, so spamd, sendmail, saslauthd, etc. never start up. It used to
 work...  In my case, the interface is up, but `/etc/init.d/net.eth0
 status' says starting. If I try to start, say, sendmail, it says
 
 WARNING:  sendmail is scheduled to start when net.eth0 has started.
 
 and it never starts. Something has changed in the last couple of weeks,
 and I don't know what it is. I'm using hotplug.
 
Of course I meant ifplugd.

Anyway, I figured out what my problem was. I was starting eth0 twice,
once through an rc script, and once with ifplugd. When I zapped the rc
script (rc-update del net.eth0), things started work better.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] kill a child and suicide

2006-05-02 Thread Vladimir G. Ivanovic
pkill has a -g option to send a signal to a process group.

--- Vladimir

On Tue, 2006-05-02 at 14:48 +0100, Jorge Almeida wrote:
 On Tue, 2 May 2006, Etaoin Shrdlu wrote:
 
 
  I think (untested) you can do something like
 
  trap 'kill pid of child' TERM
 
  at then beginning of parent.sh. This way, when the parent recives TERM it
  in turn sends a TERM to the child. If you want the parent to terminate,
  add the exit command as well:
 
  trap 'kill pid of child; exit 1' TERM
 
 But how to find out the PID of child? What would be convenient is a way
 to send signals recursively to a process and its children.
 Maybe I'm trying to solve a problem with wrong tools...
 Thanks,
 
 Jorge Almeida

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't delete printer!

2006-04-20 Thread Vladimir G. Ivanovic
I've tried everything I can think of. 

  * When I use foomatic-gui to delete the printer, I get a message
that confirms the deletion, but when I reboot it's back! In my
case, I think foomatic-gui invokes foomatic-configure -s cups
-R -n queuename which in turn invokes lpadmnin -x
queuename.
  * I've removed the printer queue from /etc/cups/printers.conf.
  * When I browser http://localhost:631/printers, and I attempt to
delete the printer, I get an error message saying that the
printer's host can't be reached (it no longer exists), and the
deletion fails.
  * I can't see where the printer queue name is maintained across
reboot.

Help! (Thanks!)

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PORTAGE_NICENESS for real

2006-04-07 Thread Vladimir G. Ivanovic
Con Kolivas's kernel

http://members.optusnet.com.au/ckolivas/kernel/

or

emerge ck-sources

use Kolivas' toolsched (http://ck.kolivas.org/apps/toolsched/) so that
background jobs only run when no other task wants to run. toolsched uses
sys-process/schedtool to control the scheduling of processes.

--- Vladimir

On Wed, 2006-04-05 at 09:49 -0700, Grant wrote:

  BTW, is there a plan to use the new SCHED_BATCH scheduling policy
  introduced in the last (2.6.16) kernel ? (see
  http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0a9499c3dd50d333e2aedb7e894873c58da3785
   )


Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What program produces message like these?

2006-03-29 Thread Vladimir G. Ivanovic
CLASS: registering class device: ID = 'vcs7'
class_uevent - name = vcs7
class_device_create_uevent called for vcs7
CLASS: registering class device: ID = 'vcsa7'
class_uevent - name = vcsa7
class_device_create_uevent called for vcsa7

And, more importantly, how do I get rid of them? They fill up my kernel
ring buffer, and I can't see boot-time messages from the kernel.

I just emerged klogd, and so now I can at least grep
through /var/log/messages for kernel messages ... which is what dmesg is
supposed to be for.

Thanks for any help.

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What program produces message like these?

2006-03-29 Thread Vladimir G. Ivanovic




Many thanks for the hints. It looks like I (accidentally) had driver debugging turned on. I'm recompiling my kernel to see if that fixes my problem.

--- Vladimir

On Wed, 2006-03-29 at 10:34 -0700, Richard Fish wrote:


On 3/29/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
 CLASS: registering class device: ID = 'vcs7'
 class_uevent - name = vcs7
 class_device_create_uevent called for vcs7
 CLASS: registering class device: ID = 'vcsa7'
 class_uevent - name = vcsa7
 class_device_create_uevent called for vcsa7

 And, more importantly, how do I get rid of them? They fill up my kernel
 ring buffer, and I can't see boot-time messages from the kernel.

AFAIK if they are showing up in dmesg output, they are coming from the
kernel.  Looks like you enabled DEBUG in your kernel:

# cd /usr/src/linux-2.6.16.1  grep -r class_device_create_uevent .
./drivers/base/class.c:static int class_device_create_uevent(struct
class_device *class_dev,

# less drivers/base/class.c
...
pr_debug(%s called for %s\n, __FUNCTION__, class_dev-class_id);
...

# grep -r pr_debug . | grep define
...
./include/linux/kernel.h:#define pr_debug(fmt,arg...) \
...

# less include/linux/kernel.h
...
#ifdef DEBUG
#define pr_debug(fmt,arg...) \
printk(KERN_DEBUG fmt,##arg)
...

But the boot-time messages should be saved in /var/log/dmesg.

-Richard







Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014







Re: [gentoo-user] What program produces message like these?

2006-03-29 Thread Vladimir G. Ivanovic




Fixed by turning off DEBUG_DRIVER.

 Vladimir

On Wed, 2006-03-29 at 13:57 -0800, Vladimir G. Ivanovic wrote:

Many thanks for the hints. It looks like I (accidentally) had driver debugging turned on. I'm recompiling my kernel to see if that fixes my problem.

--- Vladimir

On Wed, 2006-03-29 at 10:34 -0700, Richard Fish wrote: 


On 3/29/06, Vladimir G. Ivanovic [EMAIL PROTECTED] wrote:
 CLASS: registering class device: ID = 'vcs7'
 class_uevent - name = vcs7
 class_device_create_uevent called for vcs7
 CLASS: registering class device: ID = 'vcsa7'
 class_uevent - name = vcsa7
 class_device_create_uevent called for vcsa7

 And, more importantly, how do I get rid of them? They fill up my kernel
 ring buffer, and I can't see boot-time messages from the kernel.

AFAIK if they are showing up in dmesg output, they are coming from the
kernel.  Looks like you enabled DEBUG in your kernel:

# cd /usr/src/linux-2.6.16.1  grep -r class_device_create_uevent .
./drivers/base/class.c:static int class_device_create_uevent(struct
class_device *class_dev,

# less drivers/base/class.c
...
pr_debug(%s called for %s\n, __FUNCTION__, class_dev-class_id);
...

# grep -r pr_debug . | grep define
...
./include/linux/kernel.h:#define pr_debug(fmt,arg...) \
...

# less include/linux/kernel.h
...
#ifdef DEBUG
#define pr_debug(fmt,arg...) \
printk(KERN_DEBUG fmt,##arg)
...

But the boot-time messages should be saved in /var/log/dmesg.

-Richard







Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014








Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014







Re: [gentoo-user] Re: Switching to Gentoo

2006-03-09 Thread Vladimir G. Ivanovic




On Thu, 2006-03-09 at 14:39 -0600, Harry Putnam wrote:


 eix package
 epm -ql

Where are these trick tools found?



app-portage/eix: Small utility for searching ebuilds with indexing for fast results
app-portage/epm: rpm workalike for Gentoo Linux

Eix is very nice. I have no experience with epm.

--- Vladimir








Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014







Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Vladimir G. Ivanovic
It's new in the latest testing version of emerge.

--- Vladimir

On Tue, 2006-02-28 at 22:17 -0500, Michael A. Smith wrote:
 Iain Buchanan wrote:
  On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:
  
   I have a different interpretation.
  
  
  I assume you know about FEATURES=parallel-fetch?
 How long has this been around? I couldn't find any mention of it in 
 the man files. Where is it documented?
 
 Thanks,
 Mike
-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list