Re: [gentoo-user] 6.1.53-gentoo-r1 kernel not booting

2023-10-07 Thread Valmor de Almeida
On Wed, Oct 4, 2023 at 11:36 AM Peter Böhm  wrote:
>
> Am Mittwoch, 4. Oktober 2023, 05:42:17 CEST schrieb Valmor F. de Almeida:
>
> > -> cat /proc/cpuinfo
> >
> > processor   : 0
> > vendor_id   : GenuineIntel
> > cpu family  : 6
> > model   : 158
> > model name  : Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
> > stepping: 9
> > microcode   : 0x84
>
> At the moment this is our actual microcode for Intel CPUs:
>
> sys-firmware/intel-microcode-20230808_p20230804
>
> If you look into:
>
> https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/blob/main/
> releasenote.md
>
> You will see that version f4 is actual for your CPU (dec 6-158-9 is hex
> 6-9e-9) instead your version 84.
>
> KBL-G/H/S/X/E3  B0  06-9e-09/2a 00f200f4  
>   Core
> Gen7; Xeon E3 v6
>
> What you can always do:
>
> 1. Boot with our GentooMinimalCD (so you have the new/actual microcode active
> on your CPU)
> 2. Chroot into your system (like you do with a new installation)
> 3. Re-emerge all packages with "emerge -e ..."
>
> After this, if you boot your kernel-6.1.53-r1 you should have no problem.
>
>
I tried to chroot in the installation using the latest GentooMinimalCD
(it does run the linux-6.1.53-gentoo-r1 kernel) but I am unable to
mount the root directory.

-> lsblk
[snip]
nvme0n1  259:0  0  9453.9G0  disk
|--nvme0n1p1  259.0   0   2M   0   part
|--nvme0n1p2. 259.0   0   128M   0   part
|--nvme0n1p3  259.0   01.6G   0   part
|--nvme0n1p4  259.0   0952.2G   0   part

-> swapon /dev/nvme0n1p3
-> mount /dev/nvme0n1p4 /mnt/gentoo
mout: /mnt/gentoo: can't read superblock on /dev/nvme0n1p4.
 dmesg(1) may have more information after failed mount system call.

-> dmesg

[snip]
nvme nvme0: controller is down; will reset: 
nvme nvme0: Does your device have a faulty power saving mode enabled?
[snip]
EXT4-fs (nvme0n1p4): unable to read superblock

I am still able to boot with the old kernel 6-1-41-gentoo.
Does this mean I may have a hardware problem with the NVMe drive?

Thanks for inputs.
--
Valmor



[gentoo-user] Failed to emerge dev-perl/XML-Parser-2.460.0-r1

2021-12-12 Thread Valmor de Almeida
Hello,
On a recent portage update:

 * ERROR: dev-perl/XML-Parser-2.460.0-r1::gentoo failed (install phase):
 *   Something went badly wrong, can't find Expat.so. Please file a bug.
 *
There is a bug filed for this:

https://bugs.gentoo.org/827966

Just wondering whether anyone has seen this error and has a suggestion
for a quick work around.
Thanks,
--
Valmor



[gentoo-user] jupyter notebook 500 : Internal Server Error

2020-06-25 Thread Valmor de Almeida
Hello,
I had to enable ~amd64 to emerge jupyter so I know this is bound for
problems. However, anyone there able to use jupyter notebooks in
gentoo?
No matter what notebook I try to open, I get the internal server error.
Thank you.
--
Valmor



Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
On Thu, Jun 25, 2020 at 11:52 AM Andrew Udvare  wrote:
>
>
> > On 2020-06-25, at 13:40, Valmor de Almeida  wrote:
> >
> > On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare  wrote:
> >>
> >> On 25/06/2020 04:59, Valmor de Almeida wrote:
> >>> Hello,
> >>> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> >>> Gentoo/OpenBox system with no desktop?
> >>> A similar problem exists with Firefox but it can be fixed using a CSS
> >>> file (userChrome.css). However I can't get Thunderbird to work using a
> >>> similar fix. The UI fonts are so small that the app is useless.
> >>> Thanks,
> >>> --
> >>> Valmor
> >>>
> >>
> >> Do you have an ~/.Xresources file? It can have something like:
> >>
> >> Xft.dpi: 144
> >>
> >> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
> >> modifying SDDM service file(s) to systemd).
> >>
> >
> > No I don't have it. I thought the line
> >
> > xrandr --dpi 192 &
> > or
> > xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"
> >
> > in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.
> >
> > I just added
> > Xft.dpi: 192
> > to ~/.Xresources and not only TB works but LibreOffice works too.
> > Of course all of this defies the purpose of having an HiDPI laptop but
> > it is either that or no use at all.
>
> For Qt apps you might want these environment variables in .xinitrc:
>
> QT_SCREEN_SCALE_FACTORS=DVI-I-0=1.5;DVI-I-1=1.5;HDMI-0=1.5;DP-0=1.5;DP-1=1.5;DP-2=1.5;DP-3=1.5;DP-4=1.5;DP-5=1.5;
>
> (These device names are the same as what xrandr shows.)
>
> QT_AUTO_SCREEN_SCALE_FACTOR=0
>
> Currently I have an issue where opening Qt apps from certain contexts results 
> in resetting the DPI scale to 2 instead of 1.5. Primarily this happens when 
> Chrome launches a Qt-based viewer such as Kate, and sometimes it happens from 
> Konsole. Have yet to file bugs.
>
>
Thank you. Got those in too. Helpful when I start looking at other X apps.
--
Valmor



[SOLVED] Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare  wrote:
>
> On 25/06/2020 04:59, Valmor de Almeida wrote:
> > Hello,
> > Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> > Gentoo/OpenBox system with no desktop?
> > A similar problem exists with Firefox but it can be fixed using a CSS
> > file (userChrome.css). However I can't get Thunderbird to work using a
> > similar fix. The UI fonts are so small that the app is useless.
> > Thanks,
> > --
> > Valmor
> >
>
> Do you have an ~/.Xresources file? It can have something like:
>
> Xft.dpi: 144
>
> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
> modifying SDDM service file(s) to systemd).
>

No I don't have it. I thought the line

xrandr --dpi 192 &
or
xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"

in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.

I just added
Xft.dpi: 192
to ~/.Xresources and not only TB works but LibreOffice works too.
Of course all of this defies the purpose of having an HiDPI laptop but
it is either that or no use at all.

Thank you Andrew.
--
Valmor



Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
On Thu, Jun 25, 2020 at 3:42 AM Michael  wrote:
>
> On Thursday, 25 June 2020 09:59:46 BST Valmor de Almeida wrote:
> > Hello,
> > Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> > Gentoo/OpenBox system with no desktop?
> > A similar problem exists with Firefox but it can be fixed using a CSS
> > file (userChrome.css). However I can't get Thunderbird to work using a
> > similar fix. The UI fonts are so small that the app is useless.
> > Thanks,
> > --
> > Valmor
>
> Hi Valmor, I'd think TB also uses CSS to modify the look of the GUI - but I
> don't have it installed on this PC to check its file structure.  This post
> suggests so:
>
> https://support.mozilla.org/en-US/questions/1269224#answer-1282444
>
> I also found this Addon which claims to do just what you're after, but I have
> not tried it out:
>
> https://addons.thunderbird.net/en-US/thunderbird/addon/theme-font-size-changer-for-tb/

Thanks Michael.
The CSS info is more detailed than what I had. Initially it did not
help but I noticed the cyan color appeared on the menu bar. Hence I
increased font sizes to 25 and 30 and it made a difference.
However various places still have the small fonts; e.g. dialog windows
for say, configuring an email account, etc. This will require some
fine tuning...
Later,
--
Valmor



[gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Valmor de Almeida
Hello,
Does anyone know how to fix Thunderbird UI fonts on a HiDPI
Gentoo/OpenBox system with no desktop?
A similar problem exists with Firefox but it can be fixed using a CSS
file (userChrome.css). However I can't get Thunderbird to work using a
similar fix. The UI fonts are so small that the app is useless.
Thanks,
--
Valmor



Re: [gentoo-user] Failed to emerge www-client/firefox-68.4.1, Log file:

2020-01-16 Thread Valmor de Almeida
On Thu, Jan 16, 2020 at 4:46 PM Daniel Frey  wrote:
>
> On 1/16/20 10:40 AM, Valmor de Almeida wrote:
> > Hello list,
> > I have been trying for a while getting firefox emerged; no luck.
> > Inputs appreciated.
> > Thanks,
> > --
> > Valmor
> >
> >   * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
>
> Do you have this installed?
>
>
> What's the output of `equery list llvm clang`?
>
> Is it possible llvm updated but clang did not? The message sounds like
> they depend on each other.
>
> Dan
>
Here it is:

-> equery list llvm clang
 * Searching for llvm ...
[IP-] [  ] sys-devel/llvm-8.0.1:8

 * Searching for clang ...
[IP-] [  ] sys-devel/clang-8.0.1:8

if slot 9 means version 9, it is not installed and I don't know why it
does not get pulled in by portage.

Thanks,
--
Valmor



[gentoo-user] Failed to emerge www-client/firefox-68.4.1, Log file:

2020-01-16 Thread Valmor de Almeida
Hello list,
I have been trying for a while getting firefox emerged; no luck.
Inputs appreciated.
Thanks,
--
Valmor

>>> Failed to emerge www-client/firefox-68.4.1, Log file:

>>>  '/var/tmp/portage/www-client/firefox-68.4.1/temp/build.log'

 * Messages for package sys-devel/llvm-8.0.1:

 * You can find additional opt-viewer utility scripts in:
 *   /usr/lib/llvm/8/share/opt-viewer
 * To use these scripts, you will need Python 2.7 along with the following
 * packages:
 *   dev-python/pygments (for opt-viewer)
 *   dev-python/pyyaml (for all of them)

 * Messages for package www-client/firefox-68.4.1:

 * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
 * ERROR: www-client/firefox-68.4.1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 * ebuild.sh, line 125:  Called src_compile
 *   environment, line 5204:  Called die
 * The specific snippet of code:
 *   GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O"
SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach
build --verbose || die
 *
 * If you need support, post the output of `emerge --info
'=www-client/firefox-68.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=www-client/firefox-68.4.1::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/www-client/firefox-68.4.1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/www-client/firefox-68.4.1/temp/environment'.
 * Working directory:
'/var/tmp/portage/www-client/firefox-68.4.1/work/firefox-68.4.1'
 * S: '/var/tmp/portage/www-client/firefox-68.4.1/work/firefox-68.4.1'

 * GNU info directory index is up-to-date.



Re: [gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-08 Thread Valmor de Almeida
On Wed, Feb 8, 2017 at 3:35 AM, naveen  wrote:
[snip]
> Hi Valmor,
>
> I am presently running gentoo as a VM(virtualbox) on macos seirra.
> I have app-emulation/virtualbox-guest-additions-5.0.32:0 and
> x11-drivers/xf86-video-virtualbox-5.0.32:0 installed and running.

Hi Naveen,

What kernel are you using? I just found a way out:

https://forums.gentoo.org/viewtopic-p-8029046.html#8029046

but required a number iterations experimenting with kernel versions
and ebuilds for virtualbox-guest-additions.

Thanks,

--
Valmor

> I didn't face any problems while compiling/installing the package.
> Could you specify the issues you faced while installing/upgrading
> virtualbox-guest-additions package. I have used VMware Fusion barely
> so I don't have enough experience to comment
> on the overall quality it delivers or packages pertaining to it in
> portage.
>
> Regards,
> Naveen
>
>
>
>
>
>



Re: [gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-08 Thread Valmor de Almeida
On Wed, Feb 8, 2017 at 2:06 AM, John Covici  wrote:
[snip]
>
> I have it working fine under vmware fusion and I have updated since
> the install.  I don't ust X on that box, so you may have a different
> result.

Thanks for the input. Yeah I will need X running on the guest.
--
Valmor

>
> The only gotcha I had was that vmware would not install the tools, but
> I found the iso image and mounted it and did it myself.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici
>  cov...@ccs.covici.com
>



Re: [gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed

2017-02-08 Thread Valmor de Almeida
On Mon, Feb 6, 2017 at 9:25 PM, Valmor de Almeida <val.gen...@gmail.com> wrote:
> On Mon, Feb 6, 2017 at 5:10 PM, Alan McKinnon <alan.mckin...@gmail.com> wrote:
>> On 06/02/2017 23:45, Valmor de Almeida wrote:
>>>
>>> Hello,
>>>
>>> Any idea on how to fix this on a gentoo virtualbox guest?
>>> Virtualbox-guest-additions will not emerge. The xf86-video build fails:
>>>
>>> [snip]
>>>   if (static_branch_unlikely(_key))
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
>>> expected primary-expression before
>>>   !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
>>>
>>> lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
>>> definition of macro
>>>  # define unlikely(x) __builtin_expect(!!(x), 0)
>>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
>>> expansion of macro static_key_enabled
>>>  #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
>>> /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
>>> expansion of macro ‘ static_branch_unlikely
>>>   if (static_branch_unlikely(_key))
>>> ***
>>> [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-5.0.32/work/VirtualBox-5.0.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o
>>> *** Exiting with status 2
>>>  ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile 
>>> phase):
>>   ^
>>
>> This is what is failing, not virtualbox-guest-additions
>
> Correct. The driver package gets pulled in.
>
>>
>> Try downgrade those drivers
>
> Tried every ebuild available for an older version and no luck; which
> makes me think something else is causing this. Compiler? some option
> in the kernel?

Here is what worked after many iterations:

https://forums.gentoo.org/viewtopic-p-8029046.html#8029046

--
Valmor

>
> Thanks,
> --
> Valmor
>
>>
>> --
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>>



[gentoo-user] inputs on Gentoo emulation on a Mac OSX

2017-02-07 Thread Valmor de Almeida
Hello,

I would appreciate inputs on emulation of Gentoo on a Mac OSX.

For many years I have been using VirtualBox on the Mac as a host and a
Gentoo guest. It seems it is becoming difficult to get the
virtualbox-guest-additions package to compile and install on the
Gentoo guest. I don't know whether this is a difficulty coming from
the virtualbox package itself. However, I am considering an emulation
alternative such as VMWare Fusion to avoid problems with portage
updates. I wonder whether the experience with the packages that need
to be installed on the Gentoo guest side for VMWare are less
problematic than the corresponding virtualbox packages.

Thank you.

--
Valmor



Re: [gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed

2017-02-06 Thread Valmor de Almeida
On Mon, Feb 6, 2017 at 5:10 PM, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> On 06/02/2017 23:45, Valmor de Almeida wrote:
>>
>> Hello,
>>
>> Any idea on how to fix this on a gentoo virtualbox guest?
>> Virtualbox-guest-additions will not emerge. The xf86-video build fails:
>>
>> [snip]
>>   if (static_branch_unlikely(_key))
>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
>> expected primary-expression before
>>   !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
>>
>> lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
>> definition of macro
>>  # define unlikely(x) __builtin_expect(!!(x), 0)
>> /lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
>> expansion of macro static_key_enabled
>>  #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
>> /lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
>> expansion of macro ‘ static_branch_unlikely
>>   if (static_branch_unlikely(_key))
>> ***
>> [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-5.0.32/work/VirtualBox-5.0.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o
>> *** Exiting with status 2
>>  ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile 
>> phase):
>   ^
>
> This is what is failing, not virtualbox-guest-additions

Correct. The driver package gets pulled in.

>
> Try downgrade those drivers

Tried every ebuild available for an older version and no luck; which
makes me think something else is causing this. Compiler? some option
in the kernel?

Thanks,
--
Valmor

>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>



[gentoo-user] ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile phase): emake failed

2017-02-06 Thread Valmor de Almeida
Hello,

Any idea on how to fix this on a gentoo virtualbox guest?
Virtualbox-guest-additions will not emerge. The xf86-video build fails:

[snip]
  if (static_branch_unlikely(_key))
/lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:297:48:
expected primary-expression before
  !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \

lib/modules/4.9.6-gentoo-r1/build/include/linux/compiler.h:168:42: note:
definition of macro
 # define unlikely(x) __builtin_expect(!!(x), 0)
/lib/modules/4.9.6-gentoo-r1/build/include/linux/jump_label.h:387:44:
expansion of macro static_key_enabled
 #define static_branch_unlikely(x) unlikely(static_key_enabled(&(x)->key))
/lib/modules/4.9.6-gentoo-r1/build/arch/x86/include/asm/string_64.h:103:6:note:
expansion of macro ‘ static_branch_unlikely
  if (static_branch_unlikely(_key))
***
[/var/tmp/portage/x11-drivers/xf86-video-virtualbox-5.0.32/work/VirtualBox-5.0.32/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o
*** Exiting with status 2
 ERROR: x11-drivers/xf86-video-virtualbox-5.0.32::gentoo failed (compile
phase):
emake failed
 [snip]

I also tried the unstable versions of virtualbox-guest-additions. This is
happening after a very recent portage sync. Some info below.

Thank you.

--
Valmor


Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.4,
glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=
 System Settings
=
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@
_2.60GHz-with-gentoo-2.3
KiB Mem: 9995816 total,   7647256 free
KiB Swap:8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 06 Feb 2017 18:45:02 +
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:  4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl:5.22.3_rc4::gentoo
dev-lang/python:  2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:   3.7.2::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.3::gentoo
sys-apps/openrc:  0.22.4::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
sys-devel/automake:   1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:4.9.4::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6-r2::gentoo
sys-devel/make:   4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:   2.23-r3::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
priority: -1000

science
location: /var/lib/layman/science
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc
/usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://mirror.iawnet.sandia.gov/gentoo/
ftp://mirror.iawnet.sandia.gov/pub/gentoo/;
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl acpi alsa amd64 apng berkdb branding bzip2 cairo cleartype cli
cracklib crypt cups cxx dri fftw fontconfig fortran gcj gdbm gif gs gtk
hdf5 hwdb iconv icu ipv6 java jpeg kpathsea lapack libkms lm_sensors
minizip modules mozilla multilib ncurses nls nptl objc objc-gc opengl
openmp pam pcre pdf pmu png pulseaudio python readline seccomp session
spell sqlite ssl svg szip tcpd tiff tk truetype unicode vaapi vga
vim-syntax vim-with-x xattr xinerama xorg xscreensaver zlib" ABI_X86="64"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 

Re: [gentoo-user] Re: Digest verification failed:

2016-04-08 Thread Valmor de Almeida
On Fri, Apr 8, 2016 at 4:14 AM, Neil Bothwick  wrote:

> On Thu, 7 Apr 2016 19:56:34 -0500, »Q« wrote:
>
> > > >Hello,
> > > >I have done several
> > > >emerge --sync
> > > >today but the digest verification problem below does not go away.
> > > >Any thoughts?
> > > >Thank you.
> > >
> > > This has been reported in Bug 579204 [0] and, as far as I am aware,
> > > was either caused by bad timing between commits and rsync metadata
> > > generation or some other factor in generating the metadata being
> > > pushed out to rsync servers; though from what I've seen it seems to
> > > only affect some mirrors.
> > >
> > > 0: https://bugs.gentoo.org/579204
> >
> > If anyone knows of a good rsync mirror, please post.  (This has hit me
> > in the middle of migration to plasma 5, perfect timing.)
>
> I tried a few with no joy. As it appeared to be only the  ebuild
> causing the problem, I deleted the file and removed the corresponding
> line from the Manifest.
>
>
> --
> Neil Bothwick
>
> Death to all fanatics!
>

At this time still a problem. Did what Neil suggested above; good to go and
moving forward.
Thanks,

--
Valmor


Re: [gentoo-user] Re: Digest verification failed:

2016-04-07 Thread Valmor de Almeida
On Thu, Apr 7, 2016 at 9:14 PM, R0b0t1  wrote:

> Use webrsync or webrsync-gpg and see if the problem persists.
>

Waited for a few hours and tried both

  emerge --sync

and

 emerge-webrsync

still problematic.

Thanks for the replies.

--
Valmor


[gentoo-user] Digest verification failed:

2016-04-07 Thread Valmor de Almeida
Hello,

I have done several

emerge --sync

today but the digest verification problem below does not go away.
Any thoughts?

Thank you.

--
Valmor

>>> Fetching (165 of 221) media-libs/mesa-11.0.6::gentoo

!!! Digest verification failed:
!!! /usr/portage/media-libs/mesa/mesa-.ebuild
!!! Reason: Failed on SHA256 verification
!!! Got: e2eb88ce00f4e8f37a940c982bfc7c38d5ed015477caa3397508792ca620968d
!!! Expected:
eb7a5581c6001e07d6a2a817f023cfd005ee45cda03cfca498e825bf3d3104a4

>>> Failed to emerge media-libs/mesa-11.0.6


[gentoo-user] help with dependency conflict:

2015-06-12 Thread Valmor de Almeida
Hello,

After a recent portage update I get the list of conflicts below.
Inputs on how to resolve them would be greatly appreciated.

Thanks,

--
Valmor



- USE='-dso perl dbus xetex' emerge  -vp --update --newuse --tree --deep
--with-bdeps=y @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency
conflict:

dev-haskell/text:0

  (dev-haskell/text-1.1.1.3:0/1.1.1.3::gentoo, ebuild scheduled for merge)
conflicts with
=dev-haskell/text-0.3:0/0.11.3.1= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
  
dev-haskell/text-0.12:0/0.11.3.1= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
^ 
dev-haskell/text-0.12:= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
^ 
dev-haskell/text-0.12:0/0.11.3.1= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
^ 
=dev-haskell/text-0.11:0/0.11.3.1= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
   
dev-haskell/text-1.1:= required by
(dev-haskell/blaze-html-0.6.1.2:0/0.6.1.2::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
^ ^^^


Re: [gentoo-user] help with dependency conflict:

2015-06-12 Thread Valmor de Almeida
No I did not any messages. The bottom of the output was

dev-haskell/text-0.12:= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
^ 
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
^ ^^^
=dev-haskell/text-0.2:0/0.11.3.1= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
  
=dev-haskell/text-0.10:0/0.11.3.1= required by
(dev-haskell/blaze-markup-0.5.1.6:0/0.5.1.6::gentoo, installed)
   
dev-haskell/text-0.12:0/0.11.3.1= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
^ 
dev-haskell/text-1.1:= required by
(dev-haskell/blaze-markup-0.5.1.6:0/0.5.1.6::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:= required by
(dev-haskell/blaze-html-0.6.1.2:0/0.6.1.2::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/semigroups-0.12.1:0/0.12.1::gentoo, installed)
^ ^^^

sys-fs/udev:0

  (sys-fs/udev-216:0/0::gentoo, ebuild scheduled for merge) conflicts with
=sys-fs/udev-208-r1:0/0[abi_x86_64(-),gudev(-)] required by
(virtual/libgudev-215-r3:0/0::gentoo, installed)



Nothing to merge; quitting.


I did try your suggestion with backtrack option and the output is reversed
but the same problem... I am wondering about the udev conflict...

Thanks for the help.

--
Valmor



- USE='-dso perl dbus xetex' emerge  --backtrack=30 --update --newuse
--tree --deep --with-bdeps=y @world

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

Calculating dependencies... done!

WARNING: One or more updates/rebuilds have been skipped due to a dependency
conflict:

sys-fs/udev:0

  (sys-fs/udev-216:0/0::gentoo, ebuild scheduled for merge) conflicts with
=sys-fs/udev-208-r1:0/0[abi_x86_64(-),gudev(-)] required by
(virtual/libgudev-215-r3:0/0::gentoo, installed)


dev-haskell/text:0

  (dev-haskell/text-1.1.1.3:0/1.1.1.3::gentoo, ebuild scheduled for merge)
conflicts with
=dev-haskell/text-0.3:0/0.11.3.1= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
  
dev-haskell/text-1.1:= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:= required by
(dev-haskell/semigroups-0.12.1:0/0.12.1::gentoo, installed)
^ ^^^
=dev-haskell/text-0.10:0/0.11.3.1= required by
(dev-haskell/blaze-markup-0.5.1.6:0/0.5.1.6::gentoo, installed)
   
dev-haskell/text-1.1:= required by
(dev-haskell/blaze-html-0.6.1.2:0/0.6.1.2::gentoo, installed)
^ ^^^
dev-haskell/text-0.12:= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
^ 
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/blaze-markup-0.5.1.6:0/0.5.1.6::gentoo, installed)
^ ^^^
dev-haskell/text-0.12:= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
^ 
=dev-haskell/text-0.10:0/0.11.3.1= required by
(dev-haskell/semigroups-0.12.1:0/0.12.1::gentoo, installed)
   
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/semigroups-0.12.1:0/0.12.1::gentoo, installed)
^ ^^^
=dev-haskell/text-0.11:0/0.11.3.1= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
   
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/blaze-html-0.6.1.2:0/0.6.1.2::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:= required by
(dev-haskell/blaze-markup-0.5.1.6:0/0.5.1.6::gentoo, installed)
^ ^^^
dev-haskell/text-1.1:0/0.11.3.1= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
^ ^^^
dev-haskell/text-0.12:0/0.11.3.1= required by
(app-text/pandoc-1.12.1:0/1.12.1::gentoo, installed)
^ 
=dev-haskell/text-0.2:0/0.11.3.1= required by
(dev-haskell/parsec-3.1.4:0/3.1.4::gentoo, installed)
  
dev-haskell/text-0.12:0/0.11.3.1= required by
(dev-haskell/case-insensitive-1.0.0.2:0/1.0.0.2::gentoo, installed)
^ 
=dev-haskell/text-0.10:0/0.11.3.1= required by
(dev-haskell/blaze-html-0.6.1.2:0/0.6.1.2::gentoo, installed)
   


Nothing to merge; quitting.

On Fri, Jun 12, 2015 at 3:22 AM, Marc Joliet mar...@gmx.de wrote:

 Am Fri, 12 Jun 2015 02:09:11 -0400
 schrieb Valmor de Almeida val.gen...@gmail.com:

  Hello,
 
  After a recent portage update I get the list of conflicts below.
  Inputs

[gentoo-user] FIXED: Re: Failed to emerge dev-python/pytables-3.0.0

2014-10-14 Thread Valmor de Almeida
On Tue, Oct 14, 2014 at 1:53 AM, Valmor de Almeida val.gen...@gmail.com
wrote:


 Hello,
 On a recent portage update, I tried to emerge pytables-3.0.0 and the error:

  * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
  * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
 /usr/bin/python3.3 setup.py build
 /usr/bin/python2.7 setup.py build
 * Using Python 2.7.7 (default, Oct 12 2014, 17:42:53)
 * Found numpy 1.8.0 package installed.
 * Found numexpr 2.2.2 package installed.
 .. ERROR:: You need Cython 0.13 or greater to compile PyTables!
  * ERROR: dev-python/pytables-3.0.0::gentoo failed (compile phase):

 is confusing since Cython is installed with version greater than 0.13

 - cython -V
 Cython version 0.21

 or

 - emerge --search cython
 Searching...
 [ Results for search key : cython ]
 [ Applications found : 1 ]

 *  dev-python/cython
   Latest version available: 0.21
   Latest version installed: 0.21
   Size of files: 1,455 kB
   Homepage:  http://www.cython.org/
 http://pypi.python.org/pypi/Cython
   Description:   A Python to C compiler
   License:   Apache-2.0

 Any inputs appreciated.

 Thanks,

 --
 Valmor


This Gentoo bug was helpful

https://bugs.gentoo.org/show_bug.cgi?id=523166

I moved to pytables-3.1.1 (unstable) and it compiles.

--
Valmor


[gentoo-user] Failed to emerge dev-python/pytables-3.0.0

2014-10-13 Thread Valmor de Almeida
Hello,
On a recent portage update, I tried to emerge pytables-3.0.0 and the error:

 * python3_3: running distutils-r1_run_phase distutils-r1_python_compile
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.3 setup.py build
/usr/bin/python2.7 setup.py build
* Using Python 2.7.7 (default, Oct 12 2014, 17:42:53)
* Found numpy 1.8.0 package installed.
* Found numexpr 2.2.2 package installed.
.. ERROR:: You need Cython 0.13 or greater to compile PyTables!
 * ERROR: dev-python/pytables-3.0.0::gentoo failed (compile phase):

is confusing since Cython is installed with version greater than 0.13

- cython -V
Cython version 0.21

or

- emerge --search cython
Searching...
[ Results for search key : cython ]
[ Applications found : 1 ]

*  dev-python/cython
  Latest version available: 0.21
  Latest version installed: 0.21
  Size of files: 1,455 kB
  Homepage:  http://www.cython.org/
http://pypi.python.org/pypi/Cython
  Description:   A Python to C compiler
  License:   Apache-2.0

Any inputs appreciated.

Thanks,

--
Valmor


Re: [gentoo-user] grub2 upgrade not working

2013-11-24 Thread Valmor de Almeida
On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov negai...@gmail.com wrote:

 On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
  No I have not touched any of the grub files. On my kernel boot line
 above I
  do use  dolvm. Will check on that though.

 Of course it won't boot then.
 GRUB 2 does not use grub.conf anymore.
 It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
 mkconfig command, you have to edit the parameters in /etc/default/grub.

 Did edit the new /etc/default/grub:

GRUB_CMDLINE_LINUX=dolvm

Still no booting. Hangs on loading the initial ramdisk ...
I can boot using systemrescuecd. Unfortunately I finalized the install of
grub2 and no longer have grub legacy installed. I regret that. Also, before
I finalized the grub2 install I tested the initramfs with grub legacy and
it worked. There were two new issues I addressed in this recent portage
sync. One was the use of a initramfs because my / and /usr are not in the
same filesystem. /usr is actually under lvm control. I created a initramfs
with genkernel (--lvm option) and as I stated earlier it worked with grub
legacy. So the problem is grub2 configuration at this point.

Thanks for any help including info on how to go back to grub legacy if
necessary.

Best,

--
Valmor


Re: [gentoo-user] grub2 upgrade not working

2013-11-24 Thread Valmor de Almeida
On Sun, Nov 24, 2013 at 3:32 PM, Valmor de Almeida val.gen...@gmail.comwrote:

 On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov negai...@gmail.com wrote:

 On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
  No I have not touched any of the grub files. On my kernel boot line
 above I
  do use  dolvm. Will check on that though.

 Of course it won't boot then.
 GRUB 2 does not use grub.conf anymore.
 It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
 mkconfig command, you have to edit the parameters in /etc/default/grub.

 Did edit the new /etc/default/grub:

 GRUB_CMDLINE_LINUX=dolvm

 Still no booting. Hangs on loading the initial ramdisk ...
 I can boot using systemrescuecd. Unfortunately I finalized the install of
 grub2 and no longer have grub legacy installed. I regret that. Also, before
 I finalized the grub2 install I tested the initramfs with grub legacy and
 it worked. There were two new issues I addressed in this recent portage
 sync. One was the use of a initramfs because my / and /usr are not in the
 same filesystem. /usr is actually under lvm control. I created a initramfs
 with genkernel (--lvm option) and as I stated earlier it worked with grub
 legacy. So the problem is grub2 configuration at this point.

 Thanks for any help including info on how to go back to grub legacy if
 necessary.

 Best,

 --
 Valmor



Does anyone know whether there is a place I can look for error messages?
still no luck on booting with grub2.

Thanks,

--
Valmor


[gentoo-user] grub2 upgrade not working

2013-11-23 Thread Valmor de Almeida
Hello,
I have been searching the web for help on this but no luck.
I have just upgraded from grub legacy to grub2. Followed the gentoo docs
and grub2 will not boot. It hangs in the beginning with the messages:

Loading Linux 3.10.17-gentoo ...
Loading initial ramdisk ...

Here is the section I try to run on my grub.conf

root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda3 dolvm
initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo

I used genkernel to create the initramfs using the options: --lvm
--disklabel --firmware --no-ramdisk-modules. The system booted using the
old grub legacy.

I would be also interested in information on how to completely wipe out
grub2 from my system and go back to grub legacy.

Thank you for your help.

--
Valmor


Re: [gentoo-user] grub2 upgrade not working

2013-11-23 Thread Valmor de Almeida
On Sat, Nov 23, 2013 at 11:05 PM, William Kenworthy bi...@iinet.net.auwrote:

 On 24/11/13 10:06, Valmor de Almeida wrote:
  Hello,
  I have been searching the web for help on this but no luck.
  I have just upgraded from grub legacy to grub2. Followed the gentoo docs
  and grub2 will not boot. It hangs in the beginning with the messages:
 
  Loading Linux 3.10.17-gentoo ...
  Loading initial ramdisk ...
 
  Here is the section I try to run on my grub.conf
 
  root (hd0,0)
  kernel /boot/vmlinuz root=/dev/sda3 dolvm
  initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo
 
  I used genkernel to create the initramfs using the options: --lvm
  --disklabel --firmware --no-ramdisk-modules. The system booted using the
  old grub legacy.
 
  I would be also interested in information on how to completely wipe out
  grub2 from my system and go back to grub legacy.
 
  Thank you for your help.
 
  --
  Valmor
 

 sadly most of my systems didnt work first time either though I am slowly
 working through the issues.

 Did you add the dolvm stuff to /etc/default/grub?


No I have not touched any of the grub files. On my kernel boot line above I
do use  dolvm. Will check on that though.



 Mine is (one liner):
 GRUB_CMDLINE_LINUX='memmap=1M\$157M dolvm i915.modeset=1
 enable_mtrr_cleanup=1 zcache resume=/dev/sdb1'


Thanks.
--
Valmor



 Did you get any errors with either of:

 grub2-install /dev/sda
 grub2-mkconfig -o /boot/grub/grub.cfg


Nope. No errors. All clean.



 I would also really wish that there was a simple grub and complex grub2
 for the masochists rather than just torturing everyone :)

 BillK






Re: [gentoo-user] Multiple package instances within a single package slot

2013-03-06 Thread Valmor de Almeida
On Wed, Mar 6, 2013 at 1:39 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 06/03/2013 01:21, Valmor de Almeida wrote:
 Hello,

 I would appreciate help with this multiple-packages-in-a-single slot
 problem. In the past I have unistalled packages and reinstalled on a
 case-by-case basis and dealt with the fall out manually. I wonder
 whether there is a more efficient way of doing it.

 Thanks,

 --
 Valmor


 - USE=libkms cups apng minizip hwdb emerge -vp --newuse --tree
 --update --deep system

   ^^

 Don't do that, rather run it on world; or you could do emerge -pv
 @system Modern portage versions deal with these blockers automatically,
 but they need the whole dependency graph to do it. There's no much point
 in trying to deal with system and world independently anyway, system
 isn't something magical, it's nothing more than a minimum collection of
 packages that Gentoo can still run on, a mere list.

Thanks for the info. Did it on world and got

-
- USE=pulseaudio sqlite libkms cups apng minizip hwdb emerge -vp
--newuse --tree --update --deep world

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

[snip]

[blocks B  ]  sys-fs/udev-186 (sys-fs/udev-186 is blocking
sys-fs/udev-init-scripts-23)
[blocks B  ]  sys-apps/sysvinit-2.88-r4
(sys-apps/sysvinit-2.88-r4 is blocking sys-apps/util-linux-2.22.2)

Total: 126 packages (91 upgrades, 12 new, 6 in new slots, 17
reinstalls, 1 uninstall), Size of downloads: 989,597 kB
Conflict: 7 blocks


I have udev-171 at the moment and I have read and followed the
instructions in the eselect news for the udev upgrade. I would
appreciate any pointers on how to deal with this particular blocking.

Thanks,

--
Valmor


 -ND to rebuild system doesn't get you anything extra and usually wants
 to evaluate half of world as well (usually due to USE=X)

 You update system if you want to guarantee yourself a consistent
 toolchain after a gcc or glibc update, or just prior to emerge -e world




 [snip]

 [blocks B  ]  sys-apps/sysvinit-2.88-r4
 (sys-apps/sysvinit-2.88-r4 is blocking sys-apps/util-linux-2.22.2)
 [blocks B  ] sys-fs/udev-186 (sys-fs/udev-186 is blocking
 sys-fs/udev-init-scripts-23)
 [blocks B  ] sys-fs/lvm2-2.02.97-r1 (sys-fs/lvm2-2.02.97-r1 is
 blocking sys-fs/udev-197-r8)

 !!! Multiple package instances within a single package slot have been pulled
 !!! into the dependency graph, resulting in a slot conflict:

 x11-base/xorg-server:0

   (x11-base/xorg-server-1.12.4::gentoo, installed) pulled in by
 x11-base/xorg-server-1.12.99[-minimal] required by
 (x11-drivers/xf86-video-virtualbox-4.1.22::gentoo, installed)
 (and 1 more with the same problem)

   (x11-base/xorg-server-1.13.1::gentoo, ebuild scheduled for merge) pulled 
 in by
 (no parents that aren't satisfied by other packages in this slot)

 virtual/udev:0

   (virtual/udev-171::gentoo, installed) pulled in by
 virtual/udev-196 required by (sys-fs/lvm2-2.02.88::gentoo, installed)

   (virtual/udev-197-r1::gentoo, ebuild scheduled for merge) pulled in by
 =virtual/udev-197-r1 required by (sys-fs/udev-197-r8::gentoo,
 ebuild scheduled for merge)
 =virtual/udev-197-r1 required by
 (sys-apps/util-linux-2.22.2::gentoo, ebuild scheduled for merge)
 (and 11 more with the same problems)

 sys-fs/udev:0

   (sys-fs/udev-171-r9::gentoo, installed) pulled in by
 ~sys-fs/udev-171[gudev?,hwdb?,introspection?,keymap?,selinux?]
 required by (virtual/udev-171::gentoo, installed)

   (sys-fs/udev-197-r8::gentoo, ebuild scheduled for merge) pulled in by
 
 =sys-fs/udev-197-r8[gudev?,hwdb?,introspection?,keymap?,kmod?,selinux?,static-libs?]
 required by (virtual/udev-197-r1::gentoo, ebuild scheduled for merge)

 x11-drivers/xf86-video-virtualbox:0

   (x11-drivers/xf86-video-virtualbox-4.1.24::gentoo, ebuild scheduled
 for merge) pulled in by
 (no parents that aren't satisfied by other packages in this slot)

   (x11-drivers/xf86-video-virtualbox-4.1.22::gentoo, installed) pulled in by
 ~x11-drivers/xf86-video-virtualbox-4.1.22 required by
 (app-emulation/virtualbox-guest-additions-4.1.22::gentoo, installed)



 --
 Alan McKinnon
 alan.mckin...@gmail.com





[gentoo-user] Multiple package instances within a single package slot

2013-03-05 Thread Valmor de Almeida
Hello,

I would appreciate help with this multiple-packages-in-a-single slot
problem. In the past I have unistalled packages and reinstalled on a
case-by-case basis and dealt with the fall out manually. I wonder
whether there is a more efficient way of doing it.

Thanks,

--
Valmor


- USE=libkms cups apng minizip hwdb emerge -vp --newuse --tree
--update --deep system

[snip]

[blocks B  ]  sys-apps/sysvinit-2.88-r4
(sys-apps/sysvinit-2.88-r4 is blocking sys-apps/util-linux-2.22.2)
[blocks B  ] sys-fs/udev-186 (sys-fs/udev-186 is blocking
sys-fs/udev-init-scripts-23)
[blocks B  ] sys-fs/lvm2-2.02.97-r1 (sys-fs/lvm2-2.02.97-r1 is
blocking sys-fs/udev-197-r8)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.12.4::gentoo, installed) pulled in by
x11-base/xorg-server-1.12.99[-minimal] required by
(x11-drivers/xf86-video-virtualbox-4.1.22::gentoo, installed)
(and 1 more with the same problem)

  (x11-base/xorg-server-1.13.1::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

virtual/udev:0

  (virtual/udev-171::gentoo, installed) pulled in by
virtual/udev-196 required by (sys-fs/lvm2-2.02.88::gentoo, installed)

  (virtual/udev-197-r1::gentoo, ebuild scheduled for merge) pulled in by
=virtual/udev-197-r1 required by (sys-fs/udev-197-r8::gentoo,
ebuild scheduled for merge)
=virtual/udev-197-r1 required by
(sys-apps/util-linux-2.22.2::gentoo, ebuild scheduled for merge)
(and 11 more with the same problems)

sys-fs/udev:0

  (sys-fs/udev-171-r9::gentoo, installed) pulled in by
~sys-fs/udev-171[gudev?,hwdb?,introspection?,keymap?,selinux?]
required by (virtual/udev-171::gentoo, installed)

  (sys-fs/udev-197-r8::gentoo, ebuild scheduled for merge) pulled in by

=sys-fs/udev-197-r8[gudev?,hwdb?,introspection?,keymap?,kmod?,selinux?,static-libs?]
required by (virtual/udev-197-r1::gentoo, ebuild scheduled for merge)

x11-drivers/xf86-video-virtualbox:0

  (x11-drivers/xf86-video-virtualbox-4.1.24::gentoo, ebuild scheduled
for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

  (x11-drivers/xf86-video-virtualbox-4.1.22::gentoo, installed) pulled in by
~x11-drivers/xf86-video-virtualbox-4.1.22 required by
(app-emulation/virtualbox-guest-additions-4.1.22::gentoo, installed)



[gentoo-user] does texlive-2012 have the media9 macro?

2012-12-22 Thread Valmor de Almeida
Hello,

I have texlive-2011 installed into my gentoo version at the moment
(recent portage updated) and the latex media9 macro is not there. I
could use the ~amd64 keyword to get the unstable version 2012 of
texlive emerged but before I try that I am wondering how do I find out
whether media9 is included in the newer texlive-2012.

Thanks for your help.

--
Valmor



Re: [gentoo-user] Re: does texlive-2012 have the media9 macro?

2012-12-22 Thread Valmor de Almeida
On Sat, Dec 22, 2012 at 12:40 PM, Nikos Chantziaras rea...@gmail.com wrote:
 On 22/12/12 19:32, Valmor de Almeida wrote:

 Hello,

 I have texlive-2011 installed into my gentoo version at the moment
 (recent portage updated) and the latex media9 macro is not there. I
 could use the ~amd64 keyword to get the unstable version 2012 of
 texlive emerged but before I try that I am wondering how do I find out
 whether media9 is included in the newer texlive-2012.


 I'm on texlive-2012, and dev-texlive/texlive-latexextra-2012 seems to have
 it:

   /usr/share/texmf-dist/tex/latex/media9/media9.sty



Thanks for all the replies. Yes emerged the 2012 and got it.

--
Valmor



Re: [gentoo-user] libreoffice: don't know how to handle video

2012-09-24 Thread Valmor de Almeida

On 9/24/12 3:17 AM, Yohan Pereira wrote:

On 23/09/12 at 09:20pm, Valmor de Almeida wrote:

Has anyone been able to insert and play movies in libreoffice?


Hi,

I have libreoffice-bin installed and I can insert video files into
presentations. I tried a few random files that were lying arround (mp4,
flv etc) and they all work.

Do you have the appropriate gstreamer plugins installed ?
have a look at the media-plugins/gst-plugins-meta package.



No I don't have that installed. I thought that the gstreamer USE flag in 
libreoffice would take care of all gstreamer dependencies. Also I don't 
use libreoffice-bin. I have been emerging libreoffice. Will emerge the 
plugins. Do you think I need to reemerge libreoffice after emerging 
gst-plugins-meta?


Thanks,

--
Valmor



Re: [gentoo-user] libreoffice: don't know how to handle video

2012-09-24 Thread Valmor de Almeida

On 9/24/12 3:40 PM, Yohan Pereira wrote:

On 24/09/12 at 11:24am, Valmor de Almeida wrote:

Do you think I need to reemerge libreoffice after emerging
gst-plugins-meta?


Nope. Gstreamer detects plug-ins on the fly. You can run revdep-rebuild
to make sure.


I emerged gst-plugins-meta with various USE flags and movie insertion in 
libreoffice works now.


Thank you.

--
Valmor



[gentoo-user] libreoffice: don't know how to handle video

2012-09-23 Thread Valmor de Almeida
Hello,

I have emerged libreoffice with the USE flags below and still the
Insert-Movie and Sounds does not import any movies I tried (formats):
avi, mpg, ogg.
Every movie I tried plays fine with vlc on my machine.

Has anyone been able to insert and play movies in libreoffice?

Thanks,

--
Valmor



- equery uses libreoffice
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for app-office/libreoffice-3.5.6.2:
 U I
 - - binfilter  : Enable support for legacy StarOffice 5.x and earlier file
  formats
 - - binfilterdebug : Generate debug info for binfilter code (not recommended,
  huge files result)
 + + branding   : Enable Gentoo specific branding
 + + cups   : Add support for CUPS (Common Unix Printing System)
 - - dbus   : Enable dbus support for anything that needs it (gpsd,
  gnomemeeting, etc)
 - - eds: Enables support for Evolution-Data-Server (EDS)
 - - gnome  : Adds GNOME support
 + + graphite   : Enable support for non-Roman fonts via media-gfx/graphite2
 + + gstreamer  : Adds support for media-libs/gstreamer (Streaming media)
 + + gtk: Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + java   : Adds support for Java
 - - jemalloc   : Use dev-libs/jemalloc for allocations
 - - kde: Adds support for KDE (K Desktop Environment)
 - - mysql  : Adds mySQL Database support
 - - nlpsolver  : Build extension for non-linear solving in calc
 + + nsplugin   : Build plugin for browsers supporting the Netscape plugin
  architecture (that is almost any modern browser)
 - - odk: Build the Office Development Kit
 + + opengl : Adds support for OpenGL (3D graphics)
 - - pdfimport  : Build pdf-import extension using app-text/poppler. Note
  that you don't need this for pdf-export!
 - - postgres   : Adds support for the postgresql database
 + + svg: Adds support for SVG (Scalable Vector Graphics)
 - - test   : Workaround to pull in packages needed to run with
  FEATURES=test. Portage-2.1.2 handles this internally, so
  don't set it in make.conf/package.use anymore
 + + vba: Enable support for VBA compatibility and ActiveX embedding
 + + webdav : Adds support for HTTP content adding via net-libs/neon
 + + xmlsec : Adds support for document signing using internal modified
  dev-libs/xmlsec and system dev-libs/nss



SOLVED Re: [gentoo-user] wicd setup on a virtualbox gentoo guest

2012-06-26 Thread Valmor de Almeida

On 6/25/12 6:01 PM, Neil Bothwick wrote:

On Mon, 25 Jun 2012 11:20:42 -0400, Valmor de Almeida wrote:


udev persistent rules strike again


The contents of /var/log/wicd/wicd.log below do indicate a mess up
with eth1 and eth0. Any idea on how to fix this?


Yep. All I needed to do was to change the wired interface from eth0 to
eth1 in the preferences of wicd-client -n and it works. So the
question is, why do I have eth1 and not eth0 and how do I set up eth0
instead? Is dhcpcd involved in this?


No, it's udev persistent rules. eth0 has already been assigned to a
different MAC address, so this one gets eth1.

Delete /etc/udev/rules.d/70-persistent-net.rules to go back to eth0.



Thanks. That did it.

--
Valmor




Re: [gentoo-user] wicd setup on a virtualbox gentoo guest

2012-06-25 Thread Valmor de Almeida
On 6/24/12 7:24 PM, Alan McKinnon wrote:
 On Sun, 24 Jun 2012 19:04:25 -0400
 Valmor de Almeida val.gen...@gmail.com wrote:


 Hello,

 I am having a hard time getting wicd to work on gentoo guest. Thought
 that it was a simple matter of emerge and run wicd-client -n to
 configure. I have compiled the correct ethernet driver in the kernel
 (at least I think so).

 What driver is that?

The vbox emulates this adapter
Intel PRO/1000 MT Desktop (8254OEM)

In the kernel 3.3.8-gentoo I compiled the

   Intel(R) PRO/1000 Gigabit Ethernet Support

I compiled directly into the kernel. If I had used a module the module
name would have been e1000.


 Does anyone have some experience with this or
 could point me to diagnostic approaches?

 What have you already tried (so we don't waste our time trying the same
 thing)

 The output of ifconfig -a
 follows below.

 dmesg? /var/log/messages?

dmesg shows

[0.576506] e1000: Intel(R) PRO/1000 Network Driver - version
7.3.21-k8-NAPI
[0.577602] e1000: Copyright (c) 1999-2006 Intel Corporation.
[0.579200] e1000 :00:03.0: setting latency timer to 64

[1.071183] e1000 :00:03.0: eth0: (PCI:33MHz:32-bit)
08:00:27:96:75:25
[1.071949] e1000 :00:03.0: eth0: Intel(R) PRO/1000 Network
Connection

and there is nothing helpful in /var/log/messages


 Don't know why eth1 and not eth0 is there.

 udev persistent rules strike again

The contents of /var/log/wicd/wicd.log below do indicate a mess up
with eth1 and eth0. Any idea on how to fix this?

Thanks,

--
Valmor

/var/log/wicd/wicd.log

2012/06/25 14:15:06 :: ---
2012/06/25 14:15:06 :: wicd initializing...
2012/06/25 14:15:06 :: ---
2012/06/25 14:15:06 :: wicd is version 1.7.2.1 755
2012/06/25 14:15:06 :: setting backend to external
2012/06/25 14:15:06 :: trying to load backend external
2012/06/25 14:15:06 :: successfully loaded backend external
2012/06/25 14:15:06 :: trying to load backend external
2012/06/25 14:15:06 :: successfully loaded backend external
2012/06/25 14:15:06 :: Couldn't detect a wireless interface.
2012/06/25 14:15:06 :: setting wireless interface wlan0
2012/06/25 14:15:06 :: automatically detected wired interface eth1
2012/06/25 14:15:06 :: setting wired interface eth0
2012/06/25 14:15:06 :: setting wpa driver wext
2012/06/25 14:15:06 :: setting use global dns to False
2012/06/25 14:15:06 :: setting global dns
2012/06/25 14:15:06 :: global dns servers are None None None
2012/06/25 14:15:06 :: domain is None
2012/06/25 14:15:06 :: search domain is None
2012/06/25 14:15:06 :: setting automatically reconnect when connection
drops True
2012/06/25 14:15:06 :: Setting dhcp client to 0
2012/06/25 14:15:06 :: Wireless configuration file found...
2012/06/25 14:15:06 :: Wired configuration file found...
2012/06/25 14:15:06 :: chmoding configuration files 0600...
2012/06/25 14:15:06 :: chowning configuration files root:root...
2012/06/25 14:15:06 :: Using wireless interface...wlan0
2012/06/25 14:15:06 :: Using wired interface...eth0
2012/06/25 10:15:13 :: Autoconnecting...
2012/06/25 10:15:13 :: No wired connection present, attempting to
autoconnect to wireless network
2012/06/25 10:15:13 :: Unable to autoconnect, you'll have to manually connect
2012/06/25 10:15:18 :: Autoconnecting...
[snip]



 The HWaddr
 is correctly obtained from the vbox.

 Your information supplied is not enough to really help you solve this
 problem.



 Thanks,

 --
 Valmor

 ifconfig -a

 eth1  Link encap:Ethernet  HWaddr 08:00:27:96:75:25
 BROADCAST MULTICAST  MTU:1500  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 sit0  Link encap:IPv6-in-IPv4
 NOARP  MTU:1480  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)








Re: [gentoo-user] wicd setup on a virtualbox gentoo guest

2012-06-25 Thread Valmor de Almeida
On Mon, Jun 25, 2012 at 10:45 AM, Valmor de Almeida
val.gen...@gmail.com wrote:
 On 6/24/12 7:24 PM, Alan McKinnon wrote:
 On Sun, 24 Jun 2012 19:04:25 -0400
 Valmor de Almeida val.gen...@gmail.com wrote:


 Hello,

 I am having a hard time getting wicd to work on gentoo guest. Thought
 that it was a simple matter of emerge and run wicd-client -n to
 configure. I have compiled the correct ethernet driver in the kernel
 (at least I think so).

 What driver is that?

 The vbox emulates this adapter
    Intel PRO/1000 MT Desktop (8254OEM)

 In the kernel 3.3.8-gentoo I compiled the

   Intel(R) PRO/1000 Gigabit Ethernet Support

 I compiled directly into the kernel. If I had used a module the module
 name would have been e1000.


 Does anyone have some experience with this or
 could point me to diagnostic approaches?

 What have you already tried (so we don't waste our time trying the same
 thing)

 The output of ifconfig -a
 follows below.

 dmesg? /var/log/messages?

 dmesg shows

 [    0.576506] e1000: Intel(R) PRO/1000 Network Driver - version
 7.3.21-k8-NAPI
 [    0.577602] e1000: Copyright (c) 1999-2006 Intel Corporation.
 [    0.579200] e1000 :00:03.0: setting latency timer to 64

 [    1.071183] e1000 :00:03.0: eth0: (PCI:33MHz:32-bit)
 08:00:27:96:75:25
 [    1.071949] e1000 :00:03.0: eth0: Intel(R) PRO/1000 Network
 Connection

 and there is nothing helpful in /var/log/messages


 Don't know why eth1 and not eth0 is there.

 udev persistent rules strike again

 The contents of /var/log/wicd/wicd.log below do indicate a mess up
 with eth1 and eth0. Any idea on how to fix this?

Yep. All I needed to do was to change the wired interface from eth0 to
eth1 in the preferences of wicd-client -n and it works. So the
question is, why do I have eth1 and not eth0 and how do I set up eth0
instead? Is dhcpcd involved in this?

Thanks,

--
Valmor


 Thanks,

 --
 Valmor

 /var/log/wicd/wicd.log

 2012/06/25 14:15:06 :: ---
 2012/06/25 14:15:06 :: wicd initializing...
 2012/06/25 14:15:06 :: ---
 2012/06/25 14:15:06 :: wicd is version 1.7.2.1 755
 2012/06/25 14:15:06 :: setting backend to external
 2012/06/25 14:15:06 :: trying to load backend external
 2012/06/25 14:15:06 :: successfully loaded backend external
 2012/06/25 14:15:06 :: trying to load backend external
 2012/06/25 14:15:06 :: successfully loaded backend external
 2012/06/25 14:15:06 :: Couldn't detect a wireless interface.
 2012/06/25 14:15:06 :: setting wireless interface wlan0
 2012/06/25 14:15:06 :: automatically detected wired interface eth1
 2012/06/25 14:15:06 :: setting wired interface eth0
 2012/06/25 14:15:06 :: setting wpa driver wext
 2012/06/25 14:15:06 :: setting use global dns to False
 2012/06/25 14:15:06 :: setting global dns
 2012/06/25 14:15:06 :: global dns servers are None None None
 2012/06/25 14:15:06 :: domain is None
 2012/06/25 14:15:06 :: search domain is None
 2012/06/25 14:15:06 :: setting automatically reconnect when connection
 drops True
 2012/06/25 14:15:06 :: Setting dhcp client to 0
 2012/06/25 14:15:06 :: Wireless configuration file found...
 2012/06/25 14:15:06 :: Wired configuration file found...
 2012/06/25 14:15:06 :: chmoding configuration files 0600...
 2012/06/25 14:15:06 :: chowning configuration files root:root...
 2012/06/25 14:15:06 :: Using wireless interface...wlan0
 2012/06/25 14:15:06 :: Using wired interface...eth0
 2012/06/25 10:15:13 :: Autoconnecting...
 2012/06/25 10:15:13 :: No wired connection present, attempting to
 autoconnect to wireless network
 2012/06/25 10:15:13 :: Unable to autoconnect, you'll have to manually connect
 2012/06/25 10:15:18 :: Autoconnecting...
 [snip]



 The HWaddr
 is correctly obtained from the vbox.

 Your information supplied is not enough to really help you solve this
 problem.



 Thanks,

 --
 Valmor

 ifconfig -a

 eth1      Link encap:Ethernet  HWaddr 08:00:27:96:75:25
             BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 lo        Link encap:Local Loopback
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:16436  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 sit0      Link encap:IPv6-in-IPv4
             NOARP  MTU:1480  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)








[gentoo-user] wicd setup on a virtualbox gentoo guest

2012-06-24 Thread Valmor de Almeida


Hello,

I am having a hard time getting wicd to work on gentoo guest. Thought 
that it was a simple matter of emerge and run wicd-client -n to 
configure. I have compiled the correct ethernet driver in the kernel (at 
least I think so). Does anyone have some experience with this or could 
point me to diagnostic approaches? The output of ifconfig -a follows 
below. Don't know why eth1 and not eth0 is there. The HWaddr is 
correctly obtained from the vbox.


Thanks,

--
Valmor

ifconfig -a

eth1  Link encap:Ethernet  HWaddr 08:00:27:96:75:25
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0  Link encap:IPv6-in-IPv4
  NOARP  MTU:1480  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)




Re: [gentoo-user] hard drive encryption

2012-03-13 Thread Valmor de Almeida
On 03/11/2012 02:29 PM, Florian Philipp wrote:
 Am 11.03.2012 16:38, schrieb Valmor de Almeida:

 Hello,

 I have not looked at encryption before and find myself in a situation
 that I have to encrypt my hard drive. I keep /, /boot, and swap outside
 LVM, everything else is under LVM. I think all I need to do is to
 encrypt /home which is under LVM. I use reiserfs.

 I would appreciate suggestion and pointers on what it is practical and
 simple in order to accomplish this task with a minimum of downtime.

 Thanks,

 --
 Valmor

 
 
 Is it acceptable for you to have a commandline prompt for the password
 when booting? In that case you can use LUKS with the /etc/init.d/dmcrypt

I think so.

 init script. /etc/conf.d/dmcrypt should contain some examples. As you
 want to encrypt an LVM volume, the lvm init script needs to be started
 before this. As I see it, there is no strict dependency between those
 two scripts. You can add this by adding this line to /etc/rc.conf:
 rc_dmcrypt_after=lvm
 
 For creating a LUKS-encrypted volume, look at
 http://en.gentoo-wiki.com/wiki/DM-Crypt

Currently looking at this.

 
 You won't need most of what is written there; just section 9,
 Administering LUKS and the kernel config in section 2, Assumptions.
 
 Concerning downtime, I'm not aware of any solution that avoids copying
 the data over to the new volume. If downtime is absolutely critical, ask
 and we can work something out that minimizes the time.
 
 Regards,
 Florian Philipp
 

Since I am planning to encrypt only home/ under LVM control, what kind
of overhead should I expect?

Thanks,

--
Valmor




[gentoo-user] hard drive encryption

2012-03-11 Thread Valmor de Almeida

Hello,

I have not looked at encryption before and find myself in a situation
that I have to encrypt my hard drive. I keep /, /boot, and swap outside
LVM, everything else is under LVM. I think all I need to do is to
encrypt /home which is under LVM. I use reiserfs.

I would appreciate suggestion and pointers on what it is practical and
simple in order to accomplish this task with a minimum of downtime.

Thanks,

--
Valmor



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 03:21 PM, Neil Bothwick wrote:
 On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:
 
 for this particular install. The ethernet card is Broadcom NetXtreme
 BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
 kernel. All works but as I said, wicd does work from boot. After logging
 in I need to get an IP address manually.
 
 What happens if you try to connect from the Wicd client after booting?
 
 
I tried

 - wicd-cli --wired
 No operation peformed.

So no luck there.

As soon as I do a manual

 dhcpcd eth0

I get an IP address and all work.

I don't have wireless working yet; need to check on the driver (wireless
is also broadcom). So

  wicd-client -n

finds no wireless network.

Thanks,

--
Valmor



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 05:19 PM, Mick wrote:
 On Sunday 23 Oct 2011 21:01:23 Valmor de Almeida wrote:
 On 10/23/2011 03:21 PM, Neil Bothwick wrote:
 On Sat, 22 Oct 2011 17:51:11 -0400, Valmor de Almeida wrote:
 for this particular install. The ethernet card is Broadcom NetXtreme
 BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
 kernel. All works but as I said, wicd does work from boot. After logging
 in I need to get an IP address manually.

 What happens if you try to connect from the Wicd client after booting?

 I tried

  - wicd-cli --wired
  No operation peformed.

 So no luck there.

 As soon as I do a manual

  dhcpcd eth0

 I get an IP address and all work.
 
 I assume you have no ifplugd installed - but from what I undestand wicd works 
 in a similar fashion (i.e. it runs dhcpcd) - so I can't really explain this.

Correct. I don't have ifplugd.

 
 What do you get in /var/log/messages when you run /etc/init.d/net.eth0 start. 
  
 It should start dhcpcd by default (even without a /etc/conf.d/net).

I don't have net.eth0 (I deleted it per wicd installation instructions).
My other machines that use wicd do not have it either and they all work.
Don't seem to find the difference between what I have working and this
MacBook Pro I put Gentoo on wherein wicd will not work out of the box.

 
 I don't have wireless working yet; need to check on the driver (wireless
 is also broadcom). So

   wicd-client -n

 finds no wireless network.
 
 You'll probably need to install b43-fwcutter and follow the instructions here 
 (depending on your wireless NIC):
 
   http://linuxwireless.org/en/users/Drivers/b43

Thanks,

--
Valmor

 




Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-23 Thread Valmor de Almeida
On 10/23/2011 06:45 PM, Neil Bothwick wrote:
 On Sun, 23 Oct 2011 17:35:45 -0400, Valmor de Almeida wrote:

 I don't have net.eth0 (I deleted it per wicd installation instructions).
 My other machines that use wicd do not have it either and they all work.
 Don't seem to find the difference between what I have working and this
 MacBook Pro I put Gentoo on wherein wicd will not work out of the box.

 Have you tried diffing /etc/wicd/wired-settings.conf from the working and
 non-working systems.

 Is eth0 actually present at this time?



On my wired machine that works out of the box I have:

[wired-default]
afterscript = None
use_static_dns = False
dhcphostname = lpt1
dns3 = None
postdisconnectscript = None
dns1 = None
search_domain = None
dns_domain = None
lastused = True
broadcast = None
default = 1
netmask = None
dns2 = None
beforescript = None
profilename = wired-default
predisconnectscript = None
ip = None
gateway = None
use_global_dns = False

On the machine I have to issue a manual dhcpcd eth0 I have:

[wired-default]
ip
broadcast
netmask
gateway
search_domain
dns_domain
dns1
dns2
dns3
beforescript
afterscript
predisconnectscript
postdisconnectscript
default = True
dhcphostname = mac1

Don't know whether the missing values make a difference. As far as
eth0,  at the moment after dhcpcd eth0 is issued,  it is:

mac1 wicd # ifconfig -a
eth0  Link encap:Ethernet  HWaddr xx
  inet addr:192.168.10.7  Bcast:192.168.10.255  Mask:255.255.255.0
  inet6 addr:  Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:4565 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3102 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:5285197 (5.0 MiB)  TX bytes:420643 (410.7 KiB)
  Interrupt:16

Before dhcpcd eth0 is issued eth0 is there, I think, but it does not
have an inet addr: assigned to it. I will need to reboot to confirm
it.

Thanks,

--
Valmor



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-22 Thread Valmor de Almeida
On 10/22/2011 02:18 AM, Nikos Chantziaras wrote:
 On 10/22/2011 08:08 AM, Valmor de Almeida wrote:

 Hello,

 On a recent gentoo install using wicd for network configuration, no
 connection is established during boot. After logging in, I need to issue

dhcpcd eth0

 to obtain an IP address and access the internet via ethernet. I thought
 wicd would take care of that. I did not emerge dhcpcd, it was emerged as
 a dependency of wicd.

 What am I missing? I have wicd starting during the boot runlevel.
 
 You probably don't have a correct /etc/conf.d/net file.  Try:
 
modules=dhcpcd
config_eth0=dhcp
 
 
I have other gentoo laptops/machines and I typically leave this file
empty. They all work with wicd in wired and wireless mode.

--
Valmor



Re: [gentoo-user] Re: why a manual dhcpcd eth0 is needed?

2011-10-22 Thread Valmor de Almeida
On 10/22/2011 02:18 PM, Alan McKinnon wrote:
 On Sat, 22 Oct 2011 10:13:53 -0400
 Valmor de Almeida val.gen...@gmail.com wrote:
 
 On 10/22/2011 02:18 AM, Nikos Chantziaras wrote:
 On 10/22/2011 08:08 AM, Valmor de Almeida wrote:

 Hello,

 On a recent gentoo install using wicd for network configuration, no
 connection is established during boot. After logging in, I need to
 issue

dhcpcd eth0

 to obtain an IP address and access the internet via ethernet. I
 thought wicd would take care of that. I did not emerge dhcpcd, it
 was emerged as a dependency of wicd.

 What am I missing? I have wicd starting during the boot runlevel.

 You probably don't have a correct /etc/conf.d/net file.  Try:

modules=dhcpcd
config_eth0=dhcp


 I have other gentoo laptops/machines and I typically leave this file
 empty. They all work with wicd in wired and wireless mode.
 
 Correct.
 
 wicd does not use /etc/conf.d/net at all, it has it's own mechanisms.
 
 /etc/conf.d/net is used by the Gentoo network scripts, an entirely
 different thing from wicd
 
 
 
 
Any inputs on why I need to issue

 dhcpcd eth0

for this particular install. The ethernet card is Broadcom NetXtreme
BCM5764M Gigabit Ethernet PCIe. I have the right driver built into the
kernel. All works but as I said, wicd does work from boot. After logging
in I need to get an IP address manually.

Don't know what I am missing.

Thanks,

--
Valmor



[gentoo-user] why a manual dhcpcd eth0 is needed?

2011-10-21 Thread Valmor de Almeida

Hello,

On a recent gentoo install using wicd for network configuration, no
connection is established during boot. After logging in, I need to issue

  dhcpcd eth0

to obtain an IP address and access the internet via ethernet. I thought
wicd would take care of that. I did not emerge dhcpcd, it was emerged as
a dependency of wicd.

What am I missing? I have wicd starting during the boot runlevel.

Thanks for inputs.

--
Valmor



Re: [gentoo-user] Problem with cblas libraries

2011-08-27 Thread Valmor de Almeida
On 08/26/2011 08:12 AM, denis cohen wrote:
 Hello,
 
 I recently removed some packages like blas-reference, cblas-reference,
 and lapack-reference to get emerge to run (some blocking issues).
 Not sure that was a good idea because now, even if I've reinstalled
 these packages,
 I am having several new problems:
 
[snip]
 
 
 Does anyone have an idea of how solve this problem?
 
 I'd be glad to provide more details.
 
 Thanks
 
 Denis
 

Hi Denis,

Have you done revdep-rebuild ? followed by a emerge --depclean ? before
doing anything else after you removed the blas/lapack packages?


--
Valmor




Re: [gentoo-user] macbook pro boot from usb

2011-08-25 Thread Valmor de Almeida
On Thu, Aug 25, 2011 at 2:27 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:
[snip]

 You're fundamentally right, although I would go for install linux Mac 
 myself. The results may refer to installing other distros, such as Ubuntu, 
 but it's surely just a matter of adapting the instructions to get partitions 
 and a systemrescueCD root prompt.

I have the most recent version of systemrescueCD on a usb stick and it
is not recognized at boot time (holding option key down). Will try to
get a Ubuntu CD. It seems to work on my particular macbook pro (6,2)

https://help.ubuntu.com/community/MacBookPro

Thanks for the inputs.

--
Valmor


 I think there are alternative methods, besides Boot Camp, to get multi-boot. 
 Boot Camp sets up a second partition, but I don't believe it can do a third. 
 I believe it's possible to get triple-boot (for example) on a Mac, but you're 
 obliged not to use Boot Camp in this case.

 Stroller.






Re: [gentoo-user] macbook pro boot from usb

2011-08-25 Thread Valmor de Almeida
On Thu, Aug 25, 2011 at 11:06 AM, Valmor de Almeida
val.gen...@gmail.com wrote:
 On Thu, Aug 25, 2011 at 2:27 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 [snip]

 You're fundamentally right, although I would go for install linux Mac 
 myself. The results may refer to installing other distros, such as Ubuntu, 
 but it's surely just a matter of adapting the instructions to get partitions 
 and a systemrescueCD root prompt.

Just for the record. I tried an old Gentoo Minimal CD I had sitting
around (2009) and was able to boot the Mac from the CD. It seems this
particular Mac (OS maybe) is preventing any boot from the USB port.

I will burn a systemrescueCD and try that.

--
Valmor


[snip]







[SOLVED] Re: [gentoo-user] macbook pro boot from usb

2011-08-25 Thread Valmor de Almeida
On Thu, Aug 25, 2011 at 12:21 PM, Valmor de Almeida
val.gen...@gmail.com wrote:
 On Thu, Aug 25, 2011 at 11:06 AM, Valmor de Almeida
 val.gen...@gmail.com wrote:
 On Thu, Aug 25, 2011 at 2:27 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 [snip]

 You're fundamentally right, although I would go for install linux Mac 
 myself. The results may refer to installing other distros, such as Ubuntu, 
 but it's surely just a matter of adapting the instructions to get 
 partitions and a systemrescueCD root prompt.

 Just for the record. I tried an old Gentoo Minimal CD I had sitting
 around (2009) and was able to boot the Mac from the CD. It seems this
 particular Mac (OS maybe) is preventing any boot from the USB port.

 I will burn a systemrescueCD and try that.

A CD worked. Booted into the rescue64 kernel. Now I am cloning the Mac
HD for future firmware updates if needed. Assuming that in the future
I will be able to boot from the external USB drive that has the Mac OS
in it.

--
Valmor


 --
 Valmor


 [snip]








[gentoo-user] macbook pro boot from usb

2011-08-24 Thread Valmor de Almeida
Hello,

I would like to experiment with Gentoo on a Mac but I don't seem to
get past step 0, namely, booting from a gentoo usb stick
(systemrescuecd). The Mac does not recognize the usb stick. I don't
know much about Macs and searching the web has not been fruitful. In
other computers without a Mac bios, it is a matter of changing the
boot device order to the usb port. I don't know if such a thing exists
in a Mac. If you have a gentoo mac I would appreciate inputs.

Thanks,

--
Valmor



Re: [gentoo-user] macbook pro boot from usb

2011-08-24 Thread Valmor de Almeida
On Wed, Aug 24, 2011 at 6:56 PM, Nick Gotsinas d...@gameforce.ca wrote:
 I'm going to state the obvious and say did you try to hold ALT during boot?

Yes.

 I made a systermrescue on USB stick and it works just fine on my MacBook.

Maybe my systemrescue is old. Will update and try.


 I also have Gentoo installed with Bootcamp and had no issues. Just make sure 
 you partition with Guid

Thanks,

--
Valmor

 On 2011-08-24, at 5:36 PM, Valmor de Almeida wrote:

 Hello,

 I would like to experiment with Gentoo on a Mac but I don't seem to
 get past step 0, namely, booting from a gentoo usb stick
 (systemrescuecd). The Mac does not recognize the usb stick. I don't
 know much about Macs and searching the web has not been fruitful. In
 other computers without a Mac bios, it is a matter of changing the
 boot device order to the usb port. I don't know if such a thing exists
 in a Mac. If you have a gentoo mac I would appreciate inputs.

 Thanks,

 --
 Valmor







Re: [gentoo-user] macbook pro boot from usb

2011-08-24 Thread Valmor de Almeida
On Wed, Aug 24, 2011 at 7:39 PM, Valmor de Almeida val.gen...@gmail.com wrote:
 On Wed, Aug 24, 2011 at 6:56 PM, Nick Gotsinas d...@gameforce.ca wrote:
 I'm going to state the obvious and say did you try to hold ALT during boot?

 Yes.

 I made a systermrescue on USB stick and it works just fine on my MacBook.

 Maybe my systemrescue is old. Will update and try.

I updated systemrescuecd to version 2.3.1 on a usb stick and rebooted
holding the alt key. The only option I am given is the Macintosh HD.

Thanks,

--
Valmor


 I also have Gentoo installed with Bootcamp and had no issues. Just make sure 
 you partition with Guid

 Thanks,

 --
 Valmor

 On 2011-08-24, at 5:36 PM, Valmor de Almeida wrote:

 Hello,

 I would like to experiment with Gentoo on a Mac but I don't seem to
 get past step 0, namely, booting from a gentoo usb stick
 (systemrescuecd). The Mac does not recognize the usb stick. I don't
 know much about Macs and searching the web has not been fruitful. In
 other computers without a Mac bios, it is a matter of changing the
 boot device order to the usb port. I don't know if such a thing exists
 in a Mac. If you have a gentoo mac I would appreciate inputs.

 Thanks,

 --
 Valmor








[gentoo-user] how to use layman --sync ALL across a firewall

2011-08-17 Thread Valmor de Almeida
Hello,

At work, I typically use  emerge-webrsync  to sync the portage tree.
But I don't know how to sync the layman tree.
This

  layman --sync ALL

does not work. I guess because git pull does not work across the
firewall. Is there a solution to this besides requesting a firewall
exception?

Thanks,

--
Valmor



Re: [gentoo-user] how to use layman --sync ALL across a firewall

2011-08-17 Thread Valmor de Almeida
On 08/17/2011 02:45 PM, Florian Philipp wrote:
 Am 17.08.2011 18:27, schrieb Valmor de Almeida:
 Hello,

 At work, I typically use  emerge-webrsync  to sync the portage tree.
 But I don't know how to sync the layman tree.
 This

   layman --sync ALL

 does not work. I guess because git pull does not work across the
 firewall. Is there a solution to this besides requesting a firewall
 exception?

 Thanks,

 --
 Valmor

 
 Well, at least some overlays support fetching via http. `layman -L`
 shows all available URLs for fetching. In /etc/layman/layman.cfg, you
 can also specify a proxy. In theory, that should allow you to fetch all
 these overlays.
 
 The remaining problem is: How do you tell layman to prefer the http
 connection over the native protocol? I haven't found such an option.
 Maybe you have to try it out yourself or open a bug for a feature request.
 
 Worst case: create your own overlay list which only contains the http
 connections. The documentation shows how to do this.
 
 Hope this helps,
 Florian Philipp
 

Thanks for the inputs.

--
Valmor



Re: [gentoo-user] virtualbox + kernel panic 2.6.38-r2

2011-05-31 Thread Valmor de Almeida
On 05/31/2011 01:31 PM, James wrote:
 Anyone having any problems with VirtualBox and kernel panics?
 
 I've tried vbox 3 and 4, both with the same behavior. Installing
 Windows 7 as a guest and either (a) my system will completely freeze
 (I'm assuming the kernel panicked), or (b) I'm thinking the Linux raid
 module dies because the system becomes unresponsive (although I can
 open a terminal, the shell doesn't come up, browser freezes, etc.).
 The only fix for both of these problems is a hard reboot.
 
 I have on idea how to go about troubleshooting this issue. I'd hate to
 open a ticket with the vbox folks until I have more information.
 
 The only thing I've read online that may be applicable is that there
 have been some issues with kernel panics when you give the guest OS
 more than 1 processor. It would suck badly if SMP didn't work well on
 vbox.
 
 Thoughts?
 -james
 

I am running vbox 4.0.8 on

-  emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0,
2.6.38-gentoo-r6 x86_64)

with only one Win7 VM on a dual core laptop. It works fine and I use CAD
software that only runs on Windows.

What does your VBox.log say?

--
Valmor




[UNSOLVED]Re: [gentoo-user] usb support in virtualbox

2011-05-27 Thread Valmor de Almeida
On 05/26/2011 01:53 AM, Valmor de Almeida wrote:
 On 05/25/2011 07:45 PM, Valmor de Almeida wrote:
 On 05/25/2011 06:14 PM, Mark Knecht wrote:
 [snip]

 For the record.

 Tried and it is very nice. The 4.0.6 version with extpack uses the GPL
 vbox (source).

 All usb devices on the gentoo host are visible on a Windows7 guest. The
 problem I am facing now is that the Windows7 virtual machine tries to
 install drivers for the USB devices and it fails. Not sure what is going
 on... It may be an issue with USB 1.0 versus 2.0?


 --
 Valmor

 Hi Valmor,
Good to know it at least gets you 1 step further in the right direction.

As for Win 7 installing USB drivers is there an option to not
 install it automatically and then you go look for the right driver and
 install it by hand?

One other possibility might be that either Linux or another VM is
 claiming the device and hence it's not responding correctly to the
 driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1
 virtualbox/Win 7. I've noted that I have to be a little careful to
 ensure the VMs don't interfere with each other WRT USB devices.

Good luck figuring it out. Please post back if you find interesting info.

 Cheers,
 Mark


 I think you are in the right track as far as a race between host and
 guest for claiming the device. It is not the driver installation that is
 the problem. The driver is installed and Windows7 says it is the latest
 driver. The problem is that at the end of the installation W7 tries to
 mount/start the device and that is when things do not work. The status
 of the device is listed as

 This device cannot start. (Code 10)

 There is quite a bit on the web on the Code 10 error. Still
 investigating...

 fdisk -l   on the gentoo host lists the device if the guest is not
 running. As soon as the guest boots, the device is not listed by fdisk
 -l, this means that things are at least going in the right direction.
 The vbox manual says that the device should be hidden from the host once
 the guest gets a hold of it.



 --
 Valmor
 
 After much digging, no success. Apparently it is an ongoing bug.
 
 http://bugs.gentoo.org/show_bug.cgi?id=364717
 
 When virtualbox is installed with the extension USE flag it pulls the
 oracle extension package and the USB interface on the Virtualbox manager
 is supposed to present a USB 2.0 box. This does not show up. Therefore
 it appears that USB 2.0 devices can't start on the VM guest since only
 USB 1.0 is enabled.
 
 No luck so far but it is pretty close to be resolved. All USB devices I
 have tried are identified by the Win7 VM guest and the drivers correctly
 installed. It is only the startup that fails.
 
 That is all folks.
 
 --
 Valmor

Those involved in dealing with the bug link above have concluded:

This bug can stay confirmed as it's quite obvious that USB-2 doesn't work:

So no USB-2 support on =virtualbox-4.0.6 at the moment.

--
Valmor




Re: [gentoo-user] haldaemon group/user

2011-05-26 Thread Valmor de Almeida
On Thu, May 26, 2011 at 7:27 AM, Mick michaelkintz...@gmail.com wrote:
[snip]

 You should still delete it.

 I assume you mean just the haldaemon, not the group cdrw, right?

 Then I leave the cdrw empty with no users, correct?
 --
 Regards,
 Mick


This is what I did.

--
Valmor



[gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
Hello,

I am interested in usb support within virtualbox guests. The version I
am currently using does not offer it:

   virtualbox-3.2.12-r4

would the bin package

  virtualbox-bin- 3.2.12-r1

has it?  Is the usb support the main difference between the bin versus
non-bin packages?

Thanks,

--
Valmor



Re: [gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
On Wed, May 25, 2011 at 11:12 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 25 May 2011 10:53:26 -0400, Valmor de Almeida wrote:

 Is the usb support the main difference between the bin versus
 non-bin packages?

 Yes.


 --
 Neil Bothwick

 We can't solve problems by using the same kind of thinking we used when
 we created them. (Albert Einstein)


Would you know whether version =4.0.x will no longer have a bin
distribution? Looking at what is available on my system I still see a
bin split:


/usr/portage/app-emulation/virtualbox-bin/virtualbox-bin-4.0.6-r1.ebuild


Thanks,

--
Valmor



Re: [gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
On Wed, May 25, 2011 at 11:14 AM, Mark Knecht markkne...@gmail.com wrote:
[snip]

 Valmor,
   Take a look at the Extension Pack. It might give you more of what
 you need. It does seem to be in portage but I've not used it myself.

 http://www.virtualbox.org/wiki/Downloads

 HTH,
 Mark


Mark,

I see it in portage

/usr/portage/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.0.6.ebuild

Will give it a try.

Thanks,

--
Valmor



[gentoo-user] haldaemon group/user

2011-05-25 Thread Valmor de Almeida

Hello,

I have eliminated hal long ago and noted recently in my group list that
I have a haldaemon group


haldaemon:x:104:haldaemon

and a user

haldaemon:x:102:104:added by portage for hal:/dev/null:/sbin/nologin


Should these have been eliminated or do I need to do it by hand or
something else still needs it?

Thanks,

--
Valmor




Re: [gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
On 05/25/2011 12:15 PM, Valmor de Almeida wrote:
 On Wed, May 25, 2011 at 11:14 AM, Mark Knecht markkne...@gmail.com wrote:
 [snip]

 Valmor,
   Take a look at the Extension Pack. It might give you more of what
 you need. It does seem to be in portage but I've not used it myself.

 http://www.virtualbox.org/wiki/Downloads

 HTH,
 Mark


 Mark,
 
 I see it in portage
 
 /usr/portage/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.0.6.ebuild
 
 Will give it a try.
 
 Thanks,
 
 --
 Valmor

For the record.

Tried and it is very nice. The 4.0.6 version with extpack uses the GPL
vbox (source).

All usb devices on the gentoo host are visible on a Windows7 guest. The
problem I am facing now is that the Windows7 virtual machine tries to
install drivers for the USB devices and it fails. Not sure what is going
on... It may be an issue with USB 1.0 versus 2.0?


--
Valmor



Re: [gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
On 05/25/2011 06:14 PM, Mark Knecht wrote:
[snip]

 For the record.

 Tried and it is very nice. The 4.0.6 version with extpack uses the GPL
 vbox (source).

 All usb devices on the gentoo host are visible on a Windows7 guest. The
 problem I am facing now is that the Windows7 virtual machine tries to
 install drivers for the USB devices and it fails. Not sure what is going
 on... It may be an issue with USB 1.0 versus 2.0?


 --
 Valmor
 
 Hi Valmor,
Good to know it at least gets you 1 step further in the right direction.
 
As for Win 7 installing USB drivers is there an option to not
 install it automatically and then you go look for the right driver and
 install it by hand?
 
One other possibility might be that either Linux or another VM is
 claiming the device and hence it's not responding correctly to the
 driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1
 virtualbox/Win 7. I've noted that I have to be a little careful to
 ensure the VMs don't interfere with each other WRT USB devices.
 
Good luck figuring it out. Please post back if you find interesting info.
 
 Cheers,
 Mark
 

I think you are in the right track as far as a race between host and
guest for claiming the device. It is not the driver installation that is
the problem. The driver is installed and Windows7 says it is the latest
driver. The problem is that at the end of the installation W7 tries to
mount/start the device and that is when things do not work. The status
of the device is listed as

This device cannot start. (Code 10)

There is quite a bit on the web on the Code 10 error. Still
investigating...

fdisk -l   on the gentoo host lists the device if the guest is not
running. As soon as the guest boots, the device is not listed by fdisk
-l, this means that things are at least going in the right direction.
The vbox manual says that the device should be hidden from the host once
the guest gets a hold of it.



--
Valmor



Re: [gentoo-user] haldaemon group/user

2011-05-25 Thread Valmor de Almeida
On 05/25/2011 04:46 PM, Paul Hartman wrote:
 On Wed, May 25, 2011 at 3:37 PM, Valmor de Almeida val.gen...@gmail.com 
 wrote:
 Should these have been eliminated or do I need to do it by hand or
 something else still needs it?
 
 I think you should do it by hand.
 
 In general, you can assume portage will never delete any config files
 or anything from /etc without your involvement (either manually or
 with etc-update or similar).
 

Cleaned by hand. All working.

Thanks,

--
Valmor



Re: [gentoo-user] usb support in virtualbox

2011-05-25 Thread Valmor de Almeida
On 05/25/2011 07:45 PM, Valmor de Almeida wrote:
 On 05/25/2011 06:14 PM, Mark Knecht wrote:
 [snip]

 For the record.

 Tried and it is very nice. The 4.0.6 version with extpack uses the GPL
 vbox (source).

 All usb devices on the gentoo host are visible on a Windows7 guest. The
 problem I am facing now is that the Windows7 virtual machine tries to
 install drivers for the USB devices and it fails. Not sure what is going
 on... It may be an issue with USB 1.0 versus 2.0?


 --
 Valmor

 Hi Valmor,
Good to know it at least gets you 1 step further in the right direction.

As for Win 7 installing USB drivers is there an option to not
 install it automatically and then you go look for the right driver and
 install it by hand?

One other possibility might be that either Linux or another VM is
 claiming the device and hence it's not responding correctly to the
 driver install. i typically run 3 VMs every day - 2 VMPLayer/XP and 1
 virtualbox/Win 7. I've noted that I have to be a little careful to
 ensure the VMs don't interfere with each other WRT USB devices.

Good luck figuring it out. Please post back if you find interesting info.

 Cheers,
 Mark

 
 I think you are in the right track as far as a race between host and
 guest for claiming the device. It is not the driver installation that is
 the problem. The driver is installed and Windows7 says it is the latest
 driver. The problem is that at the end of the installation W7 tries to
 mount/start the device and that is when things do not work. The status
 of the device is listed as
 
 This device cannot start. (Code 10)
 
 There is quite a bit on the web on the Code 10 error. Still
 investigating...
 
 fdisk -l   on the gentoo host lists the device if the guest is not
 running. As soon as the guest boots, the device is not listed by fdisk
 -l, this means that things are at least going in the right direction.
 The vbox manual says that the device should be hidden from the host once
 the guest gets a hold of it.
 
 
 
 --
 Valmor

After much digging, no success. Apparently it is an ongoing bug.

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

When virtualbox is installed with the extension USE flag it pulls the
oracle extension package and the USB interface on the Virtualbox manager
is supposed to present a USB 2.0 box. This does not show up. Therefore
it appears that USB 2.0 devices can't start on the VM guest since only
USB 1.0 is enabled.

No luck so far but it is pretty close to be resolved. All USB devices I
have tried are identified by the Win7 VM guest and the drivers correctly
installed. It is only the startup that fails.

That is all folks.

--
Valmor



Re: [gentoo-user] system rescue usb stick

2011-05-19 Thread Valmor de Almeida
On 05/19/2011 05:17 AM, Helmut Jarausch wrote:
 On 05/19/2011 04:12:24 AM, Valmor de Almeida wrote:


 Hello,

 Is SystemRescueCd still a good system rescue tool? The web site has
 not
 been updated for over 1 year. Thanks for other suggestions.

 
 It even offers a beta version which has been working for me ever since.
 
 Currently (2.2.0-beta005 dated 2011-05-18) even offers a 2.6.39-... 
 kernel. It's even more recent than GenToo ~ system.
 
 Since I'm using btrfs I always take the most recent kernel - just in 
 case.
 
 Helmut.
 

Thanks for all the feedback.

--
Valmor



[SOLVED]Re: [gentoo-user] external monitor output during boot

2011-05-19 Thread Valmor de Almeida
On 05/19/2011 01:38 AM, Valmor de Almeida wrote:
 On 05/18/2011 09:50 AM, Albert Hopkins wrote:
 On Tue, 2011-05-17 at 22:48 -0400, Valmor de Almeida wrote:
 Hello,

 What controls the screen output to an external monitor connected to a
 laptop during boot or when just using a plain console without an X
 server running? Before a recent update the output would just
 automatically go to an external monitor when one is connected. Now it
 does not; not sure it has anything to do with the openrc migration.


 I think it largely depends on the particular hardware config.  For my
 laptop it's a BIOS option.

 If you are using KMS however it seems to want to drive all outputs with
 a monitor attached.


 
 I neglected to mention that the external monitor is connected through a
 dock base. Actually I should test whether the external monitor works as
 before by connecting it directly on the vga port on the laptop...
 
 --
 Valmor

The solution was on the BIOS setting. Using the option: Analog (VGA)
shows the boot messages on the external monitor and on the laptop lcd.
Also without the external monitor attached, the boot messages show on
the laptop lcd when the Analog options is selected. I added the KMS
option i915.modeset=1 as a grub boot option but don't know if this helps
or not.

--
Valmor



[gentoo-user] system rescue usb stick

2011-05-18 Thread Valmor de Almeida


Hello,

Is SystemRescueCd still a good system rescue tool? The web site has not
been updated for over 1 year. Thanks for other suggestions.

--
Valmor



Re: [gentoo-user] external monitor output during boot

2011-05-18 Thread Valmor de Almeida
On 05/18/2011 09:50 AM, Albert Hopkins wrote:
 On Tue, 2011-05-17 at 22:48 -0400, Valmor de Almeida wrote:
 Hello,

 What controls the screen output to an external monitor connected to a
 laptop during boot or when just using a plain console without an X
 server running? Before a recent update the output would just
 automatically go to an external monitor when one is connected. Now it
 does not; not sure it has anything to do with the openrc migration.

 
 I think it largely depends on the particular hardware config.  For my
 laptop it's a BIOS option.
 
 If you are using KMS however it seems to want to drive all outputs with
 a monitor attached.
 
 

I neglected to mention that the external monitor is connected through a
dock base. Actually I should test whether the external monitor works as
before by connecting it directly on the vga port on the laptop...

--
Valmor



[gentoo-user] external monitor output during boot

2011-05-17 Thread Valmor de Almeida

Hello,

What controls the screen output to an external monitor connected to a
laptop during boot or when just using a plain console without an X
server running? Before a recent update the output would just
automatically go to an external monitor when one is connected. Now it
does not; not sure it has anything to do with the openrc migration.

I do get output onto the external monitor after startx runs; also the X
server/clients work fine.

Thanks for inputs.

--
Valmor

PS: fn+F8 for switching displays does not work either; but it never did
before.



Re: [gentoo-user] external monitor output during boot

2011-05-17 Thread Valmor de Almeida
On 05/17/2011 11:20 PM, Mark Shields wrote:
 On Tue, May 17, 2011 at 9:48 PM, Valmor de Almeida val.gen...@gmail.com
 mailto:val.gen...@gmail.com wrote:
 
 
 Hello,
 
 What controls the screen output to an external monitor connected to a
 laptop during boot or when just using a plain console without an X
 server running? Before a recent update the output would just
 automatically go to an external monitor when one is connected. Now it
 does not; not sure it has anything to do with the openrc migration.
 
 I do get output onto the external monitor after startx runs; also the X
 server/clients work fine.
 
 Thanks for inputs.
 
 --
 Valmor
 
 PS: fn+F8 for switching displays does not work either; but it never did
 before.
 
 
 What's the make/model of your laptop?

Lenovo X201.

 
 Does the F8 key you mention have a monitor/screen icon on it?

Sorry. It is the fn-F7 key that has the monitor/screen icon on it; it
does not work either.

 
 The hardware key to switch monitors is independent of software on most
 (all?) laptops.  Also, most laptops will output on both (clone) by default.

This was the previous behavior; but not now.

Thanks,

--
Valmor




Re: [gentoo-user] external monitor output during boot

2011-05-17 Thread Valmor de Almeida
On 05/17/2011 11:51 PM, Mark Shields wrote:
 On Tue, May 17, 2011 at 10:56 PM, Valmor de Almeida
 val.gen...@gmail.com mailto:val.gen...@gmail.com wrote:
 
[snip]
 
 
  Hello,
 
  What controls the screen output to an external monitor
 connected to a
  laptop during boot or when just using a plain console without an X
  server running? Before a recent update the output would just
  automatically go to an external monitor when one is connected.
 Now it
  does not; not sure it has anything to do with the openrc
 migration.
 
[snip]
 
 Does it clone during the BIOS screen?

I checked the BIOS and there are the following options for boot display
device:

 ThinkPad LCD
 Analog (VGA)
 Digital on ThinkPad

The first is selected and I have not touched it; ever. It appears that
when the laptop boots with the external LCD connected, a signal is sent
to the external monitor since I see a resolution note and a bit of a
back light on the monitor. However none of the boot messages go to the
external monitor. They stay on the laptop lcd.

Thanks,

--
Valmor




[gentoo-user] multiple /lib64/modules directories

2011-05-16 Thread Valmor de Almeida

Hello,

After a recent sync, I ended up with these two modules

 /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko
 /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko

and others too. I expected the directory for the older kernel to be
removed. Is this the case? Virtualbox was re-emerged after the sync
therefore the modules for the newer kernel were created. The current
kernel is 2.6.37-gentoo-r4 (and it is the only one on my system). Should
the directory /lib64/modules/2.6.36-gentoo-r5/ still exist?

Thanks,

--
Valmor

- locate vbox* | grep modules
/lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko
/lib64/modules/2.6.36-gentoo-r5/misc/vboxnetadp.ko
/lib64/modules/2.6.36-gentoo-r5/misc/vboxnetflt.ko
/lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko
/lib64/modules/2.6.37-gentoo-r4/misc/vboxnetadp.ko
/lib64/modules/2.6.37-gentoo-r4/misc/vboxnetflt.ko

- equery list gentoo-sources
[ Searching for package 'gentoo-sources' in all categories among: ]
 * installed packages
[I--] [  ] sys-kernel/gentoo-sources-2.6.37-r4 (2.6.37-r4)





Re: [gentoo-user] multiple /lib64/modules directories

2011-05-16 Thread Valmor de Almeida
On 05/16/2011 08:12 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 02:11 on Tuesday 17 May 2011, Valmor de 
 Almeida did opine thusly:
 
[snip]
 
 In other words, what you have is exactly what you should have and things as 
 working as designed. To remove anything in /lib/modules, you must manually rm 
 them yourself.

Thanks; manually removed.

--
Valmor

 
 Incidentally, the same goes for the various kernel files in /boot/. 
 
 
 

 Thanks,

 --
 Valmor

 - locate vbox* | grep modules
 /lib64/modules/2.6.36-gentoo-r5/misc/vboxdrv.ko
 /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetadp.ko
 /lib64/modules/2.6.36-gentoo-r5/misc/vboxnetflt.ko
 /lib64/modules/2.6.37-gentoo-r4/misc/vboxdrv.ko
 /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetadp.ko
 /lib64/modules/2.6.37-gentoo-r4/misc/vboxnetflt.ko

 - equery list gentoo-sources
 [ Searching for package 'gentoo-sources' in all categories among: ]
  * installed packages
 [I--] [  ] sys-kernel/gentoo-sources-2.6.37-r4 (2.6.37-r4)
 




Re: [gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Valmor de Almeida
On 03/30/2011 02:46 PM, Elaine C. Sharpe wrote:
 On Wed, Mar 30, 2011 at 08:40:02PM +0200, Robin Atwood wrote:
I am in the market for a new laptop and would be interested if anyone
else on the list had recently bought a laptop in which all the hardware
worked out of the box with Linux. I am most concerned about
WiFi/audio/webcam, the finer points of hibernation are of lesser
concern. Currently I have a Linux Certified machine but I want to
avoid shipping costs to the UK.

 
 I've always had the best luck with the hardware support for 
 thinkpads (and dell inspirons, though they're kind of clunky 
 and cheesy). Can't vouch for the new ones though, it's been 
 a few years since I upgraded.
 

I've been using a thinkpad X201; WiFi works well and audio too. Don't
have a camera. There is a little problem configuring the touch pad
buttons for a left hand but it does not bother me. All in all a very
good machine under gentoo.

--
Valmor



Re: [gentoo-user] inaccessible virtual machine

2011-03-29 Thread Valmor de Almeida
On 03/29/2011 09:07 AM, Mark Knecht wrote:
 On Mon, Mar 28, 2011 at 9:51 PM, Valmor de Almeida val.gen...@gmail.com 
 wrote:

 Hello,

 I have been using a windows 7 virtual machine guest with a gentoo linux
 virtualbox host for a while. I was never able to get sound working on
 the guest but it works on the host. Recently I decided to re-emerge
 virtualbox with the USE flag pulseaudio to try to get sound working.
 After the emerge (list below) I also re-emerged the
 virtualbox-modules-3.2.12; logged out and rebooted.

 Now when I try to start virtualbox, it lists the guest machine as
 inaccessible; no other information is provided by the virtualbox startup
 window. I would appreciate inputs on how to fix this.

 Thanks,

 --
 Valmor


 
 A couple of questions:
 
 1) Is the machine on a RAID partition or some other form of storage
 which, for whatever reason, isn't mounted? I have that problem now and
 again on my compute server. The Linux kernel guys haven't made my
 drive D  E disk interfaces 100% reliable as of yet so in my case I
 might have to reboot once or twice to get the drives recognized.
 
 2) What kernel are you using. I saw a few messages this week on
 Virtualbox problems when running the 2.6.38 series kernel. I'm running
 2.6.38 and haven't seen them myself though.
 
 Good luck,
 Mark

I am running VB on a gentoo laptop; everything is mounted. I have not
had any problems for a long time. I sync'ed portage a couple of weeks
ago and the VB worked with my virtual win7 machine without problems.

I am using 2.6.36-gentoo-r5. I have been searching the web and the VB
forum pages but no luck yet. In the meantime I re-emerged VB without the
pulseaudio USE flag and copied a working backup of .VirtualBox/ to my
home directory; still get the same message (inaccessible). I will try an
older backup later.

Thanks,

--
Valmor



-  emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0,
2.6.36-gentoo-r5 x86_64)
=
System uname:
Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_L_640_@_2.13GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 19 Mar 2011 05:15:01 +
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64





[CLOSED] Re: [gentoo-user] inaccessible virtual machine

2011-03-29 Thread Valmor de Almeida
On 03/29/2011 09:16 AM, Valmor de Almeida wrote:
 On 03/29/2011 09:07 AM, Mark Knecht wrote:
 On Mon, Mar 28, 2011 at 9:51 PM, Valmor de Almeida val.gen...@gmail.com 
 wrote:
[snip]

 A couple of questions:

 1) Is the machine on a RAID partition or some other form of storage
 which, for whatever reason, isn't mounted? I have that problem now and
 again on my compute server. The Linux kernel guys haven't made my
 drive D  E disk interfaces 100% reliable as of yet so in my case I
 might have to reboot once or twice to get the drives recognized.

 2) What kernel are you using. I saw a few messages this week on
 Virtualbox problems when running the 2.6.38 series kernel. I'm running
 2.6.38 and haven't seen them myself though.

 Good luck,
 Mark
 
 I am running VB on a gentoo laptop; everything is mounted. I have not
 had any problems for a long time. I sync'ed portage a couple of weeks
 ago and the VB worked with my virtual win7 machine without problems.
 
 I am using 2.6.36-gentoo-r5. I have been searching the web and the VB
 forum pages but no luck yet. In the meantime I re-emerged VB without the
 pulseaudio USE flag and copied a working backup of .VirtualBox/ to my
 home directory; still get the same message (inaccessible). I will try an
 older backup later.
 
 Thanks,
 
 --
 Valmor
 

I went back to a previous windows 7 VM backup and re-emerged VB without
the pulseaudio flag. All worked. I also installed AC'97 codecs driver in
the windows 7 VM and got sound working. Interesting that the VM got
corrupted when VB was emerged with the pulseaudio USE flag.

--
Valmor

 
 
[snip]



Re: [CLOSED] Re: [gentoo-user] inaccessible virtual machine

2011-03-29 Thread Valmor de Almeida
On 03/29/2011 05:56 PM, Mick wrote:
 On Tuesday 29 March 2011 17:06:23 Valmor de Almeida wrote:
 
 I went back to a previous windows 7 VM backup and re-emerged VB without
 the pulseaudio flag. All worked. I also installed AC'97 codecs driver in
 the windows 7 VM and got sound working. Interesting that the VM got
 corrupted when VB was emerged with the pulseaudio USE flag.
 
 The only time I ended up with a corrupted guest OS was when I overdid it on 
 snapshots and run out of space on the virtual partition.  Do you have enough 
 space?
 

I have enough space and I have not used snapshots for a very long time.

--
Valmor



[gentoo-user] inaccessible virtual machine

2011-03-28 Thread Valmor de Almeida

Hello,

I have been using a windows 7 virtual machine guest with a gentoo linux
virtualbox host for a while. I was never able to get sound working on
the guest but it works on the host. Recently I decided to re-emerge
virtualbox with the USE flag pulseaudio to try to get sound working.
After the emerge (list below) I also re-emerged the
virtualbox-modules-3.2.12; logged out and rebooted.

Now when I try to start virtualbox, it lists the guest machine as
inaccessible; no other information is provided by the virtualbox startup
window. I would appreciate inputs on how to fix this.

Thanks,

--
Valmor



- USE=extras emerge -vp virtualbox

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

Calculating dependencies... done!
[ebuild  N] net-libs/libasyncns-0.7  USE=-debug -doc 367 kB
[ebuild  N] dev-libs/libatomic_ops-1.2-r1  180 kB
[ebuild  N] media-libs/speex-1.2_rc1  USE=sse -ogg -static-libs
1,037 kB
[ebuild  N] app-admin/eselect-esd-20060719  2 kB
[ebuild  N] gnome-extra/gnome-audio-2.22.2  USE=-debug 1,703 kB
[ebuild  N] media-libs/flac-1.2.1-r3  USE=cxx sse -3dnow (-altivec)
-debug -ogg -static-libs 0 kB
[ebuild   R   ] sys-fs/udev-151-r4  USE=extras* -devfs-compat -old-hd-rules
(-selinux) -test 0 kB
[ebuild  N] media-libs/libsndfile-1.0.23  USE=alsa -minimal
-sqlite 0 kB
[ebuild  N] media-sound/pulseaudio-0.9.21.1  USE=X alsa asyncns
caps glib
ipv6 tcpd udev -avahi -bluetooth -dbus -doc -gnome -hal -jack -libsamplerate
-lirc (-oss) (-system-wide) -test 1,886 kB
[ebuild   R   ] app-emulation/virtualbox-3.2.12-r4  USE=additions alsa
opengl
pulseaudio* python qt4 -headless -sdk -vboxwebsrv -vnc 0 kB




Re: [gentoo-user] usb modem pantech uml290

2011-02-28 Thread Valmor de Almeida
On 02/28/2011 03:48 PM, Nils Holland wrote:
 On 15:24 Sat 26 Feb , Valmor de Almeida wrote:
 Hello,

 Is anyone using the uml290 modem? I've never used one and recently
 acquired this model. What other kernel support is needed in addition
 to usb modem? and what package is needed to connect the modem
 (currently I use wicd for wired and wireless connection on a laptop
 where I intend to use the usb modem)? I've been checking info on the
 web and ubuntu seems to work with the modem but I have not found
 specific information on how to configure the kernel.
 
 Well, not that I have any specific information or experience with this
 modem, but you might want to have a look at
 
 /usr/src/linux/Documentation/usb/acm.txt
 
 on your local machine (assuming you have the kernel sources
 installed). If your USB modem happens to support the CDC ACM standard,
 then the information in that file should get you started.
 
 Greetings,
 Nils
 

Thanks for the info. So far I have connected the modem and it is
recognized by the kernel; so I think I have what is needed as far as
kernel configuration goes. Support for usb modems is still not in wicd
therefore I am replacing wicd by networkmanager which apparently works
with this modem under ubuntu. Will post more as I troubleshoot this. One
thing is the authentication type. The modem works with 3G and 4G
networks; apparently only 3G is supported by CDC ACM??? I've got the
modem activated and its firmware upgraded using a Windows Vista laptop;
so I know the modem works. Also most places I've been to only have 3G
network; don't know what is going to happen in a 4G area.

Later,

--
Valmor



Re: [gentoo-user] PDF: convert to grayscale

2011-02-27 Thread Valmor de Almeida
On 02/08/2011 08:50 AM, Nuno J. Silva wrote:
 Does anyone know a tool (other than ghostscript) that is able to convert
 a PDF (or postscript) to grayscale?
 
 Ghostscript does this, but is unable to convert gradients and fills
 (they're replaced by bitmaps) which results in a too big file unless I
 drastically reduce quality.
 

Have you tried inkscape? it is in portage.

--
Valmor



[gentoo-user] usb modem pantech uml290

2011-02-26 Thread Valmor de Almeida
Hello,

Is anyone using the uml290 modem? I've never used one and recently
acquired this model. What other kernel support is needed in addition
to usb modem? and what package is needed to connect the modem
(currently I use wicd for wired and wireless connection on a laptop
where I intend to use the usb modem)? I've been checking info on the
web and ubuntu seems to work with the modem but I have not found
specific information on how to configure the kernel.

Thanks,

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 12:53 PM, Neil Bothwick wrote:
 On Sat, 19 Feb 2011 14:48:17 -0500, Valmor de Almeida wrote:
 
 Thanks for the help. This was less painful than I thought. However it
 exposed a internet connection problem. I am using wicd for wireless and
 wired internet config. This laptop happened to be in a place where no
 wired internet is available. Since I use the wicd-client X config
 utility I was not able to connect to the internet while X was down.
 There is a wicd-cli but the man page is empty. I guess I will have to
 get some info on how to use wicd-cli on an emergency like this.
 
 The man page is empty but wicd-cli --help will shoe that that this is not
 what you want. You need wicd-curses, but wicd-client should call that for
 you when X is unavailable.
 
 If you have auto-connect enabled for your ESSID, you don't even need
 that, wicd will connect as soon as it starts at boot.
 
 
Indeed, wicd-curses does the job.

Thanks,

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-20 Thread Valmor de Almeida
On 02/20/2011 10:03 AM, Mick wrote:
[snip]
 
 Have you had a look at:
 
 http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Yes. Got some info there.

 
 Also, have a read of the InputClass section in man xorg.conf and the files in 
 /usr/share/X11/xorg.conf.d/.

This was helpful.
 
 
[snip]

 In the past I used

 Option ButtonMapping 3 2 1
 
 Do you want this to work for your touchpad with the synaptics driver, or do 
 you want this to work with any physical buttons on the laptop, or even an 
 external (e.g. USB) mouse?

The latter.

 
 If the former, then have a look at the NOTES at the end of the man synaptics 
 page, where it mentions button mapping.

man pages (evdev and xorg.conf) were really helpful.

 
 For non tap buttons you can try setting this option in an InputClass section 
 in your xorg.conf for an InputClass device mouse:
 
 Section InputClass
 Identifier  mouse catchall
 Driver  evdev
 MatchIsPointer on
 MatchDevicePath /dev/input/event*
 Option  Protocol auto
 Option ButtonMapping 3 2 1
 EndSection

I tried the above for the Identifier evdev pointer catchall in the
xorg.conf file and both the usb mouse and trackpoint get their buttons
inverted as desired. However the touchpad buttons do not get inverted. I
am using xorg.conf.d/ with the synaptics file: 10-synaptics.conf

Section InputClass
 Identifier synaptics touchpad catchall
 Driver synaptics
 Option Protocol auto-dev
 Option HorizEdgeScroll true
 Option VertEdgeScroll true
 Option AutoServerLayout on
EndSection

which apparently needs to be read before the keyboard conf: 30-keyboard.conf

Section InputClass
 Identifier evdev keyboard catchall
 MatchIsKeyboard on
 MatchDevicePath /dev/input/event*
 Driver evdev
 Option XkbOptions terminate:ctrl_alt_bksp
 Option AutoSeverLayout on
EndSection

otherwise my keyboard keybindings do not work. I have also tried the
pointer InputClass outside the xorg.conf file, that is, inside the
xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read
first, the keyboard config works so do the usb mouse and trackpoint
(with inverted buttons). However so far I have not been able to get the
touchpad buttons to be inverted.

This is a minor thing I can deal with later.

Thanks,

--
Valmor



 
 which apparently does not work here. Last but not least, how do I get
 the good old  ctrl-alt-backspace  keybinding to kill X?
 
 You'll need to define this in the InputClass that deals with the keyboard:
 
 Section InputClass
Identifier  keyboard catchall
Driver  evdev
MatchIsKeyboard on
MatchDevicePath /dev/input/event*
Option XkbLayout gb
Option XkbOptions terminate:ctrl_alt_bksp
 EndSection
 
 HTH.




[gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
Hello,

I had a working laptop with xorg 1.7 using hal; including usb mouse
(left hand swapped buttons), synaptics for a mouse pad, hotplug
monitors in a virtual screen, etc. For this to work I had a
hand-configured xorg.conf file and additional hal policy
configurations.

I have just updated xorg to 1.9.4 with USE -hal and removed hal in
this order (also needed to remove hal from the default run level).  I
tried startx using the existing xorg.conf and X does not start
correctly, I have no mouse and a frozen screen (no keyboard) with the
arrow cursor placed in the middle of the screen. I also tried to start
X without an xorg.conf; same problem.

Here are the outputs of some commands:

emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4,
glibc-2.11.2.-r3, 2.6.36-gentoo-r5 x86_64)

emerge -pv --newuse --update --tree --with-bdeps=y world
Total: 0 packages, Size of downloads: 0 kB

emerge --depclean -vp
Dependencies could not be completely resolved due to
the following required packages not being installed:

   sys-apps/hal  pulled in by:
   x11-drivers/xf86-input-synaptics-1.2.1

In make.conf  I have:

 USE=-hal 

 INPUT_DEVICES=evdev synaptics
 VIDEO_CARDS=intel

Thanks for your help.

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 07:44 PM, Valmor de Almeida wrote:

 [...]
 I have just updated xorg to 1.9.4 with USE -hal and removed hal in
 this order (also needed to remove hal from the default run level).  I
 tried startx using the existing xorg.conf and X does not start
 correctly, I have no mouse and a frozen screen (no keyboard) with the
 arrow cursor placed in the middle of the screen. I also tried to start
 X without an xorg.conf; same problem.

 Since you removed HAL support, did you enable udev support?

I am not sure how to do this. Is it a matter of adding a USE=udev in
/etc/make.conf ?



 emerge --depclean -vp
 Dependencies could not be completely resolved due to
 the following required packages not being installed:

    sys-apps/hal  pulled in by:
        x11-drivers/xf86-input-synaptics-1.2.1

 Check your package.use.  Also try to unmerge xf86-input-synaptics and then
 emerge it again.

Another check on my system shows:

emerge --search xf86-input-synaptics
 Latest version available: 1.3.0
 Latest version installed: 1.2.1

emerge --search xf86-input-evdev
 Latest version available: 2.6.0
 Latest version available: 2.4.0

I don't emerge them directly. They are pulled in by xorg-drivers which
I have re-emerged several times. Don't know why the latest versions of
the drivers don't get installed. Is this the way to force the update
without recording into world:

 emerge --oneshot xf86-input-synaptics xf86-input-evdev

Thanks,

--
Valmor






Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 01:24 PM, Valmor de Almeida wrote:
 On Sat, Feb 19, 2011 at 1:03 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 07:44 PM, Valmor de Almeida wrote:
[snip]
 emerge --depclean -vp
 Dependencies could not be completely resolved due to
 the following required packages not being installed:

sys-apps/hal  pulled in by:
x11-drivers/xf86-input-synaptics-1.2.1

[snip]
 
  emerge --oneshot xf86-input-synaptics xf86-input-evdev

This fixed the problem of hal being pulled in.

--
Valmor

 
 Thanks,
 
 --
 Valmor







Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 01:46 PM, Nikos Chantziaras wrote:
[snip]

 INPUT_DEVICES=keyboard mouse evdev

 Don't forget to enable udev as Mike suggested too. I put mine in the USE
 line. After all, about all hardware now uses udev to see hardware.
 
 You only need evdev.  keyboard and mouse are deprecated drivers. 
 They have bugs that no one appears to be fixing anymore.
 
 

I am only using evdev and finally got my X Window server working fine.
Need to do some fine tuning to get a left-hand mouse working. Amazing
that the mouse pad works and so does the mouse pointing keyboard stick.

There is little from hal to clean up. Apparently only the /etc/hal
directory with some policy files were left there since they did not
belong to hal originally.

Thanks for the help. This was less painful than I thought. However it
exposed a internet connection problem. I am using wicd for wireless and
wired internet config. This laptop happened to be in a place where no
wired internet is available. Since I use the wicd-client X config
utility I was not able to connect to the internet while X was down.
There is a wicd-cli but the man page is empty. I guess I will have to
get some info on how to use wicd-cli on an emergency like this.

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 03:41 PM, Mark Knecht wrote:
 On Sat, Feb 19, 2011 at 12:35 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/19/2011 10:14 PM, Mark Knecht wrote:
 SNIP
 Should I be enabling udev globally in make.conf? I'm currently not. I
 do have it on xorg-server so I'm not seeing the OP's issue, but I
 never wanted to get into making my own udev rules.

 I can only comment on what individual packages do with the udev flag.  I
 can't possibly know what each and every package in portage does when udev is
 enabled globally :-/
 
 Of course. At the time I really meant the question to ask what people are 
 doing.
 
 On my machines currently the only package with a udev flag is
 xorg-server so it's easy.
 
 Cheers,
 Mark
 

I enabled the udev flag in make.conf and after


emerge --pretend --verbose --newuse --update --tree --with-bdeps=y world

Only vlc needed to be reemerged. Apparently the udev flag was already
set for xorg-server.

--
Valmor



Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X

2011-02-19 Thread Valmor de Almeida
On 02/19/2011 06:59 PM, Mick wrote:
[snip]
 
 On two laptops of mine evdev causes untold confusion with the touchpad and 
 second language selection for the keyboard.  I *have* to use the synaptics 
 and 
 keyboard input drivers.  I'm also using mouse (because it doesn't hurt I 
 guess).
 
 I tried of course to remove them all and leave evdev initially, but it all 
 went horribly wrong.  Perhaps evdev will catch up eventually, I just hope 
 synaptics and keyboard don't default into being deprecated before then.

I am using evdev and synaptics only on a thinkpad t201. Without an
xorg.conf, all works including when I connect an usb mouse. However I am
trying to configure the touchpad, trackpoint and extended buttons to
work as left-hand; that is I would like to have the 3 buttons reversed.

I have not been lucky so far. In fact I've read on the web about some
new (relative to xorg 1.7) syntax for the xorg.conf file. Does anyone
know about a site with humanly friendly information on how to write a
modern xorg.conf file? In addition to the devices I mentioned above I am
also trying to setup an external monitor as a hotplug virtual screen.

For instance, things like this do not work:


Section InputClass
Identifier TouchPad
MatchIsTouchpad on
Driver synaptics
#Option SHMConfig on
Option VertTwoFingerScroll on
EndSection

In the past I used

Option ButtonMapping 3 2 1

which apparently does not work here. Last but not least, how do I get
the good old  ctrl-alt-backspace  keybinding to kill X?

Thanks,

--
Valmor




[gentoo-user] 32bit xulrunner version?

2011-02-10 Thread Valmor de Almeida

Hello,

Is there a way to install a 32bit version of xulrunner?

An application I am using on top of eclipse apparently needs a 32bit
version. Don't know exactly why... Currently I have:

/usr/lib64/xulrunner-1.9.2
/usr/lib64/xulrunner-devel-1.9.2
/usr/lib64/xulrunner-1.9.2/LICENSE
/usr/lib64/xulrunner-1.9.2/README.txt
/usr/lib64/xulrunner-1.9.2/chrome
...

and I was told to point to

MOZILLA_FIVE_HOME=/usr/lib32/xulrunner-1.9.2


Thanks,

--
Valmor





Re: [gentoo-user] 32bit xulrunner version?

2011-02-10 Thread Valmor de Almeida
On 02/10/2011 09:52 PM, Mike Edenfield wrote:
 On Thu, 2011-02-10 at 18:32 -0500, Valmor de Almeida wrote:
 Hello,

 Is there a way to install a 32bit version of xulrunner?

 An application I am using on top of eclipse apparently needs a 32bit
 version. Don't know exactly why... Currently I have:
 
 xulrunner is in the multilib layman overlay; I think you just need to
 add multilib to the overlay and set the 'lib32' USE flag.
 
 Note, however, that you'll end up building all of xulrunner's
 dependencies as 32-bit, and their dependencies, etc.  It could take a
 while.
 
 --Mike
 
 

What will happen to the existing lib64 xulrunner on my system? will it
be replaced by lib32? Also will the USE flag lib32 show up after I add
the multilib overlay? At the moment I get:

-  euse -i lib32
global use flags (searching: lib32)

no matching entries found

local use flags (searching: lib32)

no matching entries found

Will a lib32 show up when xulrunner is emerged from the multilib
overlay? As of now no such USE flag exists

-  equery uses xulrunner
[ Searching for packages matching xulrunner... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf  ]
[: Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for net-libs/xulrunner-1.9.2.12 ]
 U I
 + + alsa : Adds support for media-libs/alsa-lib
(Advanced Linux Sound Architecture)
 - - custom-optimization  : Fine-tune custom compiler optimizations
 - - dbus : Enable dbus support for anything that needs
it (gpsd, gnomemeeting, etc)
 - - debug: Enable extra debug codepaths, like asserts
and extra output. If you want to get meaningful backtraces see
http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - elibc_FreeBSD: ELIBC setting for systems that use the
FreeBSD C library
 - - gnome: Adds GNOME support
 - + ipc  : Use inter-process communication between tabs
and plugins. Allows for greater stability in case of plugin crashes
 + + java : Adds support for Java
 - - libnotify: Enable desktop notification support
 - - startup-notification : Enable application startup event feedback
mechanism
 - - system-sqlite: Use the system-wide dev-db/sqlite
installation with secure-delete enabled
 - - wifi : Enable wireless network functions


Thanks for the inputs.

--
Valmor





[gentoo-user] aircard suggestion

2011-02-03 Thread Valmor de Almeida

Hello,

I am interested in trying an aircard with gentoo and I would appreciate
suggestions; hardware and provider service.

Thanks,

--
Valmor



Re: [gentoo-user] how to forbid dhcp for eth0

2011-01-16 Thread Valmor de Almeida
On 01/14/2011 10:39 AM, Kostya Sha. wrote:
 
 On 14.01.2011, at 12:41, Norman Rieß wrote:
 
 Am 01/14/11 06:33, schrieb doherty pete:
 when i start the kernel, it wait long time to dhcp for eth0:
 eth0:dhcped 4.0.15 starting
 eth0:waiting for carrier

 i want to forbid dhcp,how can i do?


 Hi,

 configure a static IP or bring up the interface without configuration
 with config_eth0=( null )

 If you do not want dhcp at all, unmerge dhcpcd.

 Regards,
 Norman

 lol,  
 1) What baselayout do you use?
 if the second then go to /usr/share/doc/openrc-*/net.example
 2) no need to unmerge, you could disable by modules_eth0=!dhcp (check 
 net.example i'm writing from head)

As it has been suggested in this list before. Dump all the
/etc/conf.d/net configuration stuff (including removing the
/etc/init.d/net.eth0 and net.wlan0 files) and just use wicd. It will
know when your machine is wired or not and will boot your system without
waiting for eth0.

--
Valmor



Re: [gentoo-user] config with wireless

2011-01-16 Thread Valmor de Almeida
On 01/15/2011 06:03 AM, doherty pete wrote:
 yeah!it can work,now,this is my configure:
 /etc/conf.d/net
 
 config_eth0=(null)
 
 modules=wpa_supplicant
 
 wpa_supplicant_wlan0=-Dwext
 
 config_wlan0=192.168.1.99 netmask 255.255.255.0
 
 routes_wlan0=default gw 192.168.1.1
 
 //etc/wpa_supplicant/wpa_supplicant.conf/
 /
 /
 /
 ctrl_interface=/var/run/wpa_supplicant
 
 ctrl_interface_group=0
 
 ap_scan=1
 
 network={
 ssid=huang
 proto=WPA2
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=Xda111524*^
 }
 
 /
 
 2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br
 mailto:zhushaz...@yahoo.com.br
 
 Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 mailto:nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

 I'm using wpa with openrc:
 /
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
 
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1
 
 ap_scan=2
 fast_reauth=1
 
 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }/
 
 /[rodolfo@asgard ~]$ cat
 /etc/conf.d/net   

 
 modules=wpa_supplicant
 
 
 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60
 
 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1
 
 
 /And works well with /etc/init.d/net.wlan0 start (in boot too)
 
 Att
 /
 /
 
 
 
 
 -- 
 pete_doherty

Check the e-mail thread on this list with the subject:

   starting wlan0 only when wireless is turned on


http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html


Just dump all of the network config and use wicd.

--
Valmor





Re: [SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

2011-01-13 Thread Valmor de Almeida
On 01/13/2011 09:58 AM, Bill Longman wrote:
 On 01/12/2011 07:25 PM, Valmor de Almeida wrote:
 On 01/12/2011 10:57 AM, Mark Knecht wrote:
 On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote:
 SNIP

 If not BIOS then I'd look at kernel config next.

 - Mark


 If it helps here's my 2.6.36-r6 .config.

 Cheers,
 Mark

 Thanks for the posting. I have

 CONFIG_HAVE_KVM=y
 CONFIG_VIRTUALIZATION=y

 on my config and did a shut down followed by a fresh boot. Everything is
 fine I am currently building a virtual Windows 7 machine.
 
 So was it then your kernel configuration, not your BIOS? Are those the
 only two changes you needed to make?
 

I think I had the CONFIG flags set to Y already. The BIOS change and a
shut down before booting was what apparently solved it. I shutdown the
laptop and went to bed, the next morning after booting the machine I
fired up vbox and all worked. I have now a fully functional Windows7
virtual machine; it is impressive how fast it boots and shuts down as
virtual machine; also everything seems to work robustly. I installed
goggle scketch up under Win7 and it works nicely.

Thanks for the inputs.

--
Valmor



Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

2011-01-12 Thread Valmor de Almeida
On 01/12/2011 02:48 AM, kashani wrote:
 On 1/11/2011 11:04 PM, Valmor de Almeida wrote:
 Hello,

 I am trying to build a windows 7 guest using virtualbox-ose-3.1.8. When
 starting the virtual machine to install the OS, I get the warning:

 VT-x/AMD-V hardware acceleration has been enabled, but is not
 operational. Your 64-bit guest will fail to detect a 64-bit CPU and will
 not be able to boot.

 Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of
 your host computer.

 I have enabled the following in the BIOS:

   Intel(R) Virtualization Technology
   Intel(R) VT-d Feature

 I have not created a KVM module in the kernel (using
 gentoo-sources-2.6.34-r12). Is this needed?
 
 Couple of things to check.
 
 1. Make sure you've turned on all the related BIOS features that may be 
 related. Sometimes it's more than one or two depending on the manufacturer.

Those options are the only things available on the BIOS.

 
 2. Verify that your chip supports 64bit VT. I found out recently that my 
 Intel T6600 while 64bit can only run 32bit guests.

Okay. Will have to check on that.

 
 3. You're running vbox 3.1.8 which is stable for x86 while vbox 3.2.12 
 is stable for amd64. Is your host OS 32bit?

My gentoo is amd64; yes my portage tree could be updated.

-  emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3,
2.6.34-gentoo-r12 x86_64)
=
System uname:
linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-with-gentoo-1.12.14
Timestamp of tree: Sat, 20 Nov 2010 15:45:01 +


Thanks,

--
Valmor

 
 kashani
 




Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

2011-01-12 Thread Valmor de Almeida
On 01/12/2011 05:39 AM, J. Roeleveld wrote:
 On Wednesday 12 January 2011 09:27:00 kashani wrote:
 On 1/12/2011 12:04 AM, Valmor de Almeida wrote:
 System uname:
 linux-2.6.34-gentoo-r12-x86_64-intel-r-_core-tm-_i7_cpu_l_6...@_2.13ghz-w
 ith-gentoo-1.12.14 Timestamp of tree: Sat, 20 Nov 2010 15:45:01 +

  That chip looks okay. http://ark.intel.com/Product.aspx?id=43563

 kashani
 
 Another thing to check: BIOS-version.
 
 I had a similar issue with my Desktop machine where I was unable to run 64bit 
 guests in virtualbox.
 The option was in the BIOS and enabled, but not working correctly. Upgrading 
 the BIOS to the then-latest version solved that issue.
 
 You might be encountering the same issue?
 
 --
 Joost
 

I have a lenovo x201 tablet and the web site shows a BIOS update from
Dec2010. The changes in the update do not say anything about
Virtualization technology updated...

Thanks for the input.

--
Valmor



[SOLVED]Re: [gentoo-user] vbox 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

2011-01-12 Thread Valmor de Almeida
On 01/12/2011 10:57 AM, Mark Knecht wrote:
 On Wed, Jan 12, 2011 at 6:46 AM, Mark Knecht markkne...@gmail.com wrote:
 SNIP

 If not BIOS then I'd look at kernel config next.

 - Mark

 
 If it helps here's my 2.6.36-r6 .config.
 
 Cheers,
 Mark

Thanks for the posting. I have

CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y

on my config and did a shut down followed by a fresh boot. Everything is
fine I am currently building a virtual Windows 7 machine.

Thanks again.

--
Valmor




Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-13 Thread Valmor de Almeida
On 12/13/2010 09:02 AM, Mick wrote:
 On 13 December 2010 09:04, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 13 Dec 2010 07:26:22 +, Mick wrote:

 Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

 No, wpa_supplicant is a dependency of wicd.
 
 Right, I thought as much, but Valmor's removal of
 /etc/wpa_supplicant/*.conf through me out.
 
 Can wicd write to /etc/wpa_supplicant/wpa_supplicant.conf?
 

I can't find it anywhere. So I guess no. On wireless right now.

--
Valmor



  1   2   3   >