[gentoo-user] Portage dead -- don't know how to proceed

2005-07-18 Thread George Garvey
   /usr/portage itself is NFS mounted from a server and is fine.
However, emerge --metadata and emerge -av1 glibc both report problems
with some bdb stuff and doesn't work.
   This all happened after a failed glibc emerge. It detected that it
was nptlonly, said it was removing /lib/tls, does with a preinst
problem (on the rm as far as I can tell), and emerge has been hosed
ever since.

(After I rm -rf /var/cache/edb):
% emerge --metadata
 /var/cache/edb doesn't exist, creating it...
 /var/cache/edb/dep doesn't exist, creating it...


Performing Global Updates: /usr/portage/profiles/updates/3Q-2002


 clipped ..

 ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the
tbz2's in the packages directory. Note: This can take a very long time.
skipping sync

 Updating Portage cache:
Failed cache update: app-accessibility/SphinxTrain-0.9.1-r1 (38, 'Function not 
implemented -- process-private: unable to initialize environment lock: Function 
not implemented')

Failed cache update: app-accessibility/at-poke-0.2.2 (38, 'Function not 
implemented -- process-private: unable to initialize environment lock: Function 
not implemented')


and so on and on and on



Here is emerge -av1 glibc:
These are the packages that I would merge, in order:

Calculating dependencies

!!! Problem in sys-libs/glibc dependencies.
!!! (38, 'Function not implemented -- process-private: unable to initialize 
environment lock: Function not implemented') bsddb._db

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Sun, 17 Jul 2005, Zac Medico wrote:


Jorge Almeida wrote:

I just emerged KDE, changing from the monolytic packages to the split
ones.
Now windows redrawing is painfully (and cas-ca-ding) slow.
The problem seems to be the same as in
http://forums.gentoo.org/viewtopic-t-344889-highlight-kde+slow+redraw.html
(but no answer there...)
Any idea?




First step to isolate this problem, I'd install a minimalist wm such as 
x11-wm/openbox and see which apps I can reproduce the problem with there, if 
any.


Zac


Not that easy. The problem is more visible when the desktop is filled
with a Mozilla window and I change to this desktop. I would need a wm
with virtual desktops and it had to be possible to change desktops via
keyboard.

I'm getting tired of KDE: each upgrade brings new problems. I would give
it up if I could find a wm supporting multiple desktops (with the
possibility of different backgrounds) and control via keyboard. I can't
get KDE's goodies, like shadows and transparency, to work, anyway...

Thanks for the reply.

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Zac Medico

Jorge Almeida wrote:

On Sun, 17 Jul 2005, Zac Medico wrote:


Jorge Almeida wrote:


I just emerged KDE, changing from the monolytic packages to the split
ones.
Now windows redrawing is painfully (and cas-ca-ding) slow.
The problem seems to be the same as in
http://forums.gentoo.org/viewtopic-t-344889-highlight-kde+slow+redraw.html 


(but no answer there...)
Any idea?




First step to isolate this problem, I'd install a minimalist wm such 
as x11-wm/openbox and see which apps I can reproduce the problem with 
there, if any.


Zac


Not that easy. The problem is more visible when the desktop is filled
with a Mozilla window and I change to this desktop. I would need a wm
with virtual desktops and it had to be possible to change desktops via
keyboard.

I'm getting tired of KDE: each upgrade brings new problems. I would give
it up if I could find a wm supporting multiple desktops (with the
possibility of different backgrounds) and control via keyboard. I can't
get KDE's goodies, like shadows and transparency, to work, anyway...

Thanks for the reply.

Jorge


Openbox supports multiple desktops.  You can replace the default kde window 
manager (kwin) with openbox: 
http://icculus.org/openbox/docs.php?page=build.html#install-kde

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Zac Medico wrote:


Openbox supports multiple desktops.  You can replace the default kde window 
manager (kwin) with openbox: 
http://icculus.org/openbox/docs.php?page=build.html#install-kde


Zac


Browsing the documentation, it seems it doesn't support setting the
background. I'll have a look at third party applications...
I really need commuting desktops with keys, and different backgrounds
allow me to know where I am.

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Zac Medico

Jorge Almeida wrote:

On Mon, 18 Jul 2005, Zac Medico wrote:



Openbox supports multiple desktops.  You can replace the default kde 
window manager (kwin) with openbox: 
http://icculus.org/openbox/docs.php?page=build.html#install-kde


Zac


Browsing the documentation, it seems it doesn't support setting the
background. I'll have a look at third party applications...
I really need commuting desktops with keys, and different backgrounds
allow me to know where I am.

Jorge


I wasn't suggesting Openbox as a permanent solution.  It's just a troubleshooting tool to 
help you isolate the problem.  I use KDE 3.4.1 (split ebuilds) and haven't noticed any 
redraw problems like you're experiencing.  Does the problem only affect kde 
apps?  How about a qt app with no kde support? Gtk apps are fine?

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



Re: [gentoo-user] [OT] LiveCD with rdiff-backup?

2005-07-18 Thread Neil Bothwick
On Mon, 11 Jul 2005 15:04:29 -0400, fire-eyes wrote:

 I am using rdiff-backup for my full system backups. Of course, it would
 be annoying if I had to use it to do a full restore. I would need a
 LiveCD with rdiff-backup on it.

You wouldn't, unlress you needed to recover older versions of files. The
current versions can be restored with cp, which I'm fairly sure the
LiveCD includes.

There's a thread on the forums on bulding a LiveCd that I found very
useful. I use this to build the system I need and use squashfs to
archive the backups. then I write the whole lot to a DVD (make sure you
have the squashfs stuff enabled in the Live kernel). then I can boot from
the DVD, mount a backup of a filesystem and copy the stuff back.

http://forums.gentoo.org/viewtopic-t-244837-postdays-0-postorder-asc-highlight-hal-start-0.html


-- 
Neil Bothwick

I locked my coathanger in my car; good thing I had a key.


pgpu4jkPLNJlm.pgp
Description: PGP signature


Re: [gentoo-user] What happened to my world?

2005-07-18 Thread Neil Bothwick
On Mon, 18 Jul 2005 02:49:18 +, Jeff Cranmer wrote:

 Any suggestions about how to recover my original world file?

emerge -p depclean

Check the output for any programs you need (just the programs, not their
dependencies)

emerge -n program1 program2...

rinse and repeat


-- 
Neil Bothwick

There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way
is to make it so complicated that there are no obvious deficiencies.
The first method is far more difficult -C.A.R. Hoare


pgp8B09Iy7Jge.pgp
Description: PGP signature


Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2005 10:17, Jorge Almeida wrote:
 On Sun, 17 Jul 2005, Zac Medico wrote:
  Jorge Almeida wrote:
  I just emerged KDE, changing from the monolytic packages to the split
  ones.
  Now windows redrawing is painfully (and cas-ca-ding) slow.
  The problem seems to be the same as in
  http://forums.gentoo.org/viewtopic-t-344889-highlight-kde+slow+redraw.ht
 ml (but no answer there...)
  Any idea?
 
  First step to isolate this problem, I'd install a minimalist wm such as
  x11-wm/openbox and see which apps I can reproduce the problem with there,
  if any.
 
  Zac

 Not that easy. The problem is more visible when the desktop is filled
 with a Mozilla window and I change to this desktop. I would need a wm
 with virtual desktops and it had to be possible to change desktops via
 keyboard.


so, not kde, but mozilla is slow?
Slow redreaw of gtk is known.

Do you have enough ram?
If you need swap, kde is dead slow.
Is RenderAccel on?
Is KDE prelinked?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Zac Medico

Volker Armin Hemmann wrote:

Do you have enough ram?
If you need swap, kde is dead slow.


This one should be *really* obvious.  If the hard drive is thrashing, you're 
out of ram :-).

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



Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?

2005-07-18 Thread Steve [Gentoo]
Thanks for the many suggestions...  Lots of interesting ideas and 
different perspectives.


Zac Medico wrote:


Filezilla is an ftp client that supports file transfer over ssh: 
http://filezilla.sourceforge.net/
 

I'll give that a look - it's not really what I was after - while I 
suppose I wasn't really clear about my intentions, I really wanted 
FS-like access to enable me not only to edit text files, but also to use 
visual differencing tools etc.  I'm suspecting that this wouldn't be 
supported using an ftp-like approach.



For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge 
tightvnc).
 

That's new to me - looks very interesting...  I'm guessing I'd need to 
get this working under cygwin for my XP client...  Anything which 
improves the performance of remote X sessions would be very useful.



To map a network drive, you should probably tunnel samba through ssh.  Google for 
samba tunnel putty.
 

This is exactly what I wanted to know. I hadn't thought of googling with 
putty as I'm using OpenSSH on both client and server - but the 
techniques look the same.


Steve

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?

2005-07-18 Thread Zac Medico

Steve [Gentoo] wrote:
Thanks for the many suggestions...  Lots of interesting ideas and 
different perspectives.


Zac Medico wrote:

Filezilla is an ftp client that supports file transfer over ssh: 
http://filezilla.sourceforge.net/
 

I'll give that a look - it's not really what I was after - while I 
suppose I wasn't really clear about my intentions, I really wanted 
FS-like access to enable me not only to edit text files, but also to use 
visual differencing tools etc.  I'm suspecting that this wouldn't be 
supported using an ftp-like approach.


For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge 
tightvnc).
 

That's new to me - looks very interesting...  I'm guessing I'd need to 
get this working under cygwin for my XP client...  Anything which 
improves the performance of remote X sessions would be very useful.




There are native win32 clients (no cygwin required) for both.  The tightvnc 
client is gpl.  The nx client that I know of is commercial software but it's a 
freely downloadable from nomachine.com.

Zac

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Volker Armin Hemmann wrote:




so, not kde, but mozilla is slow?
Slow redreaw of gtk is known.

Do you have enough ram?
If you need swap, kde is dead slow.
Is RenderAccel on?
Is KDE prelinked?


It's not a RAM problem (512M, and top shows it's not leaking somewhere).
KDE is not prelinked. I don't know about RenderAccel (how can I tell?).
Anyway, I didn't change anything except KDE. Slow rendering shows mainly
with Mozilla and Thunderbird. With gvim too, I suppose (hard to tell).
But Mozilla was fine before.

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



Re: [gentoo-user] [tight/real]vnc and ctrl-alt-del

2005-07-18 Thread Ow Mun Heng
On Thu, 2005-07-14 at 17:24 +0800, W.Kenworthy wrote:
 yes there is, I think its right click in vncviewer for the menu, or
 shiftF8 to get the menu.  Going from memory but this should point you
 in the right direction.

There's no Menu at all.

The SHifts doesn't work either.

BTW, this is both vnc and tightvnc. Both of them don't have this
option. 

 BillK
 
 On Thu, 2005-07-14 at 17:03 +0800, Ow Mun Heng wrote:
  I noticed that in the windows version of tightvnc, there is an option to
  send ctrl-alt-del to window boxes. In the linux version, there is not
  such capability.
  
  Or am I wrong?
  
  
  -- 
  Ow Mun Heng
  Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
  98% Microsoft(tm) Free!! 
  Neuromancer 17:02:56 up 1 day, 4:28, 8 users, load average: 1.80, 1.56,
  1.37 
  
  
 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 18:15:18 up 1 day, 1:22, 8 users, load average: 0.47, 0.36,
0.28 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Volker Armin Hemmann
On Monday 18 July 2005 12:15, Jorge Almeida wrote:
 On Mon, 18 Jul 2005, Volker Armin Hemmann wrote:
  so, not kde, but mozilla is slow?
  Slow redreaw of gtk is known.
 
  Do you have enough ram?
  If you need swap, kde is dead slow.
  Is RenderAccel on?
  Is KDE prelinked?

 It's not a RAM problem (512M, and top shows it's not leaking somewhere).
 KDE is not prelinked. I don't know about RenderAccel (how can I tell?).
 Anyway, I didn't change anything except KDE. Slow rendering shows mainly
 with Mozilla and Thunderbird. With gvim too, I suppose (hard to tell).
 But Mozilla was fine before.


well 512 is most of the time enough, but not always ;)

hm, if only gtk apps are slow, it is normal - gtk IS slow. Very slow. 

Search google for gtk and slow and you'll find a lot ;)

RenderAccel is set in your xorg.conf - if you have nvidia.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [tight/real]vnc and ctrl-alt-del

2005-07-18 Thread William Kenworthy
My mistake, I am now in front of a system with net-misc/vnc (I had to
revert from tightvnc which wasnt compatible with the viewer on a palm I
was using) Its F8 on its own - one of the menu choices is send F8 of
course!  I think tightvnc was similar.

BillK


On Mon, 2005-07-18 at 18:15 +0800, Ow Mun Heng wrote:
 On Thu, 2005-07-14 at 17:24 +0800, W.Kenworthy wrote:
  yes there is, I think its right click in vncviewer for the menu, or
  shiftF8 to get the menu.  Going from memory but this should point you
  in the right direction.
 
 There's no Menu at all.
 
 The SHifts doesn't work either.
 
 BTW, this is both vnc and tightvnc. Both of them don't have this
 option. 
 
  BillK
  
  On Thu, 2005-07-14 at 17:03 +0800, Ow Mun Heng wrote:
   I noticed that in the windows version of tightvnc, there is an option to
   send ctrl-alt-del to window boxes. In the linux version, there is not
   such capability.
   
   Or am I wrong?
   
   
   -- 
   Ow Mun Heng
   Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
   98% Microsoft(tm) Free!! 
   Neuromancer 17:02:56 up 1 day, 4:28, 8 users, load average: 1.80, 1.56,
   1.37 
   
   
  
 
 -- 
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!! 
 Neuromancer 18:15:18 up 1 day, 1:22, 8 users, load average: 0.47, 0.36,
 0.28 
 
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [tight/real]vnc and ctrl-alt-del

2005-07-18 Thread Raffaele BELARDI
No, Billk, you aren't mistaken! Ow Mun Heng, in the tightvnc client
(version 1.3dev5) hit F8 to get the menu, which has Send CTRL-ALT-DEL
among the other options.

From the vncviewer man page:
You can use F8 to display a pop-up utility menu. Press F8 twice to pass
 single F8 to the remote side.

raf


William Kenworthy wrote:
 My mistake, I am now in front of a system with net-misc/vnc (I had to
 revert from tightvnc which wasnt compatible with the viewer on a palm I
 was using) Its F8 on its own - one of the menu choices is send F8 of
 course!  I think tightvnc was similar.
 
 BillK
 
 
 On Mon, 2005-07-18 at 18:15 +0800, Ow Mun Heng wrote:
 
On Thu, 2005-07-14 at 17:24 +0800, W.Kenworthy wrote:

yes there is, I think its right click in vncviewer for the menu, or
shiftF8 to get the menu.  Going from memory but this should point you
in the right direction.

There's no Menu at all.

The SHifts doesn't work either.

BTW, this is both vnc and tightvnc. Both of them don't have this
option. 


BillK

On Thu, 2005-07-14 at 17:03 +0800, Ow Mun Heng wrote:

I noticed that in the windows version of tightvnc, there is an option to
send ctrl-alt-del to window boxes. In the linux version, there is not
such capability.

Or am I wrong?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Volker Armin Hemmann wrote:





well 512 is most of the time enough, but not always ;)

I know, but I checked top.


hm, if only gtk apps are slow, it is normal - gtk IS slow. Very slow.

But it wasn't noticeable before... It looks as if the several widgets
were being shown _before_ the main window...


Search google for gtk and slow and you'll find a lot ;)

RenderAccel is set in your xorg.conf - if you have nvidia.

Ati Radeon 7500.




--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage dead -- don't know how to proceed

2005-07-18 Thread George Garvey
On Sun, Jul 17, 2005 at 11:30:10PM -0700, George Garvey wrote:
/usr/portage itself is NFS mounted from a server and is fine.
 However, emerge --metadata and emerge -av1 glibc both report problems
 with some bdb stuff and doesn't work.
This all happened after a failed glibc emerge. It detected that it
 was nptlonly, said it was removing /lib/tls, does with a preinst
 problem (on the rm as far as I can tell), and emerge has been hosed
 ever since.

   Never mind. I restored /lib/tls from backup, which emerge deleted,
rendering emerge unusable. It couldn't even install the newly compiled
glibc (which I have since deleted: yuck ;)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Daily dumb question... chron.

2005-07-18 Thread Steve [Gentoo]
Because I need my Gentoo server to perform periodic tasks on my behalf I 
new I needed some implementation of cron - and after a brief 
investigation I settled on fcron as I liked the idea that I could give 
flexible scheduling in order to allow the OS to delay processing in the 
event of heavy system load.  I've written a couple of my own 
administration tasks (to be run as my own non-root user) and these work 
fine.


I've noticed the directories /etc/cron.daily; /etc/cron.hourly; 
/etc/cron.monthly etc. and therein a bunch of non-user-specific 
administration tasks... For example, in ./etc/cron.daily I've 
logrotate.cron and rulesdujour - but none of these appear to have run in 
the last month.  Are thse system tasks supposed to be fired 
automatically by fcron?  What would be the easiest way to get all my 
periodic system administration tasks defined in these directories to be 
fired automatically?  Did I make a sensible choice with fcron?




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Resizing ext3

2005-07-18 Thread Bruno Gola
Any way to resize a ext3 partition ?

I'm trying with parted:



br ~ # parted /dev/hdb resize 1
Start?  [32kB]?  
End?  [80GB]? 70GB   
Error: File system has an incompatible feature enabled.  
Information: Don't forget to update /etc/fstab, if necessary.  

but ... i get this error... anyone knows what should i do ?

Thanks,

Bruno Gola
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Daily dumb question... chron.

2005-07-18 Thread Hans-Werner Hilse
Hi,

On Mon, 18 Jul 2005 13:06:29 +0100
Steve [Gentoo] [EMAIL PROTECTED] wrote:

 I've noticed the directories /etc/cron.daily; /etc/cron.hourly; 
 /etc/cron.monthly etc. and therein a bunch of non-user-specific 
 administration tasks... For example, in ./etc/cron.daily I've 
 logrotate.cron and rulesdujour - but none of these appear to have run in 
 the last month.  Are thse system tasks supposed to be fired 
 automatically by fcron?  What would be the easiest way to get all my 
 periodic system administration tasks defined in these directories to be 
 fired automatically?  Did I make a sensible choice with fcron?

Can't tell much about fcron (esp. if its config syntax is similar to my
vixie-cron), but for me, vixie-cron installed a /etc/crontab that
contains the following lines:

0  *  * * * rootrm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * * rootrm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6 rootrm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * * rootrm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *  roottest -x /usr/sbin/run-crons  /usr/sbin/run-crons

this does the job.

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



RE: [gentoo-user] Daily dumb question... chron.

2005-07-18 Thread Dave Nebinger
 Are thse system tasks supposed to be fired
 automatically by fcron?

You missed the message that flew by when emerging fcron...

Fcron includes the /etc/cron.* directories but does not install cron jobs
for them automatically, and it does not support /etc/crontab (as other crons
do).

You need to manually add them to the root crontab.  Easiest way would be to:

1. su - (or login as root).
2. crontab -l root  root.crontab (to get any existing cron entries for
root).
3. vi root.crontab and add the following:

# Clean the lastrun directories...
0  *  * * *  rm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * *  rm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6  rm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * *  rm -f /var/spool/cron/lastrun/cron.monthly

# Now do the command to determine what tasks need to be executed
# Only generate emails on errors...
!nolog(true)
*/10  *  * * *  /usr/bin/test -x /usr/sbin/run-crons 
/usr/sbin/run-crons

4. crontab root.crontab (to make the changes take effect)

This will install the appropriate cron jobs to have the /etc/cron.* scripts
run.

Dave



-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Daily dumb question... chron.

2005-07-18 Thread Dave Nebinger

 
 # Now do the command to determine what tasks need to be executed
 # Only generate emails on errors...
 !nolog(true)

Oops, this nolog bit comes from my crontab and is not normally put in.  I
added it because I hated getting emails for regular runs.  If you choose to
include it, add !reset to the line after the run-crons line of the text I
sent.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-18 Thread Neil Bothwick
On Wed, 13 Jul 2005 10:46:23 +0100, David Morgan wrote:

 You could remove win32codecs from base/use.mask, try and use it and see
 if it works since it shouldn't break anything. But each time you did
 emerge sync it'd get written over.

Profile changes should be made in /etc/portage/profiles, then they won't
be overwritten when syncing.


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


pgp7U6QyTREEq.pgp
Description: PGP signature


Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-18 Thread David Morgan
On 15:42 Mon 18 Jul , Neil Bothwick wrote:
 On Wed, 13 Jul 2005 10:46:23 +0100, David Morgan wrote:
 
  You could remove win32codecs from base/use.mask, try and use it and see
  if it works since it shouldn't break anything. But each time you did
  emerge sync it'd get written over.
 
 Profile changes should be made in /etc/portage/profiles, then they won't
 be overwritten when syncing.
 

(I think you meant /etc/portage/profile)

I usually go for tempory fixes to see if something works before spending
time finding out the correct solution (I guess that's a result of me
being incredibly lazy, but it's also just easier when you're
investigating something).

I guessed that you might have to use /etc/portage/profile/use.unmask (by
analogy with package.{,un}mask, but apparently the correct thing to do
is to put -win32codecs in /etc/portage/profile/use.mask

Dave

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey

For past couple of weeks as I was doing emerge --sync and emerge -uDNp 
I've noticed that libgsf has jumping versions. That is one week 
it's 1.12.0 another 1.10.0 and it swings from one to another. Does 
anybody know what might trigger this behavior?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgptfO9Lzdvth.pgp
Description: PGP signature


[gentoo-user] USE flags...

2005-07-18 Thread Vincent A. Primavera

Hello,
   Just looking for some opinions here.  What is a good approach to 
installing applications with a minimal amount of optional USE flags enabled? 
For example, if one were to run `emerge -pv kde-base/kde` you would be 
presented with many, many dependencies and USE flags.  I would prefer to 
install less upfront and add on later as needed.  Doing an `emerge -pv 
$packagename` then looking through the dependencies and their USE flags each 
time, to me, doesn't seem like the best method.  I took a look at the list 
of USE flags at http://www.gentoo-portage.com/USE and disabling dozens of 
them in /etc/make.conf doesn't seem like a great method either.  I'm trying 
to avoid a big, bloated system without going too crazy here.  Any 
suggestions?

--
   Thank you,

   Vincent A. Primavera.
   Director of Information Technology.
   Ralph Pill Electric Supply Co. 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Rumen Yotov
Jorge Almeida wrote:

 On Mon, 18 Jul 2005, Volker Armin Hemmann wrote:



 well 512 is most of the time enough, but not always ;)

 I know, but I checked top.


 hm, if only gtk apps are slow, it is normal - gtk IS slow. Very slow.

 But it wasn't noticeable before... It looks as if the several widgets
 were being shown _before_ the main window...


 Search google for gtk and slow and you'll find a lot ;)

 RenderAccel is set in your xorg.conf - if you have nvidia.

 Ati Radeon 7500.



Hi,
Think i can't of great help here, but at least twice when i had slow
graphical performance solved it by re-emerging some packages and
xorg-x11 once (i assume you have run 'revdep-rebuild' ;)
As it seems your main DM is KDE it's likely that there may be issues
with GTK-apps, as their libs/deps also get loaded when mozilla/etc is run.
Here's some info:
1.mozilla dependencies:
...www-client/mozilla-1.7.8:
crypt? !moznomail? =app-crypt/gnupg-1.2.1 app-crypt/gnupg-1.4.1
postgres?   =dev-db/postgresql-7.2.0 dev-db/postgresql-8.0.1-r4
=dev-libs/glib-2.2.0dev-libs/glib-2.6.4
=dev-libs/libIDL-0.8.0  dev-libs/libIDL-0.8.5
=media-libs/fontconfig-2.1 media-libs/fontconfig-2.2.3
=media-libs/jpeg-6b media-libs/jpeg-6b-r4
=media-libs/libmng-1.0.0 media-libs/libmng-1.0.8-r1
=media-libs/libpng-1.2.1 media-libs/libpng-1.2.8
=sys-apps/portage-2.0.36 sys-apps/portage-2.0.51.22-r1
=sys-libs/zlib-1.1.4sys-libs/zlib-1.2.2-r1
=www-client/mozilla-launcher-1.22
www-client/mozilla-launcher-1.32
=www-client/mozilla-launcher-1.28
www-client/mozilla-launcher-1.32
=x11-libs/gtk+-2.2.0x11-libs/gtk+-2.6.7
=x11-libs/pango-1.2.1   x11-libs/pango-1.8.1
app-arch/unzip   app-arch/unzip-5.50-r2
app-arch/zip app-arch/zip-2.3-r4
dev-lang/perldev-lang/perl-5.8.6-r5
dev-libs/expat   dev-libs/expat-1.95.8
dev-util/pkgconfig   dev-util/pkgconfig-0.17.2-r1
!bootstrap? sys-devel/patch  sys-devel/patch-2.5.9
virtual/x11  x11-base/xorg-x11-6.8.2-r2
!moznoxft?  virtual/xft  x11-base/xorg-x11-6.8.2-r2
~sys-devel/autoconf-2.13 sys-devel/autoconf-2.13
...
2.GTK+ dependencies:
...x11-libs/gtk+-2.6.7:
=dev-libs/atk-1.0.1 dev-libs/atk-1.9.1
=dev-libs/glib-2.6  dev-libs/glib-2.6.4
=dev-util/pkgconfig-0.12.0 dev-util/pkgconfig-0.17.2-r1
jpeg?   =media-libs/jpeg-6b-r2  media-libs/jpeg-6b-r4
=media-libs/libpng-1.2.1 media-libs/libpng-1.2.8
=sys-devel/automake-1.7.9 sys-devel/automake-1.9.5
=x11-libs/pango-1.8 x11-libs/pango-1.8.1
sys-devel/autoconf   sys-devel/autoconf-2.59-r6
!bootstrap? sys-devel/patch  sys-devel/patch-2.5.9
virtual/x11  x11-base/xorg-x11-6.8.2-r2
x11-misc/shared-mime-info x11-misc/shared-mime-info-0.16

...
IMHO you could first try emerging: glibgtk+ and probably in second
place: xorg-x11.
There are also many image-manupulation libraries: jpeg,png,mng
HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Mauro Faccenda
Dmitry S. Makovey wrote:
 For past couple of weeks as I was doing emerge --sync and emerge -uDNp 
 I've noticed that libgsf has jumping versions. That is one week 
 it's 1.12.0 another 1.10.0 and it swings from one to another. Does 
 anybody know what might trigger this behavior?
 

This is because gnumeric REQUIRES =1.10.0... and when you do a -uD it
will be upgraded.

You should keep using -uNp instead of -uDNp ;)

[]'s
Mauro
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Mark Knecht
OK, I'm flummoxed. Have I just gotten lucky all these years? I
attempted to emerge a new glibc this morning and I cannot because it
completely fills my 2.7GB /var partition in the process and I end with
a 'no space on device' message! Obviously the emerge doesn't finish
and I'm left to clean up and ponder the meaning of such things. Prior
to starting the emerge the partition is about 30% full so it appears
that the build takes something like 2GB? Can this really be true?

What can I do to get around this? Should this build really take this
much space or is there possibly a bug here somewhere?

dragonfly ~ # emerge -pv glibc 
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug
-erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux)
-userlocales 0 kB

Total size of downloads: 0 kB
dragonfly ~ #

There's probably a config option for where this work is done somewhere
else. What would I change to temporarily move the elsewhere if indeed
there is no bug.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] USE flags...

2005-07-18 Thread Dave Nebinger
 I'm trying to avoid a big, bloated system without going too crazy here.
 Any suggestions?

Your problem is going to be the incremental enabling thing you'd like to do.
If you add a new USE flag later on, you need to emerge with the newuse flag
which will result in a larger emerge than what you expect.

For example, if you build your system then add the alsa use flag and emerge
with newuse, you'll basically be rebuilding X, kde and/or gnome, etc.  A
huge task for such a simple flag addition.

Your best bet is to determine the use flags that you intend on using in the
final system and be selective about what you emerge to keep the system size
under control.

Unless, of course, you don't mind recompiling big parts of the system for
use case changes...



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Rumen Yotov
Dmitry S. Makovey wrote:

For past couple of weeks as I was doing emerge --sync and emerge -uDNp 
I've noticed that libgsf has jumping versions. That is one week 
it's 1.12.0 another 1.10.0 and it swings from one to another. Does 
anybody know what might trigger this behavior?

  

Hi,
At least two packages depend on libgsf so when one wants to ungrade it
wants version 1.10.0 while the other depends on: =libgsf-1.12.0, but
that's only one scenario. Try emerge -DNu world -ptv (see -t | --tree
option).
Maybe the newest libgsf is 1.12.0 while some app depends only on a lower
version: 1.10.0 also possible.
Check w/o -D|--deep option for second case.
HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Neil Bothwick
On Mon, 18 Jul 2005 08:36:32 -0700, Mark Knecht wrote:

 dragonfly ~ # emerge -pv glibc 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug
 -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux)
 -userlocales 0 kB

Try setting userlocales and putting the locales you want
in /etc/locales.build. that should reduce the space requirements quite a
bit.

 There's probably a config option for where this work is done somewhere
 else. What would I change to temporarily move the elsewhere if indeed
 there is no bug.

PORTAGE_TMPDIR determines where portage uses for temporary storage.


-- 
Neil Bothwick

If only the good die young then what does that say about senior citizens?


pgpYtzpAvvb1w.pgp
Description: PGP signature


Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 09:34 am, Mauro Faccenda wrote:
 Dmitry S. Makovey wrote:
  For past couple of weeks as I was doing emerge --sync and emerge
  -uDNp I've noticed that libgsf has jumping versions. That is
  one week it's 1.12.0 another 1.10.0 and it swings from one to
  another. Does anybody know what might trigger this behavior?

 This is because gnumeric REQUIRES =1.10.0... and when you do a -uD
 it will be upgraded.

 You should keep using -uNp instead of -uDNp ;)

looks like it's the case here except that I like my -uDNp as 
system became bit more stable since I started using D and every 
time I upgrade it picks up everything I need and I didn't have to ask 
it twice :) Oh well, maybe -D is a minor drawback and I can survive 
occasional rebuild of libgsf :) 

Thanks a lot for the tip.. it all makes sense now. At least I know now 
what's going on.

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpuB0LXueUyR.pgp
Description: PGP signature


Re: [gentoo-user] USE flags...

2005-07-18 Thread Vincent A. Primavera

Vincent A. Primavera wrote:


Hello,
   Just looking for some opinions here.  What is a good approach
to installing applications with a minimal amount of optional USE flags
enabled? For example, if one were to run `emerge -pv kde-base/kde` you
would be presented with many, many dependencies and USE flags.  I
would prefer to install less upfront and add on later as needed.
Doing an `emerge -pv $packagename` then looking through the
dependencies and their USE flags each time, to me, doesn't seem like
the best method.  I took a look at the list of USE flags at
http://www.gentoo-portage.com/USE and disabling dozens of them in
/etc/make.conf doesn't seem like a great method either.  I'm trying to
avoid a big, bloated system without going too crazy here.  Any
suggestions?
--
   Thank you,

   Vincent A. Primavera.
   Director of Information Technology.
   Ralph Pill Electric Supply Co.



Hi,
Recently there was such discussion, only about the default USE-flags (in
current profile).
By memory the solution was: -* only desired USE-flags here, ex. alsa
crypt readline ... in '/etc/make.conf'
-* disables quite all (only all optional w/o the required ones) and
turns ON the USE-flags following it.
PS: watch out there are 2-3 flags which are absolutely required for a
sane system, check ML-archive (readline is one).
HTH. Rumen


Hello,
   This looks like what I am leaning towards.  Now I just have to find 
out what those few critical flags are ;o}  Thanks all!

--
   Vincent A. Primavera.
   Director of Information Technology.
   Ralph Pill Electric Supply Co. 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Mark Knecht
On 7/18/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 18 Jul 2005 08:36:32 -0700, Mark Knecht wrote:
 
  dragonfly ~ # emerge -pv glibc
  These are the packages that I would merge, in order:
 
  Calculating dependencies ...done!
  [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug
  -erandom -hardened (-multilib) +nls +nptl +nptlonly -pic (-selinux)
  -userlocales 0 kB
 
 Try setting userlocales and putting the locales you want
 in /etc/locales.build. that should reduce the space requirements quite a
 bit.

Thanks, I'll check the out.

 
  There's probably a config option for where this work is done somewhere
  else. What would I change to temporarily move the elsewhere if indeed
  there is no bug.
 
 PORTAGE_TMPDIR determines where portage uses for temporary storage.

I set this in make.conf, correct? Seems logical but man emerge and man
portage don't seem to mention this variable.

Thanks very much,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Howto speed up compilations

2005-07-18 Thread John J. Foster
Good afternoon all,

A few weeks ago I read in one of the newgroups a way to greatly decrease
compilation times. The author noted that this was particularly noticable
when working with something like OO. The general jist of it was to
create temporary file system in memory and mount your portage tmpdir
there. For the life of me, I can't find that thread anymore. Does anyone
do something similar to this? Are there noticable gains to be had. I
have an Athlon 2800XP and 1 GB ram.

Thanks,
John

-- 
Contrary to the lie machine, the world is not safer.


pgpfPfnFThvIN.pgp
Description: PGP signature


[gentoo-user] DVD-cd usage

2005-07-18 Thread James
Hello,

I have a Toshiba DVD-ROM SD-R2412 in my portable.
#lshw reveals:
*-cdrom
   description: DVD reader
   product: TOSHIBA DVD-ROM SD-R2412
   vendor: Toshiba
   physical id: 0
   bus info: [EMAIL PROTECTED]
   logical name: /dev/hdc
   version: 1015
   serial: Z34A308331
   capabilities: packet atapi cdrom 
removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd

K3b gives me this error message:
Could not mount device.
The reported error was:
mount: only root can mount /dev/cdroms/cdrom0 on /mnt/cdrom

/etc/fstab has this entry:
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660  noauto,ro 0 0

# ls -alg /dev/cdroms/cdrom0   reveals
lr-xr-xr-x  1 root 33 Dec 31  1969 /dev/cdroms/cdrom0 -
../ide/host0/bus1/target0/lun0/cd

/etc/group has this entry:
cdrom::19:root,james

Should I pass parameters to the device at boot
time via /etc/conf.d/hdparm file?

The cdrom works to play music and I can manually mount CDs with
#  mount /dev/cdrom /mnt/cdrom
 to copy file off the cd. 

So why the error message?
What did I miss? 
Better Ideas on cdrom configuration are most welcome.
As I should be able to burn CDs with this device
and watch DVD movies?



James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread Zac Medico

John J. Foster wrote:


OK, this happens all the time. I search, can't find what I want, post a
question, search again, and there it is. This is not the thread I was
talking about, but it was right in front of me on the Gentoo Wiki.
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

Does anyone have any tips on these tips?



I sincerely doubt that this technique is worth the trouble because the Linux 
virtual memory system will automatically cache frequently accessed files in 
ram.  The tmpfs will eliminate filesystem overhead and will certainly result in 
a reduction of total build time.  However, I'd go with Bruno's recommendation 
and just put -pipe in the cflags.  For builds that work well in parallel, which 
most large builds do, distcc is a great way to speed things up.

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



[gentoo-user] emerge libdvdcss - ACCESS DENIED Error

2005-07-18 Thread Kurt Guenther

I've been getting this starting last week Thursday (?).  Any ideas?

--Kurt


(/usr/share/texmf/tex/latex/base/t1enc.def))
Writing index file refman.idx
No file refman.aux.
(/usr/share/texmf/tex/latex/base/ts1cmr.fd)kpathsea: Running mktextfm
ecrm1440
ACCESS DENIED  access_wr: /usr/share/texmf/fonts
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input ecrm1440
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf ecrm1440
ACCESS DENIED  access_wr: /usr/share/texmf/fonts
ACCESS DENIED  open_wr:   /var/cache/fonts/source/jknappen/ec/mf12893.tmp
/usr/bin/mktexmf: line 92: mf12893.tmp: Permission denied
chmod: cannot access `mf12893.tmp': No such file or directory
ACCESS DENIED  unlink:/var/cache/fonts/source/jknappen/ec/ecrm1440.mf
rm: cannot remove `ecrm1440.mf': Permission denied
mv: cannot stat `mf12893.tmp': No such file or directory
mktexmf: /var/cache/fonts/source/jknappen/ec/ecrm1440.mf: successfully
generated.
/var/lib/texmf/web2c/mktexupd:
/var/cache/fonts/source/jknappen/ec/ecrm1440.mf not a file.
warning: kpathsea: mktexpk output
`/var/cache/fonts/source/jknappen/ec/ecrm1440.mf' instead of a filename.
! I can't find file `ecrm1440'.
* ...ljfour; mag:=1; nonstopmode; input ecrm1440

Please type another input file name
! Emergency stop.
* ...ljfour; mag:=1; nonstopmode; input ecrm1440

Transcript written on mfput.log.
grep: ecrm1440.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ecrm1440' failed to make ecrm1440.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/14.4=ecrm1440 at 14.4pt not loadable: Metric (TFM)
file not f
ound.
to be read again
   relax
l.18 {\Large
 libdvdcss Reference Manual\\[1ex]\large 1.2.5 }\\
?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Zac Medico

Mark Knecht wrote:

PORTAGE_TMPDIR determines where portage uses for temporary storage.



I set this in make.conf, correct? Seems logical but man emerge and man
portage don't seem to mention this variable.



That's odd, it's not in portage(5) either.  It is documented in 
make.conf.example though.

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



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga danieldaveiga at gmail.com writes:

  I have a Toshiba DVD-ROM SD-R2412 in my portable.
  #lshw reveals:
  *-cdrom
 description: DVD reader
 product: TOSHIBA DVD-ROM SD-R2412
 vendor: Toshiba
 capabilities: packet atapi cdrom
  removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd




 /dev/cdroms/cdrom0   /mnt/cdrom   iso9660  user,noauto,ro 0 0
OK this got rid of the error in K3b.

 You should be able to do all you can do with your drive, in your case,
 I believe you can read cds and read dvds, but as far as I know, you
 can't burn cds, its a dvd drive, not a cdrw or a combo. (at least
 considering the name, I may be wrong)

Well, the last line from 'lshw' says it is a cd-rw

That implies I should be able to write to the CD?

The page:http://www.toshiba-europe.com/storage/
Index.asp?page=PCInav=ISH_PRSmodel=SDR2412

tells me the drive has CD rw capabilities. Maybe I missed the correct
driver in the kernel?

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Mark Knecht
On 7/18/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Mon, 18 Jul 2005 10:05:22 -0700, Mark Knecht wrote:
 
   PORTAGE_TMPDIR determines where portage uses for temporary storage.
 
  I set this in make.conf, correct?
 
 Correct
 
  Seems logical but man emerge and man
  portage don't seem to mention this variable.
 
 man make.conf mentions it, as does /etc/make.conf.example
 

Great. Thanks. Looks like I'll have to give it a try. Even turning on
userlocales it still failed on to build for device space:

dragonfly glibc-2.3.5 # emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug -erandom -hardened
(-multilib) +nls +nptl +nptlonly -pic (-selinux) +userlocales* 0 kB

Total size of downloads: 0 kB
dragonfly glibc-2.3.5 #

dragonfly ~ # cat /etc/locales.build
# This file names the list of locales to be built when glibc is installed.
# The format is locale/charmap, where locale is a locale from the
# /usr/share/i18n/locales directory, and charmap is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US/ISO-8859-1
en_US.UTF-8/UTF-8

dragonfly ~ #

Looks like that wasn't enough space reduction.

I don't think every machine of mine has it's own /var partition so
probably there was always enough space under /. I created /var on this
machine since it's a MythTV server which has saved me because when
MythTV storage runs out MythTV fills the log file with millions of the
same message.

Another solution I tried and which did work was to create a directory
on my root partition and do a mount --bind while doing the glibc
emerge. The emerge finished cleanly and then I dismounted the temp
storage to get back to normal.

Multiple solutions I think.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread Richard Fish

Zac Medico wrote:


John J. Foster wrote:



OK, this happens all the time. I search, can't find what I want, post a
question, search again, and there it is. This is not the thread I was
talking about, but it was right in front of me on the Gentoo Wiki.
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

Does anyone have any tips on these tips?



I sincerely doubt that this technique is worth the trouble because the 
Linux virtual memory system will automatically cache frequently 
accessed files in ram.  The tmpfs will eliminate filesystem overhead 
and will certainly result in a reduction of total build time.  
However, I'd go with Bruno's recommendation and just put -pipe in the 
cflags.  For builds that work well in parallel, which most large 
builds do, distcc is a great way to speed things up.


Zac



I'm a bit dubious about this well...unless you have a huge amount of 
memory (as in, more than 2G).  But even then, if you have sufficient 
RAM, most of the source files should still be in memory as a result of 
the extraction of the source archive before compilation.  And if buffers 
get flushed/recycled as a result of the compilation, that generally 
means that the compiler needed a large amount of memory, and giving the 
compiler your RAM is a much better choice, as otherwise swap has to be 
used, and that will *kill* your compilation time!


That isn't to say that I don't think some smart and simple things beyond 
-pipe can speed up builds.  I believe /var should be it's own 
filesystem, about 5G in size, and positioned just before /usr if you 
have one, or just after / if not.  The filesystem should be either XFS 
(caches files in memory very agressively, and in fact doesn't even 
update the disk for short-lived temporary files) or reiserfs v3 (creates 
and deletes files very very quickly).


However, I can pretty much guarantee that nothing short of a 
16-processor, 16GB system (or a distcc farm, as Colin suggested) will 
allow you to emerge -Dv --emptytree kde-meta in 15 minutes!!!  There 
is simply no getting around the CPU and memory bandwidth required for 
compiling!


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread Neil Bothwick
On Mon, 18 Jul 2005 10:05:22 -0700, Mark Knecht wrote:

  PORTAGE_TMPDIR determines where portage uses for temporary storage.
 
 I set this in make.conf, correct? 

Correct

 Seems logical but man emerge and man
 portage don't seem to mention this variable.

man make.conf mentions it, as does /etc/make.conf.example


-- 
Neil Bothwick

Fascinating, said Spock, watching Kirk's lousy acting.


pgpLJYqru5m62.pgp
Description: PGP signature


Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Holly Bostick
Stuart Howard schreef:
 thx for the response 
 
 I think we missed each other with the point though, currently my sound
 works just fine and I am happy with it as it is [ie. built in] I am
 not sure where the alsa driver in world came from unless it is a
 hangover from my initial genkernel instalation.

Well, there is a compromise solution:

/etc/portage/profile/package.provided

I don't have a clue what I tried to install that wanted alsa-driver, but
I added

media-sound/alsa-driver-1.0.6a (don't actually have to have a version,
afaik, you can just put the package name)

to the above-mentioned file, and it never bothered me again.

Basically, you're telling Portage that you've handled this-- the
package is installed,  just not *by* Portage, so it should just trust
you. And of course you have installed the package-- when you compiled
the kernel, so it's not even like you're lying or anything.

The upside of this should be that you can uninstall the alsa-driver
package (if it is installed), or do an emerge (-p) --depclean to get rid
of it, or remove it from your world file, and no program that depends on
it should be disturbed (because you've informed Portage that the
equivalent data is available, and Portage trusts you :-) )-- and no
package that wants to depend on it in the future should try to install it.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mdadm: failed to stop /dev/md1

2005-07-18 Thread Richard Fish

Jarry wrote:


Hm, I've noticed on console-screen some strange message when
doing shutdown:

mdamd: failed to stop /dev/md1 array, device or resource busy [!!]

/dev/md1 is mounted as root partition, apart from that I have
7 more /dev/md partitions, all are stopped without any message.

Right before shutdown -h now I tried to see if there are some
files open, but lsof /dev/md1 showed nothing...

I can not find any other relevant messages, syslog-ng is stopped
before this error, and shutdown continues as usuall. Any ideas?



Yep, get used to it! ;-

The problem is that there are still at least two programs running at 
shutdown time...the shutdown command and init.  Since their current 
working directory is somewhere on the root filesystem, root cannot be 
unmounted...the best that can happen is that root gets remounted 
read-only.  And since your root filesystem cannot be unmounted, /dev/md1 
will continue to be busy.


It is a completely harmless message though.  I get something similar 
about shuting down LVM...


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Howto speed up compilations

2005-07-18 Thread Francesco Talamona
On Monday 18 July 2005 19:07, John J. Foster wrote:
 Good afternoon all,

 A few weeks ago I read in one of the newgroups a way to greatly
 decrease compilation times. The author noted that this was
 particularly noticable when working with something like OO. The
 general jist of it was to create temporary file system in memory and
 mount your portage tmpdir there. For the life of me, I can't find
 that thread anymore. Does anyone do something similar to this? Are
 there noticable gains to be had. I have an Athlon 2800XP and 1 GB
 ram.

IIRC OO takes more than 3GB of space to compile. Gcc itself is quite RAM 
demanding...

I tkink it is feasible for smaller programs.

Ciao
Francesco
-- 
Linux Version 2.6.11-gentoo-r11, Compiled #1 Thu Jun 23 05:26:18 
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4308.99 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Routing advice requested

2005-07-18 Thread David Mallwitz

George Garvey wrote:

   I just installed a T1 to a new ISP using a Sangoma CSU/DSU card.
   I thought I could use aliased IPs on existing gigE NICS on our LAN
to set up the hosts that need an internet routable presence.
   Maybe that can be done, but not by me. I don't understand enough. I
can get it to work on the system with the T1. But not on another
computer over the LAN.

   On the system with the T1, I have a gigE to the LAN, and one of the
ISP's IPs for asterisk (as an alias to the T1). That works okay. It
worked okay with the ISP's IP as an alias to eth0, too.
   Edited output from ifconfig:
  (this is the gigE NIC connected to a switch for our LAN)
eth0  Link encap:Ethernet  HWaddr 00:07:E9:19:F3:F5  
  inet addr:192.168.1.17  Bcast:192.168.1.255  Mask:255.255.255.0


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


   (this is the T1. with the internet IP as an alias)
w1g1  Link encap:Point-to-Point Protocol  
  UP POINTOPOINT RUNNING NOARP  MTU:1532  Metric:1
w1g1ppp   Link encap:Point-to-Point Protocol  
  inet addr:209.101.232.82  P-t-P:209.101.232.81  Mask:255.255.255.252

  UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
w1g1ppp:0 Link encap:Point-to-Point Protocol  
  inet addr:216.132.251.226  P-t-P:216.132.251.226  Mask:255.255.255.224

  UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

   (this is the routing table [route -n])
Destination Gateway Genmask Flags Metric RefUse Iface
216.132.251.227 0.0.0.0 255.255.255.255 UH0  00 eth0
209.101.232.80  0.0.0.0 255.255.255.252 U 0  00 w1g1ppp
216.132.251.224 0.0.0.0 255.255.255.224 U 0  00 w1g1ppp
192.168.2.0 192.168.1.12255.255.255.0   UG0  00 eth0
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   127.0.0.1   255.0.0.0   UG0  00 lo
0.0.0.0 209.101.232.81  0.0.0.0 UG0  00 w1g1ppp

   The problem I'm having is with an alias on another computer that
needs to be on the internet. It is the IP 216.132.251.227. Traffic
internal to our LAN is routed to the computer that has that alias
(192.168.1.6). But, traffic coming from the internet gets to 209.101.232.82
and stops according to traceroute.
   I'm too ignorant to understand why the host route doesn't work for
packets coming from the T1 (from the internet), and get sent to the
computer that handles that IP. This is the latest in a series of
attempts. I've also tried putting the 216.132.251.224 network on the
LAN. I've tried using the 216.132.251.227's LAN address (192.168.1.6)
as a gateway for the host route. I've tried removing the
216.132.251.224 network route entirely, and just having host routes.

   What I was hoping to do was have one computer (192.168.1.17)
connected to the ISP with a T1, and serve as a router for the ISP's
IPs. That would also be connected to the internet with one of the ISP's
IPs for use by asterisk (216.132.251.226). This seems to be working
okay.
   I wanted another computer (192.168.1.6) to have an aliased ISP IP
(216.132.251.227) that would let that computer also have an internet
routable address. This is what I don't seem to be able to do. The
computer with the T1 doesn't seem to route packets from the internet
to the other computer over our LAN. It does for packets originating
from our LAN. But not for packets from the internet.
   I know my error is going to be obvious to everyone who actually
understands this stuff ;) I hope I've given the info to make things
clear.
   I can set up a small Fast enet switch for the ISP's network, I
guess. But I was hoping not to need to do that, and add more NICs to
the computers that eventually need to be on the internet. But maybe
that is what I need to do.
   Any and all advice (including things to read to decrease my
ignorance) appreciated.


First, a little terminology hygiene - IP aliasing refers having multiple 
addresses on a single physical interface, masquerading is the Linux 
terminology for Network Address Translation, which is what I think you want.


Look at your routing table. 216.132.251.224/27 is being routed back out 
over the interface it is coming in on, w1g1ppp. You are only able to 
access 216.132.251.227 from the internet because it is located on the 
same physical interface that is doing your routing.


My advice is to purchase another ethernet card, so you can physically 
separate the 216.132.251.224/27 and 192.168.1.0/24 networks. If asterisk 
has to exist on the router, then bind it to the 209.101.232.82 address. 
You'll also need to set up the iptables rules for NAT'ing your 
192.168.1.0/24 network.


Best,
Dave

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Tero Grundström

On Mon, 18 Jul 2005, Mauro Faccenda wrote:


Dmitry S. Makovey wrote:

For past couple of weeks as I was doing emerge --sync and emerge -uDNp
I've noticed that libgsf has jumping versions. That is one week
it's 1.12.0 another 1.10.0 and it swings from one to another. Does
anybody know what might trigger this behavior?



This is because gnumeric REQUIRES =1.10.0... and when you do a -uD it
will be upgraded.

You should keep using -uNp instead of -uDNp ;)


I wouldn't throw away -uDNp just because of this.

On my system there are only two packages that depend on libgsf:

gnumeric =gnome-extra/libgsf-1.10*
librsvg  =gnome-extra/libgsf-1.6

So librsvg can survive with an libgsf version as old as 1.6.

My solution has been adding these lines to /etc/portage/package.mask:
=gnome-extra/libgsf-1.12.0
=gnome-extra/libgsf-1.12.1

Ofcourse I could also use =gnome-extra/libgsf-1.12.0, but I prefer to be 
notified if there is a new version available.



--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Big data Cluster

2005-07-18 Thread David Busby

I just found this one:
  http://www.cuddletech.com/articles/iscsi/

So we can make a Linux box an iSCSI target, freaking sweet.
Now we can put the clustered initiators in the front with some targets behind.
s--- yea!

/djb

James wrote:

David Busby busby at edoceo.com writes:




I'm looking for reccomendations for storage clustering.  I'd like to network


together some Gentoo boxes

which internally 
are SCSI+RAID5 and then be able to store data on these multiple boxes as


though they are one big filesystem. 

Similar to 
what Isilon does but with Gentoo.  I've been reading the web sites about the


stuff in /usr/portage/sys-fs/

but I cannot 
tell which package is going to give me the right stuff.  Can anyone point me


in the right direction?


Well, I've been collection information as I have a 'large' need for remote video
surveillance. Here are the general approaches I've seen related to clustering
and large data storage needs, from a cost-effective point of view:

OPenmosix has some beta offerings that run on 2.6 based servers.

From the Linux Journal, May 2005 there is an article
Building a Bioinformatics Supercomputering Cluster that may be of interest.

Also from the Linux Journal, june 2005 it talks about ATA over Ethernet:
http://www.linuxjournal.com/article/8201

I'd be interested in any other clustering or
'high availability' technologies you find for
Gentoo.

HTH,

James






--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Daniel da Veiga
Oh, I see...

Well, since you have it builtin and everything is working, maybe its
dependent on other app, do you have alsa-utils or anything that could
pull alsa-drivers?

If you have an old installation and (like me) don't remember exactly
the steps for the initial configuration (I used alsa-driver, builtin,
then removed it lots of times, recompiled the kernel lots, test
purposes) then it can be a leftover from a previous config. Now, to
determine if you can or can't remove it its up to you, you can always
remove it and emerge it again if any problem appear. And if everything
fails, you can always remove it from the kernel and emerge alsa-driver
:)

On 7/18/05, Stuart Howard [EMAIL PROTECTED] wrote:
 thx for the response
 
 I think we missed each other with the point though, currently my sound
 works just fine and I am happy with it as it is [ie. built in] I am
 not sure where the alsa driver in world came from unless it is a
 hangover from my initial genkernel instalation.
 I would like to remove this package from my system simply because I
 think I dont need it, this being the bit I am not sure about.
 I am afraid that there are two things on linux that I have never got
 on well with, sound and optical drives. :)
 
 stu
 
 
 
 On 7/18/05, Daniel da Veiga [EMAIL PROTECTED] wrote:
  In order to use alsa-driver, you must not have alsa compiled in the
  kernel, I dunno exactly how you got this error using alsa already if
  everything was working before (unless you changed any settings on your
  kernel config). Enable only the audio support, compile modules for
  your sound-cards and let alsa-driver do the rest.
 
  On 7/18/05, Stuart Howard [EMAIL PROTECTED] wrote:
   Hi
  
   I think I know why I have this error but I woul like another view
   before I -aCv the package, the error from this mornings emerge -aDuv
   world was :-
  
   checking for built-in ALSA... yes
   configure: error: You have built-in ALSA in your kernel.
  
   !!! Please attach the config.log to your bug report:
   !!! /var/tmp/portage/alsa-driver-1.0.9b/work/alsa-driver-1.0.9b/config.log
  
   !!! ERROR: media-sound/alsa-driver-1.0.9b failed.
   !!! Function econf, Line 485, Exitcode 0
   !!! econf failed
   !!! If you need support, post the topmost build error, NOT this status 
   message.
  
   I skipped some of the less seemingly pertinent bits, my kernel is
   currently 2.6.11.5 and ALSA is built into it whereas when I first
   installed Gentoo [~6 months ago] I used genkernel which IIRC built
   ALSA as modules which I think has led me to the above error.
   I checked the changelog and this package
   media-sound/alsa-driver-1.0.9b was last made x86 in febuary which may
   have been before I installed gentoo hence I think why my world is
   trying to install it even though I do not require it.
  
   Could someone confirm [or guide anyway ] for me that my guess is
   right and that I will be safe to remove the package.
   Alternatively I have got completly the wrong end of the stick and I am
   about to kill my system :)
   in which case a big NO!! dont do it will suffice .
  
   thanks stu
  
  
   --
   There are 10 types of people in this world: those who understand
   binary, those who don't
  
   --Unknown
  
   --
   gentoo-user@gentoo.org mailing list
  
  
 
 
  --
  Daniel da Veiga
  Computer Operator - RS - Brazil
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 
 --
 There are 10 types of people in this world: those who understand
 binary, those who don't
 
 --Unknown
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Daniel da Veiga
cdr and cdrw?

On 7/18/05, James [EMAIL PROTECTED] wrote:
 Daniel da Veiga danieldaveiga at gmail.com writes:
 
 
  Ok, you're right, it really does burn cds.
 Well googling produces lots of complaints about trouble. But
 it looks mostly like old windows stuff...
 
  So, you're still not able to burn them? Try erasing an RW or writting
  an RW (so you don't spent cds). You should be able to do that with
  k3b, unless you already have mounted the cd (the erase and burn
  operations don't need the drive mounted) but I suppose that would echo
  an error.
 
 I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
 Here's the messages echoed to the K3b screen:
  Using cdrecored 2.1
   Starting dao writing at 24x speed...
 Medium  or burner do not support writing at 24x speed
 Switching down burn speed to 4x
 Starting in 2 seconds
 Starting in 1 second
 Writing canceled. by James after 40 minutes
 Removing buffer files
 Unlocking drive...
 Could not unlock CD drive.
 
  You don't need anything special on your kernel to burn cds. At least I
  have nothing special on mine. K3b does it all for me.
 
 OK, Maybe my use parameters are missing something?
 
 emerge -Nvp k3b  reveals
 ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
 -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
 
 
 ideas?
 
 James
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags...

2005-07-18 Thread Marco Matthies

Vincent A. Primavera wrote:

Hello,
   Just looking for some opinions here.  What is a good approach to 
installing applications with a minimal amount of optional USE flags 
enabled? For example, if one were to run `emerge -pv kde-base/kde` you 


Hi,
regarding kde, you might want to try the split ebuilds if you haven't 
heard of them before:

http://www.gentoo.org/doc/en/kde-split-ebuilds.xml

About the USE flags, sorry i have no better sane solution to your 
problem than to disable all at the beginning and then incrementally 
enabling more when you need them...


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



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 11:23 am, Tero Grundström wrote:
  This is because gnumeric REQUIRES =1.10.0... and when you do a
  -uD it will be upgraded.
 
  You should keep using -uNp instead of -uDNp ;)

 I wouldn't throw away -uDNp just because of this.

 On my system there are only two packages that depend on libgsf:

 gnumeric =gnome-extra/libgsf-1.10*
 librsvg  =gnome-extra/libgsf-1.6

 So librsvg can survive with an libgsf version as old as 1.6.

 My solution has been adding these lines to
 /etc/portage/package.mask: =gnome-extra/libgsf-1.12.0
 =gnome-extra/libgsf-1.12.1

I would lean towards abovementioned solution as it is 1) gentoo-way :) 
2) is not destructive and if something requires higher version of 
libgsf it'll complain about masked package and I can deal with it 
then. 

Thanks for usefull tip... Live and learn as they say :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpUV2E7q0zjk.pgp
Description: PGP signature


Re: [gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31

2005-07-18 Thread Holly Bostick
Thomas Drueke schreef:
 Hi,
 
 I want to emerge gentoo-sources-2.4.20-r31 but it has been deleted from
 the rsync repository.
 
 Is there a way to get the corresponding ebuild-file back to get it
 emerged ?
 
 BR
 Thomas
 

Go to www.gentoo.org, click the view our CVS link on the sidebar,
scroll down to the sys-kernel folder, go to the gentoo-sources folder,
right-click the link to your preferred ebuild, and Save Link As to your
Overlay folder, from which you can then digest and emerge it.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread David Morgan
On 13:07 Mon 18 Jul , John J. Foster wrote:
 Good afternoon all,
 
 A few weeks ago I read in one of the newgroups a way to greatly decrease
 compilation times. The author noted that this was particularly noticable
 when working with something like OO. The general jist of it was to
 create temporary file system in memory and mount your portage tmpdir
 there. For the life of me, I can't find that thread anymore. Does anyone
 do something similar to this? Are there noticable gains to be had. I
 have an Athlon 2800XP and 1 GB ram.
 
 Thanks,
 John
 

There was a thread about ways of speeding up compilation on gentoo-dev
(including what you mentioned) a while ago.

Good look compiling OOo with $PORTAGE_TMPDIR mounted in ram though ;)

Dave


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Stuart Howard
thx for the response 

I think we missed each other with the point though, currently my sound
works just fine and I am happy with it as it is [ie. built in] I am
not sure where the alsa driver in world came from unless it is a
hangover from my initial genkernel instalation.
I would like to remove this package from my system simply because I
think I dont need it, this being the bit I am not sure about.
I am afraid that there are two things on linux that I have never got
on well with, sound and optical drives. :)

stu



On 7/18/05, Daniel da Veiga [EMAIL PROTECTED] wrote:
 In order to use alsa-driver, you must not have alsa compiled in the
 kernel, I dunno exactly how you got this error using alsa already if
 everything was working before (unless you changed any settings on your
 kernel config). Enable only the audio support, compile modules for
 your sound-cards and let alsa-driver do the rest.
 
 On 7/18/05, Stuart Howard [EMAIL PROTECTED] wrote:
  Hi
 
  I think I know why I have this error but I woul like another view
  before I -aCv the package, the error from this mornings emerge -aDuv
  world was :-
 
  checking for built-in ALSA... yes
  configure: error: You have built-in ALSA in your kernel.
 
  !!! Please attach the config.log to your bug report:
  !!! /var/tmp/portage/alsa-driver-1.0.9b/work/alsa-driver-1.0.9b/config.log
 
  !!! ERROR: media-sound/alsa-driver-1.0.9b failed.
  !!! Function econf, Line 485, Exitcode 0
  !!! econf failed
  !!! If you need support, post the topmost build error, NOT this status 
  message.
 
  I skipped some of the less seemingly pertinent bits, my kernel is
  currently 2.6.11.5 and ALSA is built into it whereas when I first
  installed Gentoo [~6 months ago] I used genkernel which IIRC built
  ALSA as modules which I think has led me to the above error.
  I checked the changelog and this package
  media-sound/alsa-driver-1.0.9b was last made x86 in febuary which may
  have been before I installed gentoo hence I think why my world is
  trying to install it even though I do not require it.
 
  Could someone confirm [or guide anyway ] for me that my guess is
  right and that I will be safe to remove the package.
  Alternatively I have got completly the wrong end of the stick and I am
  about to kill my system :)
  in which case a big NO!! dont do it will suffice .
 
  thanks stu
 
 
  --
  There are 10 types of people in this world: those who understand
  binary, those who don't
 
  --Unknown
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 
 --
 Daniel da Veiga
 Computer Operator - RS - Brazil
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Daniel da Veiga
Ok, you're right, it really does burn cds.

So, you're still not able to burn them? Try erasing an RW or writting
an RW (so you don't spent cds). You should be able to do that with
k3b, unless you already have mounted the cd (the erase and burn
operations don't need the drive mounted) but I suppose that would echo
an error.

You don't need anything special on your kernel to burn cds. At least I
have nothing special on mine. K3b does it all for me.

On 7/18/05, James [EMAIL PROTECTED] wrote:
 Daniel da Veiga danieldaveiga at gmail.com writes:
 
   I have a Toshiba DVD-ROM SD-R2412 in my portable.
   #lshw reveals:
   *-cdrom
  description: DVD reader
  product: TOSHIBA DVD-ROM SD-R2412
  vendor: Toshiba
  capabilities: packet atapi cdrom
   removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd
 
 
 
 
  /dev/cdroms/cdrom0   /mnt/cdrom   iso9660  user,noauto,ro 0 0
 OK this got rid of the error in K3b.
 
  You should be able to do all you can do with your drive, in your case,
  I believe you can read cds and read dvds, but as far as I know, you
  can't burn cds, its a dvd drive, not a cdrw or a combo. (at least
  considering the name, I may be wrong)
 
 Well, the last line from 'lshw' says it is a cd-rw
 
 That implies I should be able to write to the CD?
 
 The page:http://www.toshiba-europe.com/storage/
 Index.asp?page=PCInav=ISH_PRSmodel=SDR2412
 
 tells me the drive has CD rw capabilities. Maybe I missed the correct
 driver in the kernel?
 
 James
 
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Richard Fish

Jorge Almeida wrote:


But it wasn't noticeable before... It looks as if the several widgets
were being shown _before_ the main window...



So, if I understand you correctly, some mozilla controls get drawn long 
before the titlebar?  Is that right?


If so, possibly an error with themes or alpha blending...

Could you post the output xdpyinfo...I have a feeling the answer is 
going to be in there.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge libdvdcss - ACCESS DENIED Error

2005-07-18 Thread Kurt Guenther
Michael W. Holdeman wrote:

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

  


Thx.  I think I was able to work around it.

--Kurt

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Resizing ext3

2005-07-18 Thread Richard Fish



Bruno Gola wrote:


Any way to resize a ext3 partition ?

I'm trying with parted:

 



I guess you'll have to do it manually with resize2fs and fdisk.  Just 
read the man page carefully, and think of it as a 2 or 3-step process:


Growing:

1. use fdisk to grow the partition first.

2. use resize2fs to grow the filesystem.

Shrinking:

1. use resize2fs to shink the filesystem to a point well below (at least 
10% below) the size you want for the partition.


2. use fdisk to resize the partition.

3. use resize2fs to grow the filesystem to fill the partitition.

HTH,

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread John J. Foster
On Mon, Jul 18, 2005 at 02:40:18PM -0400, Colin wrote:
 Plus, you can charge people if they want to come over and rent your 
 computing power.  (Virginia Tech does that with their System X, 1,100 
 dual-2.3GHz-processor XServe G5's.)  :-)

As I'm a little short of this total right now, I think I'll stick with 
the -pipe option for now ;-)

John
-- 
Contrary to the lie machine, the world is not safer.


pgpplUmibjrZX.pgp
Description: PGP signature


Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread Colin

Neil Bothwick wrote:


On Mon, 18 Jul 2005 14:14:41 -0300, Bruno Lustosa wrote:

 


A few weeks ago I read in one of the newgroups a way to greatly
decrease compilation times. The author noted that this was
particularly noticable when working with something like OO. The
general jist of it was to create temporary file system in memory and
mount your portage tmpdir there. For the life of me, I can't find
that thread anymore. Does anyone do something similar to this? Are
there noticable gains to be had. I have an Athlon 2800XP and 1 GB ram.
 


I am not sure if this will give a tremendous speedup. Granted, the
source files won't need to be read from disk, which is an advantage,
however, the file reading time should be very small compared to the
time it takes for the compiler to translate the source code into
machine code.
Also, there's the ammount of memory you will lose, memory that could
be used by the compiler. In some cases, gcc can eat very big chunks of
memory.
   



Not to mention the OOo ebuild needing around 3GB of space in TMPDIR, so
this approach would only result in the emerge failing quicker.
 

Not if you've got a machine with more than 3 GB of memory.  A dual-proc 
Power Mac G5 can handle up to 8 GB of physical RAM.  If you did this 
trick on one of those, you might see some serious improvement!  But with 
most PC's being limited (by the x86 and motherboard designs) to 2 GB of 
physical RAM, it wouldn't work with large apps.


A good suggestion would be to grab some old computers, Gentoo-ize them, 
network them over 100BaseTX or Gigabit and make a little distcc farm.  
Plus, you can charge people if they want to come over and rent your 
computing power.  (Virginia Tech does that with their System X, 1,100 
dual-2.3GHz-processor XServe G5's.)  :-)

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



[gentoo-user] Re: Big data Cluster

2005-07-18 Thread James
David Busby busby at edoceo.com writes:


 I'm looking for reccomendations for storage clustering.  I'd like to network
together some Gentoo boxes
 which internally 
 are SCSI+RAID5 and then be able to store data on these multiple boxes as
though they are one big filesystem. 
 Similar to 
 what Isilon does but with Gentoo.  I've been reading the web sites about the
stuff in /usr/portage/sys-fs/
 but I cannot 
 tell which package is going to give me the right stuff.  Can anyone point me
in the right direction?


Well, I've been collection information as I have a 'large' need for remote video
surveillance. Here are the general approaches I've seen related to clustering
and large data storage needs, from a cost-effective point of view:

OPenmosix has some beta offerings that run on 2.6 based servers.

From the Linux Journal, May 2005 there is an article
Building a Bioinformatics Supercomputering Cluster that may be of interest.

Also from the Linux Journal, june 2005 it talks about ATA over Ethernet:
http://www.linuxjournal.com/article/8201

I'd be interested in any other clustering or
'high availability' technologies you find for
Gentoo.

HTH,

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Dmitry S. Makovey
On July 18, 2005 12:21 pm, Zac Medico wrote:
 mkdir /etc/portage
 echo gnome-extra/libgsf-1.12.0  /etc/portage/package.mask

that would actually produce negative effects on gnumeric so I'd rather 
do as other post (by Tero) suggests: mask higher version as no 
package is requiring it anyway. But thanks for stepping in the 
discussion :)

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245


pgpOcl2U676F3.pgp
Description: PGP signature


Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Daniel da Veiga
In order to use alsa-driver, you must not have alsa compiled in the
kernel, I dunno exactly how you got this error using alsa already if
everything was working before (unless you changed any settings on your
kernel config). Enable only the audio support, compile modules for
your sound-cards and let alsa-driver do the rest.

On 7/18/05, Stuart Howard [EMAIL PROTECTED] wrote:
 Hi
 
 I think I know why I have this error but I woul like another view
 before I -aCv the package, the error from this mornings emerge -aDuv
 world was :-
 
 checking for built-in ALSA... yes
 configure: error: You have built-in ALSA in your kernel.
 
 !!! Please attach the config.log to your bug report:
 !!! /var/tmp/portage/alsa-driver-1.0.9b/work/alsa-driver-1.0.9b/config.log
 
 !!! ERROR: media-sound/alsa-driver-1.0.9b failed.
 !!! Function econf, Line 485, Exitcode 0
 !!! econf failed
 !!! If you need support, post the topmost build error, NOT this status 
 message.
 
 I skipped some of the less seemingly pertinent bits, my kernel is
 currently 2.6.11.5 and ALSA is built into it whereas when I first
 installed Gentoo [~6 months ago] I used genkernel which IIRC built
 ALSA as modules which I think has led me to the above error.
 I checked the changelog and this package
 media-sound/alsa-driver-1.0.9b was last made x86 in febuary which may
 have been before I installed gentoo hence I think why my world is
 trying to install it even though I do not require it.
 
 Could someone confirm [or guide anyway ] for me that my guess is
 right and that I will be safe to remove the package.
 Alternatively I have got completly the wrong end of the stick and I am
 about to kill my system :)
 in which case a big NO!! dont do it will suffice .
 
 thanks stu
 
 
 --
 There are 10 types of people in this world: those who understand
 binary, those who don't
 
 --Unknown
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Zac Medico

Tero Grundström wrote:

On Mon, 18 Jul 2005, Zac Medico wrote:


Dmitry S. Makovey wrote:

For past couple of weeks as I was doing emerge --sync and emerge 
-uDNp I've noticed that libgsf has jumping versions. That is one 
week it's 1.12.0 another 1.10.0 and it swings from one to another. 
Does anybody know what might trigger this behavior?




There's a portage bug that fits that description: 
http://bugs.gentoo.org/show_bug.cgi?id=13632.  When I encounter this I 
simply package mask the lower versions.


mkdir /etc/portage
echo gnome-extra/libgsf-1.12.0  /etc/portage/package.mask



That is not the correct way as this bug is caused by packages not 
functioning correctly with *newer* versions. In this case gnumeric 
doesn't like libgsf versions above 1.10.


If you think gnumeric does work well with the newest version of libgsf 
and that the package maintainer is setting wrongly the dependency 
version, please file a bug.




Okay, my mistake.  Actually, now that you mention it, it turns out that I edited the ebuild 
myself to have RDEPEND==gnome-extra/libgsf-1.10 in my overlay.  I'm not sure 
whether or not it causes negative consequences but since I rarely (if ever) use gnumeric, 
I'm not presently concerned ;-).

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



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread Neil Bothwick
On Mon, 18 Jul 2005 14:14:41 -0300, Bruno Lustosa wrote:

  A few weeks ago I read in one of the newgroups a way to greatly
  decrease compilation times. The author noted that this was
  particularly noticable when working with something like OO. The
  general jist of it was to create temporary file system in memory and
  mount your portage tmpdir there. For the life of me, I can't find
  that thread anymore. Does anyone do something similar to this? Are
  there noticable gains to be had. I have an Athlon 2800XP and 1 GB ram.
 
 I am not sure if this will give a tremendous speedup. Granted, the
 source files won't need to be read from disk, which is an advantage,
 however, the file reading time should be very small compared to the
 time it takes for the compiler to translate the source code into
 machine code.
 Also, there's the ammount of memory you will lose, memory that could
 be used by the compiler. In some cases, gcc can eat very big chunks of
 memory.

Not to mention the OOo ebuild needing around 3GB of space in TMPDIR, so
this approach would only result in the emerge failing quicker.


-- 
Neil Bothwick

Capt'n! The spellchecker kinna take this abuse!


pgpQFIWR2sIPC.pgp
Description: PGP signature


Re: [gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31

2005-07-18 Thread Benno Schulenberg
Thomas Drueke wrote:
 I want to emerge gentoo-sources-2.4.20-r31 but it has been
 deleted from the rsync repository.

 Is there a way to get the corresponding ebuild-file back to get
 it emerged ?

See
http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/gentoo-sources/

Download the desired one, put it in your overlay, and use = to 
emerge it.

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



[gentoo-user] Re: QOS

2005-07-18 Thread James
A. Khattri ajai at bway.net writes:

  Are there people on the list who are using QOS, i need it to preserve
  4MB for IP telephonie on a 100Mbit line.

 http://gentoo-wiki.com/HOWTO_Packet_Shaping

Hey, this looks very cool. Have you implemented this with success?
HTB (Hierarchial Token Buckets) are new to 2.6 and very, very cool.

Have you extended this over a wide area network, or across 2 networks
connected by a VPN?

My need is to use something like this over a wide area Frame Relay 
network, full of cisco and other routers. No Internet connections, 
but lots of  diffent machine generated traffic to manage.
Is this transparent to the cisco and other router configurations 
in a WAN deployment, or are there modifications I need to make to 
the cisco router configs to get this working over a private,
 frame relay cloud?

I guess in my case it may be easier to run internal router cards, 
use something like this for QOS for the applications communicating 
across the frame relay cloud. I have a sangoma card so I could 
test this on a tail circuit. What do you use to visualize the
diffent types data traffic? MRTG? JFFNMS? CACTI?

Comments and ideas are most welcome.

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga danieldaveiga at gmail.com writes:


 Ok, you're right, it really does burn cds.
Well googling produces lots of complaints about trouble. But
it looks mostly like old windows stuff...

 So, you're still not able to burn them? Try erasing an RW or writting
 an RW (so you don't spent cds). You should be able to do that with
 k3b, unless you already have mounted the cd (the erase and burn
 operations don't need the drive mounted) but I suppose that would echo
 an error.

I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
Here's the messages echoed to the K3b screen:
 Using cdrecored 2.1
  Starting dao writing at 24x speed...
Medium  or burner do not support writing at 24x speed
Switching down burn speed to 4x
Starting in 2 seconds
Starting in 1 second
Writing canceled. by James after 40 minutes
Removing buffer files
Unlocking drive...
Could not unlock CD drive.

 You don't need anything special on your kernel to burn cds. At least I
 have nothing special on mine. K3b does it all for me.

OK, Maybe my use parameters are missing something?

emerge -Nvp k3b  reveals
ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
-kdeenablefinal +mad +oggvorbis -xinerama 0 kB


ideas?

James


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31

2005-07-18 Thread Zac Medico

Thomas Drueke wrote:

Hi,

I want to emerge gentoo-sources-2.4.20-r31 but it has been deleted from
the rsync repository.

Is there a way to get the corresponding ebuild-file back to get it
emerged ?

BR
Thomas



It looks like you can grab it from cvs: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/gentoo-sources/.  Use it 
at your own risk.  It's been a while since I used a 2.4 kernel (before my 
gentoo days).

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



Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Zac Medico

Stuart Howard wrote:
thx for the response 


I think we missed each other with the point though, currently my sound
works just fine and I am happy with it as it is [ie. built in] I am
not sure where the alsa driver in world came from unless it is a
hangover from my initial genkernel instalation.
I would like to remove this package from my system simply because I
think I dont need it, this being the bit I am not sure about.
I am afraid that there are two things on linux that I have never got
on well with, sound and optical drives. :)

stu



In the gentoo alsa guide lists the pros and cons of alsa-driver vs. the alsa 
modules from kernel.org.  If alsa already works then you don't need 
alsa-driver.  Portage would certainly notify you of any dependency.

After you prune the world file, you can use emerge -a depclean to remove 
unneeded packages.  Of course, after a depclean (or any library changes), revdep-rebuild 
may be necessary.

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



[gentoo-user] alsa-driver emerge error

2005-07-18 Thread Stuart Howard
Hi 

I think I know why I have this error but I woul like another view
before I -aCv the package, the error from this mornings emerge -aDuv
world was :-

checking for built-in ALSA... yes
configure: error: You have built-in ALSA in your kernel.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/alsa-driver-1.0.9b/work/alsa-driver-1.0.9b/config.log

!!! ERROR: media-sound/alsa-driver-1.0.9b failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

I skipped some of the less seemingly pertinent bits, my kernel is
currently 2.6.11.5 and ALSA is built into it whereas when I first
installed Gentoo [~6 months ago] I used genkernel which IIRC built
ALSA as modules which I think has led me to the above error.
I checked the changelog and this package
media-sound/alsa-driver-1.0.9b was last made x86 in febuary which may
have been before I installed gentoo hence I think why my world is
trying to install it even though I do not require it.

Could someone confirm [or guide anyway ] for me that my guess is
right and that I will be safe to remove the package.
Alternatively I have got completly the wrong end of the stick and I am
about to kill my system :)
in which case a big NO!! dont do it will suffice .

thanks stu


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Benno Schulenberg
Jorge Almeida wrote:
 I just emerged KDE, changing from the monolytic packages to the
 split ones.
 Now windows redrawing is painfully (and cas-ca-ding) slow.

Have you tried renaming your .kde3.4/ dir temporarily (while logged 
out of KDE)?  And removed all kde and mcop junk from /tmp?

Have you unmerged the old kde ebuilds?  And done --depclean?  And 
revdep-rebuild?

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



Re: [gentoo-user] USE flags...

2005-07-18 Thread Vincent A. Primavera

Vincent A. Primavera wrote:


Hello,
   Just looking for some opinions here.  What is a good approach
to installing applications with a minimal amount of optional USE flags
enabled? For example, if one were to run `emerge -pv kde-base/kde` you
would be presented with many, many dependencies and USE flags.  I
would prefer to install less upfront and add on later as needed.
Doing an `emerge -pv $packagename` then looking through the
dependencies and their USE flags each time, to me, doesn't seem like
the best method.  I took a look at the list of USE flags at
http://www.gentoo-portage.com/USE and disabling dozens of them in
/etc/make.conf doesn't seem like a great method either.  I'm trying to
avoid a big, bloated system without going too crazy here.  Any
suggestions?
--
   Thank you,

   Vincent A. Primavera.
   Director of Information Technology.
   Ralph Pill Electric Supply Co.



Hi,
Recently there was such discussion, only about the default USE-flags (in
current profile).
By memory the solution was: -* only desired USE-flags here, ex. alsa
crypt readline ... in '/etc/make.conf'
-* disables quite all (only all optional w/o the required ones) and
turns ON the USE-flags following it.
PS: watch out there are 2-3 flags which are absolutely required for a
sane system, check ML-archive (readline is one).
HTH. Rumen



Hello,
This looks like what I am leaning towards.  Now I just have to 
find out what those few critical flags are ;o}  Thanks all!

--
Vincent A. Primavera.
Director of Information Technology.
Ralph Pill Electric Supply Co.
--
gentoo-user@gentoo.org mailing list


Hello,
   I found this below at 
http://www.dslreports.com/forum/remark,11993814: USE=-* tcpd crypt ssl pam 
ncurses zlib readline.  Does it look as minimalistic *and* safe as 
possible?

--
   Thank you,

   Vincent A. Primavera.
   Director of Information Technology.
   Ralph Pill Electric Supply Co.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout
have you tried using k3bsetup?


On Mon, 18 Jul 2005 20:36:44 + (UTC)
James wrote:

 Daniel da Veiga danieldaveiga at gmail.com writes:
 
 
  Ok, you're right, it really does burn cds.
 Well googling produces lots of complaints about trouble. But
 it looks mostly like old windows stuff...
 
  So, you're still not able to burn them? Try erasing an RW or writting
  an RW (so you don't spent cds). You should be able to do that with
  k3b, unless you already have mounted the cd (the erase and burn
  operations don't need the drive mounted) but I suppose that would echo
  an error.
 
 I'm using a brand new rw cd. I tried copying 2 .wav files to the cd.
 Here's the messages echoed to the K3b screen:
  Using cdrecored 2.1
   Starting dao writing at 24x speed...
 Medium  or burner do not support writing at 24x speed
 Switching down burn speed to 4x
 Starting in 2 seconds
 Starting in 1 second
 Writing canceled. by James after 40 minutes
 Removing buffer files
 Unlocking drive...
 Could not unlock CD drive.
 
  You don't need anything special on your kernel to burn cds. At least I
  have nothing special on mine. K3b does it all for me.
 
 OK, Maybe my use parameters are missing something?
 
 emerge -Nvp k3b  reveals
 ebuild   R   ] app-cdr/k3b-0.11.24  +arts -debug +dvdr +encode +flac +kde
 -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
 
 
 ideas?
 
 James
 
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Tero Grundström

On Mon, 18 Jul 2005, Zac Medico wrote:


Dmitry S. Makovey wrote:
For past couple of weeks as I was doing emerge --sync and emerge -uDNp I've 
noticed that libgsf has jumping versions. That is one week it's 1.12.0 
another 1.10.0 and it swings from one to another. Does anybody know what 
might trigger this behavior?




There's a portage bug that fits that description: 
http://bugs.gentoo.org/show_bug.cgi?id=13632.  When I encounter this I simply 
package mask the lower versions.


mkdir /etc/portage
echo gnome-extra/libgsf-1.12.0  /etc/portage/package.mask


That is not the correct way as this bug is caused by packages not 
functioning correctly with *newer* versions. In this case gnumeric doesn't 
like libgsf versions above 1.10.


If you think gnumeric does work well with the newest version of libgsf and 
that the package maintainer is setting wrongly the dependency version, 
please file a bug.


--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD-cd usage

2005-07-18 Thread Daniel da Veiga
Greetings,

On 7/18/05, James [EMAIL PROTECTED] wrote:
 Hello,
 
 I have a Toshiba DVD-ROM SD-R2412 in my portable.
 #lshw reveals:
 *-cdrom
description: DVD reader
product: TOSHIBA DVD-ROM SD-R2412
vendor: Toshiba
physical id: 0
bus info: [EMAIL PROTECTED]
logical name: /dev/hdc
version: 1015
serial: Z34A308331
capabilities: packet atapi cdrom
 removable nonmagnetic dma lba iordy audio cd-r cd-rw dvd
 
 K3b gives me this error message:
 Could not mount device.
 The reported error was:
 mount: only root can mount /dev/cdroms/cdrom0 on /mnt/cdrom

Well, its pretty obvious that root only can mount, and you're using
k3b without root privileges (as a normal user), dus you can't mount
it, nor use it.

 /etc/fstab has this entry:
 /dev/cdroms/cdrom0   /mnt/cdrom   iso9660  noauto,ro 0 0

Something like the user option is missing, that would allow your
normal user to mount and use the drive, make it:

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

 # ls -alg /dev/cdroms/cdrom0   reveals
 lr-xr-xr-x  1 root 33 Dec 31  1969 /dev/cdroms/cdrom0 -
 ../ide/host0/bus1/target0/lun0/cd
 
 /etc/group has this entry:
 cdrom::19:root,james
 
 Should I pass parameters to the device at boot
 time via /etc/conf.d/hdparm file?

There's no need for that.

 The cdrom works to play music and I can manually mount CDs with
 #  mount /dev/cdrom /mnt/cdrom
  to copy file off the cd.

You do that as root, don't you, and besides, a cdda player don't need
to mount cdroms, it uses the device itself in read-only mode. But to
copy files, you need to mount, and to mount you must be root, or
change the fstab file as stated above.

 So why the error message?
 What did I miss?
 Better Ideas on cdrom configuration are most welcome.
 As I should be able to burn CDs with this device
 and watch DVD movies?
 

You should be able to do all you can do with your drive, in your case,
I believe you can read cds and read dvds, but as far as I know, you
can't burn cds, its a dvd drive, not a cdrw or a combo. (at least
considering the name, I may be wrong)

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


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filesystem access to Gentoo from XP over SSH - suggestions?

2005-07-18 Thread Jose Gonzalez Gomez
2005/7/18, Steve [Gentoo] [EMAIL PROTECTED]:
 Thanks for the many suggestions...  Lots of interesting ideas and
 different perspectives.
 
 Zac Medico wrote:
 
 Filezilla is an ftp client that supports file transfer over ssh: 
 http://filezilla.sourceforge.net/
 
 
 I'll give that a look - it's not really what I was after - while I
 suppose I wasn't really clear about my intentions, I really wanted
 FS-like access to enable me not only to edit text files, but also to use
 visual differencing tools etc.  I'm suspecting that this wouldn't be
 supported using an ftp-like approach.
 
 For remote X you should use nx (emerge nxserver-freenx) or vnc (emerge 
 tightvnc).
 
 
 That's new to me - looks very interesting...  I'm guessing I'd need to
 get this working under cygwin for my XP client...  Anything which
 improves the performance of remote X sessions would be very useful.
 
 To map a network drive, you should probably tunnel samba through ssh.  
 Google for samba tunnel putty.
 
 
 This is exactly what I wanted to know. I hadn't thought of googling with
 putty as I'm using OpenSSH on both client and server - but the
 techniques look the same.
 
 Steve
 
I'm surprised nobody mentioned WinSCP... definitely worth a try:

http://winscp.net/

And of course, it's GPLed.

Best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge libdvdcss - ACCESS DENIED Error

2005-07-18 Thread Michael W. Holdeman
http://bugs.gentoo.org/show_bug.cgi?id=98854

On Monday 18 July 2005 01:53 pm, Kurt Guenther wrote:
 I've been getting this starting last week Thursday (?).  Any ideas?

 --Kurt


 (/usr/share/texmf/tex/latex/base/t1enc.def))
 Writing index file refman.idx
 No file refman.aux.
 (/usr/share/texmf/tex/latex/base/ts1cmr.fd)kpathsea: Running mktextfm
 ecrm1440
 ACCESS DENIED  access_wr: /usr/share/texmf/fonts
 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
 nonstopmode; input ecrm1440
 This is METAFONT, Version 2.71828 (Web2C 7.5.4)

 kpathsea: Running mktexmf ecrm1440
 ACCESS DENIED  access_wr: /usr/share/texmf/fonts
 ACCESS DENIED  open_wr:   /var/cache/fonts/source/jknappen/ec/mf12893.tmp
 /usr/bin/mktexmf: line 92: mf12893.tmp: Permission denied
 chmod: cannot access `mf12893.tmp': No such file or directory
 ACCESS DENIED  unlink:/var/cache/fonts/source/jknappen/ec/ecrm1440.mf
 rm: cannot remove `ecrm1440.mf': Permission denied
 mv: cannot stat `mf12893.tmp': No such file or directory
 mktexmf: /var/cache/fonts/source/jknappen/ec/ecrm1440.mf: successfully
 generated.
 /var/lib/texmf/web2c/mktexupd:
 /var/cache/fonts/source/jknappen/ec/ecrm1440.mf not a file.
 warning: kpathsea: mktexpk output
 `/var/cache/fonts/source/jknappen/ec/ecrm1440.mf' instead of a filename.
 ! I can't find file `ecrm1440'.
 * ...ljfour; mag:=1; nonstopmode; input ecrm1440

 Please type another input file name
 ! Emergency stop.
 * ...ljfour; mag:=1; nonstopmode; input ecrm1440

 Transcript written on mfput.log.
 grep: ecrm1440.log: No such file or directory
 mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
 input ecrm1440' failed to make ecrm1440.tfm.
 kpathsea: Appending font creation commands to missfont.log.

 ! Font T1/cmr/m/n/14.4=ecrm1440 at 14.4pt not loadable: Metric (TFM)
 file not f
 ound.
 to be read again
relax
 l.18 {\Large
  libdvdcss Reference Manual\\[1ex]\large 1.2.5 }\\
 ?

-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Daniel da Veiga danieldaveiga at gmail.com writes:


 cdr and cdrw?

We'll 'lshw' shows:
product: TOSHIBA DVD-ROM SD-R2412
capabilities: packet atapi cdrom removable nonmagnetic dma 
lba iordy audio cd-r cd-rw dvd 

so I'd assume cd-rw means read write:

Also the Toshiba web page:

http://www.toshiba-europe.com/storage/
Index.asp?page=PCInav=ISH_PRSmodel=SDR2412

Snip
SD-R2412
Slim-Line Combo CD-RW/DVD-ROM Drive (24x CD-R Write/8x DVD-ROM Read)
Show all Combo (Slim Line)
With the introduction of SD-R2412 into the market, Toshiba has suceeded in
leading the optical drive standards for the notebook market. This slim
combination drive boasts read speeds of 8x DVD, 24x CD and write speeds of 24x
CD-R, 10x CD-RW making it one of the most ideal drives for mobile multimedia and
storage use. 
snip

I guess it's possible it's not support to be a cd rw, but that
is not likely?

Maybe it's crippled in firmware, because I do not run winblows on the
portable?

Dunno...
I'm going to test writing to a one-shot disk now...

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread John J. Foster
On Mon, Jul 18, 2005 at 01:07:38PM -0400, John J. Foster wrote:
 Good afternoon all,
 
 A few weeks ago I read in one of the newgroups a way to greatly decrease
 compilation times. The author noted that this was particularly noticable
 when working with something like OO. The general jist of it was to
 create temporary file system in memory and mount your portage tmpdir
 there. For the life of me, I can't find that thread anymore. Does anyone
 do something similar to this? Are there noticable gains to be had. I
 have an Athlon 2800XP and 1 GB ram.
 
 Thanks,
 John

OK, this happens all the time. I search, can't find what I want, post a
question, search again, and there it is. This is not the thread I was
talking about, but it was right in front of me on the Gentoo Wiki.
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs

Does anyone have any tips on these tips?

John
 
 -- 
 Contrary to the lie machine, the world is not safer.



-- 
Contrary to the lie machine, the world is not safer.


pgpOCzlVjdruu.pgp
Description: PGP signature


Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread Bruno Lustosa
On 7/18/05, John J. Foster [EMAIL PROTECTED] wrote:
 A few weeks ago I read in one of the newgroups a way to greatly decrease
 compilation times. The author noted that this was particularly noticable
 when working with something like OO. The general jist of it was to
 create temporary file system in memory and mount your portage tmpdir
 there. For the life of me, I can't find that thread anymore. Does anyone
 do something similar to this? Are there noticable gains to be had. I
 have an Athlon 2800XP and 1 GB ram.

I am not sure if this will give a tremendous speedup. Granted, the
source files won't need to be read from disk, which is an advantage,
however, the file reading time should be very small compared to the
time it takes for the compiler to translate the source code into
machine code.
Also, there's the ammount of memory you will lose, memory that could
be used by the compiler. In some cases, gcc can eat very big chunks of
memory.
And if you use -pipe in your cflags, the gcc output isn't really
written to disk during the various stages of compilation. Instead,
it's piped through the processes.
Well... maybe someone will give you some accurate results.
Just my 2c.

-- 
Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil  |

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31

2005-07-18 Thread Thomas Drueke
Hi,

I want to emerge gentoo-sources-2.4.20-r31 but it has been deleted from
the rsync repository.

Is there a way to get the corresponding ebuild-file back to get it
emerged ?

BR
Thomas

-- 
Thomas Drueke [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libgsf weirdness...

2005-07-18 Thread Zac Medico

Dmitry S. Makovey wrote:
For past couple of weeks as I was doing emerge --sync and emerge -uDNp 
I've noticed that libgsf has jumping versions. That is one week 
it's 1.12.0 another 1.10.0 and it swings from one to another. Does 
anybody know what might trigger this behavior?




There's a portage bug that fits that description: 
http://bugs.gentoo.org/show_bug.cgi?id=13632.  When I encounter this I simply 
package mask the lower versions.

mkdir /etc/portage
echo gnome-extra/libgsf-1.12.0  /etc/portage/package.mask

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



Re: [gentoo-user] Resizing ext3

2005-07-18 Thread Zac Medico

Bruno Gola wrote:

and about the cd-writer, ive tried cdrecord -scanbus, and it appears my
CD-writer there, but now, nothing appears...

When cdrecord stops it just broke in my display, i cant exit it, just
killing...

it stops something like that:

ATAPI 1:

and stops (ive already wait for 1 hour... and nothing happens)


Any idea for this problems? :-P


We need the exact arguments that you gave to cdrecord and the exact output.  
Use the cdrecord -v option.


Any way to resize a ext3 partition ?

I'm trying with parted:



br ~ # parted /dev/hdb resize 1
Start?  [32kB]?  
End?  [80GB]? 70GB   
Error: File system has an incompatible feature enabled.  
Information: Don't forget to update /etc/fstab, if necessary.  


but ... i get this error... anyone knows what should i do ?



Too bad that error message isn't more specific.  Any idea what that incompatible feature 
might be?  Maybe the output of dumpe2fs -h /dev/hdb | grep features will give 
you a clue.

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



Re: [gentoo-user] Can't emerge glibc as it completely fills /var

2005-07-18 Thread David Busby


Zac Medico wrote:

Mark Knecht wrote:


PORTAGE_TMPDIR determines where portage uses for temporary storage.


I set this in make.conf, correct? Seems logical but man emerge and man
portage don't seem to mention this variable.



That's odd, it's not in portage(5) either.  It is documented in 
make.conf.example though.


I thought this was in man 5 make.conf

/djb

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alsa-driver emerge error

2005-07-18 Thread Stuart Howard
OK well it looks like I have been neglecting my admin duties 

I am going to proceed with removing the alsa-driver and then go from
there, Holly thx for the workaround but I do not feel confident in me
;)
I will trust the powers that be and make portage happy, my theory
being that portage manages a safe secure stable system and why should
I choose to break it.
Anyway, on further investigation ie. a revdeprebuild and a emerge p
--depclean [as suggested] it seems I have a fair few problems. Lots of
nasty red messages saying eek!!
[mmm I digress it seems, must return to topic] 
so revdep is complaining at firefox, probably due to my changing from
compiled to bin and the depclean would like to remove 134 packages!!

On further reading I think that adding -gnome to /etc/make.conf was
hasty [I use xfce but still enjoy a few gnome packages]
I will have to do some investigating.

On the plus side my daily emerge world has just completed as I was
writing this so that is good and sound appears to work though I have
not yet rebooted --loathed to do it, reminds me of days on the dark
side.

well thx people, I will be back should all go horribly wrong :)

stu



On 7/18/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Stuart Howard schreef:
  thx for the response
 
  I think we missed each other with the point though, currently my sound
  works just fine and I am happy with it as it is [ie. built in] I am
  not sure where the alsa driver in world came from unless it is a
  hangover from my initial genkernel instalation.
 
 Well, there is a compromise solution:
 
 /etc/portage/profile/package.provided
 
 I don't have a clue what I tried to install that wanted alsa-driver, but
 I added
 
 media-sound/alsa-driver-1.0.6a (don't actually have to have a version,
 afaik, you can just put the package name)
 
 to the above-mentioned file, and it never bothered me again.
 
 Basically, you're telling Portage that you've handled this-- the
 package is installed,  just not *by* Portage, so it should just trust
 you. And of course you have installed the package-- when you compiled
 the kernel, so it's not even like you're lying or anything.
 
 The upside of this should be that you can uninstall the alsa-driver
 package (if it is installed), or do an emerge (-p) --depclean to get rid
 of it, or remove it from your world file, and no program that depends on
 it should be disturbed (because you've informed Portage that the
 equivalent data is available, and Portage trusts you :-) )-- and no
 package that wants to depend on it in the future should try to install it.
 
 HTH,
 Holly
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Richard Fish wrote:


Jorge Almeida wrote:


But it wasn't noticeable before... It looks as if the several widgets
were being shown _before_ the main window...



So, if I understand you correctly, some mozilla controls get drawn long 
before the titlebar?  Is that right?

Yep.


If so, possibly an error with themes or alpha blending...

But why now?


Could you post the output xdpyinfo...I have a feeling the answer is going 
to be in there.


$ xdpyinfo
name of display::0.0
version number:11.0
vendor string:Gentoo Linux (The X.Org Foundation 6.8.2, revision r1-0.1.2)
vendor release number:60802000
X.Org version: 6.8.2
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:32, LSBFirst, 32
image byte order:LSBFirst
number of supported pixmap formats:7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:minimum 8, maximum 255
focus:  window 0x2a00049, revert to PointerRoot
number of extensions:33
BIG-REQUESTS
Composite
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-DRI
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number:0
number of screens:1

screen #0:
  print screen:no
  dimensions:1280x1024 pixels (325x260 millimeters)
  resolution:100x100 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32
  root window id:0x41
  depth of root window:24 planes
  number of colormaps:minimum 1, maximum 1
  default colormap:0x20
  default number of colormap cells:256
  preallocated pixels:black 0, white 16777215
  options:backing-store NO, save-unders NO
  largest cursor:64x64
  current input event mask:0xfa4035
KeyPressMask ButtonPressMask  EnterWindowMask
LeaveWindowMask  KeymapStateMask  StructureNotifyMask
SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask
PropertyChangeMask   ColormapChangeMask
  number of visuals:9
  default visual id:  0x23
  visual:
visual id:0x23
class:TrueColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x24
class:TrueColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x25
class:TrueColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x26
class:TrueColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x27
class:DirectColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x28
class:DirectColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x29
class:DirectColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x2a
class:DirectColor
depth:24 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits
  visual:
visual id:0x3f
class:TrueColor
depth:32 planes
available colormap entries:256 per subfield
red, green, blue masks:0xff, 0xff00, 0xff
significant bits in color specification:8 bits

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Resizing ext3

2005-07-18 Thread James Hiscock
On 7/18/05, Bruno Gola [EMAIL PROTECTED] wrote:
 Error: File system has an incompatible feature enabled.

1) Remove the journal from the ext3 partition using tune2fs:
  tune2fs -C ^has_journal partition

2) Resize using parted

3) Add the journal back using tune2fs:
tune2fs -j partition

See 'man tune2fs' (as root) for important warnings  information (and
I really hope I've got that right...)

Qtparted might be an easier way to do the resize, as well... shrug

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Howto speed up compilations

2005-07-18 Thread Nick Rout

On Mon, 18 Jul 2005 19:26:38 +0200
Francesco Talamona wrote:

 On Monday 18 July 2005 19:07, John J. Foster wrote:
  Good afternoon all,
 
  A few weeks ago I read in one of the newgroups a way to greatly
  decrease compilation times. The author noted that this was
  particularly noticable when working with something like OO. The
  general jist of it was to create temporary file system in memory and
  mount your portage tmpdir there. For the life of me, I can't find
  that thread anymore. Does anyone do something similar to this? Are
  there noticable gains to be had. I have an Athlon 2800XP and 1 GB
  ram.
 
 IIRC OO takes more than 3GB of space to compile. Gcc itself is quite RAM 
 demanding...
 
 I tkink it is feasible for smaller programs.

yeah and smaller programs take a negligible time in most cases.

anyone who has tested this, did you have ccache turned off? if it is on
it will skew results to hell, as a lot of the object files will be
cached.


 
 Ciao
   Francesco
 -- 
 Linux Version 2.6.11-gentoo-r11, Compiled #1 Thu Jun 23 05:26:18 
 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4308.99 Bogomips Total
 aemaeth
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Rumen Yotov wrote:

Hi,
Think i can't of great help here, but at least twice when i had slow
graphical performance solved it by re-emerging some packages and
xorg-x11 once (i assume you have run 'revdep-rebuild' ;)
As it seems your main DM is KDE it's likely that there may be issues
with GTK-apps, as their libs/deps also get loaded when mozilla/etc is run.
Here's some info:
1.mozilla dependencies:
...www-client/mozilla-1.7.8:
   crypt? !moznomail? =app-crypt/gnupg-1.2.1 app-crypt/gnupg-1.4.1
   postgres?   =dev-db/postgresql-7.2.0 dev-db/postgresql-8.0.1-r4
   =dev-libs/glib-2.2.0dev-libs/glib-2.6.4
   =dev-libs/libIDL-0.8.0  dev-libs/libIDL-0.8.5
   =media-libs/fontconfig-2.1 media-libs/fontconfig-2.2.3
   =media-libs/jpeg-6b media-libs/jpeg-6b-r4
   =media-libs/libmng-1.0.0 media-libs/libmng-1.0.8-r1
   =media-libs/libpng-1.2.1 media-libs/libpng-1.2.8
   =sys-apps/portage-2.0.36 sys-apps/portage-2.0.51.22-r1
   =sys-libs/zlib-1.1.4sys-libs/zlib-1.2.2-r1
   =www-client/mozilla-launcher-1.22
www-client/mozilla-launcher-1.32
   =www-client/mozilla-launcher-1.28
www-client/mozilla-launcher-1.32
   =x11-libs/gtk+-2.2.0x11-libs/gtk+-2.6.7
   =x11-libs/pango-1.2.1   x11-libs/pango-1.8.1
   app-arch/unzip   app-arch/unzip-5.50-r2
   app-arch/zip app-arch/zip-2.3-r4
   dev-lang/perldev-lang/perl-5.8.6-r5
   dev-libs/expat   dev-libs/expat-1.95.8
   dev-util/pkgconfig   dev-util/pkgconfig-0.17.2-r1
   !bootstrap? sys-devel/patch  sys-devel/patch-2.5.9
   virtual/x11  x11-base/xorg-x11-6.8.2-r2
   !moznoxft?  virtual/xft  x11-base/xorg-x11-6.8.2-r2
   ~sys-devel/autoconf-2.13 sys-devel/autoconf-2.13
...
2.GTK+ dependencies:
...x11-libs/gtk+-2.6.7:
   =dev-libs/atk-1.0.1 dev-libs/atk-1.9.1
   =dev-libs/glib-2.6  dev-libs/glib-2.6.4
   =dev-util/pkgconfig-0.12.0 dev-util/pkgconfig-0.17.2-r1
   jpeg?   =media-libs/jpeg-6b-r2  media-libs/jpeg-6b-r4
   =media-libs/libpng-1.2.1 media-libs/libpng-1.2.8
   =sys-devel/automake-1.7.9 sys-devel/automake-1.9.5
   =x11-libs/pango-1.8 x11-libs/pango-1.8.1
   sys-devel/autoconf   sys-devel/autoconf-2.59-r6
   !bootstrap? sys-devel/patch  sys-devel/patch-2.5.9
   virtual/x11  x11-base/xorg-x11-6.8.2-r2
   x11-misc/shared-mime-info x11-misc/shared-mime-info-0.16

...
IMHO you could first try emerging: glibgtk+ and probably in second
place: xorg-x11.
There are also many image-manupulation libraries: jpeg,png,mng
HTH. Rumen


Sigh I guess it's going to be a long week...
Thanks :)

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida


On Mon, 18 Jul 2005, Benno Schulenberg wrote:


Have you tried renaming your .kde3.4/ dir temporarily (while logged
out of KDE)?  And removed all kde and mcop junk from /tmp?

Have you unmerged the old kde ebuilds?  And done --depclean?  And
revdep-rebuild?


No. I think a deep cleaning is in order.
Thank you.

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Zac Medico

Jorge Almeida wrote:


...
IMHO you could first try emerging: glibgtk+ and probably in second
place: xorg-x11.
There are also many image-manupulation libraries: jpeg,png,mng
HTH. Rumen


Sigh I guess it's going to be a long week...
Thanks :)

Jorge


Something that's still unclear to me: is the problem with kde, mozilla, or 
both?  If you experience the same problem with mozilla under openbox then your 
troubles have nothing to do with kde. OTOH, if you there's no problems under 
openbox then the problem is in X/glib/gtk/mozilla.

You can greatly reduce the troubleshooting time if you go about it in a 
systematic way (process of elimination/scientific method) to isolate the 
problem.

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



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout nick at rout.co.nz writes:

 
 have you tried using k3bsetup?

Ah, this may be the problem.

IN the k3b gui, I went under settings, but did not see anything
critical.

The only documents I have found are in /usr/share/doc/k3b-0.11.24.

Running k3bsetup as root fired up the gui. All of the selections
look fine. I hit the 'apply button' anbd it popped up
'Successfully updated all permissions.'

It wrote out this file:
/root/.kde3.3/share/config/k3bsetup2rc

Which is:
[Devices]
TOSHIBA DVD-ROM SD-R2412=4234,4200,auto,auto
device_search_path=/dev/ide/host0/bus1/target0/lun0/cd

[External Programs]
cdrdao default=/usr/bin/cdrdao
cdrdao user parameters=
cdrecord default=/usr/bin/cdrecord
cdrecord user parameters=
search
path=/usr/bin/,/usr/local/bin/,/usr/sbin/,/usr/local/sbin/,/opt/schily/bin/,/sbin

[General Settings]
burning group=burning
use burning group=false

This look OK?

I get the same results trying to burn 2 .wav files to the cd-rw...

It runs but no progress with preparing write process (0%)
or Overall progress (0%).

It just hangs. I let it go a while but nothing happens.
Then I quite and mount the cd manually as root... empty...

ideas?

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: DVD-cd usage

2005-07-18 Thread Nick Rout
yes i think you should try cdrecord from the command line with the
verbose option turned on and see what happens. ( the option is -V).

If you need the basics of how to use cdrecord see the cd writing howto
at http://tldp.org

There is some weird crap with cdrecord and various kernel versions.
what versions of cdrecrod and kernel are you running?

also I note that i am in the cdrecording group in /etc/group - I am not
sure if this is important or a hangover from some earlier setup.


On Mon, 18 Jul 2005 22:01:12 + (UTC)
James wrote:

 Nick Rout nick at rout.co.nz writes:
 
  
  have you tried using k3bsetup?
 
 Ah, this may be the problem.
 
 IN the k3b gui, I went under settings, but did not see anything
 critical.
 
 The only documents I have found are in /usr/share/doc/k3b-0.11.24.
 
 Running k3bsetup as root fired up the gui. All of the selections
 look fine. I hit the 'apply button' anbd it popped up
 'Successfully updated all permissions.'
 
 It wrote out this file:
 /root/.kde3.3/share/config/k3bsetup2rc
 
 Which is:
 [Devices]
 TOSHIBA DVD-ROM SD-R2412=4234,4200,auto,auto
 device_search_path=/dev/ide/host0/bus1/target0/lun0/cd
 
 [External Programs]
 cdrdao default=/usr/bin/cdrdao
 cdrdao user parameters=
 cdrecord default=/usr/bin/cdrecord
 cdrecord user parameters=
 search
 path=/usr/bin/,/usr/local/bin/,/usr/sbin/,/usr/local/sbin/,/opt/schily/bin/,/sbin
 
 [General Settings]
 burning group=burning
 use burning group=false
 
 This look OK?
 
 I get the same results trying to burn 2 .wav files to the cd-rw...
 
 It runs but no progress with preparing write process (0%)
 or Overall progress (0%).
 
 It just hangs. I let it go a while but nothing happens.
 Then I quite and mount the cd manually as root... empty...
 
 ideas?
 
 James
 
 
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Jorge Almeida

On Mon, 18 Jul 2005, Zac Medico wrote:
Something that's still unclear to me: is the problem with kde, mozilla, or 
both?  If you experience the same problem with mozilla under openbox then 
your troubles have nothing to do with kde. OTOH, if you there's no problems 
under openbox then the problem is in X/glib/gtk/mozilla.

No problem under openbox.
The problem manifests with mozilla, but only after upgrading KDE.
All is probablly my fault, for not keeping my system clean. I'm in the
cleaning process now...

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



[gentoo-user] Re: DVD-cd usage

2005-07-18 Thread James
Nick Rout nick at rout.co.nz writes:

 
 yes i think you should try cdrecord from the command line with the
 verbose option turned on and see what happens. ( the option is -V).
 
 If you need the basics of how to use cdrecord see the cd writing
 howto
 at http://tldp.org
 

Well looking at that I used:
cdrecord dev=ATAPI:1,1,0 -eject speed=2 -pad -audio -v close.wav

Here are the results:

cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 

NOTE: this version of cdrecord is an inofficial (modified) release of 
cdrecord
  and thus may have bugs that are not present in the original 
version.
  Please send bug reports and support requests to 
burbon04 at gmx.de.
  For more information please see
http://burbon04.gmxhome.de/linux/CDREncryption.html.
  The original author should not be bothered with problems 
of this version.

cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or 
Solaris.
TOC Type: 0 = CD-DA
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using 
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'ATAPI:1,1,0'
devname: 'ATAPI'
scsibus: 1 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be 
unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: -1
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd:
 fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s

 There is some weird crap with cdrecord and various kernel versions.
 what versions of cdrecrod and kernel are you running?
2.6.12-gentoo-r4 (standard with no patches)

I kept these old kernel, which I can reboot and test?
2.6.11-gentoo-r11
2.6.11-gentoo-r10
 
 also I note that i am in the cdrecording group in /etc/group - 
I am not
 sure if this is important or a hangover from some earlier setup.

I added root and myself to this line in /etc/group
cdrw::80:root,james

I was already in this line:
cdrom::19:root,james

Maybe a better command line to test with cdrecord?

James

-- 
gentoo-user@gentoo.org mailing list



  1   2   >