Re: [gentoo-user] intelfb and 945GM

2008-03-28 Thread forgottenwizard
On 21:42 Tue 25 Mar , Sergey Kobzar wrote:
  That's one of the reason why I wanted intelfb, but got no luck. I'm
  using uvesafb at the moment, but still hope intelfb will be fixed
  soon.
  
  I seem to have missed the start of this thread, but if you don't mind,
  could you give me a quick idea on what is broken within intelfb? I've
  been debating on switching to it, but keep seeing info on it being
  broken, and nothing on WHAT is broken.
 
 I see screen with many scrolling white lines (probably this are kernel
 messages). It looks like problem with synchronization or unsupported
 video mode.
 
 uvesafb works nice.
 
 -- 
 Sergey
 
 -- 
 gentoo-user@lists.gentoo.org mailing list
 
 

uvesafb works, but it is a bit slow, and requires user-space programs to
run. Its a great peice of code and such, but something that is
kernel-space and able to use hardware effectivly would be even nicer.

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



Re[2]: [gentoo-user] intelfb and 945GM

2008-03-28 Thread Sergey Kobzar
 uvesafb works, but it is a bit slow, and requires user-space programs to
 run. Its a great peice of code and such, but something that is
 kernel-space and able to use hardware effectivly would be even nicer.

That's why I tried intelfb before... no luck.


-- 
Sergey

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



Re: [gentoo-user] OOo 2.4 and Java

2008-03-28 Thread Pongracz Istvan

2008. 03. 28, péntek keltezéssel 05.47-kor Andrew Gaydenko ezt írta:
 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!

I have a similar problem on my ~x86.
OOo 2.3.x and any kind of java (blackdown, sun whatever version). Both
with the binary OOo and compiled version.

Except, the Tool-Options-Java never find my installed JREs, even I try
to give the path exactly. It never recognize the java environment. I
have no idea, why.
I checked system-vm, user-vm, I installed lot of JREs, SDKs, does not
working.

It is really weird and annoying. I cannot find The Ultimate Solution to
this kind of problem using google.

So, I cannot help, but at least, you are not alone :)

IStván
-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.osbusiness.hu

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



[gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dale

Hi,

I had a problem the other day where I needed to shutdown, like in a real 
hurry.  My power supply was packed up and checking out without paying 
the bill.  I was in KDE and just selected logout then shutdown from the 
menu.  Is there a faster way to shutdown so that at least the file 
system is clean?  Some fancy keystroke pattern or a short command 
maybe?  I run foldingathome and that pesky waiting 17 seconds thing 
was torture.  I need it to bypass that little feature as well. 

I hope I never run into this again but just in case I would like a 
pointer.  It did make it to the point where it said it was unmounting 
file systems but one partition must have been mounted since it was well, 
pissed, about not being unmounted cleanly.  ;-)  Thank goodness for 
reiserfs coming to the rescue.  After putting in a new P/S all is well 
again. 


Thanks.

Dale

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



Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Daniel Pielmeier
2008/3/28, Dale [EMAIL PROTECTED]:
 Hi,

 I had a problem the other day where I needed to shutdown, like in a real
 hurry.  My power supply was packed up and checking out without paying
 the bill.  I was in KDE and just selected logout then shutdown from the
 menu.  Is there a faster way to shutdown so that at least the file
 system is clean?  Some fancy keystroke pattern or a short command
 maybe?  I run foldingathome and that pesky waiting 17 seconds thing
 was torture.  I need it to bypass that little feature as well.

 I hope I never run into this again but just in case I would like a
 pointer.  It did make it to the point where it said it was unmounting
 file systems but one partition must have been mounted since it was well,
 pissed, about not being unmounted cleanly.  ;-)  Thank goodness for
 reiserfs coming to the rescue.  After putting in a new P/S all is well
 again.

You can try this one: http://en.wikipedia.org/wiki/Magic_SysRq_key

Regards,

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



Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dirk Heinrichs
Am Freitag, 28. März 2008 schrieb ext Dale:

 Is there a faster way to shutdown so that at least the file
 system is clean?

Read /usr/src/linux/Documentation/sysrq.txt.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dirk Heinrichs
Am Freitag, 28. März 2008 schrieb ext Daniel Pielmeier:

 You can try this one: http://en.wikipedia.org/wiki/Magic_SysRq_key

Wow, good to know that Wikipedia has it, just in case I don't have kernel 
sources installed on my Gentoo systems ;-)

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Daniel Pielmeier
2008/3/28, Dirk Heinrichs [EMAIL PROTECTED]:
 Am Freitag, 28. März 2008 schrieb ext Daniel Pielmeier:

  You can try this one: http://en.wikipedia.org/wiki/Magic_SysRq_key

 Wow, good to know that Wikipedia has it, just in case I don't have kernel
 sources installed on my Gentoo systems ;-)


Yeah, i think it is a bit more readable than the kernel documentation. ;-)

By the way the safest and recommended command, although a bit longish
should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).

Regards,

Daniel


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dale

Daniel Pielmeier wrote:

2008/3/28, Dirk Heinrichs [EMAIL PROTECTED]:
  

Am Freitag, 28. März 2008 schrieb ext Daniel Pielmeier:



You can try this one: http://en.wikipedia.org/wiki/Magic_SysRq_key
  

Wow, good to know that Wikipedia has it, just in case I don't have kernel
sources installed on my Gentoo systems ;-)




Yeah, i think it is a bit more readable than the kernel documentation. ;-)

By the way the safest and recommended command, although a bit longish
should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).

Regards,

Daniel
z�b�� z{h�x%ist=



Since I wanted to shutdown instead of reboot, it would be ALT + SysRq + 
S + U + O then correct?  I have never done this before so what if any 
are the gotcha's with this?  Anybody ever do it and can tell me how long 
a shutdown takes?  Is it like seconds or what?  Also, will this work if 
I am logged into KDE and in the GUI? 


Thanks.

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dirk Heinrichs
Am Freitag, 28. März 2008 schrieb ext Dale:
 I have never done this before so what if any
 are the gotcha's with this?

None.

 Anybody ever do it and can tell me how long 
 a shutdown takes?

As long as you need to strike the keys.

 Also, will this work if 
 I am logged into KDE and in the GUI?

Yes.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Neil Bothwick
On Fri, 28 Mar 2008 08:51:20 +0100, Daniel Pielmeier wrote:

 By the way the safest and recommended command, although a bit longish
 should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).

Alt-SysRq E I S U B is better as it kills running processes first. If you
have time, pause between the keystrokes to give them time to work.


-- 
Neil Bothwick

Are Cheerios really doughnut seeds?


signature.asc
Description: PGP signature


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

2008-03-28 Thread Stroller


On 26 Mar 2008, at 15:19, 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.


Hi there,

Some of the replies to your message are now a little off-topic, so  
here's some advice about actually cleaning Windows (rather than  
removing it, or running Linux). I intended to reply to this a couple  
of days ago, so hope my advice isn't too late.


I deal with h0sed Windows installations for my customers all the  
time. I regularly boot a Knoppix CD and copy the whole C: drive to a  
portable disk so that I have a complete backup. I find it reassuring  
to use Linux for this purpose because I feel confident that cp or  
rsync will copy _every file on the drive_ without just silently  
ignoring those marked with the hidden flag, or bitching about  
permissions.


But if your system is so hosed you can't fix it from within Windows  
then it's probably past simple repair. It can be very slow to work on  
a machine with a lot of crap on it, and there comes a point at which  
I would never consider working on the machine at the customer's  
house, simply because it would take so long. If I take the machine  
home with me I can allow uninstall programs and antivirus to run  
(unsupervised  in the corner of my study) for hours without having  
to worry about it.


Providing the system is bootable, remove all the crap you can see  
from Add  Remove Programs (shortcut: Windows-R, type  
appwiz.cpl). Some of the browser-hijacking malware does tout itself  
as legitimate opt-in marketing, and removing it correctly can  
actually be cleaner than forcibly removing it - seems to me like  
it'll insert itself in the TCP/IP stack (winsock?) or the LSP layers  
(??) and the unistalller will actually correct things when it's removed.


Remove anything Norton / Symantec or McAfee first - that shit's not  
doing any good, and just slows things down. I usually uninstall each  
Norton / Symantec component through add  remove programs - the  
manufacturer does have on their website a tool to remove all their  
software from your machine, but they recommend this only as a last  
resort (I guess you could run it after uninstalling everything  
manually, to get rid of the bits that the program uninstallers often  
miss, but I like to follow their advice in the first instance).


If the PC is still slow then check disk-space, pagefile settings  
(allow the system to manage pagefile size for me, click set) and  
fragmentation (shortcut: Windows-R, type dfrg,msc). Install AVG  
anti-virus  allow a complete run through, reboot  then check for  
nasties in hi-jack this. Learning what to remove  what to leave when  
using hi-jack this is a bit of an art-form, and is the most  
significant skill necessary for cleaning virus- or malware-infected PCs.


The only time I use Linux to clean Windows is for files  programs  
running at start up that I can't remove in hijack this. Windows  
occasionally locks files that are in use and other nasties can be  
quite persistent at reinstalling themselves. I simply note the full  
path of the files (or use Hijack This' save logfile facility)   
delete them (or their whole parent directory, if appropriate) when  
I've booted to Knoppix.


If the machine's not bootable then repair with a Windows installation  
CD - sometimes manufacturers' partitioning schemes may make this  
impossible, but don't be tempted to use an Advent or Packard-Hell   
system restore CD or partition. This may get you to the point where  
you have to start following the procedure outlined in my previous 4  
paragraphs.


Be aware that sometimes Windows isn't cleanly fixable. Although I try  
to avoid it until I've exhausted avenues for a clean repair,  
sometimes the best thing to do is simply to back-up  reinstall.


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



[gentoo-user] gnome 2.22

2008-03-28 Thread Stéphane ANCELOT
I have tried to find it , but by the way how to enable gnome 2.22 in
gentoo ??
-- 
gentoo-user@lists.gentoo.org mailing list



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

2008-03-28 Thread Mick
On Friday 28 March 2008, Chuanwen Wu wrote:
 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.

This is what I have in mine under ServerLayout:
===
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 InputDeviceMouse1 AlwaysCore
===

And this is what I have under InputDevice:
===
Section InputDevice
Identifier  Mouse0
Driver  synaptics
Option  Protocol SynPS/2
Option  InputFashion Mouse
Option  Device /dev/input/mice
Option  Name SynPS/2 Synaptics TouchPad
Option  SHMConfig on
Option  Vendor 0002
Option  ZAxisMapping  4 5
Option  Emulate3Buttons   True
Option  Buttons   3
EndSection

Section Input Device
Identifier  Mouse1
Driver  mouse
Option  Protocol IMPS/2
Option  InputFashion Mouse
Option  Device /dev/input/mice
Option  Name GenPS/2 Genius Mouse
Option  Vendor 0002
Option  ZAxisMapping  4 5
Option  Emulate3Buttons   False
Option  Buttons   9
EndSection
===

So, you may want to replace your /dev/input/mouse1 for mice and see if that 
fixes things.
-- 
Regards,
Mick


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


Re: [gentoo-user] portage/firewall

2008-03-28 Thread Mick
On Thursday 27 March 2008, Neil Bothwick wrote:
 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.

 export ftp_proxy=XXX.XX.XXX.XX:80  emerge -uaDv world, should do what 
you're after.  You can also try export http_proxy of course.  It assumes that 
you know the LAN IP address of your web gateway/firewall at work - i.e. that 
your work's MSWindows configuration allows plain users to view the MSIE 
Internet Settings, or your sysadmin will let you know what the address is.  If 
not, boot a LiveCD on a works computer, mount its MSWindows C:\ drive and 
search for proxy.  It should lurk somewhere in the registry settings.  
BartsPE CD will also help you find that, as it can search natively the 
registry.

BTW, if this is anything like my work, then only outbound connections to port 
80 are allowed and rsync will not work.  Follow the webrsync advice above.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] gnome 2.22

2008-03-28 Thread Daniel Pielmeier
2008/3/28, Stéphane ANCELOT [EMAIL PROTECTED]:
 I have tried to find it , but by the way how to enable gnome 2.22 in
 gentoo ??

Gnome 2.22 is about to be added to the portage tree, be patient! Most
components are already there! The meta ebuilds for gnome and
gnome-light are still missing!

Regards,

Daniel


Re: [gentoo-user] gnome 2.22

2008-03-28 Thread Wael Nasreddine
This One Time, at Band Camp, St?phane ANCELOT [EMAIL PROTECTED] said, On Fri, 
Mar 28, 2008 at 10:12:38AM +0100:
 I have tried to find it , but by the way how to enable gnome 2.22 in
 gentoo ??
You should unmask the Gnome2.22 packages, they are unmasked in
/usr/portage/profiles/package.mask, just put the below section in
/etc/portage/package.unmask

-CUT
#
 GNOME 2.22 #
#

=app-crypt/seahorse-2.22
=gnome-base/libgtop-2.22
=x11-themes/gtk-engines-2.14
=gnome-base/libbonobo-2.22
=x11-libs/libwnck-2.22
=x11-themes/gnome-backgrounds-2.22
=gnome-base/gail-1.22
=app-text/rarian-0.8
=gnome-base/gnome-menus-2.22
=dev-python/pygtksourceview-2.2.0
=gnome-base/gconf-2.22
=x11-wm/metacity-2.22
=gnome-extra/gucharmap-2.22
=gnome-extra/gcalctool-5.22
=x11-themes/gnome-icon-theme-2.22
=x11-themes/gnome-themes-2.22
=gnome-extra/zenity-2.22
=gnome-extra/at-spi-1.21
=gnome-base/libgnomeui-2.22
=gnome-base/gnome-desktop-2.22
=x11-terms/gnome-terminal-2.22
=gnome-base/gnome-vfs-2.22
=gnome-base/libgnome-2.22
dev-libs/libgweather
=app-editors/gedit-2.22
=gnome-base/libbonoboui-2.22
=gnome-base/libgnomekbd-2.21
=gnome-extra/gconf-editor-2.22
=media-sound/sound-juicer-2.22
=gnome-extra/yelp-2.22
=app-arch/file-roller-2.22
=dev-python/gnome-python-2.22
=gnome-extra/gtkhtml-3.18
=www-client/epiphany-2.22
=www-client/epiphany-extensions-2.22
=media-gfx/eog-2.22
=app-accessibility/orca-2.22
=gnome-base/librsvg-2.22
=gnome-extra/gnome-system-monitor-2.22
=gnome-base/gnome-keyring-2.22
=gnome-extra/evolution-data-server-2.22
=net-misc/vino-2.22
=app-text/evince-2.22
=gnome-base/gnome-panel-2.22
=gnome-extra/bug-buddy-2.22
=gnome-extra/evolution-webcal-2.21
=dev-python/gnome-python-desktop-2.22
=gnome-extra/gnome-games-2.22
=gnome-extra/deskbar-applet-2.22
=net-analyzer/gnome-nettool-2.22
=gnome-extra/fast-user-switch-applet-2.22
=app-admin/sabayon-2.21
=gnome-base/gnome-applets-2.22
=gnome-base/gnome-volume-manager-2.22
=mail-client/evolution-2.22
=gnome-extra/evolution-exchange-2.22
=gnome-extra/gnome-screensaver-2.22
=gnome-extra/gnome-power-manager-2.22
dev-libs/totem-pl-parser
=media-plugins/gst-plugins-meta-0.10-r2
=media-sound/rhythmbox-0.11.4
=media-video/totem-2.22
gnome-base/gnome-settings-daemon
=gnome-base/control-center-2.22
=gnome-base/gnome-session-2.22
=gnome-base/eel-2.22
gnome-base/gvfs
=gnome-base/nautilus-2.22
=gnome-extra/nautilus-cd-burner-2.22
=gnome-extra/nautilus-open-terminal-0.9
=gnome-base/gdm-2.20.4
=gnome-extra/gnome-media-2.22
=gnome-base/gnome-light-2.22
=gnome-base/gnome-2.22

# Libsoup slot 2.4
=net-libs/libsoup-2.4.0

#
 GNOME 2.22 #
#
-CUT


--
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/o\ Buttercup: That stupid goody-goody Blossom never gets in trouble!


pgppSY4rR210M.pgp
Description: PGP signature


Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Thu, Mar 27, 2008 at 10:43:58PM -0500, Dale wrote:
 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.

I think it is no longer needed and udev should take care of all this. At
last, I do not have hotplug nor coldplug and inserting/removing all usb
devices, laptop modules, PCMCIAs works on runtime.

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpWHbsjcLaHP.pgp
Description: PGP signature


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Fri, Mar 28, 2008 at 09:11:53AM +0100, Dirk Heinrichs wrote:
  Anybody ever do it and can tell me how long 
  a shutdown takes?
 
 As long as you need to strike the keys.

Not really true. I have set my dirty cache timeout to 10 minutes, so it
can hold some few hundred megabytes of unsynced data (happens rarely),
so it can take like 10 seconds to dump them to disk.

But with clean cache, it is as fast as hitting a hard switch.

-- 
Hallowed be the zeroes and ones

Michal 'vorner' Vaner


pgpfCKbpetqm3.pgp
Description: PGP signature


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Dale

Neil Bothwick wrote:

On Fri, 28 Mar 2008 08:51:20 +0100, Daniel Pielmeier wrote:

  

By the way the safest and recommended command, although a bit longish
should be ALT+SysRq(or print)+S(ync)+U(mount)+B(Reboot).



Alt-SysRq E I S U B is better as it kills running processes first. If you
have time, pause between the keystrokes to give them time to work.


  



Cl.  I'll try to grow a pair and test this thing sometime.  This 
sounds like it would be pretty fast.


Thanks.

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



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

2008-03-28 Thread Peter Humphrey
On Wednesday 26 March 2008 16:19:58 Alex Schuster wrote:

 Does it also have the right IDE drivers? This /dev/sda drive is SATA I
 assume, is this configured correctly in the kernel, and is the SCSI stuff
 also compiled directly into the kerne?

On my laptop I sometimes have to switch AHCI on or off in the BIOS as well. 
For example, the Gentoo installation boot disk won't boot unless I switch 
AHCI off first.

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



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Neil Bothwick
On Fri, 28 Mar 2008 11:09:08 +0100, Michal 'vorner' Vaner wrote:

 I think it is no longer needed and udev should take care of all this. At
 last, I do not have hotplug nor coldplug and inserting/removing all usb
 devices, laptop modules, PCMCIAs works on runtime.

That's fine with most devices, but causes a problem with network
adaptors. No hotplug system can anticipate your removing the device and
unmount NFS shares before you do it, so the only safe way to remove a USB
NIC is to bring down the interface first.


-- 
Neil Bothwick

I used to have a handle on life, then it broke.


signature.asc
Description: PGP signature


Re: [gentoo-user] gnome 2.22

2008-03-28 Thread Christophe Lermytte



On Fri, 28 Mar 2008, Wael Nasreddine wrote:


This One Time, at Band Camp, St?phane ANCELOT [EMAIL PROTECTED] said, On Fri, 
Mar 28, 2008 at 10:12:38AM +0100:

I have tried to find it , but by the way how to enable gnome 2.22 in
gentoo ??

You should unmask the Gnome2.22 packages, they are unmasked in
/usr/portage/profiles/package.mask, just put the below section in
/etc/portage/package.unmask


Note that you can also make package.unmask a directory, containing several 
different files (e.g. one for every piece of software you need to unmask 
packages for, like gnome-2.22 or something), for ease of maintenance.


Regards,
Christophe L.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OOo 2.4 and Java

2008-03-28 Thread Andrew Gaydenko
=== On Friday 28 March 2008, Andrew Gaydenko wrote: ===
 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!

Have file the issue:

http://www.openoffice.org/issues/show_bug.cgi?id=87549

Probably somebody has non-Gentoo Linux system also. Does the issue take 
place on other distributions or is it Gentoo-specific?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Fri, Mar 28, 2008 at 11:42:18AM +, Neil Bothwick wrote:
 On Fri, 28 Mar 2008 11:09:08 +0100, Michal 'vorner' Vaner wrote:
 
  I think it is no longer needed and udev should take care of all this. At
  last, I do not have hotplug nor coldplug and inserting/removing all usb
  devices, laptop modules, PCMCIAs works on runtime.
 
 That's fine with most devices, but causes a problem with network
 adaptors. No hotplug system can anticipate your removing the device and
 unmount NFS shares before you do it, so the only safe way to remove a USB
 NIC is to bring down the interface first.

Yes, sure. It can't unmount it and terminate the connections. However,
there is no reason why the device shouldn't be detected again. And, if
hotplug can do it, why couldn't udev?

I was just saying hotplug is outdated and replaced by udev.

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal 'vorner' Vaner


pgp5TXAVJkffm.pgp
Description: PGP signature


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

2008-03-28 Thread Mick
On 28/03/2008, 7v5w7go9ub0o [EMAIL PROTECTED] wrote:
 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 :-(

http://news.yahoo.com/s/pcworld/20080327/tc_pcworld/143901

What worries me is the reference to Safari . . . (khtml rendering engine?)

What is an appropriate anti-malware for Linux, other than safe-hex?
-- 
Regards,
Mick
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Grant
   I think it is no longer needed and udev should take care of all this. At
   last, I do not have hotplug nor coldplug and inserting/removing all usb
   devices, laptop modules, PCMCIAs works on runtime.

  That's fine with most devices, but causes a problem with network
  adaptors. No hotplug system can anticipate your removing the device and
  unmount NFS shares before you do it, so the only safe way to remove a USB
  NIC is to bring down the interface first.

Here's the problem.  I have an Edimax and a Linksys USB adapter.  They
both use the rt73usb driver in 2.6.24.  I can stop the interface and
successfully switch from Edimax to Linksys, but trying to go from
Linksys to Edimax says the hardware is not present when trying to
start the interface again.  Rebooting fixes it.  Can anyone make sense
of that?

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



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

2008-03-28 Thread 7v5w7go9ub0o

Mick wrote:

On 28/03/2008, 7v5w7go9ub0o [EMAIL PROTECTED] wrote:




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 :-(


http://news.yahoo.com/s/pcworld/20080327/tc_pcworld/143901

What worries me is the reference to Safari . . . (khtml rendering engine?)

What is an appropriate anti-malware for Linux, other than safe-hex?


As a monitor (a.k.a. real-time access), I've had good experience with
AntiVir and Dazuko. AntiVir has lots of Linux signatures and heuristics,
and Dazuko/Antivir has both caught bugs in downloads, and blocked
suspicious scripts in my browser cache when visiting bad sites.

As a scanner, I tend to scan my box from a second maintenance OS on
another partition hoping to avoid stealthing by any RootKits on the
primary partition. Scanning includes Samhain, equery md5 checks, the
three Anti-Malware products mentioned earlier, Rootkithunter, and
Checkrootkit. I'll run this occasionally overnight.

Interesting that this year's exploit was a safe browser Safari, on a
safe 'nix/BSD OS MAC. And last year's exploit winner, QuickTime,
can also appear on multiple OS's. Both of these were likely online
attacks; via streaming in the case of quicktime.

Seems to me that WAN-connected applications should be sequestered from
the rest of the system in the same way that a server sequesters
WAN-connected processes - i.e. put them each in their own chroot jail.
In addition to individual chroot jails, I run my mail client and browser
in RamDisk - so that any changes to them (other than bookmarks and mail)
are discarded at shutdown

Using Hardened Sources (GRSecurity) with both memory protection and
access control, one gets a particularly resilient, hardened chroot jail
(i.e. OpenBSD theory :-) ) and a kernel that restricts where the browser
user/application can go, and what it can do.

hth



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



Re: [gentoo-user] gnome 2.22

2008-03-28 Thread darren kirby
quoth the Stéphane ANCELOT:
 I have tried to find it , but by the way how to enable gnome 2.22 in
 gentoo ??

http://planet.gentoo.org/developers/remi/2008/03/28/the_road_to_gnome_2_22_part_2

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@lists.gentoo.org mailing list



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

2008-03-28 Thread 7v5w7go9ub0o

Stroller wrote:
snip important, informative stuff


Be aware that sometimes Windows isn't cleanly fixable. Although I try to 
avoid it until I've exhausted avenues for a clean repair, sometimes the 
best thing to do is simply to back-up  reinstall.




Think this is a great write up.

The last paragraph seems most important - given today's
professionally-authored compromises, the best thing to do may be presume
that you've been rooted with redundancy, and simply be prepared to 
quickly rebuild the box from scratch.


Especially if you use the computer for business or other sensitive matters.

So arguably, one should use the second OS (Linux or Windows) as a 
diagnostic tool to determine if it's compromised or not, and except for 
something simple (e.g. an infection vector caught before activation by 
an AntiTrojan scanner in a browser cache, mail letter, etc.), one should 
simply rebuild the box.


So to the above, I'd add a have a rebuild strategy  i.e. copies of 
data (not executables), addresses, passwords, etc. that can be quickly 
returned to a rebuilt OS. Windows benefits greatly from rebuilding - a 
rebuilt box will seem quicker and faster than ever before, and won't 
have lingering relics from earlier maintenance levels.



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



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

2008-03-28 Thread Florian Philipp

On Thu, 2008-03-27 at 20:42 -0400, Richard Marzan wrote:
 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
 
 
 

For custom scrips, you can add a preup, failup or postup-function
to /etc/conf.d/net, there should be examples in the file.

Something like

pastup() {
  if [[ ${IFACE} = wlan0 ]]; then
  iwconfig [...]
  fi
  return 0
}

should work.


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


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

2008-03-28 Thread Florian Philipp

On Fri, 2008-03-28 at 19:02 +0100, Florian Philipp wrote:

  
 
 For custom scrips, you can add a preup, failup or postup-function
 to /etc/conf.d/net, there should be examples in the file.
 
 Something like
 
 pastup() {
   if [[ ${IFACE} = wlan0 ]]; then
   iwconfig [...]
   fi
   return 0
 }
 
 should work.

postup(), not pastup()


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


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

2008-03-28 Thread Alan McKinnon
On Friday 28 March 2008, 7v5w7go9ub0o wrote:
 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 :-(

True, but with one *huge* difference:

If something like ActiveX were to be unleashed on Linux, it will be 
fixed very quickly even if that requires an ABI change. We tend not to 
pull the backwards compatibility card, so obvious holes from that 
don't hang around for long

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



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

2008-03-28 Thread Francesco Talamona
On Friday 28 March 2008, Stroller wrote:
 I deal with h0sed Windows installations for my customers all the  
 time. I regularly boot a Knoppix CD and copy the whole C: drive to a
   portable disk so that I have a complete backup. I find it
 reassuring to use Linux for this purpose because I feel confident
 that cp or rsync will copy _every file on the drive_ without just
 silently ignoring those marked with the hidden flag, or bitching
 about permissions.

I prefer to save the entire partition with PING (Partimage Is Not Ghost) 
or equivalent tools to avoid gotchas with charsets.
rsync and cp are excellent, but you have to mount the partition with the 
right options not to loose coherence in file naming.

Everything else in your post is no more no less what I do to rescue all 
those boxes people bring to me :-)
Starting from the uninstall of bloated antivirus!

Great post
Francesco

-- 
Linux Version 2.6.24-gentoo-r3, Compiled #1 PREEMPT Thu Feb 28 22:23:31 
CET 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.81 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: rhythmbox plays silently

2008-03-28 Thread Hal Martin
Michael Schmarck wrote:
 Alan McKinnon [EMAIL PROTECTED] wrote:

   
 Now, onto your actual problem. It is exceptionally hard to even attempt
 to provide a solution unless someone else fixed the exact same problem
 before, as you have not provided any configuration at all and very
 little useful information.
 

 What would you have wanted to see? I wrote that sound works. You
 don't need more information.

   
 Hence your post was as much noise as mine 
 was. 
 

 That's why other people, or at least Andrey, was able to help, where as
 you were just a moron.
   
Not to dig up this unpleasantness again, but there are some things I'd
like to point out for future reference (for all people, including me,
who will post questions with hopes of getting useful answers.)
   
 Nonetheless I shall try, so please provide the following: 
 

 How nice from you, now that the problem has been solved.
   
Yes, I'm aware that this particular problem has been solved, however I'd
still like to highlight a few things about it.
   
 1. the output of lspci as it relates to audio so we can see what
 hardware you have
 

 Why should that matter? After all, sound playback works (in other
 programs).
   
It doesn't matter, but it's information people care about. It helps us
to do our voodoo stuff and get back to you with an answer (it's quantity
over quality at this point of the answering stage.)
   
 2. What engine does rhythmbox use? gstreamer? If so, do other gstreamer
 apps work correctly on your box?
 

 That was the million dollar question.
   
Great, and now you've noticed that Totem, another GStreamer program,
isn't outputting sound. Therefore, instead of just blowing off the
previous poster, you could actually include that information.
   
 3. With what options did you compile rhythmbox and gstreamer (if
 applicable)?
 

 Does not matter.
   
Actually, it does. Contrary to your belief that programs have the
ability to read your mind and compile with all the flags they need to
function in every foreseeable way, real world applications need flags.
Posting them with your question allows for the quantity of answers to go
down, while the quality of the remaining ones to improve greatly.
Knowing from the beginning that you compiled GStreamer with -oss but not
alsa would've helped greatly.
   
 4. Lastly, this is out on left field, please confirm that rhythmbox is
 indeed using alsa and not oss
 

 Question 2 covers that.
   
No, it doesn't. You just deferred your answer instead of actually
confirming that the rhythmbox *engine* used either ALSA or OSS.
 Michael

   
Not trying to start a flame war between anywhere here, but I'm just
trying to make a point. Posting information, no matter how useless it
may seem to you, helps us help you. For example,

Hey group! My mplayer doesn't play sound! I get some generic error
about the sound card not being available...

Now, there are so many answers to that, and you will be frustrated
because people will start touting their favourite software with things
like, Mplayer sucks, use Songbird Songbird sucks, it's bloated, use
Rhythmbox! Rhythmbox is buggy, use Amarok! Amarok is KDE based, I
hate KDE and everything that's based on it, Gnome rules!

Then the slightly more useful questions start, Well, was mplayer
compiled with the alsa USE flag? Do other applications play sound?
Etc, etc.

However, if you'd posted the original error along with your system
information, we forgo all the unpleasant favouritism and instead, get
strained answers that will actually help you solve the problem, keeping
all parties [hopefully] happy!

Hey group! My mplayer doesn't play sound?

Here's my USE flags:xft xcomposite threads dbus libfreetype freetype
firefox xulrunner dvdread lfreetype ftgl gtk X glx usb mplayer a52 hwac3
ac3 ldap GPAC gpac x264 mp4 mp3 mad madplay libmp3 ogg flac alsa oss png
jpg jpeg selinux hal ffmpeg encode vorbis chroot opengl mysql tiff gnome
kde 3dnow 3dnowext aac encode gif ftp mp2 v4l v4l2 httpd sdl sdl-image
xvid xv cvidix -rdynamic -zlib

Here's the output of 'mplayer awesomemusic.mp3'
MPlayer dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model:
43, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing Justin Timberlake - What Goes Around.mp3.
Audio file file format detected.
Clip info:
 Title: The awesomeness!
 Artist: Awesome band!
 Album: AWESOME!
 Year: 2008
 Comment:
 Track:
 Genre:
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000-176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or

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

2008-03-28 Thread Alan Milnes
On 28/03/2008, Stroller [EMAIL PROTECTED] wrote:

Your note is excellent but I disagree with this bit:-


 If the PC is still slow then check disk-space, pagefile settings
 (allow the system to manage pagefile size for me, click set)


unless as a temporary workaround you should always have the paging file set
as a fixed size to avoid worsening the chronic fragmentation problem on
Windows.

Regards

Alan