Re: [gentoo-user] AIGLX responseness (WAS: libGL issues AIGLX slowness)

2006-10-30 Thread Marco Calviani

Hi,
On 10/29/06, Lord Sauron [EMAIL PROTECTED] wrote:

Be sure DRI is working.  use glxinfo if you need to verify if it's active.

If you don't have DRI working, then most of the graphics will be done
on CPU.  Or at least that's how my laptop did it.


well DRI in on and working:

display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
   GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
   GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
   GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
   GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
   GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
   GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
   GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
   GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
   GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
   GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
   GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
   GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
   GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
   GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20060815 AGP 1x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.1
OpenGL extensions:
   GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample,
   GL_ARB_multitexture, GL_ARB_texture_border_clamp,
   GL_ARB_texture_compression, GL_ARB_texture_cube_map,
   GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
   GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
   GL_MESAX_texture_float, GL_ARB_texture_mirrored_repeat,
   GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
   GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
   GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
   GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
   GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
   GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
   GL_EXT_draw_range_elements, GL_EXT_gpu_program_parameters,
   GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
   GL_EXT_rescale_normal, GL_EXT_secondary_color,
   GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
   GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
   GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
   GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
   GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
   GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
   GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
   GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
   GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
   GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
   GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
   GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
   GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
   GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
   GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod

  visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x4b 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  

Re: [gentoo-user] AIGLX responseness (WAS: libGL issues AIGLX slowness)

2006-10-30 Thread Marco Calviani

Hi Iain,


I think it can depend on the driver.  With some versions of ati-drivers,
the CPU is used to help the GPU, and I get great frame rates.  With
other version of ati-drivers (including 8.28.8 and 8.29.6) the cpu
usages stays low for all 3d, and I get crap framerates...

don't know if this is your issue, but it sounds similar.


actually i'm not running with the ati proprietary drivers, but instead
with the opensource drivers included inside Xorg 7.1.  I've read
somewhere that AIGLX doesn't works with ati-drivers

regards,
mc
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Dale
Hi,

I did my normal sync and then got a list of packages to upgrade.  It
fails on app-crypt/gnupg-1.9.94 with the following:

 checking if gcc supports -Wno-pointer-sign... yes
 configure:
 ***
 *** You need libgpg-error to build this program.
 **  This library is for example available at
 ***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
 *** (at least version 1.4 is required.)
 ***
 configure:
 ***
 *** You need libassuan with Pth support to build this program.
 *** This library is for example available at
 ***   ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/
 *** (at least version 0.9.3 (API 1) is required).
 ***
 configure: error:
 ***
 *** Required libraries not found. Please consult the above messages
 *** and install them before running configure again.
 ***

 !!! Please attach the following file when filing a report to
 bugs.gentoo.org:
 !!! /var/tmp/portage/gnupg-1.9.94/work/gnupg-1.9.94/config.log

 !!! ERROR: app-crypt/gnupg-1.9.94 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   gnupg-1.9.94.ebuild, line 72:   Called econf '--enable-agent'
 '--enable-symcryptrun' '--disable-gpg' '--enable-gpgsm'
 '--disable-scdaemon' '--enable-nls' '--enable-ldap'
 '--disable-capabilities' '--with-photo-viewer=/usr/bin/xloadimage'
   ebuild.sh, line 540:   Called die

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

 [EMAIL PROTECTED] / #

I have the config.log it mentions but it is pretty good size.  I would
rather send it directly if you need it.  I don't have a way of hosting
it.  Sorry.


I have the following installed:

 dev-libs/libgpg-error-1.3
 dev-libs/libassuan-0.9.2

This is my USE line, in alphabetical order:

 USE=acl acpi alsa amd arts artswrappersuid automount browserplugin
 bzip2 cdr chroot crypt dbus doc dvd dvdr esd exif fdftk -fftw -firefox
 gaim gcj gif gimp gimpprint gkrellm -gnome gphoto2 gtk hal hbci ipv6
 java javascript jbig jpeg jpeg2k justify kde logrotate mmx mp3
 nsplugin ofx offensive opengl -oss postgres ppds qt3 qt4 samba scanner
 seamonkey sqlite sse syslog tiff tk truetype udev usb win32codecs wma
 wmf X -xmms xml xprint yahoo 3dnow 

Has anyone else ran into this?  Do I need to change something on my
end?  Is this a bug?  A dependency issue?

Thanks for the help.

Dale

:-)  :-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 11:19, Dale wrote:

[ snip]
  ***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
  *** (at least version 1.4 is required.)
[snip]
  ***   ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/
  *** (at least version 0.9.3 (API 1) is required).
  ***
  configure: error:
  ***
  *** Required libraries not found. Please consult the above messages
  *** and install them before running configure again.
  ***
[snip]
 I have the following installed:
  dev-libs/libgpg-error-1.3
  dev-libs/libassuan-0.9.2

Both libraries you have are one version behind. DEPEND in the 
gnupg-1.9.94 ebuild says it wants at least the version you do have, but 
it's ./configure says different. This is a bug, you should report it.

Meanwhile a workaround is to simply emerge the versions of the libs 
required:

emerge -av1 =dev-libs/libgpg-error-1.4 =dev-libs/libassuan-0.9.3

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



Re: [gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Dale




Alan McKinnon wrote:

  
Both libraries you have are one version behind. DEPEND in the 
gnupg-1.9.94 ebuild says it wants at least the version you do have, but 
it's ./configure says different. This is a bug, you should report it.

Meanwhile a workaround is to simply emerge the versions of the libs 
required:

emerge -av1 =dev-libs/libgpg-error-1.4 =dev-libs/libassuan-0.9.3

alan
  


Thanks. That was sort of what I was thinking, depending on wrong
version of those and portage was not catching it so it may be a bug too.

I'll unmask those and give it a try. Let's see how brave I am. 

Thanks again.

Dale

:-) :-)




[gentoo-user] X USE flag

2006-10-30 Thread Alan McKinnon
Hi,

Looks like the tree was busy over the weekend :-). My regular sync and 
emerge world this morning results in just about every x11 package 
wanting to be rebuilt. Lots of stuff like this:

[ebuild   R   ]  x11-libs/xtrans-1.0.2  USE=X%* -debug 0 kB
[ebuild   R   ]   x11-apps/mkfontdir-1.0.2  USE=X%* -debug 0 kB
[ebuild   R   ]x11-apps/mkfontscale-1.0.2  USE=X%* -debug 0 kB
[ebuild   R   ] x11-libs/libfontenc-1.0.3  USE=X%* -debug 0 kB
[ebuild   R   ]  x11-proto/xproto-7.0.8  USE=X%* -debug 0 kB
[ebuild   R   ]   x11-misc/util-macros-1.1.1  USE=X%* -debug 0 kB

What's up with this? I've always had X in my USE, the ebuilds haven't 
changed, a few that I checked inherit only x-modular which doesn't seem 
to affect it either. And I'm not relishing the many hours of compiling 
this is going to entail. So two questions:

1. What's causing these packages to have an X use flag at all?
2. Why use such a flag at all? These are X11 packages, seems kinda 
pointless to compile such a thing without X11 support...

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



Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Uwe Thiem
On 28 October 2006 23:39, Alan McKinnon wrote:
 On Saturday 28 October 2006 16:41, b.n. wrote:
  Dale ha scritto:
   If you use XFS, make sure you have good power.  XFS does not like
   power failures at all.  I have had to reinstall on a second rig
   because of this very problem.  If you have a UPS, that may be OK.
 
  Thanks a lot for the advice. Power outages do happen and I don't have
  an UPS. Why does it happen? Isn't XFS journaled?

 Yes it is journaled but it also allows data to be very aggressively
 cached. Make that VERY aggressively cached. With the result that data
 can be held in a huge cache somewhere and the kernel can be convinced
 it has been written to disk.

No journaled filesystem can 100% prevent data loss or even filesystem 
corruption in cases of power outages. Think of the the builtin caches of your 
drive. If that builtin cache contains a changed journal (not written to the 
actual drive yet) when a power failure occurs = bang!

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Dale




Dale wrote:

  
Alan McKinnon wrote:
  

Both libraries you have are one version behind. DEPEND in the 
gnupg-1.9.94 ebuild says it wants at least the version you do have, but 
it's ./configure says different. This is a bug, you should report it.

Meanwhile a workaround is to simply emerge the versions of the libs 
required:

emerge -av1 =dev-libs/libgpg-error-1.4 =dev-libs/libassuan-0.9.3

alan
  
  
  
Thanks. That was sort of what I was thinking, depending on wrong
version of those and portage was not catching it so it may be a bug too.
  
I'll unmask those and give it a try. Let's see how brave I am. 
  
Thanks again.
  
Dale
  
:-) :-)


After looking through my package.keywords and package.unmask file, it
may have been a setting on my end. I usually keyword or unmask
specific versions which can catch up to me sometimes. I seem to recall
having to add those when KDE 3.5 came out. I'm not sure it was all on
my end but I don't want to do a bug report only to find out it was.

After emerging those versions, it installed fine.

Thanks

Dale

:-) :-)




Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 12:04, Uwe Thiem wrote:
 On 28 October 2006 23:39, Alan McKinnon wrote:
  On Saturday 28 October 2006 16:41, b.n. wrote:
   Dale ha scritto:
If you use XFS, make sure you have good power.  XFS does not
like power failures at all.  I have had to reinstall on a
second rig because of this very problem.  If you have a UPS,
that may be OK.
  
   Thanks a lot for the advice. Power outages do happen and I don't
   have an UPS. Why does it happen? Isn't XFS journaled?
 
  Yes it is journaled but it also allows data to be very aggressively
  cached. Make that VERY aggressively cached. With the result that
  data can be held in a huge cache somewhere and the kernel can be
  convinced it has been written to disk.

 No journaled filesystem can 100% prevent data loss or even filesystem
 corruption in cases of power outages. Think of the the builtin caches
 of your drive. If that builtin cache contains a changed journal (not
 written to the actual drive yet) when a power failure occurs = bang!

All the more reason to take the intended usage of XFS seriously - in 
environments where power loss to the machine simply do not happen 
(redundant psus, UPS backup, etc)

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



Re: [gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 12:25, Dale wrote:

 After looking through my package.keywords and package.unmask file, it
 may have been a setting on my end.  I usually keyword or unmask
 specific versions which can catch up to me sometimes.  I seem to
 recall having to add those when KDE 3.5 came out.  I'm not sure it
 was all on my end but I don't want to do a bug report only to find
 out it was.

It certainly is a bug in the ebuild:

The ebuild requires versions x or later
The package itself requires versions x+1 or later

So the ebuild needs to be modified. Go on, file the bug and take the 
credit :-)

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



Re: [gentoo-user] Upgrading app-crypt/gnupg-1.9.94 fails to emerge.

2006-10-30 Thread Dale




Alan McKinnon wrote:

  
It certainly is a bug in the ebuild:

The ebuild requires versions x or later
The package itself requires versions x+1 or later

So the ebuild needs to be modified. Go on, file the bug and take the 
credit :-)

alan
  


OK. I reported it. It's just that most errors are my fault so I'm a
bit leery of diving in. 

Maybe they will fix it.

Dale

:-) :-)




Re: [gentoo-user] Grub problems

2006-10-30 Thread Jeff Cranmer
I think I have something more basic (i.e. hardware-related) than that.  I've 
tried installs of Fedora Core 6 and Mandriva Linux with the same result, and 
both Lilo and Grub fail.  I'm going to take out the raid card tonight and step 
down to a single drive and see if I can get around the issue that way.

There were no custom CFLAGS in use, and I built it from the stage3 tarball.  
Unfortunately, I've already wiped that particular attempt during last night's 
diagnosis process, so I can't do the checks you suggest.

Jeff

-Original Message-
From: Richard Fish [EMAIL PROTECTED]
Sent: Oct 29, 2006 10:48 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub problems

On 10/29/06, Jeff Cranmer [EMAIL PROTECTED] wrote:
 Unfortunately, no prompt appears.  It just hangs at the boot-up screen, 
 repeatedly adding 'GRUB' to the top line of text.

Hmm, GRUB isn't very informative.  That particular string should
only be printed once when the stage1 loader (the part that is
installed in your MBR) executes.  If this is appearing multiple times,
my best guess is that your stage1 file in /boot/grub/ is corrupt, or
was somehow built incorrectly.  You don't have custom-cflags in USE,
do you?

What does equery check grub and md5sum /lib/grub/i386-pc/stage1
/boot/grub/stage1 report?

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


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Bo Ørsted Andresen
On Monday 30 October 2006 11:01, Alan McKinnon wrote:
 Hi,

 Looks like the tree was busy over the weekend :-). My regular sync and
 emerge world this morning results in just about every x11 package
 wanting to be rebuilt. Lots of stuff like this:

 [ebuild   R   ]  x11-libs/xtrans-1.0.2  USE=X%* -debug 0 kB
 [ebuild   R   ]   x11-apps/mkfontdir-1.0.2  USE=X%* -debug 0 kB
 [ebuild   R   ]x11-apps/mkfontscale-1.0.2  USE=X%* -debug 0 kB
 [ebuild   R   ] x11-libs/libfontenc-1.0.3  USE=X%* -debug 0 kB
 [ebuild   R   ]  x11-proto/xproto-7.0.8  USE=X%* -debug 0 kB
 [ebuild   R   ]   x11-misc/util-macros-1.1.1  USE=X%* -debug 0 kB

 What's up with this? I've always had X in my USE, the ebuilds haven't
 changed, a few that I checked inherit only x-modular which doesn't seem
 to affect it either. And I'm not relishing the many hours of compiling
 this is going to entail. So two questions:

 1. What's causing these packages to have an X use flag at all?
 2. Why use such a flag at all? These are X11 packages, seems kinda
 pointless to compile such a thing without X11 support...

The x-modular.eclass now inherits the font.eclass ...

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/x-modular.eclass?r1=1.77r2=1.78
http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.21view=markup

-- 
Bo Andresen


pgpoqV6BVK150.pgp
Description: PGP signature


Re: [gentoo-user] Is there a simple .pls audio mp3-playing app?

2006-10-30 Thread Hans-Werner Hilse
Hi,

On Sat, 28 Oct 2006 18:50:21 -0700 Ryan Tandy
[EMAIL PROTECTED] wrote:

 I'm not familiar with Live365, but I listen to radio
 (http://kplu.org) and similar streams off the Internet sometimes, and
 I find that mplayer is more than up to the task, including dealing
 with pls files.
 
 e.g.
 $ mplayer http://www.abacast.com/media/pls/kplu/kplu-sc-48.pls
 
 works for me every time.  I already have mplayer installed to watch 
 DVDs, so it might as well serve another purpose.

Just a short addition:
for servers that bork the content type of the playlist, it makes sense
to include -playlist in that command, like this:

$ mplayer -playlist 'http://foo.bar/playlist.pls'


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



[gentoo-user] Creating loop devices

2006-10-30 Thread Alan McKinnon
Hi all,

I seem to be missing my loop devices in /dev...
And I don't find any docs on the current method to do this. I imagine 
it's done with udev rules - anyone have working rules for this that 
they'd be willing to share?

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



Re: [gentoo-user] X USE flag

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 14:02, Bo Ørsted Andresen wrote:
  1. What's causing these packages to have an X use flag at all?
  2. Why use such a flag at all? These are X11 packages, seems kinda
  pointless to compile such a thing without X11 support...

 The x-modular.eclass now inherits the font.eclass ...

 http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/x-modular.ecla
ss?r1=1.77r2=1.78
 http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?re
v=1.21view=markup

Ok, that's explains what's happening.

But now I have to recompile something on the order of 60 - 70 packages 
with a new USE flag which is apparently not used anywhere (and is 
simply an artifact of an inherit) (I checked some of the ebuilds, not 
all, and none so far use that flag directly). I'll even predict money 
that the new binaries are identical to the old ones.

Forgive my saying this, but that is a stupendous waste of my cpu cycles 
and time. A better solution must exist - if this moves to arch 
unchanged the gentoo user base will go ballistic

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating loop devices

2006-10-30 Thread F.J.Zhao

Why not to use mknod?

mknod b /dev/loop0 7 0
mknod b /dev/loop1 7 1
mknod b /dev/loop2 7 2
...
chgrp disk /dev/loop*

2006/10/30, Alan McKinnon [EMAIL PROTECTED]:

Hi all,

I seem to be missing my loop devices in /dev...
And I don't find any docs on the current method to do this. I imagine
it's done with udev rules - anyone have working rules for this that
they'd be willing to share?

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Sascha Lucas

On Mon, 30 Oct 2006, at 15:04 +0200, Alan McKinnon wrote:


all, and none so far use that flag directly). I'll even predict money
that the new binaries are identical to the old ones.


yes, they are identical.


Forgive my saying this, but that is a stupendous waste of my cpu cycles
and time. A better solution must exist - if this moves to arch
unchanged the gentoo user base will go ballistic


from portage pkg_postinst:
--
In portage-2.1.1, emerge --newuse is now sensitive to changes in IUSE. 
Immediately after upgrade from 2.1, users may notice a significantly 
larger number of packages pulled in by --newuse, but that behavior is 
normal. For additional information regarding this change, please see bugs 
#116955, #144333, #144661, and #146060.

--

I recommend to burdening @ #116955, or helping @ #144333 :-)

--
emerge: (7 of 9) star-trek/species-8.4.7.2 Compile

 \|/  \|/
 @'/ .. \`@
 /_| \__/ |_\
\__U_/
--
gentoo-user@gentoo.org mailing list



[gentoo-user] What is the new!shiny! way of changing the java environment for a script with java-config-2???

2006-10-30 Thread local account for liebichw
Hi,
I'm a JAVA programmer  use gentoo linux to test my apps against as many
JDK versions as I can :-). With java-config V1.x I could change the
active VM inside of a script with the line eval `java-config -P
jdk-name`. This no longer works - what IS the new preferred way to
switch the JDK environment FOR A SCRIPT ONLY w/o always having to switch
user (or system) VMs?? Yes, I could print out all env vars I need
(JDK_HOME, etc...) and change them manually, but I would prefer
something as simple as my old trick above :-(
Any comments to this?
Wolfgang
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What is the new!shiny! way of changing the java environment for a script with java-config-2???

2006-10-30 Thread Harm Geerts
On Monday 30 October 2006 14:39, local account for liebichw wrote:
 Hi,
 I'm a JAVA programmer  use gentoo linux to test my apps against as many
 JDK versions as I can :-). With java-config V1.x I could change the
 active VM inside of a script with the line eval `java-config -P
 jdk-name`. This no longer works - what IS the new preferred way to
 switch the JDK environment FOR A SCRIPT ONLY w/o always having to switch
 user (or system) VMs?? Yes, I could print out all env vars I need
 (JDK_HOME, etc...) and change them manually, but I would prefer
 something as simple as my old trick above :-(
 Any comments to this?
 Wolfgang

That would be GENTOO_VM according to the docs.
http://www.gentoo.org/proj/en/java/java-devel.xml
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Need help with Evolution-2.6

2006-10-30 Thread Michael Sullivan
My wife's mouse went crazy again last night (grr), and now she's lost
some of the components in her Evolution GUI, and I cannot figure out how
to get them back.  Her message preview pane (lower right hand corner of
screen) is gone, as is her Window button bar (Mail, Contacts, Calendars,
Memos, Tasks).  Can anyone help us get them back?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Creating loop devices

2006-10-30 Thread Harm Geerts
On Monday 30 October 2006 13:54, Alan McKinnon wrote:
 Hi all,

 I seem to be missing my loop devices in /dev...
 And I don't find any docs on the current method to do this. I imagine
 it's done with udev rules - anyone have working rules for this that
 they'd be willing to share?

 alan

Do you have support for loop devices in your kernel?
udev has default rules for this in /etc/udev/rules.d/50-udev.rules

Symbol: BLK_DEV_LOOP [=y]
Prompt: Loopback device support
Defined at drivers/block/Kconfig:261
Location:
  - Device Drivers
- Block devices 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dual boot: XP installed last?

2006-10-30 Thread James
Hello,

Usually when installing a portable, I leeave the windows and resize the disk
space to set up gentoo as the second OS with grub..


On one portable, The windows XP was a pain so I nuked it and got gentoo
working first.  Now I need to install XP on the portable, but do not
wish XP to rewrite he MBR or any other such nefarious acts against the
gentoo partitions.

Any suggestions as to best methods are most appreciated. Heres the part info:
/dev/hda2/boot   reiserfsdefaults1 2
/dev/hda5noneswapsw  0 0
/dev/hda6/   reiserfsdefaults0 1
/dev/hda7 /usr/local reiserfsdefaults0 1


hda1 is reserved for XP

Here's the portion of grub.conf already set up for gentoo  XP:

title= Linux 2.6.17-gentoo-r8
root(hd0,1)
kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda6

title=Possible Windows P1
rootnoverify (hd0,0)
makeactive
chainloader +1

So I thinking after installing XP in the first partition,
all I have to do is execute/copy something to set up 
the MBR so it sees grub.conf again, whilst XP is booted
up?


suggestions?

James




I thinking I just need to copy this 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Die, process! Die!

2006-10-30 Thread Michael Sullivan
I know my subject line is a little melodramatic, but this is really
frustrating.  I frequently have processes that killall doesn't kill and
kill -9 pid doesn't touch.  For instance, this is taken from top:

24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc

I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
killall javadocs and kill -9 24135 and still it runs.  Is there a way of
getting rid of this process short of rebooting the machine?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread fire-eyes
Michael Sullivan wrote:
 I know my subject line is a little melodramatic, but this is really
 frustrating.  I frequently have processes that killall doesn't kill and
 kill -9 pid doesn't touch.  For instance, this is taken from top:
 
 24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc
 
 I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
 killall javadocs and kill -9 24135 and still it runs.  Is there a way of
 getting rid of this process short of rebooting the machine?
 

do a pstree, and find its parent, and kill that. if that doesn't work
kill the parents parent. Note that any parent you kill, kills the
children, too (god this sounds wrong). If it's init... reboot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dual boot: XP installed last?

2006-10-30 Thread Allan Spagnol Comar

you just have to rerun grub setup.

On 10/30/06, James [EMAIL PROTECTED] wrote:

Hello,

Usually when installing a portable, I leeave the windows and resize the disk
space to set up gentoo as the second OS with grub..


On one portable, The windows XP was a pain so I nuked it and got gentoo
working first.  Now I need to install XP on the portable, but do not
wish XP to rewrite he MBR or any other such nefarious acts against the
gentoo partitions.

Any suggestions as to best methods are most appreciated. Heres the part info:
/dev/hda2/boot   reiserfsdefaults1 2
/dev/hda5noneswapsw  0 0
/dev/hda6/   reiserfsdefaults0 1
/dev/hda7 /usr/local reiserfsdefaults0 1


hda1 is reserved for XP

Here's the portion of grub.conf already set up for gentoo  XP:

title= Linux 2.6.17-gentoo-r8
root(hd0,1)
kernel /boot/kernel-2.6.17-gentoo-r8 root=/dev/hda6

title=Possible Windows P1
rootnoverify (hd0,0)
makeactive
chainloader +1

So I thinking after installing XP in the first partition,
all I have to do is execute/copy something to set up
the MBR so it sees grub.conf again, whilst XP is booted
up?


suggestions?

James




I thinking I just need to copy this

--
gentoo-user@gentoo.org mailing list





--
An application asked:
Requires Windows 9x, NT4 or better,
so I´ve installed Linux

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread Arnau Bria
On Mon, 30 Oct 2006 09:01:12 -0600
Michael Sullivan wrote:

 I know my subject line is a little melodramatic, but this is really
 frustrating.  I frequently have processes that killall doesn't kill
 and kill -9 pid doesn't touch.  For instance, this is taken from
 top:

killall = kill
The only diff is: killall - kill processes by name

Maybe processes are in a state where signals could not be
delivered, and you must wait until that state change...

If you want to see what signals a process is waiting for, you could use
ps.

Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating loop devices

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 15:05, F.J.Zhao wrote:
 Why not to use mknod?

 mknod b /dev/loop0 7 0
 mknod b /dev/loop1 7 1
 mknod b /dev/loop2 7 2
 ...
 chgrp disk /dev/loop*

Because this is a udev only machine and I want udev to create the nodes. 
If I have to, I'll put the commands in a script to run at boot time, 
but I would rather have udev do it (as the devs intend). 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Creating loop devices

2006-10-30 Thread Novensiles divi Flamen
On Monday 30 October 2006 21:57, Harm Geerts wrote:
 Do you have support for loop devices in your kernel?
 udev has default rules for this in /etc/udev/rules.d/50-udev.rules

 Symbol: BLK_DEV_LOOP [=y]
 Prompt: Loopback device support
 Defined at drivers/block/Kconfig:261
 Location:
   - Device Drivers
 - Block devices

Precisely. Build it in or build it as a module. Load the module and the 
devices u-magically appear.

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 


pgp52JN0QXoRT.pgp
Description: PGP signature


Re: [gentoo-user] Re: SOLVED Creating loop devices

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 16:57, Harm Geerts wrote:
 On Monday 30 October 2006 13:54, Alan McKinnon wrote:
  Hi all,
 
  I seem to be missing my loop devices in /dev...
  And I don't find any docs on the current method to do this. I
  imagine it's done with udev rules - anyone have working rules for
  this that they'd be willing to share?
 
  alan

 Do you have support for loop devices in your kernel?
 udev has default rules for this in /etc/udev/rules.d/50-udev.rules

Problem solved! With the last kernel upgrade I must have changed my loop 
devices from compiled in to modular, and there's no loop entry 
in /etc/modules.autoload.d/kernel-2.6. If I modprobe loop everything 
works like it's supposed to.

Earlier I had also run grep -i loop /etc/udev/* and got no results, 
which sent me into a tailspin - note the spectacular omission of the -r 
parameter.

sigh it's been a very long day :-) 

Thanks for the pointers

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



[gentoo-user] Net.eth0 is hesitant to start

2006-10-30 Thread Timothy A. Holmes
Hi folks:

I have recently done my routine System upgrades etc, and suddenly my
wired ethernet port on my laptop is very hesitant to start -- I plug it
in (or put it on the dock) and issue the start command 

/etc/init.d/net.eth0 start

And it starts to bring up the interface, and just sits there

Sometimes for quite sometime before I ctrl-c and try again -- sometimes
doing it in a different window helps, as does rebooting and trying
again.

My list of processes in conky shows the script running and also arping
but nothing changes and the interface doesn't start -- 

Can someone suggest a solution or problem

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 15:21, Sascha Lucas wrote:
  Forgive my saying this, but that is a stupendous waste of my cpu
  cycles and time. A better solution must exist - if this moves to
  arch unchanged the gentoo user base will go ballistic

 from portage pkg_postinst:
 --
 In portage-2.1.1, emerge --newuse is now sensitive to changes in
 IUSE. Immediately after upgrade from 2.1, users may notice a
 significantly larger number of packages pulled in by --newuse, but
 that behavior is normal. For additional information regarding this
 change, please see bugs #116955, #144333, #144661, and #146060.
 --

 I recommend to burdening @ #116955, or helping @ #144333 :-)

I read all those bugs and comments, especially this one:
http://bugs.gentoo.org/show_bug.cgi?id=144333#c6

and it seems that we have a trade-off here - put up with the occasional 
redundant remerge, or put up with the mostly constant nuisance of yet 
another option to emerge and the decision process that goes with it - 
to use or not to use this new option.

On balance, maybe the former is the route of least pain

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



[gentoo-user] Re: dual boot: XP installed last?

2006-10-30 Thread james
Allan Spagnol Comar allan.comar at gmail.com writes:


 you just have to rerun grub setup.

H,

If I install XP in the partition and it writes over the MBR,
then, upon reboot, how do I get to grub.conf so I have the
option to reboot the gentoo, then run grub setup?

something like this for my previously shown setup?:
grub root (hd0,0)(Specify where your /boot partition resides)
grub setup (hd0) (Install GRUB in the MBR)
grub quit(Exit the GRUB shell)

Do I run grub setup when XP is booted up? 
Should I use a lived CD to boot up and fix grub?

easy and painless is what I had in mind...
Not to mention any potential gotchas



James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Creating loop devices

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 17:49, Novensiles divi Flamen wrote:
 On Monday 30 October 2006 21:57, Harm Geerts wrote:
  Do you have support for loop devices in your kernel?
  udev has default rules for this in /etc/udev/rules.d/50-udev.rules
 
  Symbol: BLK_DEV_LOOP [=y]
  Prompt: Loopback device support
  Defined at drivers/block/Kconfig:261
  Location:
- Device Drivers
  - Block devices

Thanks for the reply, you were on the right track as I mentioned in my 
other mail on this thread

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



Re: [gentoo-user] Re: dual boot: XP installed last?

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 18:11, james wrote:
 Allan Spagnol Comar allan.comar at gmail.com writes:
  you just have to rerun grub setup.

 H,

 If I install XP in the partition and it writes over the MBR,
 then, upon reboot, how do I get to grub.conf so I have the
 option to reboot the gentoo, then run grub setup?

Boot off a rescue or live cd and reinstall grub from that environment

 something like this for my previously shown setup?:
 grub root (hd0,0)(Specify where your /boot partition resides)
 grub setup (hd0) (Install GRUB in the MBR)
 grub quit(Exit the GRUB shell)

 Do I run grub setup when XP is booted up?

This won't work - grub-install is a Linux program and it can't run under 
XP

 Should I use a lived CD to boot up and fix grub?

Yes

 easy and painless is what I had in mind...

LiveCD is easy and painless. However you are reqauired to think and not 
leave that step up to the machine as some other OS vendors would like 
you to do :-)

 Not to mention any potential gotchas

If grub was previosuly successfully installed ont he machine there are 
no gotchas worth mentioning

alan




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



Re: [gentoo-user] firefox2.0 can't start up

2006-10-30 Thread Neil Bothwick
On Mon, 30 Oct 2006 12:46:11 +0800, Chuanwen Wu wrote:

 I guess during the 10 minutes,firefox was checking the plugins.
 
 But the time is too long and there is no any tips!

Does this happen each time you start Firefox 2.0? There was a delay when
I first ram FF2, although nothing like 10 minutes, while it checked
plugins, but this only happened on the first run.


-- 
Neil Bothwick

NOTE: In order to control energy costs the light at the end
of the tunnel has been shut off until further notice...


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: dual boot: XP installed last?

2006-10-30 Thread Neil Bothwick
On Mon, 30 Oct 2006 16:11:39 + (UTC), james wrote:

 If I install XP in the partition and it writes over the MBR,
 then, upon reboot, how do I get to grub.conf so I have the
 option to reboot the gentoo, then run grub setup?

Run it from the live CD.


-- 
Neil Bothwick

What is a free gift ? Aren't all gifts free?


signature.asc
Description: PGP signature


[gentoo-user] Re: ADSL CONNECTION PROBLEMS

2006-10-30 Thread Mick
On Monday 30 October 2006 09:52, GEORGE ZERVAS wrote:
 Μιχάλη, αυτή την περίοδο δεν έχω ADSL γραμμή, γιαυτό δεν επικοινωνούμε.
 Ελπίζω σύντομα να αποκατασταθεί η σύνδεση. Διέκοψα την παλαιά και έκανα
 αίτηση για καινούργια φθηνότερη. Θέλω την άποψή σου, να ζητήσω σταθερή IP,
 χωρίς επιπλέον χρηματική επιβάρυνση??
 Αυτή τη περίοδο κατεβάζω τα e-mail μόνο με dial-up.

Γιωργο μου, νομιζω οτι μια στατικη IP ειναι χρησιμη οταν χρειαζεται να 
συνδεθεις απο μακρια με το γραφειο σου.  Παραδειγματος χαρην, μπορει καποτε 
να χρειαστεις να εχεις ενα σερβερ στο γραφειο σου, ετσι ωστε να συνδεωνται 
πελατες για να ανεβαζουν/κατεβαζουν αρχεια.  Επισης, μπορεις να εχεις ενα PC 
στο γραφειο σου το οποιο να τρεχει CAD και να συνδεεσαι απο το σπιτι σου, η 
απο αλλο γραφειο με Real VNC, η Remote Desktop, για να συνεχισεις την 
εργασεια σου σαν να εισουν μπροστα στο ιδιο το κομπιουτερ του γραφειου.

Επισης, εαν συνδεεσαι με WiFi απο καφενεια (π.χ. Starbucks) και αεροδρομια, 
μπορεις πιο ευκολα να συνδεθεις με VPN (OpenSSH) στο γραφειο σου, μεσω ενος 
encrypted tunnel ωστε να κατεβασεις emails και να ψαξεις το Ιντερνετ με 
απολυτη ασφαλεια και μυστικοτητα.

Επομενως, εαν η στατικη IP ειναι δωρεαν εγω σου συστηνω να την ζητισεις.
-- 
Regards,
Mick


pgpjQ86OaEwV3.pgp
Description: PGP signature


Re: [gentoo-user] Revdep-rebuild reports kde breakage and then says its all okay; what's up with that

2006-10-30 Thread Mick
On Sunday 29 October 2006 15:45, Kevin O'Gorman wrote:
 When I run revdep-rebuild, it reports a bunch (around 100) breakages
 involving early kde *.la files, but then it reports that
 Dynamic linking on your system is consistent... All done.

 These broken files are text, and say they're not to be deleted, but
 equery can't find out for me what package, let alone version, they belong
 to. Could it be that they are abandoned relic artifacts?
 Should I just delete them anyway?

Run emerge --deep -v -p to see if there's a couple of updated/removed apps 
that have left libs cruft behind and need to be removed.  I can vaguely 
remember going through something like this a few months ago (about 
ImageMagick?), so if you do a gmane search you may find it - otherwise post 
back and I'll see if I can find it.

HTH
-- 
Regards,
Mick


pgpnetwmiTkzd.pgp
Description: PGP signature


Re: [gentoo-user] Re: ADSL CONNECTION PROBLEMS

2006-10-30 Thread Hans de Hartog
Mick wrote:
 On Monday 30 October 2006 09:52, GEORGE ZERVAS wrote:
 
Μιχάλη, αυτή την περίοδο δεν έχω ADSL γραμμή, γιαυτό δεν επικοινωνούμε.
Ελπίζω σύντομα να αποκατασταθεί η σύνδεση. Διέκοψα την παλαιά και έκανα
αίτηση για καινούργια φθηνότερη. Θέλω την άποψή σου, να ζητήσω σταθερή IP,
χωρίς επιπλέον χρηματική επιβάρυνση??
Αυτή τη περίοδο κατεβάζω τα e-mail μόνο με dial-up.
 
 
 Γιωργο μου, νομιζω οτι μια στατικη IP ειναι χρησιμη οταν χρειαζεται να 
 συνδεθεις απο μακρια με το γραφειο σου.  Παραδειγματος χαρην, μπορει καποτε 
 να χρειαστεις να εχεις ενα σερβερ στο γραφειο σου, ετσι ωστε να συνδεωνται 
 πελατες για να ανεβαζουν/κατεβαζουν αρχεια.  Επισης, μπορεις να εχεις ενα PC 
 στο γραφειο σου το οποιο να τρεχει CAD και να συνδεεσαι απο το σπιτι σου, η 
 απο αλλο γραφειο με Real VNC, η Remote Desktop, για να συνεχισεις την 
 εργασεια σου σαν να εισουν μπροστα στο ιδιο το κομπιουτερ του γραφειου.
 
 Επισης, εαν συνδεεσαι με WiFi απο καφενεια (π.χ. Starbucks) και αεροδρομια, 
 μπορεις πιο ευκολα να συνδεθεις με VPN (OpenSSH) στο γραφειο σου, μεσω ενος 
 encrypted tunnel ωστε να κατεβασεις emails και να ψαξεις το Ιντερνετ με 
 απολυτη ασφαλεια και μυστικοτητα.
 
 Επομενως, εαν η στατικη IP ειναι δωρεαν εγω σου συστηνω να την ζητισεις.

There are more connection problems involved here :-)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] CPU percentage reported by gkrellm

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

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

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Weird mysql problem.

2006-10-30 Thread Neil Hodges
Hello,

I was unable to locate one specific, but there are quite a few problems.
It has to do with a slight change in the MySQL API.

- Neil
On 12:54 Sun 29 Oct , Bartlomiej Syryjczyk wrote:
 Neil Hodges napisal(a):
  Hello,
 
  This problem is well-known, and present in the bugzilla.  The problem
  lies in MySQL 5.0.26-r1, and many threads in the forums have been spawned.
 Can you send me link to the bugzilla or official MySQL forum?
 
 guzik

-- 
 /  /  - |--|--|
/-//-/   |\-|----
 /  /||-|-|  -
/  / |\- \ \

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Hans de Hartog
Bo Ørsted Andresen wrote:
 I'd wait hold off on --newuse for a day or two if I were you...
 
 http://thread.gmane.org/gmane.linux.gentoo.devel/43805
 

It's not that bad. I started 90 minutes ago for 94 packages and
it (2.6 GHz Celeron with 768Mb RAM) is busy with number 78 (xorg-server).


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: SOLVED Creating loop devices

2006-10-30 Thread Uwe Thiem
On 30 October 2006 17:59, Alan McKinnon wrote:
 On Monday 30 October 2006 16:57, Harm Geerts wrote:
  On Monday 30 October 2006 13:54, Alan McKinnon wrote:
   Hi all,
  
   I seem to be missing my loop devices in /dev...
   And I don't find any docs on the current method to do this. I
   imagine it's done with udev rules - anyone have working rules for
   this that they'd be willing to share?
  
   alan
 
  Do you have support for loop devices in your kernel?
  udev has default rules for this in /etc/udev/rules.d/50-udev.rules

 Problem solved! With the last kernel upgrade I must have changed my loop
 devices from compiled in to modular, and there's no loop entry
 in /etc/modules.autoload.d/kernel-2.6. If I modprobe loop everything
 works like it's supposed to.

Hm... My loop devices are compiled as modules, I don't have any loop entry 
in /etc/modules.autoload.d/kernel-2.6 - but my loop devices are all there 
under /dev.

Magic? White magic, black magic? Actually, this white=good and black=bad stuff 
is a bit of a no-no here in Africa. ;-)

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] ADSL CONNECTION PROBLEMS

2006-10-30 Thread Hans de Hartog
Mick wrote:

 Indeed!  Why when I just hit Reply to a message, I end up posting it in the 
 gentoo-user mailing list?!  This has happened a couple of times so far.  The 
 strange thing is that on some of these cases the messages were not even sent 
 to my gmail.com account.  A common theme may have something to do with me 
 selecting the Send Later feature which is useful when I am composing the 
 reply offline.  Ahh, the mysteries of Kmail . . .  :)
 
 Has anyone else noticed this behaviour with their messages?

It's default. Look at the headers of the mailmessages you get from
the mailing-list. It says: Reply-To: gentoo-user@lists.gentoo.org
which means: if you hit the reply-button, it will be sent to the
mailing list.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] ADSL CONNECTION PROBLEMS

2006-10-30 Thread Etaoin Shrdlu
On Monday 30 October 2006 19:54, Mick wrote:

 Indeed!  Why when I just hit Reply to a message, I end up posting it
 in the gentoo-user mailing list?!  This has happened a couple of times
 so far.  The strange thing is that on some of these cases the messages
 were not even sent to my gmail.com account.  A common theme may have
 something to do with me selecting the Send Later feature which is
 useful when I am composing the reply offline.  Ahh, the mysteries of
 Kmail . . .  :)

 Has anyone else noticed this behaviour with their messages?

Don't know about the rest, but the send later feature has hit me in the 
past, too. What can happen is that a message you suspend with send 
later actually gets sent automatically after a few, if, 
in settings-configure kmail-accounts-sending-send messages in 
outbox folder, you have on manual mail checks or on all mail 
checks.
(Remember that send later puts the message in the outbox folder, not in 
the drafts folder).

So, to avoid surprises, either use save in drafts folder instead 
of send later, or use never automatically for the above setting.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] ADSL CONNECTION PROBLEMS

2006-10-30 Thread Mick
On Monday 30 October 2006 19:05, Hans de Hartog wrote:
 Mick wrote:
  Indeed!  Why when I just hit Reply to a message, I end up posting it in
  the gentoo-user mailing list?!  This has happened a couple of times so
  far.  The strange thing is that on some of these cases the messages were
  not even sent to my gmail.com account.  A common theme may have something
  to do with me selecting the Send Later feature which is useful when I
  am composing the reply offline.  Ahh, the mysteries of Kmail . . .  :)
 
  Has anyone else noticed this behaviour with their messages?

 It's default. Look at the headers of the mailmessages you get from
 the mailing-list. It says: Reply-To: gentoo-user@lists.gentoo.org
 which means: if you hit the reply-button, it will be sent to the
 mailing list.

Of course, but this is only default for messages received from the list.  Not 
messages received directly from individuals who have nothing to do with this 
ML.
-- 
Regards,
Mick


pgpvE6vcJSQH5.pgp
Description: PGP signature


Re: [gentoo-user] X USE flag

2006-10-30 Thread Bo Ørsted Andresen
On Monday 30 October 2006 19:48, Hans de Hartog wrote:
 Bo Ørsted Andresen wrote:
  I'd wait hold off on --newuse for a day or two if I were you...
 
  http://thread.gmane.org/gmane.linux.gentoo.devel/43805

 It's not that bad. I started 90 minutes ago for 94 packages and
 it (2.6 GHz Celeron with 768Mb RAM) is busy with number 78 (xorg-server).

Well, it's just that you may find that the flag will be removed again on next 
sync and then you'll have to do it one more time for no good reason (or cheat 
by editing the vdb manually)... Apparently it was only supposed to be 
inherited in packages that belong to the media-font category.

http://thread.gmane.org/gmane.linux.gentoo.devel/43805/focus=43815

-- 
Bo Andresen


pgpLLzcSuDb4E.pgp
Description: PGP signature


Re: [gentoo-user] CPU percentage reported by gkrellm

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

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

 --- Vladimir

   

Just to let you know you are not alone, I have seen some strange
reporting on gkrellm too.  I run folding and it don't always add up just
right for some reason.  I'm not sure how gkrellm works but I assume it
reads /proc to figure out what is going on.  Maybe it is the way /proc
files change or something. 

Still like gkrellm though.  Lots of skins too.  ;-)

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] X USE flag

2006-10-30 Thread Hans de Hartog
Hans de Hartog wrote:

 
 It's not that bad. I started 90 minutes ago for 94 packages and
 it (2.6 GHz Celeron with 768Mb RAM) is busy with number 78 (xorg-server).
 
 
Done! In less then 2 hours (rebuild of openoffice takes at least
11 hours).
However, before each unmerge I got:
QA Notice: ECLASS 'font' inherited illegally in
x11-apps/whatever-package-it-was-doing

Something to worry about?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to discover what is the package of a given file?

2006-10-30 Thread lanjelot

but what if package isn't merged yet ?

expl:
how do i find out what package i need to emerge so i can use nslookup.

it's something i've been wondering for a while and i just thought it 
could fit in this thread even though the poster got the answer to his 
question.


thanks all

Leandro Melo de Sales wrote:

Thank you Vikas and Justin. It works for me.

Leandro

26 Oct 2006 03:44:29 +0530, Vikas Kumar [EMAIL PROTECTED]:

On 18:58 Wed 25 Oct , Leandro Melo de Sales wrote:
Hi list,

  How to discover what is the package of a given file? Should I 
use emerge

command?

Leandro
if i've understood your question right then may be,

# equery belongs file

equery comes with gentoolkit.

# emerge gentoolkit

--
New crypt.  See /usr/news/crypt.

--
gentoo-user@gentoo.org mailing list







--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to discover what is the package of a given file?

2006-10-30 Thread Etaoin Shrdlu
On Sunday 29 October 2006 23:50, lanjelot wrote:

 but what if package isn't merged yet ?

You might try
http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to discover what is the package of a given file?

2006-10-30 Thread Neil Bothwick
On Sun, 29 Oct 2006 23:50:30 +0100, lanjelot wrote:

 but what if package isn't merged yet

http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl?action=home


-- 
Neil Bothwick

Hard work has a future payoff. Laziness pays off NOW!


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] ADSL CONNECTION PROBLEMS

2006-10-30 Thread Mick
On Monday 30 October 2006 19:42, Etaoin Shrdlu wrote:

 Don't know about the rest, but the send later feature has hit me in the
 past, too. What can happen is that a message you suspend with send
 later actually gets sent automatically after a few, if,
 in settings-configure kmail-accounts-sending-send messages in
 outbox folder, you have on manual mail checks or on all mail
 checks.
 (Remember that send later puts the message in the outbox folder, not in
 the drafts folder).

 So, to avoid surprises, either use save in drafts folder instead
 of send later, or use never automatically for the above setting.

Thanks, I have set all my accounts to Confirm before send and Never 
automatically.  It seems that the second message in the queue in the Outbox 
follows the first, quite literally, to the same Send To: address and 
through the same smtp server.  It seems to me that I need to test this a bit 
more . . . 

Meanwhile, I think I'll stick with 'Save in Drafts' for now.
-- 
Regards,
Mick


pgp22XQytV4lD.pgp
Description: PGP signature


[gentoo-user] PORTAGE_ELOG

2006-10-30 Thread Daniel Iliev
Hi, everyone!

I decided to activate the portage ELOG system. I can't make portage send
mail or write in the syslog. save appears to be the only working
PORTAGE_ELOG_SYSTEM - it saves log files in /var/log/portage for the
emerge activities. The settings relevant to ELOG in my make.conf are:

PORT_LOGDIR=/var/log/portage
PORTAGE_ELOG_CLASSES=info warn error log
PORTAGE_ELOG_SYSTEM=syslog save mail
PORTAGE_ELOG_MAILURI=[EMAIL PROTECTED] localhost
PORTAGE_ELOG_MAILFROM=[EMAIL PROTECTED]
PORTAGE_ELOG_MAILSUBJECT=\${PACKAGE}

Please, advise.

Ah! One more thing: I use postfix and syslog-ng. Both of them seem to be
working properly.


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to discover what is the package of a given file?

2006-10-30 Thread kashani

lanjelot wrote:

but what if package isn't merged yet ?

expl:
how do i find out what package i need to emerge so i can use nslookup.

it's something i've been wondering for a while and i just thought it 
could fit in this thread even though the poster got the answer to his 
question.


thanks all


It's not easy under any system. My favorite was trying to figure out how 
to get uuencode stuff under Redhat. It's the sharutils package in case 
you were wondering.


Google and the Gentoo forums are your friends when trying to find what 
installs what though most of it fairly straightforward. Gentoo does have 
some unique issues because the Gentoo system is fairly stripped down 
so things like dig, telnet, or ftp are missing until you add them. 
That's much of the appeal to many people.


emerge bind-tools to get nslookup, dig, host, etc.

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



Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Bryan Whitehead
If you are so concerned with the awesomeness of XFS's caching... why not 
turn on data-journaling? Then data (not just meta-data) is committed to 
the journal.


You can also tune XFS to not wait so long to hold cached data.

Alan McKinnon wrote:

On Saturday 28 October 2006 16:41, b.n. wrote:
  

Dale ha scritto:


If you use XFS, make sure you have good power.  XFS does not like
power failures at all.  I have had to reinstall on a second rig
because of this very problem.  If you have a UPS, that may be OK.
  

Thanks a lot for the advice. Power outages do happen and I don't have
an UPS. Why does it happen? Isn't XFS journaled?



Yes it is journaled but it also allows data to be very aggressively 
cached. Make that VERY aggressively cached. With the result that data 
can be held in a huge cache somewhere and the kernel can be convinced 
it has been written to disk.


Consider XFS's pedigree - SGI wrote it for their graphics machines. 
These were big monsters backed up with high grade UPSs and such - the 
logic was that if you spend a brazillion bucks on hardware, a mega UPS 
is part of the deal, along with the wages to pay the army of admins you 
also need.


And, when doing video rendering, it turns out that it's easier to simply 
re-render a frame when the filesystems does something odd with the data 
rather than go to the effort of writing an FS that is 100% reliable. So 
SGI sacrificed something that doesn't actually matter for their use 
case to gain a significant performace increase (which does matter a 
great deal)


alan
  


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Bryan Whitehead
After sending this I realized that XFS doesn't support journal=data... I 
thought journal=data was a general VFS part of the linux kernel... my 
bad. :)


I guess you are just left with in kernel tuning (someone previously 
posted a link to).


Bryan Whitehead wrote:
If you are so concerned with the awesomeness of XFS's caching... why 
not turn on data-journaling? Then data (not just meta-data) is 
committed to the journal.


You can also tune XFS to not wait so long to hold cached data.

Alan McKinnon wrote:

On Saturday 28 October 2006 16:41, b.n. wrote:
 

Dale ha scritto:
   

If you use XFS, make sure you have good power.  XFS does not like
power failures at all.  I have had to reinstall on a second rig
because of this very problem.  If you have a UPS, that may be OK.
  

Thanks a lot for the advice. Power outages do happen and I don't have
an UPS. Why does it happen? Isn't XFS journaled?



Yes it is journaled but it also allows data to be very aggressively 
cached. Make that VERY aggressively cached. With the result that data 
can be held in a huge cache somewhere and the kernel can be convinced 
it has been written to disk.


Consider XFS's pedigree - SGI wrote it for their graphics machines. 
These were big monsters backed up with high grade UPSs and such - the 
logic was that if you spend a brazillion bucks on hardware, a mega 
UPS is part of the deal, along with the wages to pay the army of 
admins you also need.


And, when doing video rendering, it turns out that it's easier to 
simply re-render a frame when the filesystems does something odd with 
the data rather than go to the effort of writing an FS that is 100% 
reliable. So SGI sacrificed something that doesn't actually matter 
for their use case to gain a significant performace increase (which 
does matter a great deal)


alan
  




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: SNMP Security

2006-10-30 Thread James
Michael Crute mcrute at gmail.com writes:


 I am using Cacti on a firewalled production server to do all manner of
 system monitoring and metrics. I would also like to setup SNMP on my
 development servers that sits behind a firewall at a different data
 center. Is there a way that I can securely allow SNMP access to my
 development boxen from the production box. The end result I am looking
 for is the ability to log in to a single instance of cacti and have
 access to all of my servers all over the world. Is this possible to do
 securely? Any recommendations?

Hello Mike,

JFFNMS is a NMS with many,many more features than cacti.
www.jffnms.org
The user group is quite astute and very willing to help.
JFFNMS is very customizable and folks are adding support
for UPSesa and all sorts of ethernet based equipment on 
a very frequent basis. The archives are wonderful.
Support for SNMP 1/2/3 is a key part of JFFNMS. Several
of the JFFNMS devs know more about SNMP that anyone I've
encountered (YMMV)

There are 2 ebuilds for jffnms on gentoo:
net-analyzer/jffnms
 Available versions:  0.8.2 0.8.3
 Installed:   none
 Homepage:http://www.jffnms.org/
 Description: Network Management and Monitoring System.


0.8.2 is broken due many changes with gentoo.

0.8.3 has a few flag issues that can be worked thru manually. Do post
what you do with the flags listed in:
/usr/portage/net-analyzer/jffnms/jffnms-0.8.3.ebuild 
to bugzilla, so the devs can finalize what they are going to 
do with the flag options.

Drop me some email...

I do not think that JFFNMS is SElinux friendly, yet.


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: SNMP Security

2006-10-30 Thread Michael Crute

On 10/30/06, James [EMAIL PROTECTED] wrote:

Michael Crute mcrute at gmail.com writes:


 I am using Cacti on a firewalled production server to do all manner of
 system monitoring and metrics. I would also like to setup SNMP on my
 development servers that sits behind a firewall at a different data
 center. Is there a way that I can securely allow SNMP access to my
 development boxen from the production box. The end result I am looking
 for is the ability to log in to a single instance of cacti and have
 access to all of my servers all over the world. Is this possible to do
 securely? Any recommendations?

Hello Mike,

JFFNMS is a NMS with many,many more features than cacti.
www.jffnms.org

snip

James


Thanks for the suggestion James, I will have to check it out when I
get some time. Right now I'm stuck with cacti (I say stuck in the
nicest possible way) so I really need to figure out if SNMP is secure
enough to use across the internet.

-Mike

--

Michael E. Crute
http://mike.crute.org

God put me on this earth to accomplish a certain number of things.
Right now I am so far behind that I will never die. --Bill Watterson
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] BIG reiserfs problem

2006-10-30 Thread Joshua Schmidlkofer

On 10/30/06, Bryan Whitehead [EMAIL PROTECTED] wrote:

After sending this I realized that XFS doesn't support journal=data... I
thought journal=data was a general VFS part of the linux kernel... my
bad. :)

I guess you are just left with in kernel tuning (someone previously
posted a link to).



Well, even then you aren't guaranteeing no data loss.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Fake Dual-Head with VNC?

2006-10-30 Thread Tim Garton
Anybody know if this is possible? I have a single-head graphics cardcapable of doing 2048x1536. I want to start X with a virtual desktopof 2048x768, make my ViewPort be the left half of said desktop, startx11vnc using the -clip option so that it only shows the right half of
said desktop, and then use an old beater laptop to act as a view-onlyVNC client that connects to the x11vnc instance. I think it will work,my only question is is there a way to prevent the ViewPort from moving
around in X as you move the mouse?Tim


Re: [gentoo-user] OT - Need help with Evolution-2.6

2006-10-30 Thread Iain Buchanan
On Mon, 2006-10-30 at 08:52 -0600, Michael Sullivan wrote:
 My wife's mouse went crazy again last night (grr), and now she's lost
 some of the components in her Evolution GUI, and I cannot figure out how
 to get them back.  Her message preview pane (lower right hand corner of
 screen) is gone,

Try
View  Preview  Message Preview
(should be checked).  From there you have classic or vertical view -
good for widescreens.

  as is her Window button bar (Mail, Contacts, Calendars,
 Memos, Tasks).  Can anyone help us get them back?

View  Switcher Appearance  Hide Buttons
(should not be checked)

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Even historians fail to learn from history -- they repeat the same mistakes.
-- John Gill, Patterns of Force, stardate 2534.7

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread Iain Buchanan
On Mon, 2006-10-30 at 09:01 -0600, Michael Sullivan wrote:
 I know my subject line is a little melodramatic, but this is really
 frustrating.  I frequently have processes that killall doesn't kill and
 kill -9 pid doesn't touch.  For instance, this is taken from top:
 
 24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc
 
 I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
 killall javadocs and kill -9 24135 and still it runs.  Is there a way of
 getting rid of this process short of rebooting the machine?

I assume you did kill and killall as root?
-- 
Iain Buchanan iaindb at netspace dot net dot au

It's the thought, if any, that counts!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: GStreamer volume control problem!

2006-10-30 Thread Leandro Melo de Sales

Hi.

 In order to document this problem, I solve it installing
media-plugins/gst-plugins-alsa package. Thanks anyway.

[]s
Leandro

2006/10/30, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi list...

   I configured alsa system and it detected my sound card. Alsamixer
can control the volume as well as aumix, but GStreamer (gnome) volume
control say No volume control GStreamer plugins and/or devices
found.. How do I solve this?

Any clue/suggestion will be greatfully accepted.

Thank you,

Leandro.


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dual boot: XP installed last?

2006-10-30 Thread James
Neil Bothwick neil at digimed.co.uk writes:

  If I install XP in the partition and it writes over the MBR,
  then, upon reboot, how do I get to grub.conf so I have the
  option to reboot the gentoo, then run grub setup?

 Run it from the live CD.


Ok here's what I did in case anyone else has to do this:

Booted up ran a terminal session, when root and issued:


grub-install /dev/hda  did not work

so I mounted :   mkdir /mnt/boot
mount /dev/hda2
grub-install /dev/hda   did not work

grub-install /mnt/dev/hda2 did did not work

grub /mnt/dev/hda2   throws me into 'grub'
grub root (hd0,1)
grub setup (hd0)
grub quit


reboot Works great!

Thanks Neil


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need help with Evolution-2.6 [SOLVED]

2006-10-30 Thread Michael Sullivan
On Tue, 2006-10-31 at 09:03 +0930, Iain Buchanan wrote:
 On Mon, 2006-10-30 at 08:52 -0600, Michael Sullivan wrote:
  My wife's mouse went crazy again last night (grr), and now she's lost
  some of the components in her Evolution GUI, and I cannot figure out how
  to get them back.  Her message preview pane (lower right hand corner of
  screen) is gone,
 
 Try
 View  Preview  Message Preview
 (should be checked).  From there you have classic or vertical view -
 good for widescreens.
 
   as is her Window button bar (Mail, Contacts, Calendars,
  Memos, Tasks).  Can anyone help us get them back?
 
 View  Switcher Appearance  Hide Buttons
 (should not be checked)
 
 HTH,
 -- 
 Iain Buchanan iaindb at netspace dot net dot au
 
 Even historians fail to learn from history -- they repeat the same mistakes.
   -- John Gill, Patterns of Force, stardate 2534.7
 

That fixed it.  The problem was that when the Message Preview option was
checked, the message list went away and was replaced by the message
preview pane.  It turned out that there was a sliding separater that I
couldn't see...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread Michael Sullivan
On Tue, 2006-10-31 at 09:05 +0930, Iain Buchanan wrote:
 On Mon, 2006-10-30 at 09:01 -0600, Michael Sullivan wrote:
  I know my subject line is a little melodramatic, but this is really
  frustrating.  I frequently have processes that killall doesn't kill and
  kill -9 pid doesn't touch.  For instance, this is taken from top:
  
  24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc
  
  I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
  killall javadocs and kill -9 24135 and still it runs.  Is there a way of
  getting rid of this process short of rebooting the machine?
 
 I assume you did kill and killall as root?
 -- 
 Iain Buchanan iaindb at netspace dot net dot au
 
 It's the thought, if any, that counts!
 

Yes.  I always do kill and killall with root.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi list...

  I have an usb sound system from Gradiente company (an eletronic
device factory) and I plugged it on my system. dmesg command shows
this:

   input: Gradiente AS-M5X0 as /class/input/input3
   input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1

  But when I play a mp3 media the sound is not forwarded to my usb
device, instand, the sound is still played through my integrated
laptop device.
  On windows I use it without problem. So, what do I have to do to
forward the sound to my usb device?

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to discover what is the package of a given file?

2006-10-30 Thread lanjelot
i'm amazed by how reactive you people were, eix -S was actually what i 
was looking for for so long.


thx heaps!

kashani wrote:

lanjelot wrote:

but what if package isn't merged yet ?

expl:
how do i find out what package i need to emerge so i can use nslookup.

it's something i've been wondering for a while and i just thought it 
could fit in this thread even though the poster got the answer to his 
question.


thanks all


It's not easy under any system. My favorite was trying to figure out how 
to get uuencode stuff under Redhat. It's the sharutils package in case 
you were wondering.


Google and the Gentoo forums are your friends when trying to find what 
installs what though most of it fairly straightforward. Gentoo does have 
some unique issues because the Gentoo system is fairly stripped down 
so things like dig, telnet, or ftp are missing until you add them. 
That's much of the appeal to many people.


emerge bind-tools to get nslookup, dig, host, etc.

kashani


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Grub problems - Success

2006-10-30 Thread Jeff Cranmer
Nice suggestion.

I pulled the RAID card, and moved the remaining SATA card from SATA4 to SATA1.
I then was able to successfully install Mandriva Linux (quickest distro to 
test) with no grub startup problems.

By proceeding step-by-step with reinstalling the RAID card, I should be able to 
figure out whether having the SATA main drive not on SATA1 or the RAID card 
broke it, and hopefully get a multi-drive system running without having to 
purchase another SATA compatible drive.

Thanks

Jeff


-Original Message-
From: David Relson [EMAIL PROTECTED]
Sent: Oct 29, 2006 9:14 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub problems

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

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

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


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread Henk Boom

On 30/10/06, Michael Sullivan [EMAIL PROTECTED] wrote:

I know my subject line is a little melodramatic, but this is really
frustrating.  I frequently have processes that killall doesn't kill and
kill -9 pid doesn't touch.  For instance, this is taken from top:

24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc

I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
killall javadocs and kill -9 24135 and still it runs.  Is there a way of
getting rid of this process short of rebooting the machine?


I remember having troubles doing ctr-C on mounts which I knew were
going to time out, and I was told that you couldn't kill it while it
was inside a kernel call or something to that effect. Of course, I
would thing that mount is going to get tied up in kernel stuff much
more often than something like javadoc, so I really don't know if it's
the same sort of problem.

Hope this helps
   Henk Boom
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Die, process! Die!

2006-10-30 Thread Richard Fish

On 10/30/06, Michael Sullivan [EMAIL PROTECTED] wrote:

I know my subject line is a little melodramatic, but this is really
frustrating.  I frequently have processes that killall doesn't kill and
kill -9 pid doesn't touch.  For instance, this is taken from top:

24135 root  16   0  229m  35m 1064 S  0.3 59.7   8:52.11 javadoc


The only case that kill -9 doesn't work is if the process is locked up
in a kernel call.  What is this process doing...accesing network files
per chance?


I have Cntrl+C on the emerge (five minutes ago) and I've issued multiple
killall javadocs and kill -9 24135 and still it runs.  Is there a way of
getting rid of this process short of rebooting the machine?


If -9 doesn't work, it means your kernel is hungup, and yeah, you'll
have to reboot to fix.

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



Re: [gentoo-user] Usb sound and ALSA

2006-10-30 Thread Richard Fish

On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

Hi list...

   I have an usb sound system from Gradiente company (an eletronic
device factory) and I plugged it on my system. dmesg command shows
this:

input: Gradiente AS-M5X0 as /class/input/input3
input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1

   But when I play a mp3 media the sound is not forwarded to my usb
device, instand, the sound is still played through my integrated
laptop device.
   On windows I use it without problem. So, what do I have to do to
forward the sound to my usb device?


Probably windows is disabling any existing sound card or at least
making the USB the default sound device.  Unfortunately there is no
equivalent with alsa currently.

So assuming that you've got the alsa drivers loaded for this device
(/proc/asound/cards should contain two entries), you can usually
specify alsa device as hw1,0.  The exact method for doing this
depends on what app you are using.  For example on amarok with the
xine it is under Configure Amarok... - Engine - ALSA Device
Configuration.  If you enter hw1,0 for Stereo there, then 2 channel
audio should be played on the first pcm of the second sound card.

You should also be able to do this with a .asoundrc file, with an entry like:

pcm.default {
   type hw
   card 1
   device 1
}

The above is really primitive, without any dmix plugin (software
mixing), so only one app could use the device at a time unless it does
hardware mixing.  Mostly this is just to give you an idea of where to
look! ;-)

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



Re: [gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
and I got an strange sound, but this prove that the device was
recognized by the kernel. I also can control volume of the second
audio device through alsamixer. The question is: how can I specify (on
alsa) that the default device is /dev/sound/dsp1 or something like
that?
  I tried to do what you said on Amarok, but the Alsa Device
Configuration section is disabled, why?

[]s
Leandro.

2006/10/31, Richard Fish [EMAIL PROTECTED]:

On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
 Hi list...

I have an usb sound system from Gradiente company (an eletronic
 device factory) and I plugged it on my system. dmesg command shows
 this:

 input: Gradiente AS-M5X0 as /class/input/input3
 input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1

But when I play a mp3 media the sound is not forwarded to my usb
 device, instand, the sound is still played through my integrated
 laptop device.
On windows I use it without problem. So, what do I have to do to
 forward the sound to my usb device?

Probably windows is disabling any existing sound card or at least
making the USB the default sound device.  Unfortunately there is no
equivalent with alsa currently.

So assuming that you've got the alsa drivers loaded for this device
(/proc/asound/cards should contain two entries), you can usually
specify alsa device as hw1,0.  The exact method for doing this
depends on what app you are using.  For example on amarok with the
xine it is under Configure Amarok... - Engine - ALSA Device
Configuration.  If you enter hw1,0 for Stereo there, then 2 channel
audio should be played on the first pcm of the second sound card.

You should also be able to do this with a .asoundrc file, with an entry like:

pcm.default {
type hw
card 1
device 1
}

The above is really primitive, without any dmix plugin (software
mixing), so only one app could use the device at a time unless it does
hardware mixing.  Mostly this is just to give you an idea of where to
look! ;-)

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi,

After I click on Apply button the Alsa Device Configuration section
become enabled, but when I specify hw1,0 in Stereo text field and play
a song amarok shows the message: Audio output unavailable; the device
is busy..

/proc/asound/ # ls
ASM5X0  Modem  card1  cardshwdeposs  seq version
ICH6card0  card2  devices  modules  pcm  timers

the file ASM5X0 is a symbolic link to card2.

/proc/asound/ # cat cards
0 [ICH6   ]: ICH4 - Intel ICH6
 Intel ICH6 with unknown codec at 0xc8000800, irq 18
1 [Modem  ]: ICH-MODEM - Intel ICH6 Modem
 Intel ICH6 Modem at 0x3400, irq 18
2 [ASM5X0 ]: USB-Audio - AS-M5X0
 Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed

I also tried to specify hw2,0 but the message is the same, device is busy! :(

But a good news is that if I do:

mpg123 -a /dev/sound/dsp1 music.mp3

... the file is played on my usb device perfectly!!! So, this is the
proof that kernel recognize the device and I just don't know how
switch alsa default device do /dev/sound/dsp1.

Any clue? Thank you,

Leandro.

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
and I got an strange sound, but this prove that the device was
recognized by the kernel. I also can control volume of the second
audio device through alsamixer. The question is: how can I specify (on
alsa) that the default device is /dev/sound/dsp1 or something like
that?
   I tried to do what you said on Amarok, but the Alsa Device
Configuration section is disabled, why?

[]s
Leandro.

2006/10/31, Richard Fish [EMAIL PROTECTED]:
 On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
  Hi list...
 
 I have an usb sound system from Gradiente company (an eletronic
  device factory) and I plugged it on my system. dmesg command shows
  this:
 
  input: Gradiente AS-M5X0 as /class/input/input3
  input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1
 
 But when I play a mp3 media the sound is not forwarded to my usb
  device, instand, the sound is still played through my integrated
  laptop device.
 On windows I use it without problem. So, what do I have to do to
  forward the sound to my usb device?

 Probably windows is disabling any existing sound card or at least
 making the USB the default sound device.  Unfortunately there is no
 equivalent with alsa currently.

 So assuming that you've got the alsa drivers loaded for this device
 (/proc/asound/cards should contain two entries), you can usually
 specify alsa device as hw1,0.  The exact method for doing this
 depends on what app you are using.  For example on amarok with the
 xine it is under Configure Amarok... - Engine - ALSA Device
 Configuration.  If you enter hw1,0 for Stereo there, then 2 channel
 audio should be played on the first pcm of the second sound card.

 You should also be able to do this with a .asoundrc file, with an entry like:

 pcm.default {
 type hw
 card 1
 device 1
 }

 The above is really primitive, without any dmix plugin (software
 mixing), so only one app could use the device at a time unless it does
 hardware mixing.  Mostly this is just to give you an idea of where to
 look! ;-)

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] (SOLVED) Usb sound and ALSA

2006-10-30 Thread Leandro Melo de Sales

Hi...
 just to document. There are two options:

1) I created ~/.asoundrc file (as suggested by Richard) but with some
modification as shown next (I don't know if all this option is
necessary, but the sound is perfect):

- ~/.asoundrc

pcm.card0 {
   type hw
   card 1
}

pcm.!default {
   type plug
   slave.pcm dmixer
}

pcm.!output {
   type dmix
   ipc_key 1024
   ipc_key_add_uid 1
   slave {
   pcm card0
   period_time 0
   period_size 1024
   buffer_size 8192
   rate 192000
   }
   bindings {
   0 0
   1 1
   }
}

pcm.!input {
   type dsnoop
   ipc_key 28889
   ipc_key_add_uid 1
   slave {
   pcm card0
   channels 2
   period_time 0
   period_size 1024
   rate 192000
   }

pcm.!duplex {
   type asym
   playback.pcm output
   capture.pcm input
}

pcm.!default {
   type plug
   slave.pcm duplex
}

pcm.dsp0 {
   type plug
   slave.pcm duplex
}

ctl.mixer0 {
   type hw
   card 0
}

pcm.jackplug {
   type plug
   slave { pcm jack }
}

pcm.jack {
   type jack
   playback_ports {
  0 alsa_pcm:playback_1
  1 alsa_pcm:playback_2
   }
   capture_ports {
  0 alsa_pcm:capture_1
  1 alsa_pcm:capture_2
   }
}

2) change alsa configuration module to put my card1 to card0 and card0
to card1 (don't forget to restart alsa daemon):

-- /etc/modules.d/alsa
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-usb-audio
alias sound-slot-0 snd-usb-audio
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0
options snd-usb-audio index=0
options snd-intel8x0 index=1


... snd-intel8x0 is the module alias for my internal sound card and
snd-usb-audio for my external usb audio device.

BTW, thanks Richard.

[]s
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Federal University of Campina Grande - UFCG
083 33101404 (extension 208)

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:

Hi,

 After I click on Apply button the Alsa Device Configuration section
become enabled, but when I specify hw1,0 in Stereo text field and play
a song amarok shows the message: Audio output unavailable; the device
is busy..

/proc/asound/ # ls
ASM5X0  Modem  card1  cardshwdeposs  seq version
ICH6card0  card2  devices  modules  pcm  timers

the file ASM5X0 is a symbolic link to card2.

/proc/asound/ # cat cards
 0 [ICH6   ]: ICH4 - Intel ICH6
  Intel ICH6 with unknown codec at 0xc8000800, irq 18
 1 [Modem  ]: ICH-MODEM - Intel ICH6 Modem
  Intel ICH6 Modem at 0x3400, irq 18
 2 [ASM5X0 ]: USB-Audio - AS-M5X0
  Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed

I also tried to specify hw2,0 but the message is the same, device is busy! :(

But a good news is that if I do:

mpg123 -a /dev/sound/dsp1 music.mp3

... the file is played on my usb device perfectly!!! So, this is the
proof that kernel recognize the device and I just don't know how
switch alsa default device do /dev/sound/dsp1.

Any clue? Thank you,

Leandro.

2006/10/31, Leandro Melo de Sales [EMAIL PROTECTED]:
 Hi... The device is configured and I type cat xxx  /dev/sound/dsp1
 and I got an strange sound, but this prove that the device was
 recognized by the kernel. I also can control volume of the second
 audio device through alsamixer. The question is: how can I specify (on
 alsa) that the default device is /dev/sound/dsp1 or something like
 that?
I tried to do what you said on Amarok, but the Alsa Device
 Configuration section is disabled, why?

 []s
 Leandro.

 2006/10/31, Richard Fish [EMAIL PROTECTED]:
  On 10/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   Hi list...
  
  I have an usb sound system from Gradiente company (an eletronic
   device factory) and I plugged it on my system. dmesg command shows
   this:
  
   input: Gradiente AS-M5X0 as /class/input/input3
   input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1
  
  But when I play a mp3 media the sound is not forwarded to my usb
   device, instand, the sound is still played through my integrated
   laptop device.
  On windows I use it without problem. So, what do I have to do to
   forward the sound to my usb device?
 
  Probably windows is disabling any existing sound card or at least
  making the USB the default sound device.  Unfortunately there is no
  equivalent with alsa currently.
 
  So assuming that you've got the alsa drivers loaded for this device
  (/proc/asound/cards should contain two entries), you can usually
  specify alsa device as hw1,0.  The exact method for 

Re: [gentoo-user] Revdep-rebuild reports kde breakage and then says its all okay; what's up with that

2006-10-30 Thread Alan McKinnon
On Monday 30 October 2006 19:50, Kevin O'Gorman wrote:

 I checked a number of them, and they were clearly orphans: the
 libraries they were
 associated with originally had ceased to exist, which makes sense
 because they where also coordinated with KDE versions (3.2 and such)
 that I no longer have.

 So I deleted the lot, and everything seems okay.

That's bang on target. Sven had the right answer, it's usually 
fix_libtool_files.sh doing this - it modifies the libs, then emerge 
will refuse to delete them later when the package is unmerged.

Harmless, but annoying.

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