Re: [gentoo-user] Eclipse - opening file - JVM crashes

2008-03-27 Thread Andrew Gaydenko
=== On Thursday 27 March 2008, Andrew Gaydenko wrote: ===
 Hi!

 ~amd64, eclipse 3.3.1.1 from portage, clean install/project dir. At
 opening/creating any file (when editor view must appear) a JVM
 crashes - example log file is attached.

 Any thoughts?

Just an addition: the issue doesn't depend on JDK (1.5 or 1.6) and DE 
(KDE or fluxbox). The only valuable (at first look) update was glibc' 
one, but the portage system prevents glibc downgrading.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] uvesafb and screen resolution

2008-03-27 Thread Peter Humphrey
On Tuesday 25 March 2008 20:42:47 Ale wrote:

 Are you guys using  uvesafb in the latest gentoo sources kernel? because
 i dont have the option to choose this one..i am using vesa

You have to select Connector - unified userspace - kernelspace linker in 
the Device Drivers page. Then you will have uvesafb available for 
selection.

It seems that you also need v86d installed, and start with an initramfs with 
that in it, though I haven't yet finished working this out for myself.

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



[gentoo-user] Re: Re: Re: Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-27 Thread Michael Schmarck
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Wednesday 26 March 2008, Michael Schmarck wrote:
 Alan McKinnon [EMAIL PROTECTED] wrote:
  Perhaps you could file a feature request at b.g.o. to get the old
  behaviour back. It seems entirely reasonable to me that rhythmbox
  should DEPENDs on gst-plugins-base which should conditionally
  DEPEND on -alsa or -oss (or other sound systems).

 Isn't that what the gst-plugins-meta package does?

 RDEPEND=oss? ( =media-plugins/gst-plugins-oss-0.10 )
 alsa? ( =media-plugins/gst-plugins-alsa-0.10 )
 esd? ( =media-plugins/gst-plugins-esd-0.10 )
 X? ( =media-plugins/gst-plugins-x-0.10 )
 xv? ( =media-plugins/gst-plugins-xvideo-0.10 )
 dvb? ( media-plugins/gst-plugins-dvb

=media-libs/gst-plugins-bad-0.10.6

=media-plugins/gst-plugins-fluendo-mpegdemux-0.10
.15 )

 mythtv? ( media-plugins/gst-plugins-mythtv )

 I filed a bug report at
 http://bugs.gentoo.org/show_bug.cgi?id=214831.
 
 It all makes sense in a kind of roundabout way:

Does it?

gst-plugins-meta MAY install everything, if all the USE flags
are set. But I don't quite get, why rb (or any other gst using
app) should not depend on it.

 gst-plugins-meta installs everything, so rhythmbox does not DEPEND on
 it - that would force a user to have every possible plugin with no
 option to not have them (very much a gentoo no-no). 

Nope, that's not the case.

 -meta packages tend 
 to not be DEPENDED on, they are there as a convenience for user that
 want everything and can't be bothered to put the whole shebang in
 world.

But that's not what gst-plugins-meta does. Read the ebuild 
again. It features alsa, oss and what-not USE flags. And only
if those flags are set, stuff is installed.

 rhythmbox DEPENDS on gst-plugins-base to give you the required framework
 that will handle the plugins you want (you get to pick and install them
 manually...)

No, that's not the case. Read the bug  report and read the bugs
that Jakub pointed out there.

 The question now is why were the alsa, oss and other drivers removed
 from the -base ebuild? 

Because they belong to the meta package, I suppose. The real
question rather is, why was rb not updated to depend on -meta.
I filed https://bugs.gentoo.org/show_bug.cgi?id=214852 for that.

 I recall something similar with another sound 
 app a while ago, the reason is that it could be used as a networked
 sound delivery server and there's no good reason to require the user to
 have sound driver support on the local machine. I suspect your bug will
 be closed WONTFIX, with luck the dev will justify their reasoning.

If not, I'll reopen it. 

Michael

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



Re: [gentoo-user] uvesafb and screen resolution

2008-03-27 Thread Ale
2008/3/27, Peter Humphrey [EMAIL PROTECTED]:

 On Tuesday 25 March 2008 20:42:47 Ale wrote:

  Are you guys using  uvesafb in the latest gentoo sources kernel? because
  i dont have the option to choose this one..i am using vesa


 You have to select Connector - unified userspace - kernelspace linker in
 the Device Drivers page. Then you will have uvesafb available for
 selection.

 It seems that you also need v86d installed, and start with an initramfs
 with
 that in it, though I haven't yet finished working this out for myself.

 --
 Rgds

 Peter

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

  Yes! that was my problem. When i did this i follow gentoo wiki's
tutorial, but this part is not there, yesterday i check the official web and
i see this part, now is working great! Many thanks!.
I have a n old notebook with a intel video chipset (810) should i use the *
intelfb* instead of *uvesafb*?

BTW: Is there any chance to avoid to see my background images when the
kernel end load and just before kdm start? I get the image i choose two
times...and it would be great if i just keep a dark screen or somethinf
similar.


Many thanks,
Cheers!


[gentoo-user] portage/firewall

2008-03-27 Thread Gavin Seddon

Hello,
I have inst. gtoo on a workstation at work.  But portage complains
'-14:24:52-- 
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/gcc-3.3.6-patches-1.4.tar.bz2

   = `/usr/portage/distfiles/gcc-3.3.6-patches-1.4.tar.bz2'
Resolving cudlug.cudenver.edu... 132.194.22.137
Connecting to cudlug.cudenver.edu|132.194.22.137|:21... failed: Network 
is unreachable.
 Downloading 
'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gcc-3.3.6-patches-1.4.tar.bz2'
--14:24:52-- 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gcc-3.3.6-patches-1.4.tar.bz2

   = `/usr/portage/distfiles/gcc-3.3.6-patches-1.4.tar.bz2'
Resolving ftp.snt.utwente.nl... 130.89.175.1, 2001:610:1908:8000::175:1
Connecting to ftp.snt.utwente.nl|130.89.175.1|:21... failed: Network is 
unreachable.

Connecting to ftp.snt.utwente.nl|2001:610:1908:8000::175:1|:21...'

This may be a 'medicine dept' firewall.

I cannot ask Them to alter it.  Will someone help pls?
Gavin.
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: problem with 2 partition installation from gentoo minimal system

2008-03-27 Thread Fei Liu

Fei Liu wrote:



Here is the complete grub.conf file:
more /boot/grub/grub.conf
default 0
timeout 8
gfxmenu (hd0,0)/boot/message

title 2.6.24.4-default
   root (hd0,0)
   kernel /boot/kernel root=/dev/sda1 splash=silent showopts

/etc/fstab:
#/dev/BOOT  /boot   ext2
noauto,noatime  1 2
/dev/sda1   /   ext3
noatime 0 1
/dev/sda2   noneswap
sw  0 0
#/dev/cdrom /mnt/cdrom  audo
noauto,ro   0 0
#/dev/fd0   /mnt/floppy auto
noauto  0 0


shm /dev/shmtmpfs   
nodev,nosuid,noexec 0 0


I am looking into the SCSI file system issue.

Fei


Error messages:
...
md: ... autorun DONE
VFS: Cannot open root device sda1 or unknown-block(0,0)
Please append a correct root= boot option; here are the available 
partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on 
unknown-block(0,0)


There is one more thing, this is a vmware machine so the harddrive is 
a scsi harddrive.


Fei

I finally found this page and got this stuff to work, the catch is 
'vmware' specific feature.


http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_VMware_in_Windows_NT/2K/XP#Kernel_Options


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



[gentoo-user] rsync errors

2008-03-27 Thread Kaushal Shriyan
Hi

I am running the command

/usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
/tmp/rsync-${TIMESTAMP}.log 21

I am getting the below error in the log file

mysql/
rsync: failed to set permissions on /var/lib/mysql: Operation not
permitted (1)
rsync: failed to open /var/lib/mysql/ib_logfile0, continuing:
Permission denied (13)
mysql/ib_logfile0
rsync: failed to open /var/lib/mysql/ib_logfile1, continuing:
Permission denied (13)
mysql/ib_logfile1
rsync: failed to open /var/lib/mysql/ibdata1, continuing: Permission
denied (13)
mysql/ibdata1
rsync: failed to open /var/lib/mysql/master.info, continuing:
Permission denied (13)
mysql/master.info
rsync: failed to open /var/lib/mysql/SCHEDULER
/ScheduleTasks.MYD, continuing: Permission denied (13)

Any thing I am missing

I did setfacl -R -dm u:sms:rwx /var/lib/mysql on hostaa
   setfacl -R -dm u:mysql:rwx /var/lib/mysql on hostaa
   chmod -R g-x,g+X /var/lib/mysql on hostaa

but no luck

Thanks and Regards

Kaushal


Re: [gentoo-user] Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-27 Thread Alan McKinnon
On Thursday 27 March 2008, Michael Schmarck wrote:
  The question now is why were the alsa, oss and other drivers
  removed from the -base ebuild?

 Because they belong to the meta package, I suppose. The real
 question rather is, why was rb not updated to depend on -meta.
 I filed https://bugs.gentoo.org/show_bug.cgi?id=214852 for that.

Good luck with getting a dev to agree to that. I wouldn't, and don't 
know a single case in portage where an ebuild DEPENDS on a -meta ebuild 
(possible -metas DEPENDING on subordinate -metas excepted)

-meta packages are designed to be manually added to world by users who 
wish an easy way to emerge everything. It's not described in policy 
anywhere I have ever seen, the actual usage in practise tells you the 
intended usage.

Go back and read bug 159470 again, especially comments 3 and 4. The 
dependencies you propose cause circular dependency loops and 
recompilation of packages that depend on the USE flags when they 
change, even when the resulting files installed are EXACTLY the same as 
the ones replaced. This is the reason why the USE flags were removed 
from the ebuild, to save you from the horror that is circular deps.

  I recall something similar with another sound
  app a while ago, the reason is that it could be used as a networked
  sound delivery server and there's no good reason to require the
  user to have sound driver support on the local machine. I suspect
  your bug will be closed WONTFIX, with luck the dev will justify
  their reasoning.

 If not, I'll reopen it.

And Jakob will probably just close it. He's brutal about that, and it's 
his job. The problem you are trying to solve would be much better 
served with a request for an ELOG to be emitted by rhythmbox alerting 
to user to the need to install gst-plugins-whatever.

There's a damn good reason why rhythmbox does does depend on -meta. That 
will never happen, so you should get over it. Bug 159470 explains why 
it's not a good idea to depend on -base either, so now you get to issue 
one more emerge by yourself. These decisions are made taking the entire 
Gentoo ecosystem into account and what is best for all users. If you 
will be inconvenienced by a step taken for the greater good and there 
is no sane way to give you what you'd like, then the loser will be you. 
Sorry.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] rsync errors

2008-03-27 Thread Alan McKinnon
On Thursday 27 March 2008, Kaushal Shriyan wrote:
 Hi

 I am running the command

 /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
 /tmp/rsync-${TIMESTAMP}.log 21

 I am getting the below error in the log file

 mysql/
 rsync: failed to set permissions on /var/lib/mysql: Operation not
 permitted (1)
 rsync: failed to open /var/lib/mysql/ib_logfile0, continuing:
 Permission denied (13)
 mysql/ib_logfile0
 rsync: failed to open /var/lib/mysql/ib_logfile1, continuing:
 Permission denied (13)
 mysql/ib_logfile1
 rsync: failed to open /var/lib/mysql/ibdata1, continuing:
 Permission denied (13)
 mysql/ibdata1
 rsync: failed to open /var/lib/mysql/master.info, continuing:
 Permission denied (13)
 mysql/master.info
 rsync: failed to open /var/lib/mysql/SCHEDULER
 /ScheduleTasks.MYD, continuing: Permission denied (13)

 Any thing I am missing

 I did setfacl -R -dm u:sms:rwx /var/lib/mysql on hostaa
setfacl -R -dm u:mysql:rwx /var/lib/mysql on hostaa
chmod -R g-x,g+X /var/lib/mysql on hostaa

Please supply more info:

1. The permissions on the source and destination directories
2. The ACL's for those directories
3. Does your system have ACLs compiled in, and are they enabled?
4. Which user is rsync running as?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Uwe Thiem
On Thursday 27 March 2008, Gavin Seddon wrote:
 Hello,
 I have inst. gtoo on a workstation at work.  But portage complains
 '-14:24:52--
 ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfile
s/gcc-3.3.6-patches-1.4.tar.bz2 =
 `/usr/portage/distfiles/gcc-3.3.6-patches-1.4.tar.bz2' Resolving
 cudlug.cudenver.edu... 132.194.22.137
 Connecting to cudlug.cudenver.edu|132.194.22.137|:21... failed:
 Network is unreachable.

   Downloading

 'ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gcc-3.3.6-p
atches-1.4.tar.bz2' --14:24:52--
 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/gcc-3.3.6-pa
tches-1.4.tar.bz2 =
 `/usr/portage/distfiles/gcc-3.3.6-patches-1.4.tar.bz2' Resolving
 ftp.snt.utwente.nl... 130.89.175.1, 2001:610:1908:8000::175:1
 Connecting to ftp.snt.utwente.nl|130.89.175.1|:21... failed:
 Network is unreachable.
 Connecting to ftp.snt.utwente.nl|2001:610:1908:8000::175:1|:21...'

 This may be a 'medicine dept' firewall.

 I cannot ask Them to alter it.  Will someone help pls?
 Gavin.

Do you use a proxy for normal browsing? If so, you can set the proxy 
in /etc/wgetrc.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] rsync errors

2008-03-27 Thread Alan McKinnon
On Thursday 27 March 2008, Kaushal Shriyan wrote:
 On Thu, Mar 27, 2008 at 8:36 PM, Alan McKinnon 
[EMAIL PROTECTED] wrote:
  On Thursday 27 March 2008, Kaushal Shriyan wrote:
Hi
   
I am running the command
   
/usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ 
/tmp/rsync-${TIMESTAMP}.log 21

rsync should work with that setup, I don't know why you are getting 
errors. I seriously recommend you take a close look at your permissions 
for /var/lib/mysql though - you have it world-writeable - a big no-no

ACLs are working - the + at the end of the permissions in 'ls -l' proves 
that.

I would be checking the individual files inside /var/lib/mysql/ and the 
directory /var/lib itself.

Also, I don't know what (1) and (13) in the error logs means. It looks 
like rsync result codes, but those numbers for rsync make no sense at 
all in this context. Hopefully someone else reading this knows.

Finally, SELinux can do odd things like this, but it's errors are easy 
to spot for what they are. Do you know what they look like, and do you 
have SELinux enabled?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Elyahou ITTAH
If your proxy don't let ftp pass, use

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



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Elyahou ITTAH
2008/3/27, Elyahou ITTAH [EMAIL PROTECTED]:
If your proxy don't let ftp pass, use

torify emerge gcc

(from the tor package)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Roger Mason
Alex Schuster [EMAIL PROTECTED] writes:

 Dale writes:

 Kaushal Shriyan wrote:

  Both the files /dev/random and /dev/urandom are missing in my system.
 
 I just noticed this on mine.  Do you have the service urandom in the
 boot runlevel?

 Looking at the init script it seems like if the character 
 device /dev/urandom does not exist, it exits directly.

 Does anyone know what exactly creates these device nodes and why it could 
 fail? 

Some kernel option?

grep RANDOM /usr/src/linux/.config
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
CONFIG_HW_RANDOM_GEODE=y
CONFIG_HW_RANDOM_VIA=y

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



[gentoo-user] touchpad can't scroll

2008-03-27 Thread Chuanwen Wu
Hi, I have a Dell 1400 laptop. The touchpad can implement most
functions except vertical scrolling, horizontal scrolling and dragging
(not only in firefox, and also other applications).

I have followed this guide
http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad, but still can't
fix the problem.

There is some information below:

 $ cat /proc/bus/input/devices
[...]
I: Bus=0011 Vendor=0002 Product=0008 Version=7325
N: Name=AlpsPS/2 ALPS GlidePoint
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input5
U: Uniq=
H: Handlers=mouse1 event5
B: EV=f
B: KEY=420 67 0 0 0 0
B: REL=3
B: ABS=103
[...]

And some configurations in my Xorg.conf:

Section InputDevice
Identifier  USB_Mouse
Driver  mouse
Option ProtocolAuto # Auto detect
Option Device  /dev/input/mice
Option ZAxisMapping   4 5
EndSection

Section InputDevice
   Identifier  TouchPad
   Driver  synaptics
   Option  Device/dev/input/mouse1
   Option  Protocol  alps
   Option  SendCoreEvents true
   Option  SHMConfig on
   Option  ZAxisMapping  4 5
   Option  Emulate3Buttons   on
   Option   LeftEdge  130
   Option   RightEdge 840
   Option   TopEdge   130
   Option   BottomEdge640
   Option   FingerLow 7
   Option   FingerHigh8
   Option   MaxTapTime180
   Option   MinTapTime 110
   Option   ClickTime 0
   Option   EmulateMidButtonTime 75
#   Option  MaxTapMove220
   Option   VertScrollDelta 20
   Option   HorizScrollDelta 20
   Option   MinSpeed  0.40
   Option   MaxSpeed  0.65
   Option   AccelFactor   0.030
   Option   EdgeMotionMinSpeed 200
   Option   EdgeMotionMaxSpeed 200
   Option   UpDownScrolling 1
   Option   CircularScrolling 1
   Option   CircScrollDelta 0.1
   Option   CircScrollTrigger 3
   Option   VertEdgeScroll on
EndSection

Section ServerLayout
Screen Screen 1
InputDevice USB_Mouse CorePointer
InputDevice Keyboard1 CoreKeyboard

Option AIGLX true
EndSection


Any help will be appreciated!

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



Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Alex Schuster
Roger Mason writes:

 Alex Schuster [EMAIL PROTECTED] writes:
[/dev/random, /dev/urandom]
  Does anyone know what exactly creates these device nodes and why it
  could fail?

 Some kernel option?

 grep RANDOM /usr/src/linux/.config
 CONFIG_HW_RANDOM=y
 CONFIG_HW_RANDOM_INTEL=y
 CONFIG_HW_RANDOM_AMD=y
 CONFIG_HW_RANDOM_GEODE=y
 CONFIG_HW_RANDOM_VIA=y

No, I think they are for special hardware randoem generators only. I don't 
heve those enabled in my .config.

Wonko

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



[gentoo-user] Creating an initrd for loading...

2008-03-27 Thread Benjamen R. Meyer
I'm working on a Sparc system (SunBlade 2000 Desktop Server) that needs 
an initrd image to load (due to having a QLA 2200 SCSI controller); but 
I am having some trouble with the initrd image.


(I had tried the gentoo-sparc list, but it is slow - I'm not getting 
responses - and I need to finish this server by Friday. And the issue 
right now is solely the initrd image.)


The problem I am having is that the kernel is complaining about not 
having the initrd image. I have SILO (sparc equiv of LILO) installed, 
and have told it of the initrd image, but the kernel doesn't seem to 
find it. (SILO reports all is well, so I can only assume it is finding 
the initrd image without a problem.)


My main question comes down to this: I am using the 'genkernel' package 
to build  install the kernel and initrd image. Both show up in /boot. 
How much can I rely on genkernel to build a valid initrd image? How can 
I mount the initrd image to verify it has the modules, etc. and verify 
it is a valid image?


TIA,

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



Re: [gentoo-user] uvesafb and screen resolution

2008-03-27 Thread Chris Brennan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

have you tried vga=ask ?

Chuanwen Wu wrote:
| On Wed, Mar 26, 2008 at 3:55 AM, Ricardo Saffi Marques
| [EMAIL PROTECTED] wrote:
| On Tue, Mar 25, 2008 at 4:42 PM, Sergey Kobzar [EMAIL PROTECTED]
wrote:
|
| uvesafb works nice.
| Can anyone help me with the following?
| Do any of you know how to make uvesafb (that replaces the old vesafb-tng)
| set to a pre-defined resolution?
| May be you want this guide  http://dev.gentoo.org/~spock/projects/uvesafb/
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH68698hUIAnGfls4RAj9HAJ9LdjRvAwW+DZAu5OrdbNBGO6c0tQCeMuS5
cMwBndcvDThMFz/4CngdHBI=
=wT9b
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Static mod_perl with apache2

2008-03-27 Thread Mario Ignacio Rodríguez Cortés
Hi list:

The situation is the next, i'm trying to install mod_perl as a static
module with apache2, but apparently this isn't possible directly with
emerge or i haven't found the correct flag, can someone tell me if this
is possible? or does it have manually?. I'm using apache2 with
mpm_worker, if someone ask me the reason for use mod_perl as static
module is because at the moment of init the service i have problems of
segmentation fault, and reading in different posts this could be a
solution.


Thanks for your help.

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



Re: [gentoo-user] uvesafb and screen resolution

2008-03-27 Thread Ricardo Saffi Marques
On Thu, Mar 27, 2008 at 1:43 PM, Chris Brennan [EMAIL PROTECTED] wrote:

 have you tried vga=ask ?


I did try that. But it suggests many different things. None of them works as
I want it to  (or as vesafb-tng would when I set up the resolution by myself
on the kernel config). And worse: for me to try every option vga=ask provide
me, there are several reboots. So...

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


Re: [gentoo-user] Creating an initrd for loading...

2008-03-27 Thread Florian Philipp

On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote:
 I'm working on a Sparc system (SunBlade 2000 Desktop Server) that needs 
 an initrd image to load (due to having a QLA 2200 SCSI controller); but 
 I am having some trouble with the initrd image.
 
 (I had tried the gentoo-sparc list, but it is slow - I'm not getting 
 responses - and I need to finish this server by Friday. And the issue 
 right now is solely the initrd image.)
 
 The problem I am having is that the kernel is complaining about not 
 having the initrd image. I have SILO (sparc equiv of LILO) installed, 
 and have told it of the initrd image, but the kernel doesn't seem to 
 find it. (SILO reports all is well, so I can only assume it is finding 
 the initrd image without a problem.)
 
 My main question comes down to this: I am using the 'genkernel' package 
 to build  install the kernel and initrd image. Both show up in /boot. 
 How much can I rely on genkernel to build a valid initrd image?

Try genkernel menuconfig all to check for a valid kernel config before
genkernel builds it. Refer to genkernel's man-page for further options.

  How can 
 I mount the initrd image to verify it has the modules, etc. and verify 
 it is a valid image?
 
There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs

Hope this helps.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Florian Philipp

On Wed, 2008-03-26 at 23:24 +0530, Kaushal Shriyan wrote:
 On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick [EMAIL PROTECTED]
 wrote:
 On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:
 
  when i restart sshd I get PRNG is not seeded
 
  # /etc/init.d/sshd restart
  PRNG is not seeded
 
 
 Does /dev/urandom exist? What are it's permissions?
 
 
 --
 Neil Bothwick
 
 Never eat more than you can lift.
 
 Hi
 
 Thanks for the clue,
 
 Both the files /dev/random and /dev/urandom are missing in my system. 
 
 How do i go ahead in fixing this issue
 
 Thanks and Regards
 
 Kaushal
 

I'm not sure if this is a permanent solution because /dev is a tmpfs
created by udev on startup (maybe there is your problem?) but you could
try

mknod -m 444 /dev/random c 1 8
mknod -m 444 /dev/urandom c 1 9

Both commands are taken from Linux from Scratch.

There is a static /dev lying on your root-partition. It should have been
created when you extracted your stage3-tarball during installation.
Maybe there is something wrong with that one and udev doesn't create
(u)random when they are not in the static one. To see the static /dev
you must unmount /dev, which you can only do from a live-cd.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] touchpad can't scroll

2008-03-27 Thread Florian Philipp

On Thu, 2008-03-27 at 23:58 +0800, Chuanwen Wu wrote:
 Hi, I have a Dell 1400 laptop. The touchpad can implement most
 functions except vertical scrolling, horizontal scrolling and dragging
 (not only in firefox, and also other applications).
 
 I have followed this guide
 http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad, but still can't
 fix the problem.
 
 There is some information below:
 
  $ cat /proc/bus/input/devices
 [...]
 I: Bus=0011 Vendor=0002 Product=0008 Version=7325
 N: Name=AlpsPS/2 ALPS GlidePoint
 P: Phys=isa0060/serio1/input0
 S: Sysfs=/class/input/input5
 U: Uniq=
 H: Handlers=mouse1 event5
 B: EV=f
 B: KEY=420 67 0 0 0 0
 B: REL=3
 B: ABS=103
 [...]
 
 And some configurations in my Xorg.conf:
 
 Section InputDevice
 Identifier  USB_Mouse
 Driver  mouse
 Option ProtocolAuto # Auto detect
 Option Device  /dev/input/mice
 Option ZAxisMapping   4 5
 EndSection
 
 Section InputDevice
Identifier  TouchPad
Driver  synaptics
Option  Device/dev/input/mouse1
Option  Protocol  alps
Option  SendCoreEvents true
Option  SHMConfig on
Option  ZAxisMapping  4 5
Option  Emulate3Buttons   on
Option   LeftEdge  130
Option   RightEdge 840
Option   TopEdge   130
Option   BottomEdge640
Option   FingerLow 7
Option   FingerHigh8
Option   MaxTapTime180
Option   MinTapTime 110
Option   ClickTime 0
Option   EmulateMidButtonTime 75
 #   Option  MaxTapMove220
Option   VertScrollDelta 20
Option   HorizScrollDelta 20
Option   MinSpeed  0.40
Option   MaxSpeed  0.65
Option   AccelFactor   0.030
Option   EdgeMotionMinSpeed 200
Option   EdgeMotionMaxSpeed 200
Option   UpDownScrolling 1
Option   CircularScrolling 1
Option   CircScrollDelta 0.1
Option   CircScrollTrigger 3
Option   VertEdgeScroll on
 EndSection
 
 Section ServerLayout
 Screen Screen 1
 InputDevice USB_Mouse CorePointer
 InputDevice Keyboard1 CoreKeyboard
 
 Option AIGLX true
 EndSection
 
 
 Any help will be appreciated!
 
 -- 
 wcw

You should change your server-layout to something like

Section ServerLayout
Identifier Layout0
Screen Screen1
InputDeviceKeyboard1 CoreKeyboard
InputDeviceTouchpad CorePointer
Option  AIGLX true
EndSection



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] portage/firewall

2008-03-27 Thread Florian Philipp

On Thu, 2008-03-27 at 17:55 +0200, Elyahou ITTAH wrote:
 If your proxy don't let ftp pass, use
 
 torify

Please try to avoid doing this with large packages. Tor is a distributed
net built by volunteers. Flooding it with large downloads is neither
nice nor fast.

I'd say, try http.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Florian Philipp

On Wed, 2008-03-26 at 22:13 -0400, 7v5w7go9ub0o wrote:
 Mikie wrote:
  Does anyone know of a product (hopefully free) that can clean a Windows
  PC while booted on Gentoo?
  
  I guess I need a good malware tool that runs on Linux and cleans NTFS
  volumes.
  
  Thanks.
 
 FWIW, AntiVir, Bitdefender, and F-Prot run quite well on Linux, and each 
 has BOTH Linux and Windows Trojan and virus signatures. So you can 
 install these and scan your windows box, and then scan your Linux 
 box/downloads for malware (e.g. openoffice files, media files, etc.).
 
 Add Dazuko, and you can get real-time scanning of your Linux box while 
 downloading/compiling software.

This is getting OT but I still want to ask:
Is it really necessary to run an anti-virus on linux? I just want to
hear some opinions on that topic because I thought security fixes for
your software are the way to go for fighting virae on linux.


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Neil Bothwick
On Thu, 27 Mar 2008 18:38:15 +0100, Florian Philipp wrote:

 To see the static /dev
 you must unmount /dev, which you can only do from a live-cd.

That's not true, you can also see it by bind mounting root somewhere else.

mount -bind / /mnt
ls -l /mnt/dev


-- 
Neil Bothwick

If you're not part of the solution, you're part of the precipitate. *
Wright


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Dirk Heinrichs
Am Donnerstag, 27. März 2008 schrieb Florian Philipp:

 Is it really necessary to run an anti-virus on linux? I just want to
 hear some opinions on that topic because I thought security fixes for
 your software are the way to go for fighting virae on linux.

The main purpose is to remove virae from _Windows_ drives. You boot from a 
Linux LiveCD, like german c't magazin's Knoppicillin, mount your NTFS 
partition(s) and clean them.

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Static mod_perl with apache2

2008-03-27 Thread Uwe Thiem
On Thursday 27 March 2008, Mario Ignacio Rodríguez Cortés wrote:
 Hi list:

 The situation is the next, i'm trying to install mod_perl as a
 static module with apache2, 

What is a static module?Something like a female stallion?

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Creating an initrd for loading...

2008-03-27 Thread Benjamen R. Meyer

Florian Philipp wrote:

On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote:
My main question comes down to this: I am using the 'genkernel' package 
to build  install the kernel and initrd image. Both show up in /boot. 
How much can I rely on genkernel to build a valid initrd image?

Try genkernel menuconfig all to check for a valid kernel config before
genkernel builds it. Refer to genkernel's man-page for further options.


Yes, I did that. I ran genkernel, and generated it all. The initrd just 
doesn't seem to be working.



 How can 
I mount the initrd image to verify it has the modules, etc. and verify 
it is a valid image?

There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs


Ok, so I used zcat to decompress the image, and then cpio to extract the 
data to a temporary folder. (The instructions on the wiki didn't work 
for some reason...complaints about finding cpio and zcat complaining 
about arguments). Any how...


I snooped around the extracted files and was unable to find either the 
qla2xxx module (or the qla2200 modules, or any modules for that matter) 
or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 - 
/lib/firmward/qla2200_fw.bin), and so is the module - 
/lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is 
the initrd image invalid?? Or are they stored somehow in the files 
non-obviously?


How could I easily add them to the initrd image? (This is really my 
first time playing with initrd images...)


Thanks,

Ben

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



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Uwe Thiem
On Thursday 27 March 2008, Florian Philipp wrote:
 On Thu, 2008-03-27 at 17:55 +0200, Elyahou ITTAH wrote:
  If your proxy don't let ftp pass, use
 
  torify

 Please try to avoid doing this with large packages. Tor is a
 distributed net built by volunteers. Flooding it with large
 downloads is neither nice nor fast.

 I'd say, try http.

Jeez. You didn't read the original posting, did you? It's FTP, period.

I still advise to set the proxy in /etc/wgetrc.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Weirdness Here

2008-03-27 Thread CJoeB

Hi Guys,

Something weird is going on with my system.  I have been trying to 
upgrade the kernel, but no matter what I select, I can't seem to get the 
sata drive on my laptop recognized.  So, I've been sticking to a kernel 
that works.  That is just a lead-in to the situation.


Today, I wanted to check /boot to make sure that I had removed residual 
files from my last failed kernel upgrade.  First, let me say that my 
system boots fine into the kernel that I have been using successfully - 
i.e. everything happens as expected when I boot.  However, in /boot, all 
I have is a symlink that says that boot is a link to . (dot).  I don't 
see any grub directory or any of the files that should be there.  What 
gives?  This is making me a little antsy!  Any suggestions as to what is 
going on?  Any ideas how to solve the situation?


Regards,

Colleen

--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org


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



Re: [gentoo-user] Static mod_perl with apache2

2008-03-27 Thread Jason Carson
I'm not totally sure what you are talking about but to get perl to work
with apache2 you need to add -D PERL to /etc/conf.d/apache2

APACHE2_OPTS=-D PERL

 Hi list:

 The situation is the next, i'm trying to install mod_perl as a static
 module with apache2, but apparently this isn't possible directly with
 emerge or i haven't found the correct flag, can someone tell me if this
 is possible? or does it have manually?. I'm using apache2 with
 mpm_worker, if someone ask me the reason for use mod_perl as static
 module is because at the moment of init the service i have problems of
 segmentation fault, and reading in different posts this could be a
 solution.


 Thanks for your help.

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




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



[gentoo-user] Re: Weirdness Here

2008-03-27 Thread CJoeB

Disregard the message below.  I've figured it out.  Sorry!  ;-(

Colleen

CJoeB wrote:

Hi Guys,

Something weird is going on with my system.  I have been trying to 
upgrade the kernel, but no matter what I select, I can't seem to get 
the sata drive on my laptop recognized.  So, I've been sticking to a 
kernel that works.  That is just a lead-in to the situation.


Today, I wanted to check /boot to make sure that I had removed 
residual files from my last failed kernel upgrade.  First, let me say 
that my system boots fine into the kernel that I have been using 
successfully - i.e. everything happens as expected when I boot.  
However, in /boot, all I have is a symlink that says that boot is a 
link to . (dot).  I don't see any grub directory or any of the files 
that should be there.  What gives?  This is making me a little antsy!  
Any suggestions as to what is going on?  Any ideas how to solve the 
situation?


Regards,

Colleen




--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org


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



Re: [gentoo-user] Weirdness Here

2008-03-27 Thread Jason Carson
Did you create a separate /boot partition when installing Gentoo. If so
you need to mount it

mount /dev/sda1 /boot

or whatever is your boot partition

 Hi Guys,

 Something weird is going on with my system.  I have been trying to
 upgrade the kernel, but no matter what I select, I can't seem to get the
 sata drive on my laptop recognized.  So, I've been sticking to a kernel
 that works.  That is just a lead-in to the situation.

 Today, I wanted to check /boot to make sure that I had removed residual
 files from my last failed kernel upgrade.  First, let me say that my
 system boots fine into the kernel that I have been using successfully -
 i.e. everything happens as expected when I boot.  However, in /boot, all
 I have is a symlink that says that boot is a link to . (dot).  I don't
 see any grub directory or any of the files that should be there.  What
 gives?  This is making me a little antsy!  Any suggestions as to what is
 going on?  Any ideas how to solve the situation?

 Regards,

 Colleen

 --

 Registered Linux User #411143 with the Linux Counter,
 http://counter.li.org


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




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



Re: [gentoo-user] virusses on Linux [was: Re: Boot Gentoo to clean windows]

2008-03-27 Thread Uwe Thiem
On Thursday 27 March 2008, Florian Philipp wrote:

 This is getting OT but I still want to ask:
 Is it really necessary to run an anti-virus on linux? I just want
 to hear some opinions on that topic because I thought security
 fixes for your software are the way to go for fighting virae on
 linux.

FWIW: I have been using Linux workstations for over 10 years now 
without any virus protection. Not a single accident.

On the other hand, if you run a Linux server (say a mail server) for a 
mixed environment you definitely want a virus scanner on your server 
to protect your Windows clients.

Uwe

-- 
Informal Linux Group Namibia:
http://www.linux.org.na/
SysEx (Pty) Ltd.:
http://www.SysEx.com.na/
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Weirdness Here

2008-03-27 Thread Chris Brennan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

look in your /etc/fstab, is /boot set to noauto? If it is, then /boot
isn't being mounted at boot, mount it by hand, then take a peek ...

CJoeB wrote:
| Hi Guys,
|
| Something weird is going on with my system.  I have been trying to
| upgrade the kernel, but no matter what I select, I can't seem to get the
| sata drive on my laptop recognized.  So, I've been sticking to a kernel
| that works.  That is just a lead-in to the situation.
|
| Today, I wanted to check /boot to make sure that I had removed residual
| files from my last failed kernel upgrade.  First, let me say that my
| system boots fine into the kernel that I have been using successfully -
| i.e. everything happens as expected when I boot.  However, in /boot, all
| I have is a symlink that says that boot is a link to . (dot).  I don't
| see any grub directory or any of the files that should be there.  What
| gives?  This is making me a little antsy!  Any suggestions as to what is
| going on?  Any ideas how to solve the situation?
|
| Regards,
|
| Colleen
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH6+rS8hUIAnGfls4RApmdAJ9iOtiasTnsbay5F/lUEPKp5vDWoACfacvG
tkQdm9R2YqmFNjLiF9qAYPQ=
=Eorv
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list




Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Conway S. Smith
On Thu, 27 Mar 2008 19:18:57 +0100
Dirk Heinrichs [EMAIL PROTECTED] wrote:
 Am Donnerstag, 27. März 2008 schrieb Florian Philipp:
 
  Is it really necessary to run an anti-virus on linux? I just want
  to hear some opinions on that topic because I thought security
  fixes for your software are the way to go for fighting virae on
  linux.
 
 The main purpose is to remove virae from _Windows_ drives. You boot
 from a Linux LiveCD, like german c't magazin's Knoppicillin,
 mount your NTFS partition(s) and clean them.
 

Or to catch  remove a virus before it reaches the Windows machines -
say with a Linux file or email server on a network w/ Windows
machines.


Conway S. Smith
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Weirdness Here

2008-03-27 Thread CJoeB

Chris Brennan wrote:

look in your /etc/fstab, is /boot set to noauto? If it is, then /boot
isn't being mounted at boot, mount it by hand, then take a peek ...


Thanks.  I figured that out.  The thing that stymied me is that I 
normally don't have to manually mount /boot.  Anyway, things are okay now.


Regards,

Colleen


CJoeB wrote:
| Hi Guys,
|
| Something weird is going on with my system.  I have been trying to
| upgrade the kernel, but no matter what I select, I can't seem to get the
| sata drive on my laptop recognized.  So, I've been sticking to a kernel
| that works.  That is just a lead-in to the situation.
|
| Today, I wanted to check /boot to make sure that I had removed residual
| files from my last failed kernel upgrade.  First, let me say that my
| system boots fine into the kernel that I have been using successfully -
| i.e. everything happens as expected when I boot.  However, in /boot, all
| I have is a symlink that says that boot is a link to . (dot).  I don't
| see any grub directory or any of the files that should be there.  What
| gives?  This is making me a little antsy!  Any suggestions as to what is
| going on?  Any ideas how to solve the situation?
|
| Regards,
|
| Colleen
|


--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org

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



Re: [gentoo-user] PRNG is not seeded

2008-03-27 Thread Dale

Alex Schuster wrote:

Roger Mason writes:

  

Alex Schuster [EMAIL PROTECTED] writes:


[/dev/random, /dev/urandom]
  

Does anyone know what exactly creates these device nodes and why it
could fail?
  

Some kernel option?

grep RANDOM /usr/src/linux/.config
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
CONFIG_HW_RANDOM_GEODE=y
CONFIG_HW_RANDOM_VIA=y



No, I think they are for special hardware randoem generators only. I don't 
heve those enabled in my .config.


Wonko

  


I don't have those either.

[EMAIL PROTECTED] / # grep RANDOM /usr/src/linux/.config
# CONFIG_HW_RANDOM is not set
[EMAIL PROTECTED] / #


Not sure where that device comes from.  I do have them on my system tho.

Dale

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



[gentoo-user] Re: Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-27 Thread Michael Schmarck
Alan McKinnon alan.mckinnon at gmail.com writes:

 
 On Thursday 27 March 2008, Michael Schmarck wrote:
   The question now is why were the alsa, oss and other drivers
   removed from the -base ebuild?
 
  Because they belong to the meta package, I suppose. The real
  question rather is, why was rb not updated to depend on -meta.
  I filed https://bugs.gentoo.org/show_bug.cgi?id=214852 for that.
 
 Good luck with getting a dev to agree to that. I wouldn't, and don't 
 know a single case in portage where an ebuild DEPENDS on a -meta ebuild 
 (possible -metas DEPENDING on subordinate -metas excepted)

In that case, rb should depend on gst-plugins-base, but that's
also not what them devs want. It rather seems, that they prefer
that users have a non-functional system - which I find a quite
strange attitude. But that's just me, I guess.

 -meta packages are designed to be manually added to world by users who 
 wish an easy way to emerge everything.

Fine, but did you actually have a look at the gst-plugins-meta
package? It does *NOT* add everything. It is *NOT* at all like
the kde-meta package. The gst-plugins-meta package only adds
everything, if all the USE flags are set. Again, that's very
much different from the kde-meta package - for it to be the
same, the kde-meta would need to have, let's say, a ppp
flag with which a user could control if ppp stuff (kppp for
example) get's installed. But there's no such flag.

 It's not described in policy 
 anywhere I have ever seen, the actual usage in practise tells you the 
 intended usage.

The actual usage of other meta packages (again, I'm thinking
abut kde-meta and also gnome-base/gnome here) differs *completely*
from the usage of the gst-plugins-meta package. So I don't
see, how you can compare different things here.

 Go back and read bug 159470 again, especially comments 3 and 4.

I don't quite understand that. Nobody is proposing, that rb should
now grow an alsa USE flag. I'm also not saying that gst-plugins-base
should re-grow the alsa USE flag.

 The 
 dependencies you propose cause circular dependency loops

Why's that?

rb should depend on gst-plugins-meta which should depend on
gst-plugins-alsa (if the USE flag is set so).

 and 
 recompilation of packages that depend on the USE flags when they 
 change, even when the resulting files installed are EXACTLY the same as 
 the ones replaced.

Care to expand on that?

 This is the reason why the USE flags were removed 
 from the ebuild, 

That's fine.

 to save you from the horror that is circular deps.

Could you cook up a testcase to show that?

   I recall something similar with another sound
   app a while ago, the reason is that it could be used as a networked
   sound delivery server and there's no good reason to require the
   user to have sound driver support on the local machine. I suspect
   your bug will be closed WONTFIX, with luck the dev will justify
   their reasoning.
 
  If not, I'll reopen it.
 
 And Jakob will probably just close it.

Then I'll reopen it.

 He's brutal about that, and it's 
 his job. 

Dunno. But let's not discuss Jakub.

 The problem you are trying to solve would be much better 
 served with a request for an ELOG to be emitted by rhythmbox alerting 
 to user to the need to install gst-plugins-whatever.

I don't think so.

 There's a damn good reason why rhythmbox does does depend on -meta. 

I suppose you mean does not depend on -meta, right?

 That 
 will never happen, so you should get over it. Bug 159470 explains why 
 it's not a good idea to depend on -base either, so now you get to issue 
 one more emerge by yourself. 

Actually, it doesn't. Comment #3 from Jakub doesn't apply. I totally
agree with Jakub, that it might have been a bad idea to have something
like

  mad? ( =media-plugins/gst-plugins-mad-0.10* )

in the totem ebuild. That sucks. Nobody wants that back.

I seem to be missing something - what happens, if rb would
depend on gst-plugins-meta? Suppose USE=alsa is set. Then if
emerge rhythmbox would be done, gst-plugins-meta and 
gst-plugins-alsa would be emerged. Then the user thinks that
dvb is a good idea and adds dvb to his make.conf file.
If he'd recompile gst-plugins-meta, he'd also get gst-plugins-dvb
installed. Would rb then need to be recompiled, in the point
of view of emerge?

Michael

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



Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Dale

Florian Philipp wrote:


This is getting OT but I still want to ask:
Is it really necessary to run an anti-virus on linux? I just want to
hear some opinions on that topic because I thought security fixes for
your software are the way to go for fighting virae on linux.
  


I have not ran a anti-virus here for years and no problems so far.  I 
don't think Linux has this problem except for the rootkit thing.  It 
seems Linux is just pretty much immune to this sort of thing.


Dale

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



Re: [gentoo-user] Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-27 Thread Albert Hopkins

On Thu, 2008-03-27 at 16:56 +0200, Alan McKinnon wrote:
 There's a damn good reason why rhythmbox does does depend on -meta.
 That will never happen, so you should get over it. 

The GNOME 2.22 versions of Rhythmbox and Sound Juicer depend on
gst-plugins-meta.

So you should get over it.

--a


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



[gentoo-user] Re: Gnome: No sound - No volume control GStreamer plugins and/or devices found

2008-03-27 Thread Michael Schmarck
Albert Hopkins marduk at letterboxes.org writes:

 The GNOME 2.22 versions of Rhythmbox and Sound Juicer depend on
 gst-plugins-meta.

Great to hear!

 So you should get over it.

I will. I don't care much about the 2.20 version then. They'll
be history soon anyway.

Cheers,
Michael

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



Re: [gentoo-user] portage/firewall

2008-03-27 Thread Neil Bothwick
On Thu, 27 Mar 2008 20:33:53 +0200, Uwe Thiem wrote:

  I'd say, try http.  
 
 Jeez. You didn't read the original posting, did you? It's FTP, period.

It's FTP, which is blocked by the firewall, so use only HTTP mirrors
in /etc/make.conf. There is no requirement to use FTP for downloads. If
rsync is also blocked, use emerge-webrsync to update the portage tree
over HTTP.


-- 
Neil Bothwick

Aw, mom, you act like I'm not even wearing a bungee cord!


signature.asc
Description: PGP signature


Re: [gentoo-user] Creating an initrd for loading...

2008-03-27 Thread Florian Philipp

On Thu, 2008-03-27 at 14:31 -0400, Benjamen R. Meyer wrote:
 Florian Philipp wrote:
  On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote:
  My main question comes down to this: I am using the 'genkernel' package 
  to build  install the kernel and initrd image. Both show up in /boot. 
  How much can I rely on genkernel to build a valid initrd image?
  Try genkernel menuconfig all to check for a valid kernel config before
  genkernel builds it. Refer to genkernel's man-page for further options.
 
 Yes, I did that. I ran genkernel, and generated it all. The initrd just 
 doesn't seem to be working.
 
 
   How can 
  I mount the initrd image to verify it has the modules, etc. and verify 
  it is a valid image?
  There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs
 
 Ok, so I used zcat to decompress the image, and then cpio to extract the 
 data to a temporary folder. (The instructions on the wiki didn't work 
 for some reason...complaints about finding cpio and zcat complaining 
 about arguments). Any how...
 
 I snooped around the extracted files and was unable to find either the 
 qla2xxx module (or the qla2200 modules, or any modules for that matter) 
 or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 - 
 /lib/firmward/qla2200_fw.bin), and so is the module - 
 /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is 
 the initrd image invalid?? Or are they stored somehow in the files 
 non-obviously?
 
 How could I easily add them to the initrd image? (This is really my 
 first time playing with initrd images...)
 
 Thanks,
 
 Ben
 

They are in lib/modules. I think it should work if you just copy the
modules to their respective folder and add their names to the respective
file in etc/modules.

To create a initrd new initrd, use the following command:

find . | cpio --quiet --dereference -o -H newc | gzip -9 /boot/initrd


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Alan McKinnon
On Thursday 27 March 2008, Dale wrote:
 Florian Philipp wrote:
  This is getting OT but I still want to ask:
  Is it really necessary to run an anti-virus on linux? I just want
  to hear some opinions on that topic because I thought security
  fixes for your software are the way to go for fighting virae on
  linux.

 I have not ran a anti-virus here for years and no problems so far.  I
 don't think Linux has this problem except for the rootkit thing.  It
 seems Linux is just pretty much immune to this sort of thing.

Not really immune as such, just well protected. It's very hard to gain 
remote access as a user and then find an exploit to elevate to root 
priviledges. The devastation wrought on the internet by zombie windows 
machines is by and large not really possible on Linux to anything like 
the same degree - if an attacker dupes a user into running some malware 
it tends to run as the user which limits what the malware can do i.e. 
no ports open below 1024 etc etc. 

BUT some points to keep in mind:

1. Linux us still small fry in the desktop market, and not really a 
target for malware scumbags. Why should they? It's much harder to do 
especially when Redmond's finest code in the wild is such juicy low 
hanging fruit. This is bound to change, just a matter of time

2. There are some Linuxes out there that run everything as root. 
Xandros, I'm especially looking at you here. Apparently the Xandros 
devs like the way Redmond does things, right down to the brain dead 
design decisions sigh human stupidity is apparently boundless

3. If an attacker gains access to your machine, he can trash your 
personal stuff just for spite. This is catastrophic to the average user 
even though it leaves the rest of the internet just as it was 

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-27 Thread Grant
   I'm trying to strengthen a wireless connection that spans about 150
   feet and has to go through about 5 walls.  I bought two of these:
  
   http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
  
   for either end of the connection, but I'm having trouble making it
   work well.  I've noticed the connection will be perfect for a short
   time, but then disappear.  When watching iwconfig during this process,
   it looks like the connection is good when on a low rate, but when it
   goes to 54 Mbps it falls apart.
  
   Should limiting the rate solve this problem?  If so, how can I do
   that?  I'm using hostapd on the AP and wpa_supplicant on the client.
  
   - Grant

  Grant,

  Yes, lowering the rate to a slower speed will help greatly.  The lower 
 rates
  use less compression and modulation... less complex wave forms better
  connects over long hauls.

  The antennas look very good, but what's driving them? I use and whole
  heartedly endorse SENAO products and have had very good luck with these
  models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
  http://www.wlansolution.com. Either unit with the high gain antennas you
  have,  will penetrate what you stated and probably go pretty high on the
  speed scale doing it too.

With careful antenna placement and use of 'iwconfig wlan0 rate 2M' I
have a nice reliable connection.  Thanks for the advice on lowering
the rate.

Does anyone think I would be better off with a 15 foot antenna
extension cable and a PCI adapter than what I have now which is a USB
adapter on the end of a 15 foot USB cable?  I know antenna cables are
lossy.

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



[gentoo-user] rate_wlan0= ( 2M ) not working

2008-03-27 Thread Grant
'iwconfig wlan0 rate 2M' works for limiting the wireless bitrate, but
I'd like to have this limit applied whenever wlan0 is started.
'rate_wlan0=( 2M )' in '/etc/conf.d/net' doesn't work on either the
client or router.  That syntax isn't documented in net.wireless, but I
did find it with Google.  I've also tried it without the parenthesis.
Should I file a bug?

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



[gentoo-user] Unplugging USB wireless adapter

2008-03-27 Thread Grant
Whenever I unplug a USB wireless adapter I must reboot in order for it
to be recognized again.  Is there a way to avoid the reboot?

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



Re: [gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread Dale

Alan McKinnon wrote:

On Thursday 27 March 2008, Dale wrote:
  

Florian Philipp wrote:


This is getting OT but I still want to ask:
Is it really necessary to run an anti-virus on linux? I just want
to hear some opinions on that topic because I thought security
fixes for your software are the way to go for fighting virae on
linux.
  

I have not ran a anti-virus here for years and no problems so far.  I
don't think Linux has this problem except for the rootkit thing.  It
seems Linux is just pretty much immune to this sort of thing.



Not really immune as such, just well protected. It's very hard to gain 
remote access as a user and then find an exploit to elevate to root 
priviledges. The devastation wrought on the internet by zombie windows 
machines is by and large not really possible on Linux to anything like 
the same degree - if an attacker dupes a user into running some malware 
it tends to run as the user which limits what the malware can do i.e. 
no ports open below 1024 etc etc. 


BUT some points to keep in mind:

1. Linux us still small fry in the desktop market, and not really a 
target for malware scumbags. Why should they? It's much harder to do 
especially when Redmond's finest code in the wild is such juicy low 
hanging fruit. This is bound to change, just a matter of time


2. There are some Linuxes out there that run everything as root. 
Xandros, I'm especially looking at you here. Apparently the Xandros 
devs like the way Redmond does things, right down to the brain dead 
design decisions sigh human stupidity is apparently boundless


3. If an attacker gains access to your machine, he can trash your 
personal stuff just for spite. This is catastrophic to the average user 
even though it leaves the rest of the internet just as it was 

  


True, but I did say 'pretty much'.  Nothing is completely immune.  A old 
Commodore Vic-20 can be hacked if you can connect it to the net.  
Although it is not fast enough to do much harm.  LOL 

I also agree that as Linux grows, so will the people trying to hack 
them.  As long as there are people using Linux that don't keep there box 
fairly secure, it will happen.  I don't think it will be as easy as the 
finest Redmond software but they will try.  If nothings else, they will 
try common passwords and there will always be some idiot with their 
password set to love, sex, god and other easy to guess ones.  I like my 
password tho.  It's numbers and letters and has no meaning whatsoever.  
Not even a birth date in it. 


I was not aware of #2.  Sounds like a bunch of Redmond whatabees.  o_O

Dale

:-)  :-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-27 Thread Volker Armin Hemmann
On Donnerstag, 27. März 2008, Grant wrote:
 Whenever I unplug a USB wireless adapter I must reboot in order for it
 to be recognized again.  Is there a way to avoid the reboot?

 - Grant

making usb modular and unload/reload the modules?
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Creating an initrd for loading...

2008-03-27 Thread Benjamen R. Meyer

Florian Philipp wrote:

On Thu, 2008-03-27 at 14:31 -0400, Benjamen R. Meyer wrote:

Florian Philipp wrote:

On Thu, 2008-03-27 at 12:35 -0400, Benjamen R. Meyer wrote:
 How can 
I mount the initrd image to verify it has the modules, etc. and verify 
it is a valid image?

There is a wiki-entry about it: http://gentoo-wiki.com/HOWTO_Initramfs
Ok, so I used zcat to decompress the image, and then cpio to extract the 
data to a temporary folder. (The instructions on the wiki didn't work 
for some reason...complaints about finding cpio and zcat complaining 
about arguments). Any how...


I snooped around the extracted files and was unable to find either the 
qla2xxx module (or the qla2200 modules, or any modules for that matter) 
or the qla2200 firmware. The firmware is on the hard drive (/dev/sda1 - 
/lib/firmward/qla2200_fw.bin), and so is the module - 
/lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi/qla2xxx/qla2xxx.ko. Is 
the initrd image invalid?? Or are they stored somehow in the files 
non-obviously?
How could I easily add them to the initrd image? (This is really my 
first time playing with initrd images...)

They are in lib/modules. I think it should work if you just copy the
modules to their respective folder and add their names to the respective
file in etc/modules.


Okay, I tried this two ways:

1) touched files in /etc/modules with the module names. (Probably not 
right) - didn't work.


2) added all the files in 
/lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi and sub-directories to 
/etc/modules/scsi - didn't work. Perhaps I need to add the information 
for the firmware???



To create a initrd new initrd, use the following command:
find . | cpio --quiet --dereference -o -H newc | gzip -9 /boot/initrd


Okay, used this instead of the lengthy process I was doing before:

find ./ | cpio -H newc -o  /boot/initrd.bmeyer.cpio
gzip /boot/initrd.bmeyer.cpio
mv /boot/initrd.bmeyer.cpio.gz /boot/initrd.bmeyer

Any how...still stuck. Think I'm further along..but don't know.

FYI - right after it runs 'mdev' there is a line saying it can't find 
'ls'...not sure if that is an error with mdev, or an error after mdev. 
Either way, I can't find out since the system goes unusable until I 
reboot manually (cycle power).


TIA,

Ben

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



Re: [gentoo-user] rate_wlan0= ( 2M ) not working

2008-03-27 Thread Neil Bothwick
On Thu, 27 Mar 2008 14:25:42 -0700, Grant wrote:

 'iwconfig wlan0 rate 2M' works for limiting the wireless bitrate, but
 I'd like to have this limit applied whenever wlan0 is started.

You could put it in the postup function of /etc/conf.d/net.


-- 
Neil Bothwick

Penis Envy is a total Phallusy.


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless: Limit rate to strengthen connection?

2008-03-27 Thread Richard Marzan

On Wed, 2008-03-26 at 19:52 -0700, Grant wrote:
I'm trying to strengthen a wireless connection that spans about 
   150
 feet and has to go through about 5 walls.  I bought two of these:

 http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

 for either end of the connection, but I'm having trouble making 
  it
 work well.  I've noticed the connection will be perfect for a 
  short
 time, but then disappear.  When watching iwconfig during this 
  process,
 it looks like the connection is good when on a low rate, but 
  when it
 goes to 54 Mbps it falls apart.

 Should limiting the rate solve this problem?  If so, how can I do
 that?  I'm using hostapd on the AP and wpa_supplicant on the 
  client.

 - Grant
  
Grant,
  
Yes, lowering the rate to a slower speed will help greatly.  The 
  lower
   rates use less compression and modulation... less complex wave forms
   better connects over long hauls.
  
The antennas look very good, but what's driving them? I use and 
  whole
heartedly endorse SENAO products and have had very good luck with 
  these
models:   ECB-3220 (400 mw) or 2611CB3 PLUS (200 mw) at:
http://www.wlansolution.com. Either unit with the high gain 
  antennas you
have,  will penetrate what you stated and probably go pretty high 
  on the
speed scale doing it too.
 
  I'm using a Netgear PCI adapter on the AP and an Edimax USB adapter on
  the client.  Do you know how I can limit the rate?  Should it be done
  on the Gentoo AP or the client?
 
  - Grant
   
 I use wireless-tools from portage. In it is iwconfig. A simple man 
  iwconfig
 will show you what you need. Other thing you could do is configure the
 Wireless AP for a fixed rate... works for me.
 
   I found this:
 
   rate_wlan0=( 5.5M )
 
   which isn't documented in net.wireless, but it doesn't seem to have
   any affect.  I've tried it on the router and the client which uses
   wpa_supplicant.  I still see the rate on the client fluctuate all the
   way up to 54 Mb/s in the output from iwconfig.  The router's rate is
   always reported as 0 kb/s.
 
   - Grant
 
 It appears 'iwconfig wlan0 rate 11M' works (at least as far as the
 output from iwconfig is concerned) but how can I set /etc/conf.d/net
 to always use this rate?
 
 - Grant

The best way I found to do this is to just write your own script and run
it at the default runlevel. write a script called wireless-up save it in
your /root directory. Then in /etc/conf.d/local.start add the script
name to the list: /root/wireless-up. Make sure the script is executable
with chmod 666 /root/wireless-up. Here is what mine looks like. I laugh
when I read this thing that I call a script. I'll be upgrading this in
the future but for now maybe someone has a better idea and/or script.

#!/bin/bash
DATE=`date +%m_%d_%Y`
ifconfig wlan0 up || echo wlan up failed
iwconfig wlan0 essid ACCESSPOINTNAME || echo setting essid failed
iwconfig wlan0 mode Managed || echo setting mode to managed failed
iwconfig wlan0 key restricted YOURKEYHERE || echo key failed
verification
dhclient wlan0 || echo wlan0 failed to receive dhcp request response
# if [ $DATE -ne `date +%m_%d_%Y -r /tmp/.wireless.*
rm /tmp/.wireless.* 
iwconfig  /tmp/.wireless.$DATE
exit 0



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



[gentoo-user] Re: Boot Gentoo to clean windows

2008-03-27 Thread 7v5w7go9ub0o

Florian Philipp wrote:
snip
FWIW, AntiVir, Bitdefender, and F-Prot run quite well on Linux, and each 
has BOTH Linux and Windows Trojan and virus signatures. So you can 
install these and scan your windows box, and then scan your Linux 
box/downloads for malware (e.g. openoffice files, media files, etc.).


Add Dazuko, and you can get real-time scanning of your Linux box while 
downloading/compiling software.


This is getting OT but I still want to ask:
Is it really necessary to run an anti-virus on linux? I just want to
hear some opinions on that topic because I thought security fixes for
your software are the way to go for fighting virae on linux.


Anti-Virus on Linux.  No.
(presuming that you don't run as root, and have lots of unprivileged 
users for individual applications.)


Anti-Malware on Linux.  Yes.
(Malware gets to the box via spoofed or hacked software distribution or 
creation sites; bad links or poisoned DNS caches; or via (e.g.) browser 
memory attacks - at plugins or exploits)


The oldtimers will tell you that safe hex and perhaps integrity 
monitoring (e.g. Samhain or tripwire) are all that's needed. But desktop 
Linux with Browsing, IM, etc. is changing that, IMHO.


The three packages above have Linux Trojan and Rootkit signatures, as 
well as Windows malware sigs. Easy enough to run an occasional scan of 
the Linux box (or Windows partition); and to scan each Linux download 
before reading, compiling, or passing on.


(Dazuko additionally allows realtime scans of compilation read/writes).

IMHO, Linux and MAC are the next frontier for malware, and -SADLY- 
AntiMalware signature and heuristic techniques are one thing we can 
learn about from Windows :-(





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



Re: [gentoo-user] touchpad can't scroll

2008-03-27 Thread Chuanwen Wu
Hi,
  You should change your server-layout to something like

  Section ServerLayout
 Identifier Layout0
 Screen Screen1
 InputDeviceKeyboard1 CoreKeyboard
 InputDeviceTouchpad CorePointer
 Option  AIGLX true
  EndSection

I have changed it, but after I restart X, I found it doesn't work, yet.




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



[gentoo-user] OOo 2.4 and Java

2008-03-27 Thread Andrew Gaydenko
Hi!

Have installed OOo 2.4 on ~amd64/x86_64 with these flags:

cups dbus eds firefox java kde ldap pam -binfilter -debug ...

At starting any OOo programm konsole shows:

javaldx failed!

Tool-Options-Java dialog finds all three installed JREs, but after 
selecting radio control for any of them and clicking OK nothing 
changes. Next time the dialog finds JREs again (nothing checked at 
dialog opening).

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



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-27 Thread Grant
   Whenever I unplug a USB wireless adapter I must reboot in order for it
   to be recognized again.  Is there a way to avoid the reboot?
  
   - Grant

  making usb modular and unload/reload the modules?

I think I just needed to make sure to stop net.wlan0 before removing
the adapter.  I thought that didn't work before, but it seems to be
now.

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



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-27 Thread Dale

Grant wrote:

  Whenever I unplug a USB wireless adapter I must reboot in order for it
  to be recognized again.  Is there a way to avoid the reboot?
 
  - Grant

 making usb modular and unload/reload the modules?



I think I just needed to make sure to stop net.wlan0 before removing
the adapter.  I thought that didn't work before, but it seems to be
now.

- Grant
  


I haven't kept up with this but isn't there a hotplug/coldplug monitor 
that detects things like this?  I'm thinking hotplug is the correct one 
since the machine is powered up.


Dale

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