[gentoo-user] Re: finding qt plugins?

2009-06-29 Thread Nikos Chantziaras

On 06/29/2009 08:21 AM, Dale wrote:

Roy Wright wrote:

Howdy,

On ~x86 did the upgrade to qt 4.5.2 and get the following message:

After a rebuild or upgrade of Qt, it can happen that Qt plugins (such
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation
you
should recompile the packages providing these plugins...

Packages that typically need to be recompiled are kdelibs from KDE4, any
additional KDE4/Qt4 styles, qscintilla and PyQt4...

Then followed the link on the plugins which stated:

The Qt library and all plugins are built using a build key. The build
key in the Qt library is examined against the build key in the plugin,
and if they match, the plugin is loaded. If the build keys do not
match, then the Qt library refuses to load the plugin.

So how do I find all the installed qt plugins on my system and check
their build keys?


I saw the same message on qt-4.5.1 and I just ran revdep-rebuild -i and
it said all was fine.


revdep-rebuild only resolves link-time errors, not runtime errors.  You 
need to observe yourself if something is broken and then rebuild it 
manually; revdep-rebuild ain't gonna help in this case.





[gentoo-user] Re: finding qt plugins?

2009-06-29 Thread Nikos Chantziaras

On 06/29/2009 08:04 AM, Roy Wright wrote:

On ~x86 did the upgrade to qt 4.5.2 and get the following message:

After a rebuild or upgrade of Qt, it can happen that Qt plugins (such
as Qt
and KDE styles and widgets) can no longer be loaded. In this situation you
should recompile the packages providing these plugins...

Packages that typically need to be recompiled are kdelibs from KDE4, any
additional KDE4/Qt4 styles, qscintilla and PyQt4...

Then followed the link on the plugins which stated:

The Qt library and all plugins are built using a build key. The build
key in the Qt library is examined against the build key in the plugin,
and if they match, the plugin is loaded. If the build keys do not match,
then the Qt library refuses to load the plugin.

So how do I find all the installed qt plugins on my system and check
their build keys?


You can obtain a list of packages that might depend upon any Qt 4 
package with:


for p in `qlist -IC x11-libs/qt:4`; do equery -q depends $p; done | 
sort | uniq


This command can take several minutes to complete.  Of course not every 
one of those packages needs to be rebuilt, but it makes it easier to 
pick some by hand.  Usually though, it's not necessary to rebuild 
anything, especially during minor updates (like from Qt 4.5.1 to 4.5.2).





Re: [gentoo-user] Re: coexisting GCC versions

2009-06-29 Thread Roger Mason
Hello Alex,

Alex Schuster wo...@wonkology.org writes:

 Roger Mason writes:

 If there is something else that I need to do then I did not see it in
 the upgrade guide, so please, will someone enlighten me?

 No, your steps worked fine for me.

 What is your $PATH? (echo $PATH)

 I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before /usr/i686-
 pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes from. The directory 
 usr/i486-pc-linux-gnu/gcc-bin does not exist, so it does not matter.

 Also have a look in /etc/env.d/*gcc*, do these settings look okay? That's 
 where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has the line 
 PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it.

garnet ~ $ echo $PATH
/home/rmason/.nix-profile/bin:/usr/local/coda/bin:/usr/local/coda/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/home/rmason/bin:/usr/local/axiom/mnt/linux/bin:/usr/local/apache-uima//bin:/usr/local/tau/i386_linux/bin:/usr/local/pdt/i386_linux/bin

garnet ~ $ gcc-config -l
 [1] i686-pc-linux-gnu-4.1.1
 [2] i686-pc-linux-gnu-4.3.2 *

garnet ~ $ ls /etc/env.d/gcc/ -l
total 16
-rw-r--r-- 1 root root  32 Aug  3  2006 config-i386-pc-linux-gnu
-rw-r--r-- 1 root root  32 Jun 28 21:14 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 235 Mar  8  2008 i686-pc-linux-gnu-4.1.1
-rw-r--r-- 1 root root 235 Jun 28 14:13 i686-pc-linux-gnu-4.3.2

garnet ~ $ cat /etc/env.d/gcc/config-i686-pc-linux-gnu 
CURRENT=i686-pc-linux-gnu-4.3.2

garnet ~ $ cat /etc/env.d/gcc/i686-pc-linux-gnu-4.3.2 
LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2
MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man
INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info
STDCXX_INCDIR=g++-v4
GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2

garnet ~ $ cat /etc/env.d/05gcc-i686-pc-linux-gnu 
MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/man
INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.2/info
LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.3.2:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1
PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2
ROOTPATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2
GCC_SPECS=

Thanks,
Roger



Re: [gentoo-user] Re: finding qt plugins?

2009-06-29 Thread Graham Murray
Nikos Chantziaras rea...@arcor.de writes:

 revdep-rebuild only resolves link-time errors, not runtime errors.
 You need to observe yourself if something is broken and then rebuild
 it manually; revdep-rebuild ain't gonna help in this case.

Though it would be nice if there was some process to detect what needs
to be rebuilt. Having to wait for something to break is not really very
good practice, and rebuilding everything using the qt4 libraries is a
little OTT.



[gentoo-user] How to help portage to be become a bit smarter

2009-06-29 Thread Helmut Jarausch
Hi,

I'm using portage-2.2_rc33. And it has become smarter with every new
release. Still, I don't understand why it's sometimes smarter than other
times.

In most cases now, it's able to handle cases where installed old
packages which depend on, say, libXX-version-1, block emerging
libXX-version-2 by unmerging the old version itself.

But sometimes, like today when upgrading from various qt-...-4.5.1
to qt-...-4.5.2 packages it produces tons of blockings which it
cannot resolve itself.

How can I help portage to resolve this blockings itself in a smart way?
(trying to do 
emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
automatically.
)

Many thanks for a hint,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Re: finding qt plugins?

2009-06-29 Thread Dale
Nikos Chantziaras wrote:

 revdep-rebuild only resolves link-time errors, not runtime errors. 
 You need to observe yourself if something is broken and then rebuild
 it manually; revdep-rebuild ain't gonna help in this case.




Sounds like Gentoo needs a new tool.  Calling all geeks and nerds !!

Dale

:-)  :-) 



Re: [gentoo-user] How to help portage to be become a bit smarter

2009-06-29 Thread Dale
Helmut Jarausch wrote:
 Hi,

 I'm using portage-2.2_rc33. And it has become smarter with every new
 release. Still, I don't understand why it's sometimes smarter than other
 times.

 In most cases now, it's able to handle cases where installed old
 packages which depend on, say, libXX-version-1, block emerging
 libXX-version-2 by unmerging the old version itself.

 But sometimes, like today when upgrading from various qt-...-4.5.1
 to qt-...-4.5.2 packages it produces tons of blockings which it
 cannot resolve itself.

 How can I help portage to resolve this blockings itself in a smart way?
 (trying to do 
 emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
 automatically.
 )

 Many thanks for a hint,
 Helmut.

   

Well, I have a question that may help.  I went through this upgrade and
it did fine.  Do you have anything qt in your world file?  You shouldn't
unless you are a developer that works with qt.  That's what I have read
anyway. 

Another unrelated question.  Why do you have -j2 on the command?  If
that is the MAKEOPTS setting, why not have it in make.conf?  I also put
--keep-going in mine to save typing.

Dale

:-)  :-) 



Re: [gentoo-user] How to help portage to be become a bit smarter

2009-06-29 Thread Dale
Helmut Jarausch wrote:
 Hi,

 I'm using portage-2.2_rc33. And it has become smarter with every new
 release. Still, I don't understand why it's sometimes smarter than other
 times.

 In most cases now, it's able to handle cases where installed old
 packages which depend on, say, libXX-version-1, block emerging
 libXX-version-2 by unmerging the old version itself.

 But sometimes, like today when upgrading from various qt-...-4.5.1
 to qt-...-4.5.2 packages it produces tons of blockings which it
 cannot resolve itself.

 How can I help portage to resolve this blockings itself in a smart way?
 (trying to do 
 emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
 automatically.
 )

 Many thanks for a hint,
 Helmut.

   

Another thought to.  The option --with-bdeps y may help.  It may not but
it could be worth a try.  I have ran into problems where that helped and
have read where a few others have ran into similar problems and that
fixed it.  It just tells emerge to dig a little deeper from my
understanding.

Can't think of anything else at the moment.

Dale

:-)  :-) 



[gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
Hi all,

after some updating (emerge --sync and emerge --update --deep world,
etc.) my wirelss card does not work anymore.

In the boot messagesI have:
[...]
 * Starting wlan0
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
 *   Starting wpa_supplicant on wlan0 ...
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
Could not set interface 'wlan0' UP
[ ok ] *   Starting wpa_cli on wlan0 ...
[ ok ] * Backgrounding ...
[...]

And dmesg shows:
[...]
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2
iwl3945 :03:00.0: PCI INT A disabled
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2
iwl3945 :03:00.0: PCI INT A disabled
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2
iwl3945 :03:00.0: PCI INT A disabled
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2
iwl3945 :03:00.0: PCI INT A disabled
[...]

Some research on 'SIOCSIFFLAGS: No such file or directory' showed that
this is often caused by missing firmware for the wireless card. But
net-wireless/iwl3945-ucode is installed on my system.

Any hints on how to fix?

Thanks!

--
Regards,
 Marco



Re: [gentoo-user] How to help portage to be become a bit smarter

2009-06-29 Thread Helmut Jarausch
On 29 Jun, Dale wrote:
 Helmut Jarausch wrote:
 Hi,

 I'm using portage-2.2_rc33. And it has become smarter with every new
 release. Still, I don't understand why it's sometimes smarter than other
 times.

 In most cases now, it's able to handle cases where installed old
 packages which depend on, say, libXX-version-1, block emerging
 libXX-version-2 by unmerging the old version itself.

 But sometimes, like today when upgrading from various qt-...-4.5.1
 to qt-...-4.5.2 packages it produces tons of blockings which it
 cannot resolve itself.

 How can I help portage to resolve this blockings itself in a smart way?
 (trying to do 
 emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
 automatically.
 )

 Many thanks for a hint,
 Helmut.

   
 
 Another thought to.  The option --with-bdeps y may help.  It may not but
 it could be worth a try.  I have ran into problems where that helped and
 have read where a few others have ran into similar problems and that
 fixed it.  It just tells emerge to dig a little deeper from my
 understanding.
 
 Can't think of anything else at the moment.
 

Thanks Dale, --with-bdeps y seems to help.

By the way, the '-j n' option of emerge has nothing to do 
with the MAKEOPTS option.
The -j option of emerge require parallel emerging of several packages at
a time while the -j option in MAKEOPTS requires parallel make of a
single package.

In some phases (like configure, bzip of the man pages, etc) emerge
cannot use multiple cores for a single package. Therefore the -j option
of emerge tries to emerge several packages at a time unless dependencies
forbid that. It's quite clever in that respect.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 11:29:22 Marco wrote:
 Hi all,

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 In the boot messagesI have:
 [...]
  * Starting wlan0
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
  *   Starting wpa_supplicant on wlan0 ...
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
 Could not set interface 'wlan0' UP
 [ ok ] *   Starting wpa_cli on wlan0 ...
 [ ok ] * Backgrounding ...
 [...]

 And dmesg shows:
 [...]
 iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
 iwl3945 :03:00.0: restoring config space at offset 0x1 (was
 0x100102, writing 0x100106)
 firmware: requesting iwlwifi-3945-1.ucode
 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2

Did you install the microcode?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 11:30 +0200, Alan McKinnon пишет:
 On Monday 29 June 2009 11:29:22 Marco wrote:
  Hi all,
 
  after some updating (emerge --sync and emerge --update --deep world,
  etc.) my wirelss card does not work anymore.
 
  In the boot messagesI have:
  [...]
   * Starting wlan0
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
   *   Starting wpa_supplicant on wlan0 ...
  SIOCSIFFLAGS: No such file or directory
  SIOCSIFFLAGS: No such file or directory
  Could not set interface 'wlan0' UP
  [ ok ] *   Starting wpa_cli on wlan0 ...
  [ ok ] * Backgrounding ...
  [...]
 
  And dmesg shows:
  [...]
  iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
  iwl3945 :03:00.0: restoring config space at offset 0x1 (was
  0x100102, writing 0x100106)
  firmware: requesting iwlwifi-3945-1.ucode
  iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
  iwl3945: Could not read microcode: -2
 
 Did you install the microcode?
 
 
Same problem after install microcode.




Re: [gentoo-user] list of emerged programs?

2009-06-29 Thread Peter Humphrey
On Sunday 28 June 2009 21:06:15 James wrote:

 Is there a simple, quick way to list all of the packages that have
 been emerged in cronological order?

grep '::: completed' /var/log/emerge.log

-- 
Rgds
Peter



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:30 AM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Monday 29 June 2009 11:29:22 Marco wrote:
 Hi all,

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 In the boot messagesI have:
 [...]
  * Starting wlan0
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
  *   Starting wpa_supplicant on wlan0 ...
 SIOCSIFFLAGS: No such file or directory
 SIOCSIFFLAGS: No such file or directory
 Could not set interface 'wlan0' UP
 [ ok ] *   Starting wpa_cli on wlan0 ...
 [ ok ] *     Backgrounding ...
 [...]

 And dmesg shows:
 [...]
 iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
 iwl3945 :03:00.0: restoring config space at offset 0x1 (was
 0x100102, writing 0x100106)
 firmware: requesting iwlwifi-3945-1.ucode
 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2

 Did you install the microcode?

emerge -pv net-wireless/iwl3945-ucode

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/iwl3945-ucode-15.32.2.9  66 kB

Total: 1 package (1 reinstall), Size of downloads: 66 kB

Yes, it seems to be installed.

--
Regards,
 Marco



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Neil Bothwick
On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

What did you update? Telling us you updated wporld means nothing, it just
tells us that one of the unknown packages you updated may have broken
something. Use genlop or qlop to produce a list of the exact packages
installed.

 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2
[snip]
 Some research on 'SIOCSIFFLAGS: No such file or directory' showed that
 this is often caused by missing firmware for the wireless card. But
 net-wireless/iwl3945-ucode is installed on my system.

You may have it installed, but it is either in the wrong place or an
incompatible version as the kernel cannot load it.


-- 
Neil Bothwick

Access denied--nah nah na nah nah!


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:44 AM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 What did you update? Telling us you updated wporld means nothing, it just
 tells us that one of the unknown packages you updated may have broken
 something. Use genlop or qlop to produce a list of the exact packages
 installed.

I installed a file containing the output of 'qlop -l'

 iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
 iwl3945: Could not read microcode: -2
 [snip]
 Some research on 'SIOCSIFFLAGS: No such file or directory' showed that
 this is often caused by missing firmware for the wireless card. But
 net-wireless/iwl3945-ucode is installed on my system.

 You may have it installed, but it is either in the wrong place or an
 incompatible version as the kernel cannot load it.

How can I find out about that? Where should it be located?

--
Regards,
 Marco


qlop.list
Description: Binary data


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 11:57 AM, Marcolistwo...@gmail.com wrote:
 On Mon, Jun 29, 2009 at 11:44 AM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:29:22 +0200, Marco wrote:

 after some updating (emerge --sync and emerge --update --deep world,
 etc.) my wirelss card does not work anymore.

 What did you update? Telling us you updated wporld means nothing, it just
 tells us that one of the unknown packages you updated may have broken
 something. Use genlop or qlop to produce a list of the exact packages
 installed.

 I installed a file containing the output of 'qlop -l'
^^
attached I mean...



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Neil Bothwick
On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:

 
  What did you update? Telling us you updated wporld means nothing, it
  just tells us that one of the unknown packages you updated may have
  broken something. Use genlop or qlop to produce a list of the exact
  packages installed.  
 
 I installed a file containing the output of 'qlop -l'

But you haven't told us when the problem started, so which of those
packages are relevant?

It looks like you installed a new microcode package two days ago, that
may be incompatible with your card. Have you tried rolling back to the
previous version?

  You may have it installed, but it is either in the wrong place or an
  incompatible version as the kernel cannot load it.  
 
 How can I find out about that? Where should it be located?

qlist will show where is is installed, /lib/firmware is the standard
location.


-- 
Neil Bothwick

Being defeated is a temporary condition. Giving up is what makes it
permanent


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Stroller


On 29 Jun 2009, at 10:39, Marco wrote:

On Mon, Jun 29, 2009 at 11:30 AM, Alan McKinnonalan.mckin...@gmail.com 
 wrote:

On Monday 29 June 2009 11:29:22 Marco wrote:

Hi all,

after some updating (emerge --sync and emerge --update --deep world,
etc.) my wirelss card does not work anymore.

In the boot messagesI have:
[...]
 * Starting wlan0
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
 *   Starting wpa_supplicant on wlan0 ...
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
Could not set interface 'wlan0' UP
[ ok ] *   Starting wpa_cli on wlan0 ...
[ ok ] * Backgrounding ...
[...]

And dmesg shows:
[...]
iwl3945 :03:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
iwl3945 :03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0x100106)
firmware: requesting iwlwifi-3945-1.ucode
iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
iwl3945: Could not read microcode: -2


Did you install the microcode?


emerge -pv net-wireless/iwl3945-ucode

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/iwl3945-ucode-15.32.2.9  66 kB

Total: 1 package (1 reinstall), Size of downloads: 66 kB

Yes, it seems to be installed.



You may need to REinstall it.

I would guess the installer might put the firmware in /lib/modules/ 
`uname -r`/something


If you change the kernel version, the `uname -r` path changes.

Stroller.




Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Marco
On Mon, Jun 29, 2009 at 12:09 PM, Neil Bothwickn...@digimed.co.uk wrote:
 On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:

[...]

 It looks like you installed a new microcode package two days ago, that
 may be incompatible with your card. Have you tried rolling back to the
 previous version?

I just rolled back to iwl3945-ucode-15.28.1.6. Wireless is working again.

Is the fact that the new version 15.32.2.9 does not work anymore
something I should report in the bug database?

  You may have it installed, but it is either in the wrong place or an
  incompatible version as the kernel cannot load it.

 How can I find out about that? Where should it be located?

 qlist will show where is is installed, /lib/firmware is the standard
 location.

There it is!

Thanks for your support!

--
Regards,
 Marco



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Sebastian Günther
Am Mon, 29 Jun 2009 12:29:53 +0200
schrieb Marco listwo...@gmail.com:

 On Mon, Jun 29, 2009 at 12:09 PM, Neil Bothwickn...@digimed.co.uk
 wrote:
  On Mon, 29 Jun 2009 11:57:41 +0200, Marco wrote:
 
 [...]
 
  It looks like you installed a new microcode package two days ago,
  that may be incompatible with your card. Have you tried rolling
  back to the previous version?
 
 I just rolled back to iwl3945-ucode-15.28.1.6. Wireless is working
 again.
 
 Is the fact that the new version 15.32.2.9 does not work anymore
 something I should report in the bug database?
 

No, there are slotted versions of it. On purpose...

This is because of changes in kernel. I do not remember which version
of the Kernel required the new firmware. But it was definitely stated in
the elog of iwl3945-ucode, that there are compatibility issues with
some kernel versions.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


signature.asc
Description: PGP signature


Re: [gentoo-user] How to help portage to be become a bit smarter

2009-06-29 Thread Dale
Helmut Jarausch wrote:
 On 29 Jun, Dale wrote:
   
 Helmut Jarausch wrote:
 
 Hi,

 I'm using portage-2.2_rc33. And it has become smarter with every new
 release. Still, I don't understand why it's sometimes smarter than other
 times.

 In most cases now, it's able to handle cases where installed old
 packages which depend on, say, libXX-version-1, block emerging
 libXX-version-2 by unmerging the old version itself.

 But sometimes, like today when upgrading from various qt-...-4.5.1
 to qt-...-4.5.2 packages it produces tons of blockings which it
 cannot resolve itself.

 How can I help portage to resolve this blockings itself in a smart way?
 (trying to do 
 emerge --keep-going -j2 -1 --ask --update --newuse --deep @system @world
 automatically.
 )

 Many thanks for a hint,
 Helmut.

   
   
 Another thought to.  The option --with-bdeps y may help.  It may not but
 it could be worth a try.  I have ran into problems where that helped and
 have read where a few others have ran into similar problems and that
 fixed it.  It just tells emerge to dig a little deeper from my
 understanding.

 Can't think of anything else at the moment.

 

 Thanks Dale, --with-bdeps y seems to help.

 By the way, the '-j n' option of emerge has nothing to do 
 with the MAKEOPTS option.
 The -j option of emerge require parallel emerging of several packages at
 a time while the -j option in MAKEOPTS requires parallel make of a
 single package.

 In some phases (like configure, bzip of the man pages, etc) emerge
 cannot use multiple cores for a single package. Therefore the -j option
 of emerge tries to emerge several packages at a time unless dependencies
 forbid that. It's quite clever in that respect.

 Helmut.

   

Dang portage.  It just gets better all the time.  ;-) 

Glad that helped.

Dale

:-)  :-) 



[gentoo-user] Mounting a usb device

2009-06-29 Thread dhk
I have a wireless hand held scanner that is temporary connected with a
usb cable.  I would like to embed Gentoo on it, but I don't know the
mount.  How can I find the device?

 lsscsi # just shows the scsi hard drive.
 cat /proc/partitions # just shows the eide and scsi partitions.
 lsusb # This does recognize the device and give me the following
Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

What do I do at this point to communicate with the device?

Thanks,
dave



Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread David Shen
my /init script is running now, but I got '/bin/sh: can't access tty;
job control turned off' error. I google a lot, and I think it would
relate with my HD. When this error occurs, I got a simple shell. I
tried 'lvm vgscan' in that shell, and it cannot find my lvm. I copied
my block devices with:
cp -a /dev/hda /usr/src/initramfs/dev
cp -a /dev/hda1 /usr/src/initramfs/dev
cp -a /dev/hda2 /usr/src/initramfs/dev

what I missed?


On Sat, Jun 27, 2009 at 8:55 PM, David Shendavidshe...@googlemail.com wrote:
 thanks a lot


 On Sat, Jun 27, 2009 at 7:49 PM, Dirk Heinrichsdirk.heinri...@online.de 
 wrote:
 Am Samstag 27 Juni 2009 10:25:11 schrieb David Shen:

 yep, i'd like to learn from your script.

 OK, here you are.

 BTW, I also put my initramfs into a separate partition /boot.

 Seems you misunderstood. I don't use an initramfs anymore, /boot _is_ my
 initramfs replacement. Whatever you put into an initramfs can as well be put
 into /boot.

 I've attached both set of scripts, just choose the one you like more.

 mkinitfs_script.tar.bz2 contains the script to put stuff to /boot, while
 mkinitramfs_script.tar.bz2 contains the script to create an initramfs for use
 inside the kernel (kernel+initramfs will be one file).

 In both cases, you should adapt the /etc/mkinit*fs/config file to your needs,
 just adapt the list of executables you need/want in your init*fs and run the
 desired script.

 The mkinitramfs.sh script will put everything into /usr/src/initramfs. You
 should configure this in your kernel config so that the kernel build system 
 can
 create the image for you.

 The other one will put everything into /boot.

 Out of the box, the resulting fs will be suited for accessing / from a 
 logical
 volume which may optionally be encrypted using LUKS. The init script will 
 find
 out at boot time wether the LV is encrypted and will run cryptsetup to prompt
 for a password.

 Finally, you need to adapt your bootloader, depending on which approach you
 choose:

 initramfs: realroot=/dev/vg/root  (* NO root=, because that's the initramfs).

 initfs: You'll need both root=/dev/sda1, which should be your /boot, 
 realroot=
 as above and rw (this is important).

 BTW: Newer kernels also have a configuration option for this: CONFIG_CMDLINE.

 In case of further questions, just send a mail.

 Bye...

        Dirk




 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84




-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] Mounting a usb device

2009-06-29 Thread Stroller


On 29 Jun 2009, at 12:48, dhk wrote:


I have a wireless hand held scanner that is temporary connected with a
usb cable.  I would like to embed Gentoo on it, but I don't know the
mount.  How can I find the device?


lsscsi # just shows the scsi hard drive.
cat /proc/partitions # just shows the eide and scsi partitions.
lsusb # This does recognize the device and give me the following

Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

What do I do at this point to communicate with the device?


Are you sure the device should appear as a mass storage device? That  
appears to be what you're expecting, but I don't find that clear at all.


Stroller.




Re: [gentoo-user] Mounting a usb device

2009-06-29 Thread dhk
Stroller wrote:
 
 On 29 Jun 2009, at 12:48, dhk wrote:
 
 I have a wireless hand held scanner that is temporary connected with a
 usb cable.  I would like to embed Gentoo on it, but I don't know the
 mount.  How can I find the device?

 lsscsi # just shows the scsi hard drive.
 cat /proc/partitions # just shows the eide and scsi partitions.
 lsusb # This does recognize the device and give me the following
 Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

 What do I do at this point to communicate with the device?
 
 Are you sure the device should appear as a mass storage device? That
 appears to be what you're expecting, but I don't find that clear at all.
 
 Stroller.
 
 
 
No, I'm not sure how the device should appear.  However, I thought it
should look like any other disk or usb stick since it currently has a
Microsoft CE on it, which I want to change to Gentoo.



Re: [gentoo-user] Mounting a usb device

2009-06-29 Thread Dale
Stroller wrote:

 On 29 Jun 2009, at 12:48, dhk wrote:

 I have a wireless hand held scanner that is temporary connected with a
 usb cable.  I would like to embed Gentoo on it, but I don't know the
 mount.  How can I find the device?

 lsscsi # just shows the scsi hard drive.
 cat /proc/partitions # just shows the eide and scsi partitions.
 lsusb # This does recognize the device and give me the following
 Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

 What do I do at this point to communicate with the device?

 Are you sure the device should appear as a mass storage device? That
 appears to be what you're expecting, but I don't find that clear at all.

 Stroller.




I googled a bit and it appears to be seen as a keyboard device.  I
googled for 05e0:2000 Symbol Technologies with no quotes tho.  I
thought maybe I was finding the wrong device.

Dale

:-)  :-)



Re: [gentoo-user] Mounting a usb device

2009-06-29 Thread dhk
Dale wrote:
 Stroller wrote:
 On 29 Jun 2009, at 12:48, dhk wrote:

 I have a wireless hand held scanner that is temporary connected with a
 usb cable.  I would like to embed Gentoo on it, but I don't know the
 mount.  How can I find the device?

 lsscsi # just shows the scsi hard drive.
 cat /proc/partitions # just shows the eide and scsi partitions.
 lsusb # This does recognize the device and give me the following
 Bus 005 Device 004: ID 05e0:2000 Symbol Technologies

 What do I do at this point to communicate with the device?
 Are you sure the device should appear as a mass storage device? That
 appears to be what you're expecting, but I don't find that clear at all.

 Stroller.



 
 I googled a bit and it appears to be seen as a keyboard device.  I
 googled for 05e0:2000 Symbol Technologies with no quotes tho.  I
 thought maybe I was finding the wrong device.
 
 Dale
 
 :-)  :-)
 
 
I'm still not sure what to do with this, but I'll see if any of these
Google links help.  Thanks.



Re: [gentoo-user] Mounting a usb device

2009-06-29 Thread Stroller


On 29 Jun 2009, at 13:53, dhk wrote:

...
What do I do at this point to communicate with the device?


Are you sure the device should appear as a mass storage device? That
appears to be what you're expecting, but I don't find that clear at  
all.




No, I'm not sure how the device should appear.  However, I thought it
should look like any other disk or usb stick since it currently has a
Microsoft CE on it, which I want to change to Gentoo.


I don't think that's a reasonable conclusion _at all_.

If the scanner plugs into a Windows PC and appears as a disk drive  
then, sure, I'd expect to be able to treat it the same under Linux.  
But, assuming it plugs into a Windows PC at all, it's more likely that  
the manufacturer's software (which you'll need on the PC anyway, to  
handle barcode  stock-control data?) talks to it over in some  
proprietary-over-serial format.


Finally, can you even install Linux on this scanner? Chances are its  
processor is ARM - Linux will run on that architecture, but you won't  
be able to chroot in from your x86 box  install GRUB.


Chances are that this scanner is some kind of rebadged HP iPaq or  
something, onto which Linux has been / can be cludged onto, but you  
seem to be making a lot of assumptions ahead of time.


Stroller.




Re: [gentoo-user] Re: coexisting GCC versions

2009-06-29 Thread Alex Schuster
Roger Mason writes:

 Alex Schuster wo...@wonkology.org writes:

  What is your $PATH? (echo $PATH)
 
  I have /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 in there (just before
  /usr/i686- pc-linux-gnu/gcc-bin/4.3.2), don't know where this comes
  from. The directory usr/i486-pc-linux-gnu/gcc-bin does not exist, so it
  does not matter.

Seems to be some leftover from the installation. I just deleted the 
directory, and /etc/env.d/05gcc-i486-pc-linux-gnu.

  Also have a look in /etc/env.d/*gcc*, do these settings look okay?
  That's where gcc-config changes things. My 05gcc-i686-pc-linux-gnu has
  the line PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it.

 garnet ~ $ echo $PATH
 /home/rmason/.nix-profile/bin:/usr/local/coda/bin:/usr/local/coda/sbin:/u
sr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/
usr/i686-pc-linux-gnu/gcc-bin/4.3.2:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk
-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/home/rma
son/bin:/usr/local/axiom/mnt/linux/bin:/usr/local/apache-uima//bin:/usr/lo
cal/tau/i386_linux/bin:/usr/local/pdt/i386_linux/bin
[...]
 garnet ~ $ cat /etc/env.d/05gcc-i686-pc-linux-gnu
[...]
 PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.3.2

Looks good to me. Finally, what is the PATH in /etc/profile.env? According 
to the order of your gcc paths, I guess it has /usr/i686-pc-linux-gnu/gcc-
bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it, while only the second 
one should be there. Does grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 
/ect/env.d/* find something? Some obscure other file that env-update uses?

If not, I have no more ideas. I'd change /etc/profile.env by hand then, and 
file a bug report.

Wonko




Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-29 Thread Arttu V.
On 6/29/09, Arttu V. arttu...@gmail.com wrote:
 But in other news there, they seem to have released kbackup 0.6 just a
 month ago, which incidentally among other things removes the 4GB limit:

If someone is brave and stupid enough to try, I tried to modify the
ebuild from 0.5.4-r1 to compile 0.6. Bug #275824

Unfortunately, kbackup-0.6 still seems to have the 4GB limit for the
custom size setting, but it also has some standard DVD sizes to
choose from which go well beyond in size (17.1GB is the largest -- and
then there's always the unlimited).

-- 
Arttu V.



Re: [gentoo-user] Kbackup and dvd sized slices

2009-06-29 Thread Dale
Arttu V. wrote:
 On 6/29/09, Arttu V. arttu...@gmail.com wrote:
   
 But in other news there, they seem to have released kbackup 0.6 just a
 month ago, which incidentally among other things removes the 4GB limit:
 

 If someone is brave and stupid enough to try, I tried to modify the
 ebuild from 0.5.4-r1 to compile 0.6. Bug #275824

 Unfortunately, kbackup-0.6 still seems to have the 4GB limit for the
 custom size setting, but it also has some standard DVD sizes to
 choose from which go well beyond in size (17.1GB is the largest -- and
 then there's always the unlimited).

   

Well, I'm fairly brave but not stupid.  I'm not going to try that.  It
sounds iffy.  Huh, spell check liked that word.

I'm thinking about going backward if I can.  It used to work.  Maybe it
is still in portage.

Dale

:-)  :-) 



Re: [gentoo-user] finding qt plugins?

2009-06-29 Thread Paul Hartman
On Mon, Jun 29, 2009 at 12:04 AM, Roy Wrightr...@wright.org wrote:
 Howdy,

 On ~x86 did the upgrade to qt 4.5.2 and get the following message:

 After a rebuild or upgrade of Qt, it can happen that Qt plugins (such as Qt
 and KDE styles and widgets) can no longer be loaded. In this situation you
 should recompile the packages providing these plugins...

 Packages that typically need to be recompiled are kdelibs from KDE4, any
 additional KDE4/Qt4 styles, qscintilla and PyQt4...

 Then followed the link on the plugins which stated:

 The Qt library and all plugins are built using a build key. The build key
 in the Qt library is examined against the build key in the plugin, and if
 they match, the plugin is loaded. If the build keys do not match, then the
 Qt library refuses to load the plugin.

 So how do I find all the installed qt plugins on my system and check their
 build keys?

From a couple minutes of poking around:

strings /usr/lib/qt4/libQtCore.so | grep Build.key

strings some-other-file | grep buildkey

Which comes back with seemingly everything build against Qt4... But I
don't know how to tell which ones qualify as a plug-in...

Typically when I rebuild Qt4 I also rebuild kdelibs, PyQt4, and my
themes... in my case that is gtk-engines-kde4, gtk-engines-qt, and all
qtcurve packages. Seems to work for me.



Re: [gentoo-user] Removing qt4 meta

2009-06-29 Thread Paul Hartman
On Sat, Jun 27, 2009 at 11:13 AM, Marcolistwo...@gmail.com wrote:
 Is there a way to find out if packages depend on qt? Although I think
 I did not install any packages that depend on qt (saving space) I am
 not 100% sure...

emerge --depclean -pv qt-core



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
After read this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...





Re: [gentoo-user]WAS lvm problem -- NOW sleep tweak?FIXED

2009-06-29 Thread Maxim Wexler

 1. Add that sleep to fsck (or any earlier script) instead of localmount.


Thanks Mike, I put 'sleep 5' in checkfs and that seemed to do the trick.

Interesting: The file systems are checked in two stages.

*Checking root fiilesystem...

and /dev/sda is set up followed by

*Remounting root filesystem read/write

next, the modules are loaded followed by

*Checkinig all filesystems...

and /dev/sdb is set up, followed by

*Mounting local filesystems...

and I'm in. Never noticed that before.

mw



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Fabio Palladino
 Read this warning:

 *
 * Due to ucode API change this version of ucode works only with kernels
 * =2.6.29-rc1. If you have to use older kernels please install ucode
 * with older API:
 * emerge net-wireless/iwl3945-ucode:0
 * For more information take a look at bugs.gentoo.org/246045
 *



Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread Dirk Heinrichs
Am Montag 29 Juni 2009 14:08:54 schrieb David Shen:

 my /init script is running now, but I got '/bin/sh: can't access tty;
 job control turned off' error. I google a lot, and I think it would
 relate with my HD. When this error occurs, I got a simple shell. I
 tried 'lvm vgscan' in that shell, and it cannot find my lvm.

Do you have dm_mod compiled into the kernel?

 I copied
 my block devices with:
 cp -a /dev/hda /usr/src/initramfs/dev
 cp -a /dev/hda1 /usr/src/initramfs/dev
 cp -a /dev/hda2 /usr/src/initramfs/dev

There's no need to do that, that's what udev is for.

Did you look into the scripts I've send? They should setup everything for you. 
Initially, you only need console, null and initctl in /dev of your initrd, 
udev takes care of everything else.

Bye...

Dirk




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


[gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Alan McKinnon
Hi all,

The company has a Juniper Secure Connect VPN and I run amd64. The process is: 
log in via a web page in a browser, click a button and the page starts a java 
APP to create the ssl tunnel - a full blown Swing app, not a mere applet.

I've only ever got this Java app to run in 32 bit Firefox with the java-x86-
emul package. 64 bit Firefox, Konqueror, Opera all fail. I've tried sun-jdk, 
sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.

The only thing that works is firefox-bin with a 32bit jvm. The app doesn't do 
much in the way of logging so I don't know why it's failing. This strikes me 
as odd:

A java app is bytecode that is independent of platform. It should make no 
difference whether a 32bit or 64bit jvm executes the bytecode as the format of 
the Java Virtual Machine and it's bytecode is constant.

Surely?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Mark Knecht
On Mon, Jun 29, 2009 at 9:37 AM, Alan McKinnonalan.mckin...@gmail.com wrote:
 Hi all,

 The company has a Juniper Secure Connect VPN and I run amd64. The process is:
 log in via a web page in a browser, click a button and the page starts a java
 APP to create the ssl tunnel - a full blown Swing app, not a mere applet.

 I've only ever got this Java app to run in 32 bit Firefox with the java-x86-
 emul package. 64 bit Firefox, Konqueror, Opera all fail. I've tried sun-jdk,
 sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.

 The only thing that works is firefox-bin with a 32bit jvm. The app doesn't do
 much in the way of logging so I don't know why it's failing. This strikes me
 as odd:

 A java app is bytecode that is independent of platform. It should make no
 difference whether a 32bit or 64bit jvm executes the bytecode as the format of
 the Java Virtual Machine and it's bytecode is constant.

 Surely?


Alan,
   I can only echo your frustrations. I don't have a 64-bit Windows
installation to test but I've run into numerous web sites that make
use of Java and never found an installation for my 64-bit Gentoo that
works as well as my wife's 32-bit Gentoo. Maybe things work perfectly
fine on both machines but numerous ones fail on mine and when tested
on my wife's seem to work fine. Things like buttons, selection check
marks, stock charts and other things that specific sites were doing in
Java tended to be where I had trouble.

   Along these lines was part of the reason I posed a question some
weeks ago on the Gentoo-64-bit list about the possibility of using a
64-bit kernel but building all apps as 32-bit. (Not my idea - picked
it up on LKML.)

   Good luck and keep us posted. I hope you make progress.

Cheers,
Mark



[gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Steve
Today my gentoo server that has sat happily churning my mundane (and 
lightweight) tasks froze and I noticed when it stopped serving DNS 
queries... and the server was even unresponsive from the command 
prompt.  I rebooted and was a bit taken aback at what I found.


The server currently runs, but has a load of over 60, where I'd expect a 
load of below 0.1.  Investigations using top did not suggest that a 
single process was using vast amounts of processing time... but there 
were significantly more clamascan processes than I'd expect... and even 
more procmail processes


--
$ ps auwx | grep clamscan | grep -v grep | wc -l
42
$ ps auwx | grep procmail | grep -v grep | wc -l
94
$ ps auwx | grep clamassassin | grep -v grep | wc -l
55
--

The first few lines from top say:

--
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
15451 usr   20   0 35944  33m  872 D  2.7  3.3   0:00.60 clamscan
 216 root  15  -5 000 S  0.7  0.0   0:03.80 kswapd0
15116 usr   20   0 76136  15m  668 D  0.7  1.6   0:03.30 clamscan
15299 usr   20   0  2584 1224  840 R  0.7  0.1   0:04.36 top
15428 usr   20   0 61288  57m  872 D  0.7  5.7   0:01.38 clamscan
   1 root  20   0  1648  196  172 S  0.0  0.0   0:00.64 init
   2 root  15  -5 000 S  0.0  0.0   0:00.00 kthreadd
--

The procmail configuration I've adopted hasn't changed in years...
--
DEFAULT=$HOME/.maildir/
SHELL=/bin/sh
MAILDIR=$HOME/.maildir

:0fw
*  1024000
| /usr/bin/clamassassin | /usr/bin/spamc -f
--

I'm assuming that my suddenly starting to have problems with this is 
something to do with an update to clamd/clamassassin...  I've a vague 
recollection that one or the other of them might have been updated when 
I last synchronised and emerged updates... but I can't remember.


Any ideas?  This isn't a heavily loaded server usually - I've more 
procmail processes than I usually receive in emails in an hour.  
Something's wrong - can anyone offer any hints?  Has anyone else run 
into this problem?  Is there a known 'quick fix'?





Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 18:54:13 Mark Knecht wrote:
 On Mon, Jun 29, 2009 at 9:37 AM, Alan McKinnonalan.mckin...@gmail.com 
wrote:
  Hi all,
 
  The company has a Juniper Secure Connect VPN and I run amd64. The process
  is: log in via a web page in a browser, click a button and the page
  starts a java APP to create the ssl tunnel - a full blown Swing app, not
  a mere applet.
 
  I've only ever got this Java app to run in 32 bit Firefox with the
  java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
  tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
 
  The only thing that works is firefox-bin with a 32bit jvm. The app
  doesn't do much in the way of logging so I don't know why it's failing.
  This strikes me as odd:
 
  A java app is bytecode that is independent of platform. It should make no
  difference whether a 32bit or 64bit jvm executes the bytecode as the
  format of the Java Virtual Machine and it's bytecode is constant.
 
  Surely?

 Alan,
I can only echo your frustrations. I don't have a 64-bit Windows
 installation to test but I've run into numerous web sites that make
 use of Java and never found an installation for my 64-bit Gentoo that
 works as well as my wife's 32-bit Gentoo. Maybe things work perfectly
 fine on both machines but numerous ones fail on mine and when tested
 on my wife's seem to work fine. Things like buttons, selection check
 marks, stock charts and other things that specific sites were doing in
 Java tended to be where I had trouble.

Along these lines was part of the reason I posed a question some
 weeks ago on the Gentoo-64-bit list about the possibility of using a
 64-bit kernel but building all apps as 32-bit. (Not my idea - picked
 it up on LKML.)

Good luck and keep us posted. I hope you make progress.

I'm thinking it must be something in Juniper's ncsvc app - judging by the 
quality of their install and launch scripts, I'd rate their programmer's skill 
on par with chimpanzee's for the most part. I'd understand a traditional 
applet - it runs in the browser's process space and all sorts of things could 
conflict. But this is just a regular app (I can kill Firefox as soon as the 
VPN is up and ncsvn continues as normal).

I'm now going to search for options to make this thing log more and better. 
Let's see what happens.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Alejandro
2009/6/29 Fabio Palladino palladino.fa...@gmail.com

  Read this warning:

  *
  * Due to ucode API change this version of ucode works only with kernels
  * =2.6.29-rc1. If you have to use older kernels please install ucode
  * with older API:
  * emerge net-wireless/iwl3945-ucode:0
  * For more information take a look at bugs.gentoo.org/246045
  *


That seams clear dont't instal the latest ucode if you are not running the
latest stable gentoo kernel. Sounds good. Did you only update ucode, but not
the kernel? Time to do it.
  I have the same chip in my notebook, never a problem with this.

Cheers!


Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 19:04:44 Steve wrote:
 Today my gentoo server that has sat happily churning my mundane (and
 lightweight) tasks froze and I noticed when it stopped serving DNS
 queries... and the server was even unresponsive from the command
 prompt.  I rebooted and was a bit taken aback at what I found.

 The server currently runs, but has a load of over 60, where I'd expect a
 load of below 0.1.  Investigations using top did not suggest that a
 single process was using vast amounts of processing time... but there
 were significantly more clamascan processes than I'd expect... and even
 more procmail processes

 --
 $ ps auwx | grep clamscan | grep -v grep | wc -l
 42
 $ ps auwx | grep procmail | grep -v grep | wc -l
 94
 $ ps auwx | grep clamassassin | grep -v grep | wc -l
 55
 --

 The first few lines from top say:

 --
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 15451 usr   20   0 35944  33m  872 D  2.7  3.3   0:00.60 clamscan
   216 root  15  -5 000 S  0.7  0.0   0:03.80 kswapd0
 15116 usr   20   0 76136  15m  668 D  0.7  1.6   0:03.30 clamscan
 15299 usr   20   0  2584 1224  840 R  0.7  0.1   0:04.36 top
 15428 usr   20   0 61288  57m  872 D  0.7  5.7   0:01.38 clamscan
 1 root  20   0  1648  196  172 S  0.0  0.0   0:00.64 init
 2 root  15  -5 000 S  0.0  0.0   0:00.00 kthreadd
 --

 The procmail configuration I've adopted hasn't changed in years...
 --
 DEFAULT=$HOME/.maildir/
 SHELL=/bin/sh
 MAILDIR=$HOME/.maildir

 :0fw

 *  1024000

 | /usr/bin/clamassassin | /usr/bin/spamc -f

 --

 I'm assuming that my suddenly starting to have problems with this is
 something to do with an update to clamd/clamassassin...  I've a vague
 recollection that one or the other of them might have been updated when
 I last synchronised and emerged updates... but I can't remember.

 Any ideas?  This isn't a heavily loaded server usually - I've more
 procmail processes than I usually receive in emails in an hour.
 Something's wrong - can anyone offer any hints?  Has anyone else run
 into this problem?  Is there a known 'quick fix'?

Looks like you have 200 processes sitting there blocking I/O. Is there 
anything related in the logs?

Your best bet is to examine emerge.log (better still - genlop) and find all 
recent upgrades that might affect this. Then roll them back one by one till 
the problem goes away. Once you know the errant package, we can start to 
examine diffs and see why it might behave like that.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] pxe boot + nfs mountpoints

2009-06-29 Thread James
All,

I am having a weird problem and I'm going nuts trying to figure out
what may be going wrong.

I've followed the Diskless Nodes document[1] on the g.o website. So
far my machine will PXE boot and mount root partition without any
issues.

The diskless client, however, does *not* mount the non-root partitions
(such as /opt, /usr, etc.). This results in a system with no /usr
partition and a ton of my tools missing. ;)

If I log into the crippled system, however, I can manually mount /usr
and /opt. Things work better at that point.

Here's the fstab file inside of /diskless/gentoo/etc/:

10.1.1.5:/diskless/gentoo/ nfs
sync,hard,intr,rw,nolock,rsize=8192,wsize=81920 0
10.1.1.5:/opt/opt  nfs
sync,hard,intr,ro,nolock,rsize=8192,wsize=81920 0
10.1.1.5:/usr/usr  nfs
sync,hard,intr,ro,nolock,rsize=8192,wsize=81920 0
10.1.1.5:/home   /home nfs
sync,hard,intr,rw,nolock,rsize=8192,wsize=81920 0
none/proc procdefaults
 0 0

-

/etc/exports is as follows:

/pxe/diskless/gentoo*(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
/opt*(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
/usr*(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
/home   *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
/var/log*(sync,rw,no_root_squash,no_all_squash,no_subtree_check)

Any thoughts on why these partitions are not mounting automatically?
I've even appended auto to the fstab mountpoints with no success.

Help greatly appreciated. :)

-j

1 http://www.gentoo.org/doc/en/diskless-howto.xml



[gentoo-user] after moving /usr/portage - /var/portage, user can't --pretend

2009-06-29 Thread Maxim Wexler
HI group,

I moved /usr/portage to /var/portage and readjusted PORTDIR in
make.conf and re  re'd the link to /etc/make.profile.

Now emege -p pkg for user leads to

Permission denied: '/var/portage/profiles/categories'

It's OK for root.

NB:user is in portage group, /var/portage/profiles/categories is owned
by portage:portage.  I googled the error message(I can't be the first
to move portage to var)and got nothing. Something else to check?

Maxim



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Vasya Volkov
В Пнд, 29/06/2009 в 14:15 -0300, Alejandro пишет:
 
 
 2009/6/29 Fabio Palladino palladino.fa...@gmail.com
  Read this warning:
 
  *
  * Due to ucode API change this version of ucode works only
 with kernels
  * =2.6.29-rc1. If you have to use older kernels please
 install ucode
  * with older API:
  * emerge net-wireless/iwl3945-ucode:0
  * For more information take a look at bugs.gentoo.org/246045
  *
 
 
 That seams clear dont't instal the latest ucode if you are not running
 the latest stable gentoo kernel. Sounds good. Did you only update
 ucode, but not the kernel? Time to do it.
   I have the same chip in my notebook, never a problem with this.
 
 Cheers!
After reading this thread I don't understand how to start net.wlan0 with
firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
script which manual configure device but this is not the solution...
-- 
Vasya Volkov




Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Jarry

Steve wrote:


$ ps auwx | grep clamscan | grep -v grep | wc -l 42
$ ps auwx | grep procmail | grep -v grep | wc -l 94
$ ps auwx | grep clamassassin | grep -v grep | wc -l 55
--

The first few lines from top say:

--
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
15451 usr   20   0 35944  33m  872 D  2.7  3.3   0:00.60 clamscan
 216 root  15  -5 000 S  0.7  0.0   0:03.80 kswapd0
15116 usr   20   0 76136  15m  668 D  0.7  1.6   0:03.30 clamscan
15299 usr   20   0  2584 1224  840 R  0.7  0.1   0:04.36 top
15428 usr   20   0 61288  57m  872 D  0.7  5.7   0:01.38 clamscan
   1 root  20   0  1648  196  172 S  0.0  0.0   0:00.64 init
   2 root  15  -5 000 S  0.0  0.0   0:00.00 kthreadd
--

The procmail configuration I've adopted hasn't changed in years...
--
DEFAULT=$HOME/.maildir/
SHELL=/bin/sh
MAILDIR=$HOME/.maildir

:0fw
*  1024000
| /usr/bin/clamassassin | /usr/bin/spamc -f
--


Might be bug in clamd/spamassassin. But it could also be you are
being mail-bombed (e.g. infinite depth of compressed-in-compressed
attachements).

I recommend to include some limit for number of clamd/spamassassin
instances. Don't know if procmail has such a capability, but it is
easy to control it with wrappers like amavisd-new or MailScanner...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Volker Armin Hemmann
On Montag 29 Juni 2009, Alan McKinnon wrote:
 Hi all,

 The company has a Juniper Secure Connect VPN and I run amd64. The process
 is: log in via a web page in a browser, click a button and the page starts
 a java APP to create the ssl tunnel - a full blown Swing app, not a mere
 applet.

 I've only ever got this Java app to run in 32 bit Firefox with the
 java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
 tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.

 The only thing that works is firefox-bin with a 32bit jvm. The app doesn't
 do much in the way of logging so I don't know why it's failing. This
 strikes me as odd:

 A java app is bytecode that is independent of platform. It should make no
 difference whether a 32bit or 64bit jvm executes the bytecode as the format
 of the Java Virtual Machine and it's bytecode is constant.

 Surely?

yes, the bytecode is agnostic. But the vm is not - and look into the 
directory, tons and tons of old crap. If juniper is badly programmed, it might 
trigger some bug in the old stuff.



Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Steve

Alan McKinnon wrote:
Looks like you have 200 processes sitting there blocking I/O. Is there 
anything related in the logs?
  

Not sure - as I'm not sure where to look, or what to look for.
Your best bet is to examine emerge.log (better still - genlop) and find all 
recent upgrades that might affect this. Then roll them back one by one till 
the problem goes away. Once you know the errant package, we can start to 
examine diffs and see why it might behave like that.
  
The only relevant package seems to be clamav... my emerge.log shows that 
I upgraded 8 packages yesterday just before 5pm - and the second of 
these was app-antivirus/clamav-0.95.2 - I think I simply chose to use 
the new configurations after issuing a dispatch-config... I didn't do 
anything 'adventurous'.


Perhaps this might be something to do with a long-forgotten hack for 
clamassassin to work with clamd that might have been overwritten...  
(changing CLAMSCAN=/usr/bin/clamscan to CLAMSCAN=/usr/bin/clamdscan in 
/usr/bin/clamassassin) but this seems odd - since the date on 
clamassassin is 7 September 2008... and this problem with my server is 
very recent - it was working fine yesterday... and clamassassin hasn't 
been re-installed since everything worked fine - only clamav was emerged.


As an interim hack, I've removed /usr/bin/clamassassin from my global 
procmailrc; stopped spamd; killed all the procmail and clamscan 
processes - and restarted postfix.  This has left me with an operational 
server with which I can interact.  It would seem very strange if I'm the 
only person having trouble with clamscan... in the context of what (I 
think) is a fairly standard postfix install.






Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Florian Philipp
Alan McKinnon schrieb:
 Hi all,
 
 The company has a Juniper Secure Connect VPN and I run amd64. The process is: 
 log in via a web page in a browser, click a button and the page starts a java 
 APP to create the ssl tunnel - a full blown Swing app, not a mere applet.
 
 I've only ever got this Java app to run in 32 bit Firefox with the java-x86-
 emul package. 64 bit Firefox, Konqueror, Opera all fail. I've tried sun-jdk, 
 sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
 
 The only thing that works is firefox-bin with a 32bit jvm. The app doesn't do 
 much in the way of logging so I don't know why it's failing. This strikes me 
 as odd:
 

If it isn't an applet, maybe you can extract the jar's URL from the web
page, download it with wget and try to run it locally.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Steve

Jarry wrote:

Might be bug in clamd/spamassassin. But it could also be you are
being mail-bombed (e.g. infinite depth of compressed-in-compressed
attachements).
I thought about that - but I can't find an offending email with a bogus 
attachment if I am.

I recommend to include some limit for number of clamd/spamassassin
instances. Don't know if procmail has such a capability, but it is
easy to control it with wrappers like amavisd-new or MailScanner...
I'd assumed that clamassassin would take care of this with some sensible 
defaults for me...


My default clamd.conf says:

--
# Maximum depth directories are scanned at.
# Default: 15
#MaxDirectoryRecursion 20
--

So, I'd imagine that would take care of this... conversely - it did seem 
a bit strange that clamassassin was configured to use clamscan not 
clamdscan (which would have made more sense to me) but it had been 
configured that way for a very long time according to the file-dates and 
it's only recently that things went awry for me...


My procmailrc is simply how I wire in my mail delivery filters.  I'd 
expect the filters themselves to behave sensibly...  Though it came as a 
bit of a shock to see that my postfix user had as many processes spawned 
as it did... I'd always thought that the purpose of postfix was to queue 
mail in order that it could be processed sequentially in order to avoid 
this sort of problem...





Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 19:48:28 Florian Philipp wrote:
 Alan McKinnon schrieb:
  Hi all,
 
  The company has a Juniper Secure Connect VPN and I run amd64. The process
  is: log in via a web page in a browser, click a button and the page
  starts a java APP to create the ssl tunnel - a full blown Swing app, not
  a mere applet.
 
  I've only ever got this Java app to run in 32 bit Firefox with the
  java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
  tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
 
  The only thing that works is firefox-bin with a 32bit jvm. The app
  doesn't do much in the way of logging so I don't know why it's failing.
  This strikes me as odd:

 If it isn't an applet, maybe you can extract the jar's URL from the web
 page, download it with wget and try to run it locally.

There's a local copy on the machine anyway, which I've tried to run stand-
alone. The VPN uses two-factor auth - the Windows domain username/pass plus an 
OTP from a credit-card fob. It appears that the web page sets this up right 
somehow, and it's https:// so I can't sniff it and see what gives.

I'll keep trying though

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Peter Humphrey
On Monday 29 June 2009 18:10:44 Alan McKinnon wrote:

 judging by the quality of their install and launch scripts, I'd rate their
 programmer's skill on par with chimpanzee's for the most part.

About the same as mine then :-(

No programming since 1991, and that was Fortran. Mind you, 10 years earlier 
I was a bit of a whiz at assembler on an Argus 500.

[/OT]

-- 
Rgds
Peter



[gentoo-user] please disregard post re: portage move

2009-06-29 Thread Maxim Wexler
Hi group,

I didn't preserve the rwx permissions. Crisis averted! Sorry 'bout that.

Maxim



Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Paul Hartman
On Mon, Jun 29, 2009 at 11:37 AM, Alan McKinnonalan.mckin...@gmail.com wrote:
 Hi all,

 The company has a Juniper Secure Connect VPN and I run amd64. The process is:
 log in via a web page in a browser, click a button and the page starts a java
 APP to create the ssl tunnel - a full blown Swing app, not a mere applet.

 I've only ever got this Java app to run in 32 bit Firefox with the java-x86-
 emul package. 64 bit Firefox, Konqueror, Opera all fail. I've tried sun-jdk,
 sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.

 The only thing that works is firefox-bin with a 32bit jvm. The app doesn't do
 much in the way of logging so I don't know why it's failing. This strikes me
 as odd:

 A java app is bytecode that is independent of platform. It should make no
 difference whether a 32bit or 64bit jvm executes the bytecode as the format of
 the Java Virtual Machine and it's bytecode is constant.

 Surely?

According to my Google search results, a 64-bit Sun Java plug-in has
been provided starting with Java SE 6 Update 12 Build 02. You should
be able to select your preferred plug-in and virtual machine using
eselect (I don't think I have tried it... I can't remember the last
time I encountered a Java applet on the web)



[gentoo-user] Xorg dropping keyboard events?

2009-06-29 Thread Grant Edwards
After recent updates Xorg on several of my machines have
started dropping keyboard events.  Sometimes it's a keydown
event -- in which case the keystroke is ignored.  Sometimes
it's a keyup event -- in which case the key repeats
indefinitely until another key is pressed.

It _seems_ to happen more when the CPU is busy, but I can't get
it to happen predictably.  It stated on all of my machines
within the last week or two.  They don't all get updated at the
same time, but it seems to have started on each one after a
recent udpate.

I haven't been able to find anything that seems relevent in
bugzilla.

Has anybody else seen this problem pop up recently?

-- 
Grant Edwards   grante Yow! I'd like some JUNK
  at   FOOD ... and then I want to
   visi.combe ALONE --




Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 20:31:07 Paul Hartman wrote:
 On Mon, Jun 29, 2009 at 11:37 AM, Alan McKinnonalan.mckin...@gmail.com 
wrote:
  Hi all,
 
  The company has a Juniper Secure Connect VPN and I run amd64. The process
  is: log in via a web page in a browser, click a button and the page
  starts a java APP to create the ssl tunnel - a full blown Swing app, not
  a mere applet.
 
  I've only ever got this Java app to run in 32 bit Firefox with the
  java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
  tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
 
  The only thing that works is firefox-bin with a 32bit jvm. The app
  doesn't do much in the way of logging so I don't know why it's failing.
  This strikes me as odd:
 
  A java app is bytecode that is independent of platform. It should make no
  difference whether a 32bit or 64bit jvm executes the bytecode as the
  format of the Java Virtual Machine and it's bytecode is constant.
 
  Surely?

 According to my Google search results, a 64-bit Sun Java plug-in has
 been provided starting with Java SE 6 Update 12 Build 02. You should
 be able to select your preferred plug-in and virtual machine using
 eselect (I don't think I have tried it... I can't remember the last
 time I encountered a Java applet on the web)

I said in my original post that I had tried a 64 bit jre without success. It's 
also NOT an applet - it continues to run as it's own full-blown process even 
after the browser exits.

And the correct commands to configure system and user vm's were executed each 
time.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Insane load on gentoo server - possibly clamassassin related?

2009-06-29 Thread Alan McKinnon
On Monday 29 June 2009 19:44:49 Steve wrote:
 Alan McKinnon wrote:
  Looks like you have 200 processes sitting there blocking I/O. Is there
  anything related in the logs?

 Not sure - as I'm not sure where to look, or what to look for.

  Your best bet is to examine emerge.log (better still - genlop) and find
  all recent upgrades that might affect this. Then roll them back one by
  one till the problem goes away. Once you know the errant package, we can
  start to examine diffs and see why it might behave like that.

 The only relevant package seems to be clamav... my emerge.log shows that
 I upgraded 8 packages yesterday just before 5pm - and the second of
 these was app-antivirus/clamav-0.95.2 - I think I simply chose to use
 the new configurations after issuing a dispatch-config... I didn't do
 anything 'adventurous'.

 Perhaps this might be something to do with a long-forgotten hack for
 clamassassin to work with clamd that might have been overwritten...
 (changing CLAMSCAN=/usr/bin/clamscan to CLAMSCAN=/usr/bin/clamdscan in
 /usr/bin/clamassassin) but this seems odd - since the date on
 clamassassin is 7 September 2008... and this problem with my server is
 very recent - it was working fine yesterday... and clamassassin hasn't
 been re-installed since everything worked fine - only clamav was emerged.

 As an interim hack, I've removed /usr/bin/clamassassin from my global
 procmailrc; stopped spamd; killed all the procmail and clamscan
 processes - and restarted postfix.  This has left me with an operational
 server with which I can interact.  It would seem very strange if I'm the
 only person having trouble with clamscan... in the context of what (I
 think) is a fairly standard postfix install.

That looks sane enough. I guess now you get to keep an eye on it for a few 
days.



-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: pxe boot + nfs mountpoints

2009-06-29 Thread James
Okay, I've gotten a little further by moving some of the runscripts to
/etc/runlevel/boot.

I still, however, can't seem to get /usr/ nfs mounted before some of
the boot runlevel daemons kick off (like keymap, etc.).

I think part of the problem is I'm using OpenRC. Any way on forcing
netmount init script to kick off before everything else?

-j

On Mon, Jun 29, 2009 at 1:19 PM, Jamesj...@nc.rr.com wrote:
 All,

 I am having a weird problem and I'm going nuts trying to figure out
 what may be going wrong.

 I've followed the Diskless Nodes document[1] on the g.o website. So
 far my machine will PXE boot and mount root partition without any
 issues.

 The diskless client, however, does *not* mount the non-root partitions
 (such as /opt, /usr, etc.). This results in a system with no /usr
 partition and a ton of my tools missing. ;)

 If I log into the crippled system, however, I can manually mount /usr
 and /opt. Things work better at that point.

 Here's the fstab file inside of /diskless/gentoo/etc/:

 10.1.1.5:/diskless/gentoo    /         nfs
 sync,hard,intr,rw,nolock,rsize=8192,wsize=8192    0 0
 10.1.1.5:/opt                /opt      nfs
 sync,hard,intr,ro,nolock,rsize=8192,wsize=8192    0 0
 10.1.1.5:/usr                /usr      nfs
 sync,hard,intr,ro,nolock,rsize=8192,wsize=8192    0 0
 10.1.1.5:/home               /home     nfs
 sync,hard,intr,rw,nolock,rsize=8192,wsize=8192    0 0
 none                            /proc     proc    defaults
                             0 0

 -

 /etc/exports is as follows:

 /pxe/diskless/gentoo    
 *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
 /opt                    
 *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
 /usr                    
 *(sync,ro,no_root_squash,no_all_squash,no_subtree_check)
 /home                   
 *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)
 /var/log                
 *(sync,rw,no_root_squash,no_all_squash,no_subtree_check)

 Any thoughts on why these partitions are not mounting automatically?
 I've even appended auto to the fstab mountpoints with no success.

 Help greatly appreciated. :)

 -j

 1 http://www.gentoo.org/doc/en/diskless-howto.xml




Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Paul Hartman
On Mon, Jun 29, 2009 at 1:45 PM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Monday 29 June 2009 20:31:07 Paul Hartman wrote:
 On Mon, Jun 29, 2009 at 11:37 AM, Alan McKinnonalan.mckin...@gmail.com
 wrote:
  Hi all,
 
  The company has a Juniper Secure Connect VPN and I run amd64. The process
  is: log in via a web page in a browser, click a button and the page
  starts a java APP to create the ssl tunnel - a full blown Swing app, not
  a mere applet.
 
  I've only ever got this Java app to run in 32 bit Firefox with the
  java-x86- emul package. 64 bit Firefox, Konqueror, Opera all fail. I've
  tried sun-jdk, sun-jre (nsplugin and nsplugin-2), blackdown and icedtea.
 
  The only thing that works is firefox-bin with a 32bit jvm. The app
  doesn't do much in the way of logging so I don't know why it's failing.
  This strikes me as odd:
 
  A java app is bytecode that is independent of platform. It should make no
  difference whether a 32bit or 64bit jvm executes the bytecode as the
  format of the Java Virtual Machine and it's bytecode is constant.
 
  Surely?

 According to my Google search results, a 64-bit Sun Java plug-in has
 been provided starting with Java SE 6 Update 12 Build 02. You should
 be able to select your preferred plug-in and virtual machine using
 eselect (I don't think I have tried it... I can't remember the last
 time I encountered a Java applet on the web)

 I said in my original post that I had tried a 64 bit jre without success. It's
 also NOT an applet - it continues to run as it's own full-blown process even
 after the browser exits.

 And the correct commands to configure system and user vm's were executed each
 time.

Okay, I misunderstood. It looks like it may be a Juniper-related
problem and not a Java problem. I have used Java Web Start apps using
64-bit java on my system and it works fine, but googling juniper vpn
shows several people on various distros having problems similar to
yours. This page appears to have some info about what you need to do
in order to get it going: http://mad-scientist.us/juniper.html (from
an Ubuntu perspective)

There are some sample JWS apps on
http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html
if you want to make sure your Java Web Start is working.

Since 64-bit Java from Sun is so new, I didn't really see many
references to the Juniper VPN from a 64-bit standpoint (just people
trying to get it working with 32-bit JWS in a 64-bit browser etc). One
person said they installed the 32-bit JVM to use with the VPN and used
64-bit with everything else. You may need to be the trailblazer. :)



Re: [gentoo-user] Wireless not working anymore

2009-06-29 Thread Neil Bothwick
On Mon, 29 Jun 2009 19:03:32 +0400, Vasya Volkov wrote:

 After read this thread I don't understand how to start net.wlan0 with
 firmware from slot (1) (using 2.6.30-gentoo-r1) instead of usage a
 script which manual configure device but this is not the solution...

emerge -C net-wireless/iwl3945-ucode:0
emerge -av net-wireless/iwl3945-ucode:1


-- 
Neil Bothwick

Is that woof feed me; woof walk me; woof there's a burglar? What??


signature.asc
Description: PGP signature


Re: [gentoo-user] Java apps in 64 bit JVM?

2009-06-29 Thread Etaoin Shrdlu
On Monday 29 June 2009, Alan McKinnon wrote:

 an OTP from a credit-card fob. It appears that the web page sets this up
 right somehow, and it's https:// so I can't sniff it and see what gives.

Yes you can with some tool like webmitm, dsniff or ettercap (or others).



[gentoo-user] synaptics support in xorg

2009-06-29 Thread Maxim Wexler
Hi group,

According to 'The X Server Configuration HOWTO'

If you use alternative input devices, such as a Synaptics touchpad
for a laptop, be sure to add it to INPUT_DEVICES. 

So I put in make.conf INPUT_DEVICES=mouse keyboard synaptics and did
emerge -pv xorg-server.

In the output after INPUT_DEVICES I saw keyboard, mouse and evdev in
red and synaptics in blue with a minus sigh. So I removed keyboard and
mouse from the line in make.conf. Same result. Don't know where evdev
comes from; I never specified it anywhere.

Only by explicitly entering INPUT_DEVICES=synaptics emerge -pv
xorg-server was I able to see, after INPUT_DEVICES in the output, the
word synaptics in green with an asterisk at the end. The words evdev,
keyboard and mouse appear further along in the output, also in green
ending in asterisks but  preceeded with a minus sign. And, that was
after re-adding mouse and keyboard to INPUT_DEVICES  in make.conf.

Questions:

Is this the right way to go? Why won't portage accept what's in
make.conf in this case? It accepts my USE flags and my VIDEO_CARDS
entry. What's with the green and the asterisk? Is the doc wrong? I
note it was updated just three weeks ago.

Maxim



Re: [gentoo-user] Self created initramfs cannot work

2009-06-29 Thread David Shen
yeah, I see you used udev. But I see the gentoo wiki, they do not use
udev, so I think I can work without udev, too.

I will check if I have dm_mod in my kernel.

Thanks.


On Tue, Jun 30, 2009 at 12:23 AM, Dirk
Heinrichsdirk.heinri...@online.de wrote:
 Am Montag 29 Juni 2009 14:08:54 schrieb David Shen:

 my /init script is running now, but I got '/bin/sh: can't access tty;
 job control turned off' error. I google a lot, and I think it would
 relate with my HD. When this error occurs, I got a simple shell. I
 tried 'lvm vgscan' in that shell, and it cannot find my lvm.

 Do you have dm_mod compiled into the kernel?

 I copied
 my block devices with:
 cp -a /dev/hda /usr/src/initramfs/dev
 cp -a /dev/hda1 /usr/src/initramfs/dev
 cp -a /dev/hda2 /usr/src/initramfs/dev

 There's no need to do that, that's what udev is for.

 Did you look into the scripts I've send? They should setup everything for you.
 Initially, you only need console, null and initctl in /dev of your initrd,
 udev takes care of everything else.

 Bye...

        Dirk






-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] after moving /usr/portage - /var/portage, user can't --pretend

2009-06-29 Thread Daniel Troeder
On Mon, 2009-06-29 at 11:30 -0600, Maxim Wexler wrote:
 HI group,
 
 I moved /usr/portage to /var/portage and readjusted PORTDIR in
 make.conf and re  re'd the link to /etc/make.profile.
 
 Now emege -p pkg for user leads to
 
 Permission denied: '/var/portage/profiles/categories'
 
 It's OK for root.
 
 NB:user is in portage group, /var/portage/profiles/categories is owned
 by portage:portage.  I googled the error message(I can't be the first
 to move portage to var)and got nothing. Something else to check?
 
 Maxim
Maybe it's one of the higher-up directories, that the user cannot read?
Check /var /var/portage /var/portage/profiles.
Easiest thing to do, would be to run as the user (not root):
$ find /var/portage  /dev/null
Only error messages should be displayed :)

Bye,
Daniel