Re: [gentoo-user] gentoo alternatives

2021-06-09 Thread Marat BN
Chrome OS is made by Google to run specifically on the Chromebooks.  I 
don't think it is intended for general computing and there is no 
enthusiast community around it like around other distros.


The closest cousin to Gentoo would be Funtoo.  It used to be that Gentoo 
Portage could only use rsync, while Funtoo Portage could use git which 
is much faster, but since then Gentoo Portage has also gained the 
functionality to use git for this purpose.


My biggest problem with Gentoo was not so much the time needed to 
compile huge ebuilds like Firefox, Thunderbird, or Chromium, but that 
say if you neglected doing updates for a while and then decided to start 
again, then you'd have serious problems.  This is because, at least the 
way I understood it, after some time old ebuilds would get deleted from 
the Portage servers to conserve space there, but some of those now 
deleted ebuilds would still be needed as dependencies to do iterative 
updates.  The sure-way to resolve this problem would be to re-emerge the 
whole @world set, which of course would take way-longer than just 
Firefox, and might work differently because the '/etc/' configuration 
schema might have changed.


In my case I had some weird problem either emerging some ebuild or 
keeping an old version of an ebuild to keep the functionality or the 
'/etc/' schema removed in the new versions.  I just let things sit, and 
moved on to other projects.  But when later on I tried to go back to the 
original issue, I had even more trouble because now I was even further 
behind @world, and more ebuilds would not upgrade because of deleted 
dependencies.


So to sum it up, my problem with Gentoo was that you could not just do 
iterative updates after long periods of inactivity.  You pretty much had 
to emerge daily and if you had some problem then drop everything and fix 
it right away, or else you'll fall even further behind and eventually 
might have to rebuild @world.  And so because constant attention 
intervention and trial and error was required you could not just compile 
huge ebuilds overnight and go about your life during the day.


The distro I would recommend to look at now is NixOS -- it is also 
source-based, but if you have problems with one package that will not 
prevent you from keeping the rest of the system up to date.  Upstream 
changes are pulled pretty regularly.  And even though it is 
source-based, you download most packages pre-compiled.  However if you 
want to you can tweak the source and re-compile locally.  You can also 
keep multiple versions of the same package.  You also do not mess 
directly with the '/etc/' files for individual packages, instead you 
specify a global configuration "recipe" in 
'/etc/nixos/configuration.nix', which is used to generate the 
package-specific '/etc/' files.  This layer of abstraction improves 
reliability and allows easy config cloning across machines.


The down-side is that NixOS has a radically-different paradigm that 
takes a while to wrap your head around, requires learning the Nix 
Expression Language (which is radically-different too), and is not yet 
that "mature" so theoretically things can break, but I would still 
recommend it over Chrome OS.



-- Marat


On 6/7/21 1:10 AM, n952162 wrote:
I'm looking for a gentoo alternative and am surprised to see that google 
chrome os is based on gentoo.


Does anybody have any experience with this?

Do they support multi-media and basic modern desktop capabilities?  I 
see that there's some concentration on a special browser, but I'd be 
running Firefox and FVWM anyway.


Do they use /portage/ and source packages?

Do they push down every single upstream modification, like gentoo does, 
or maybe have a bit of hysteresis?


I updated on May first and built firefox 78.10.*0*.  2+ days of 
building.  I updated on June first and built firefox  78.10.*1*. and 
spent 2+ days building.  I updated today because of the same old slot 
collision problems I've run into over a year


dev-python/setuptools:0
dev-python/setuptools_scm:0
dev-python/toml:0
dev-python/certifi:0
dev-python/jinja:0
dev-python/markupsafe:0

and now, on the 7th, I'm building firefox 78.11.   I just don't have the 
time for this.  It impacts my machines too much.


Yes, I know, there are binary versions, but if I wanted to use binary, I 
wouldn't use gentoo.  And anyway, there's always rust and gcc and ...







Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?

2016-11-29 Thread Marat BN
 Original Message 
Subject: Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
From: Alarig Le Lay 
To: gentoo-user@lists.gentoo.org
Date: 11/29/2016 01:36 AM
> On Tue Nov 29 10:19:15 2016, meino.cra...@gmx.de wrote:
>> Hi Marat,
>>
>> thanks for your help and link!
>>
>> ...if I install that addon I only get:
>> "Palyback isn't supported on this device"
>> (using Firefox 50.0)
> Mozilla began to drop flash support since firefox 50.
>
Hmmm all in the name of progress...

I just checked my own FF version and I'm still running 45.4.0.  So
perhaps the solution for having a decent YouTube experience would be to
run a < 50 version of FF with the youtube-flash-player addon in a
virtual machine or in a Docker container.


-- Marat





Re: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?

2016-11-28 Thread Marat BN
I've been running the youtube-flash-player Firefox addon
https://addons.mozilla.org/en-US/firefox/addon/youtube-flash-player/ for
several months now with decent results.  It just reverts YouTube back to
the old Flash video player.  It's been working well for me.  I'm not
affiliated with it and I recommend it.


-- Marat


 Original Message 
Subject: [gentoo-user] HTML5 player (YouTube) is a pain!...Alternatives?
From: meino.cra...@gmx.de
To: Gentoo 
Date: 11/28/2016 10:42 PM
> Hi,
>
> I get sick of this [CESNORED] HTML5 stuff coming from YouTube!
> Most of the videos while playayaingnaying arereare stututterutering
> liiklike helellell. 
>
> I tested a lot of HTML5 addons to fix that problem and googled
> around the world but nothing helps. The only thing I found is an
> iconic sentence, which is true in this case also:
> "You are not alone...!".
>
> Is there any way to feed the stream from youtube direktly into
> a not blown player like mpv/mplayer or such (I would prefer
> not to load a complete gui (vlc) with any click again and again.)?
>
> Thanks for any help in advance!
> Cheers
> Meino
>
> PS: For the completeness:
> I have tried to fix that problem by:
> Restarting firefox
> Disabling hardware acceleration
> Disabling webgl
> Checking, whether the YouTube-testpage shows "all ok" for HTML5 (it does)
> Checking various about:config-setting for usefulness
> De-/Installing various addons, which all promise the heaven on earth
>
>




Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-12 Thread Marat BN
The solution I use when dealing with the problem of network software
overwriting '/etc/resolf.conf' is to make that file immutable with
'chattr +i'.

Not quite an answer to your question on nameserver prioritization, but
could be useful to prevent your nameservers from being changed.


-- Marat



On 07/09/2016 07:53 AM, Mick wrote:
> Hi All,
>
> I just noticed my resolv.conf is topped up with the nameservers of the 
> wireless LAN I happen to be associated at the time and my wired ethernet 
> nameserver(s) are pushed further down.  This happens despite the fact that I 
> have configured my wired ethernet to have a lesser priority than the wired 
> NIC.
>
> For example:
>
> less /etc/resolv.conf 
> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
> # /etc/resolv.conf.head can replace this line
> domain openwifi
> nameserver 192.168.22.22
> nameserver 192.168.22.23
> nameserver 10.10.10.254
> # /etc/resolv.conf.tail can replace this line
>
> The first 3 non-commented entries were produced by wlan0, demoting my wired 
> ethernet nameserver.
>
> ip route show
> default via 10.10.10.254 dev enp11s0  metric 10 
> default via 10.160.95.1 dev wlan0  metric 20 
> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7  metric 
> 10 
> 10.160.95.0/29 dev wlan0  proto kernel  scope link  src 10.160.95.2  metric 
> 20 
> 127.0.0.0/8 dev lo  scope host 
>
> If I am associated, but not authenticated with the wireless LAN, any URLs I 
> try to visit will be queried with the 192.168.22.2* nameserver, before it 
> times out and 10.10.10.254 takes over.
>
> Waiting for URLs to resolve becomes tedious after a while.  Is there a way to 
> prioritise nameservers so that the NIC metric is respected, whenever the 
> resolv.conf content is updated?
>




[gentoo-user] Re: 'emerge --update @world -pv' keeps trying to upgrade to a masked package

2015-10-13 Thread Marat BN
Ah, I think I figured out what was the problem.  Looked down further in
the Portage output, and saw this:

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by gnome-extra/nm-applet-1.0.6::gentoo
# required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
# 2015-09-19--01
=net-misc/networkmanager-1.0.6
# required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
# 2015-09-14--01
=gnome-extra/nm-applet-1.0.6
# required by net-misc/networkmanager-1.0.6::gentoo[bluetooth]
# required by gnome-extra/nm-applet-1.0.6::gentoo
# required by net-misc/networkmanager-pptp-1.0.6::gentoo[gtk]
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
# 2015-06-22--01
=net-wireless/bluez-5.33


It appears that 'net-misc/networkmanager-1.0.6' was being pulled in by
'gnome-extra/nm-applet-1.0.6::gentoo',
'net-misc/networkmanager-pptp-1.0.6::gentoo[gtk]', and so on, and these
were just being reported further down below.

So I added them to '/etc/portage/package,mask' as well and the problem
went away.


-- Marat

 Original Message 
Subject: 'emerge --update @world -pv' keeps trying to upgrade to a
masked package
From: Marat BN 
To: gentoo-user@lists.gentoo.org
Date: 10/13/2015 05:53 PM

> Hello there,
> 
> I'm having a curious problem trying to update my system.
> 
> I issue the command:
> 
> emerge --update @world -pv
> 
> 
> Portage comes back with the following:
> 
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
> 
> net-wireless/bluez:0
> 
>(net-wireless/bluez-4.101-r9:0/0::gentoo, installed) pulled in by
>net-wireless/bluez:0/0= required by
> (media-sound/pulseaudio-5.0-r7:0/0::gentoo, installed)
>^   
>
>
> 
> (net-wireless/blueman-1.23-r2:0/0::maratbn, installed)
>^ ^ 
>
>
> 
> 
>(net-wireless/bluez-5.33:0/3::gentoo, ebuild scheduled for merge)
> pulled in by
>>=net-wireless/bluez-5 required by
> (net-misc/networkmanager-1.0.6:0/0::gentoo, ebuild scheduled for merge)
>^^ ^ 
>
>
>
>   
> 
> 
> But I have the following line in my '/etc/portage/package.mask':
> 
> =net-misc/networkmanager-1.0.6:0/0::gentoo
> 
> 
> So doesn't this tell portage not to upgrade to it?   Why does it still
> schedule it for merge?
> 
> 
> Thanks a lot,
> Marat
> 




[gentoo-user] 'emerge --update @world -pv' keeps trying to upgrade to a masked package

2015-10-13 Thread Marat BN
Hello there,

I'm having a curious problem trying to update my system.

I issue the command:

emerge --update @world -pv


Portage comes back with the following:

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

net-wireless/bluez:0

   (net-wireless/bluez-4.101-r9:0/0::gentoo, installed) pulled in by
   net-wireless/bluez:0/0= required by
(media-sound/pulseaudio-5.0-r7:0/0::gentoo, installed)
   ^   
   
   

   =net-wireless/bluez-5 required by
(net-misc/networkmanager-1.0.6:0/0::gentoo, ebuild scheduled for merge)
   ^^ ^ 
   
   
   
  


But I have the following line in my '/etc/portage/package.mask':

=net-misc/networkmanager-1.0.6:0/0::gentoo


So doesn't this tell portage not to upgrade to it?   Why does it still
schedule it for merge?


Thanks a lot,
Marat



Re: [gentoo-user] libtool 2.x upgrade

2010-02-26 Thread bn
Neil Bothwick ha scritto:
> On Fri, 26 Feb 2010 02:15:09 +0100, bn wrote:
> 
>> I have a stable x86 system that requires still a bit of updating, among
>> those libtool and gcc. Since I need the system to be usable *now* for
>> work reasons, I don't feel like updating gcc and rebuilding it all with
>> an emerge -e system / emerge -e world, but more and more packages want
>> to upgrade to libtool 2.x
> 
> GCC is slotted, so you can install the latest version but switch back to
> the old version instantly if it gives you problems. Unless the is an ABI
> change, which hasn't happened for a while, it is not necessary to rebuild
> everything.
> 

That's exactly what I wanted to know. But it strikes me that from
libtool 1.x to 2.x there's no ABI change. Is this correct?

I don't know exactly what libtool does (I'm not a C programmer -well,
apart from very basic stuff), but in general major version updates break
compatibility, therefore my concern.

m.






Re: [gentoo-user] Re: libtool 2.x upgrade

2010-02-26 Thread bn
Nikos Chantziaras ha scritto:
> On 02/26/2010 03:15 AM, bn wrote:
>> Hi,
>>
>> I have a stable x86 system that requires still a bit of updating, among
>> those libtool and gcc. Since I need the system to be usable *now* for
>> work reasons, I don't feel like updating gcc and rebuilding it all with
>> an emerge -e system / emerge -e world, but more and more packages want
>> to upgrade to libtool 2.x
>>
>> Is it safe to upgrade libtool without (1)rebuilding gcc too and
>> (2)rebuilding system/world?
> 
> I don't know, but for this type of scenario you are better off building
> binary packages of everything that need to be updated without actually
> installing any of it on the machine.  At the end, when all binaries have
> been created by portage, you can install them in one go at a convenient
> point.
> 
> Look up the "--buildpkgonly" option of emerge for this.

Looks like an excellent suggestion, I didn't think of that. Thanks!

Anyway, if someone else knows the answer to the libtool question, I'd be
happy, if only for learning purposes :)

m.



[gentoo-user] libtool 2.x upgrade

2010-02-25 Thread bn
Hi,

I have a stable x86 system that requires still a bit of updating, among
those libtool and gcc. Since I need the system to be usable *now* for
work reasons, I don't feel like updating gcc and rebuilding it all with
an emerge -e system / emerge -e world, but more and more packages want
to upgrade to libtool 2.x

Is it safe to upgrade libtool without (1)rebuilding gcc too and
(2)rebuilding system/world?

thanks,
m.



Re: [gentoo-user] Can't hear anything. :-(

2010-02-16 Thread bn
Alan Mackenzie ha scritto:
> Hi, gentoo,
> 
> I'm trying to get sound to sound on my new Gentoo box, following the
> "Gentoo Linux ALSA Guide".  Everything seems to be working fine, except
> no sound is coming out of my loudspeakers.
> 
> I've checked the obvious things: the speakers are plugged in, switched
> on and connected to the appropriate socket on my motherboard (the light
> green one).
> 
> I have drivers for my motherboard's sound chips compiled into my kernel,
> and they are correctly identified by alsamixer.  With alsamixer I've
> unmuted various things and turned up the volume.
> 
> madplay appears to play an mp3 file I have.  Just that no actual sound
> comes out.
> 
> One other strange thing: the titles under the "volume bars" in alsamixer
> are very different from the ones in the document: Instead of "Master /
> Headphone / Tone / Bass / Treble / 3D Contr / PCM", I've got " Master /
> Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line /
> Mic / Mic Boos / S/PDIF / S/PDIF D / Beep".  Why is this?  In
> particular, I'm missing the "PCM" volume bar which the documentation
> says is so important to unmute.
> 
> What am I missing here?
> 
> Thanks in advance!
> 

Have you tried this?
http://www.pubbs.net/gentoo/200912/63563/

I had a similar problem, I hope it helps. Drivers are one thing, but
codecs another.

m.



Re: [gentoo-user] Sound in KDE-4

2010-01-12 Thread bn
Peter Humphrey ha scritto:
> On Tuesday 12 January 2010 06:39:16 Dale wrote:
> 
>> From your post, it appears that the kernel sees the card.  However, the
>> only time I have seen this error was when I didn't have the right driver
>> for my sound card.  Can you check again to make very sure you have the
>> right driver?  Maybe there is two that are really close or something.
> 
> These are the loaded sound modules. Can you see any conflict?
> 
> # lsmod | grep snd
> snd_seq_oss23781  0
> snd_seq_midi_event  4540  1 snd_seq_oss
> snd_seq42949  4 snd_seq_oss,snd_seq_midi_event
> snd_seq_device  4405  2 snd_seq_oss,snd_seq
> snd_pcm_oss30573  0
> snd_mixer_oss  12406  1 snd_pcm_oss
> snd_hda_intel  17746  1
> snd_hda_codec  44688  1 snd_hda_intel
> snd_pcm55177  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
> snd_timer  15366  2 snd_seq,snd_pcm
> snd43222  11 
> snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
> soundcore   4447  1 snd
> snd_page_alloc  5937  2 snd_hda_intel,snd_pcm
> 
> I believe that snd_hda_intel is the right driver for the card, though I'm 
> not certain. The kernel seems to have known about these cards since version 
> 2.6.26.2.
> 
> Maybe I should try removing all traces of OSS from the kernel.
> 
> # lspci -vs 00:1b.0
> 00:1b.0 Audio device: Intel Corporation Ibex Peak High Definition Audio (rev 
> 05)
> Subsystem: ASUSTeK Computer Inc. Device 8375
> Flags: bus master, fast devsel, latency 0, IRQ 22
> Memory at f7ff8000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> Capabilities: [100] Virtual Channel 
> Capabilities: [130] Root Complex Link 
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
> 

Seeing you're using (like me) an Intel HDA... have you selected the
correct *codec* in your kernel? I had trouble with my sound card until I
figured that out. See this mail:

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

cheers,
m.



Re: [gentoo-user] Re: mozilla-firefox - I'm lost

2010-01-11 Thread bn
Mick ha scritto:
> 2010/1/11 walt :
>> On 01/11/2010 01:51 AM, Helmut Jarausch wrote:
>>> Hi,
>>>
>>> I've tried (for the first time) to install the
>>> source version of firefox
>>>   www-client/mozilla-firefox-3.5.7
>>> with useflags
>>>   alsa bindist dbus gnome java linguas_de linguas_en sqlite
>>> startup-notification
>>>
>>> It builds just fine,
>>> BUT
>>> when I start firefox I get only a tiny (real tiny!)
>>> window. When I enlarge it (dragging a vertex of the window)
>>> it's just empty.
>>>
>>> I have no idea what went wrong.
>>> (I have renamed ~/.firefox and ~/.mozilla
>>>  but this doesn't help either)

Try removing useflags and see what happens. I'd remove the gnome and
sqlite flags, for example (I haven't them and firefox works :) ).

m.



[gentoo-user] [OT] Kate autoindent doesn't autoindent since upgrade to kde 4

2010-01-07 Thread bn
Hi,

I was a happy Kate user for Python programming. Now I have a slight but
noticeable annoyance: it doesn't autoindent anymore when pressing
return. I mean, if I write:

def foo(): 
   pass

I used to find the cursor in the correct indented position. Now instead
I find myself writing:

def foo(): 
pass

unless I actually press Tab before writing "pass".

Indenting settings were on "None". I tried changing the indenting
settings to "Python" or "Normal", but nothing happens. Where should I look?

Thanks,
m.



Re: [gentoo-user] eth0 failure

2010-01-07 Thread bn
GerhardosG ha scritto:
> Hi ,
> 
> on my  gentoo-Laptopwith  AMD - K8  the network
> 
> is NOT running :
> 
> ifconfig  eth0 down
> 
> ifconfig  eth0 up
> Disabling  IRQ #5
> 
> Why ?
> 

We will never know if you don't give some detail about your hardware,
kernel configuration, etc.

At the bare minimum, the output of lspci -vv relevant to your network card.

In the meantime, read this:
http://catb.org/~esr/faqs/smart-questions.html

Hope it helps!
m.



Re: [gentoo-user] [SOLVED] Re: sky2 , kernel 2.6.31, macbook pro and connection hiccups

2010-01-07 Thread bn
Neil Walker ha scritto:
> bn wrote:
>> Ehm, no, it disconnects randomly every about ~5 minutes, and then comes
>> back.
>>   
> 
> Most network problems can be traced to the cable or connectors. Have you
> tried
> a different cable?

It was the cable, indeed. :)
Thanks for the hint!

m.



Re: [gentoo-user] Re: sky2 , kernel 2.6.31, macbook pro and connection hiccups

2010-01-03 Thread bn
Neil Walker ha scritto:
> bn wrote:
>> Ehm, no, it disconnects randomly every about ~5 minutes, and then comes
>> back.
>>   
> 
> Most network problems can be traced to the cable or connectors. Have you
> tried
> a different cable?

No, but before the kernel upgrade it seemed to work OK.
However I will check when I can.

> I have a similar chipset in this desktop:
> 
> 03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E
> Gigabit Ethernet Controller (rev 14)
> Subsystem: Marvell Technology Group Ltd. Device 00ba
> 
> It's worked perfectly with the sky2 driver in all kernel versions since
> goodness knows
> what. It certainly worked with all of the 2.6.31 releases. It's
> currently on gentoo-sources 2.6.32-r1.

Good to know, I hope it's just a cable issue, but the coincidence with
the upgrade makes me worry.

Thanks,
m.



Re: [gentoo-user] Re: sky2 , kernel 2.6.31, macbook pro and connection hiccups

2010-01-02 Thread bn
walt ha scritto:
> On 01/02/2010 09:52 AM, bn wrote:
>> Hi,
>> I upgraded recently my Macbook Pro to gentoo-sources 2.6.31 and I have
>> annoying network hiccups which I didn't have with the old 2.6.24.
> 
> By that you mean the chip works, but prints error messages that you
> didn't see before?

Ehm, no, it disconnects randomly every about ~5 minutes, and then comes
back.

> Looking at the kernel commit logs for the sky2 driver, I see hundreds
> of changes since 2.6.24, so this driver is very actively developed.
> I would try building a vanilla kernel somewhere between 6.24 and 6.31
> and see if it makes any difference.

Well, yes, this "brute force" approach could theoretically help, but if
there's any chance of narrowing down this I'd be happy. I don't exactly
have the time to recompile 7 kernel versions and try until I find the
golden one.

thanks,
m.




[gentoo-user] sky2 , kernel 2.6.31, macbook pro and connection hiccups

2010-01-02 Thread bn
Hi,
I upgraded recently my Macbook Pro to gentoo-sources 2.6.31 and I have
annoying network hiccups which I didn't have with the old 2.6.24.

b.g.o. and google return me something on sky2-related hiccups, but only
related to very old kernels (<2.6.23), but maybe you know better.

(Hopefully) relevant infos below, I hope someone can give me some hint
about this problem. Thanks!


uname -a:
-
Linux kircher 2.6.31-gentoo-r6 #8 SMP PREEMPT Fri Dec 25 00:57:17 GMT
2009 i686 Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz GenuineIntel GNU/Linux


Example of logs entries:
---
Jan  2 17:47:42 kircher sky2 eth0: rx error, status 0x620020 length 98
Jan  2 17:47:49 kircher sky2 eth0: rx error, status 0x690020 length 105
Jan  2 17:48:11 kircher sky2 eth0: rx error, status 0x4990020 length 1177
Jan  2 17:48:25 kircher sky2 eth0: rx error, status 0x13f0020 length 319
Jan  2 17:48:46 kircher sky2 eth0: rx error, status 0x1350020 length 309


Relevant lspci -vvv :

0c:00.0 Ethernet controller: Marvell Technology Group Ltd. Marvell Yukon
88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
Subsystem: Marvell Technology Group Ltd. Device 00ba

Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
SERR- 

Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+
Count=1/1 Enable+
Address: fee0300c  Data: 4191
Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
unlimited, L1 unlimited
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 2048 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+
TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <256ns, L1 unlimited
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 128 bytes Disabled-
Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting
UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt-
UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta:  RxErr+ BadTLP- BadDLLP- Rollover- Timeout-
NonFatalErr+
CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout-
NonFatalErr+
AERCap: First Error Pointer: 1f, GenCap- CGenEn- ChkCap-
ChkEn-
Kernel driver in use: sky2


emerge --info:
-
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.31-gentoo-r6 i686)
=

System uname:
linux-2.6.31-gentoo-r6-i686-intel-r-_core-tm-2_duo_cpu_t77...@_2.40ghz-with-gentoo-1.12.11.1

Timestamp of tree: Sat, 26 Dec 2009 19:30:01 +

app-shells/bash: 3.2_p39

dev-java/java-config: 1.3.7, 2.1.9-r2

dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4

dev-python/pycrypto: 2.0.1-r6

dev-util/cmake:  2.6.2-r1

sys-apps/baselayout: 1.12.11.1

sys-apps/sandbox:1.6-r2

sys-devel/autoconf:  2.13, 2.63

sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2

sys-devel/binutils:  2.18-r3

sys-devel/gcc-config: 1.4.0-r4

sys-devel/libtool:   1.5.26

virtual/os-headers:  2.6.27-r2

ACCEPT_KEYWORDS="x86"

CBUILD="i686-pc-linux-gnu"

CFLAGS="-O2 -march=nocona -pipe"

CHOST="i686-pc-linux-gnu"

CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/
http://files.gentoo.org http://ftp.uoi.gr/mirror/OS/gentoo/
http://ftp.cc.uoc.gr/mirrors/linux/gentoo/
http://mirror.ing.unibo.it/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LDFLAGS="-Wl,-O1"
LINGUAS="it en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links -

Re: [gentoo-user] Upgrade or start over..

2009-12-27 Thread bn
Jon Hardcastle ha scritto:
> Hi all, 
> 
> I have a gentoo circa 2008 install that i have pretty much the bare minimal 
> to keep up to date... i now have the problem that i need to upgrade mdadm, 
> lvm and probably a few other bits and pieces. This machine is used almost 
> exclusively as a windows file server.
> 
> I am getting blocks all over the show and lots of applications needs 
> reinstalling/upgradining on a emerge world. i have also had problems getting 
> the kernel to do what it needs to do a i installed the minimal when i 
> started..
> 
> So i am wondering... it is easier to try and upgrade it, or as i have 2 raid 
> 1 drives as the operating system drives and the rest of the drives are pure 
> data, i can disconnect one and wipe the other reinstall from fresh as a 
> degraded raid 1 and when i know we are good to go, wipe the disconnected 
> drive and add to the array to resync and go from there? 

Well, I am updating my desktop system which was in pretty the same
conditions (kernel, xorg, etc. being stuck since beginning of 2008) and
I must say that, while long and not without bumps, the upgrade has been
not as bad as I thought. Expect to use a week of your time, however -I
still haven't finished even if most critical stuff (kernel, xorg, new
kde) is more or less in place.

Reinstalling maybe is cleaner, but I am unsure it will take less time,
unless you carefully copy your /etc and your user configuration files,
and then you remember why you did what, etc. when putting them back.

m.

> 
> ---
> N: Jon Hardcastle
> E: j...@ehardcastle.com
> 'Do not worry about tomorrow, for tomorrow will bring worries of its own.'
> 
> ***
> Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it 
> with jon AT eHardcastle.com
> ***
> 
> ---
> 
> 
>   
> 
> 




Re: [gentoo-user] [SOLVED] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-27 Thread bn
Neil Bothwick ha scritto:
> On Sun, 27 Dec 2009 12:55:23 +0000, bn wrote:
> 
>> ...I would like to update the thing piece-by-piece, to troubleshoot
>> better whatever happens.
> Start with a system update, then emerge --oneshot individual,
> non-QT, packages to reduce the number of packages in the big emerge.
> 
>>> If not, you can either 
>>> unmask portage, emerge portage and try again, or if you don't like
>>> that approach, you must do it the older, longer way:  
>> I could do it, if I have some safety option that allows me to downgrade
>> portage later, in case I find problems. I am quite conservative with
>> this system (it's a machine I use for day-to-day work) and I wouldn't
>> like to have it borked.
> 
> Install and run demerge, then quickpkg your existing installed packages.
> Demerge lets you roll back to any point at which you saved its config.

I solved the block by unmerging and re-merging the qt's and then
re-emerging all of KDE (for other qt software, I have to find it).

Thanks a lot for your tips -didn't know of demerge, and I will for sure
install it for the future.

m.



Re: [gentoo-user] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-27 Thread bn
Alan McKinnon ha scritto:
> Basically, the most important thing to sort out is those qt blocks. You 
> appear 
> to be running an arch machine as version 4.5.3-r1 wants to be merged, right?

Yes, x86 (sorry, I forgot that)

> Trying to merge just qt-gui (or any other individual qt apps) is not really 
> going to help much, as portage does not do a deep search. Try:
> 
> emerge -avuND world
>
> and see if portage sensibly sorts out what should replace what. You might 
> need 
> a very recent portage for this to work automagically. 

Good advice. emerge -avuND world indeed seems to find the blocks as
self-resolving. However, since it wants to update/install a LOT of stuff...

( "Total: 414 packages (286 upgrades, 94 new, 5 in new slots, 29
reinstalls, 2 uninstalls)" )

...I would like to update the thing piece-by-piece, to troubleshoot
better whatever happens.

> If not, you can either 
> unmask portage, emerge portage and try again, or if you don't like that 
> approach, you must do it the older, longer way:

I could do it, if I have some safety option that allows me to downgrade
portage later, in case I find problems. I am quite conservative with
this system (it's a machine I use for day-to-day work) and I wouldn't
like to have it borked.

> remove every single qt and/or qt-* package from world (qt should be treated 
> as 
> pure dependencies unless you are developing qt apps)
> unmerge *everything* in qt
> emerge -avuND world
> 
> and let portage sort out what qt versions must be installed.
> 
> Then you must remerge all of KDE4 and every other package that uses qt. Don't 
> skimp this step becuase it 'takes a long time' - you will surely regret it 
> (random mysterious failures etc that only go away when you finally do update 
> all of KDE)

Ok, this seems the safest option.

> Once qt is out of the way, proceed with any other blockers that remain

Ys, qt is my mainproblem. I have another udev related block in the world
update, but *seems* unrelated.

Thanks!
m.



[gentoo-user] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-26 Thread bn
Hi,

I have finally updated from kde 3.5 to kde-base 4.3

Everything smooth so far, but when I try to install, for example,
kdeplasma-addons, a blocks hell comes out.

This is the (long) output of emerge -tpuv qt-gui:


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

Calculating dependencies... done!
[nomerge  ] x11-libs/qt-xmlpatterns-4.5.1  USE="-custom-cxxflags
-debug -pch"
[blocks b ]  >x11-libs/qt-dbus-4.5.1-r
(">x11-libs/qt-dbus-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-script-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1,
x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[blocks b ]  >x11-libs/qt-gui-4.5.1-r
(">x11-libs/qt-gui-4.5.1-r" is blocking x11-libs/qt-assistant-4.5.1,
x11-libs/qt-opengl-4.5.1, x11-libs/qt-svg-4.5.1-r1,
x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1,
x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[nomerge  ] dev-python/matplotlib-0.98.5.2  USE="cairo gtk qt3 qt4
tk wxwindows -doc -examples -excel -fltk -latex"
[nomerge  ]  dev-python/PyQt4-4.5.4-r4  USE="X dbus kde opengl sql
svg webkit -assistant -debug -doc -examples -phonon -xmlpatterns"


[nomerge  ]   x11-libs/qt-dbus-4.5.3-r1 [4.5.1] USE="(-aqua) -debug
-pch (-custom-cxxflags%)"
[blocks b ]x11-libs/qt-core-4.5.1-r
(">x11-libs/qt-core-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-script-4.5.1,
x11-libs/qt-dbus-4.5.1, x11-libs/qt-xmlpatterns-4.5.1,
x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1,
x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1,
x11-libs/qt-webkit-4.5.1)
[blocks b ]  >x11-libs/qt-qt3support-4.5.1-r
(">x11-libs/qt-qt3support-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-script-4.5.1,
x11-libs/qt-dbus-4.5.1, x11-libs/qt-xmlpatterns-4.5.1,
x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-sql-4.5.1,
x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)
[blocks b ]  >x11-libs/qt-sql-4.5.1-r
(">x11-libs/qt-sql-4.5.1-r" is blocking x11-libs/qt-assistant-4.5.1,
x11-libs/qt-opengl-4.5.1, x11-libs/qt-svg-4.5.1-r1,
x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1,
x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[blocks b ]  >x11-libs/qt-script-4.5.1-r
(">x11-libs/qt-script-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-dbus-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1,
x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[uninstall]   x11-libs/qt-assistant-4.5.1  USE="-custom-cxxflags
-debug -pch"
[nomerge  ] kde-base/kdebase-meta-4.3.3  USE="semantic-desktop
(-kdeprefix) -policykit"
[nomerge  ]  kde-base/kiconfinder-4.3.3  USE="(-aqua) -debug
(-kdeenablefinal) (-kdeprefix)"
[nomerge  ]   kde-base/kdelibs-4.3.3-r1  USE="acl alsa bzip2 fam
handbook mmx nls opengl semantic-desktop spell ssl -3dnow (-altivec)
(-aqua) -bindist -debug -doc -jpeg2k (-kdeenablefinal) (-kdeprefix)
-kerberos (-lzma) -openexr -sse -sse2 -test -zeroconf"
[nomerge  ]app-misc/strigi-0.7.0  USE="clucene dbus fam qt4
-debug -exif -hyperestraier -inotify (-log) -test"
[nomerge  ] x11-libs/qt-dbus-4.5.3-r1 [4.5.1] USE="(-aqua)
-debug -pch (-custom-cxxflags%)"
[blocks b ]  x11-libs/qt-dbus-4.5.1-r
(">x11-libs/qt-dbus-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-script-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1,
x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[blocks B ] >x11-libs/qt-gui-4.5.1-r
(">x11-libs/qt-gui-4.5.1-r" is blocking x11-libs/qt-assistant-4.5.1,
x11-libs/qt-opengl-4.5.1, x11-libs/qt-svg-4.5.1-r1,
x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1,
x11-libs/qt-xmlpatterns-4.5.1, x11-libs/qt-test-4.5.1,
x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1,
x11-libs/qt-core-4.5.1, x11-libs/qt-webkit-4.5.1)

[blocks B ] x11-libs/qt-core-4.5.1-r
(">x11-libs/qt-core-4.5.1-r" is blocking
x11-libs/qt-assistant-4.5.1, x11-libs/qt-opengl-4.5.1,
x11-libs/qt-svg-4.5.1-r1, x11-libs/qt-script-4.5.1,
x11-libs/qt-dbus-4.5.1, x11-libs/qt-xmlpatterns-4.5.1,
x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1,
x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1,
x11-libs/qt-webkit-4.5.1)
[blocks B ] x11-libs/qt-qt3support-4.5.1-r
(">x

[gentoo-user] Re: The Great Macbook Update 2: How to brace for xorg

2009-12-25 Thread bn
bn ha scritto:
> Further update: I am trying with xmodmap, but it seems it works in some
> cases and others not (notably GTK applications ignore it, while KDE apps
> use it).
> 
> I've put xmodmap lines in my .xsession, kdm config, and I have identical
> xmodmap both in my home and in /etc/X11, to no avail.
> 
> Even if I run
> 
> xmodmap $HOME/.xmodmap
> 
> from a terminal and then I start some gtk app, this ignores the xmodmap.

Found that, it is a GTK bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532717

sorry for the monologue, but maybe it will help people looking in the ML
in the future!

m.



[gentoo-user] Re: The Great Macbook Update 2: How to brace for xorg

2009-12-25 Thread bn
bn ha scritto:
> Ok, I updated, and (miracolously enough) xorg 1.6 + hal/evdev mostly works!
> Only thing I have to put back in shape is the keyboard mapping. I have
> seen how to force hal policy to use the IT mapping, but I lost most
> customizations I needed:
> - key F11 mimicking the middle mouse button
> - apple key mimicking Alt-Gr
> 
> and I don't find much information on how to do this with HAL. Any hint?
> (Oddly enough, one of the past customizations I had, key F12=right mouse
> button, still works.)

Further update: I am trying with xmodmap, but it seems it works in some
cases and others not (notably GTK applications ignore it, while KDE apps
use it).

I've put xmodmap lines in my .xsession, kdm config, and I have identical
xmodmap both in my home and in /etc/X11, to no avail.

Even if I run

xmodmap $HOME/.xmodmap

from a terminal and then I start some gtk app, this ignores the xmodmap.

Any hint?
Thanks and (I forgot) hope you had a merry Christmas!

m.



[gentoo-user] Re: The Great Macbook Update 2: How to brace for xorg

2009-12-25 Thread bn
bn ha scritto:
> Hi,
> 
> Second thread of help with my Macbook upgrade of essentials which I
> don't upgrade since a long time.
> 
> Now I have to prepare to jump from xorg-1.3 to xorg-1.6. I've seen
> already there are a lot of horror stories in the mailing list and a lot
> of weird instructions about hal, evdev etc.
> 
> Before starting, I have some pre-emptive question:
> - Is using hal for xorg necessary?
> - If I want xorg to use the same old config files of before, is it
> enough to compile with -hal ? Is there a way to tell xorg "dynamically"
> to use hal or not, so that I can check without recompiling but just by
> restarting X?
> - I have the keymap (an Italian Macbook keyboard) customized in the , so
> that, for example, apple key works as Alt-Gr. To keep such
> customizations on (which, I admit, I don't remember well where they are,
> but maybe someone of you does! it was in the Gentoo Wiki but now I see
> the relevant part is no more), is it again good to let xorg use xorg.conf?
> - Anything else I should be aware of, like stuff to put into xorg.conf
> before trying to restart X?

Ok, I updated, and (miracolously enough) xorg 1.6 + hal/evdev mostly works!
Only thing I have to put back in shape is the keyboard mapping. I have
seen how to force hal policy to use the IT mapping, but I lost most
customizations I needed:
- key F11 mimicking the middle mouse button
- apple key mimicking Alt-Gr

and I don't find much information on how to do this with HAL. Any hint?
(Oddly enough, one of the past customizations I had, key F12=right mouse
button, still works.)

Thanks,
M.



[gentoo-user] The Great Macbook Update 2: How to brace for xorg

2009-12-25 Thread bn
Hi,

Second thread of help with my Macbook upgrade of essentials which I
don't upgrade since a long time.

Now I have to prepare to jump from xorg-1.3 to xorg-1.6. I've seen
already there are a lot of horror stories in the mailing list and a lot
of weird instructions about hal, evdev etc.

Before starting, I have some pre-emptive question:
- Is using hal for xorg necessary?
- If I want xorg to use the same old config files of before, is it
enough to compile with -hal ? Is there a way to tell xorg "dynamically"
to use hal or not, so that I can check without recompiling but just by
restarting X?
- I have the keymap (an Italian Macbook keyboard) customized in the , so
that, for example, apple key works as Alt-Gr. To keep such
customizations on (which, I admit, I don't remember well where they are,
but maybe someone of you does! it was in the Gentoo Wiki but now I see
the relevant part is no more), is it again good to let xorg use xorg.conf?
- Anything else I should be aware of, like stuff to put into xorg.conf
before trying to restart X?

Thanks!
m.



Re: [gentoo-user] [SOLVED] The Great Macbook Update 1: Audio

2009-12-24 Thread bn
Hi,
Bruce Hill ha scritto:
> On Thu, Dec 24, 2009 at 09:53:43PM +0000, bn wrote:
> Which codec does your HDA Intel use? Then check if it's in your kernel:
> 
> zgrep 'CONFIG_SND_HDA_CODEC' /proc/config.gz
> 
> Your codec might not be easy to determine, such as mine:
> jeremiah ~ # cat /proc/asound/card0/codec#* | grep Codec
> Codec: Analog Devices AD1984
> jeremiah ~ # zgrep 'CONFIG_SND_HDA_CODEC' /proc/config.gz
> # CONFIG_SND_HDA_CODEC_REALTEK is not set
> CONFIG_SND_HDA_CODEC_ANALOG=y
> # CONFIG_SND_HDA_CODEC_SIGMATEL is not set
> # CONFIG_SND_HDA_CODEC_VIA is not set
> # CONFIG_SND_HDA_CODEC_ATIHDMI is not set
> # CONFIG_SND_HDA_CODEC_NVHDMI is not set
> # CONFIG_SND_HDA_CODEC_INTELHDMI is not set
> # CONFIG_SND_HDA_CODEC_CIRRUS is not set
> # CONFIG_SND_HDA_CODEC_CONEXANT is not set
> # CONFIG_SND_HDA_CODEC_CA0110 is not set
> # CONFIG_SND_HDA_CODEC_CMEDIA is not set
> # CONFIG_SND_HDA_CODEC_SI3054 is not set
> 
> However, in the Help for CONFIG_SND_HDA_CODEC_ANALOG we read:
> Say Y here to include Analog Device HD-audio codec support in
> snd-hda-intel driver, such as AD1986A.

You were right, this was the problem, as I independently discovered. I
still don't know which codec is the right one, but enabling *all* of
them solved the issue, and that's fine with me :)

Thanks!
m.



[gentoo-user] The Great Macbook Update 1: Audio

2009-12-24 Thread bn
Hi,

I am updating my Macbook Pro installation. While many programs I updated
often, the basics (Xorg, kernel, etc.) were taking dust since... well, a
lot. I only found time with these holidays. This is therefore probably
the first thread of a long series...

To make it short: The machine is a late-2007 Macbook Pro which I updated
from vanilla-sources 2.6.24-rc6 to gentoo-sources-2.6.31.6. Everything
essential seems to work fine, apart from audio. Audio card is
recognized, the hardware (from lshw) is:

description: Audio device
product: 82801H (ICH8 Family) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: p...@:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel

The situation is a classic: everything *seems* recognized, no program
compalins, *but* I hear only silence, no audio.

alsamixer and kmix agree on everything being turned on. Where should I
try to look?

Thanks!
m.



Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread bn
Erik ha scritto:
> Alan McKinnon skrev:
>> That's because you worded your question like a dumbass user asking someone 
>> else to do their homework for him.
> 
> I did not mention anything related to homework or that I would still be
> a student or anything like that. It was just a standard question of
> knowing which Gentoo package is best suited for a particular task.

You did not mention, but all it seemed is that you were asking "how do I
solve this equation".
Alan was maybe not very polite, but he explained you well why it hasn't
been taken seriously.

m.




Re: [gentoo-user] program to solve assignment problem?

2009-11-03 Thread bn
Dale ha scritto:
> Neil Bothwick wrote:
>> On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote:
>>
>>   
>>> And maybe it will be easier to just do his own homework instead of
>>> letting a computer do it for him.
>>> 
>> Maybe the assignment is to write a program to solve the equation.
>>
>>
>>   
> 
> That's a idea too.  Didn't think of that.

In this case I suggest the following programming languages:
- Brainfuck http://en.wikipedia.org/wiki/Brainfuck
- OISC http://en.wikipedia.org/wiki/OISC
- Thue http://en.wikipedia.org/wiki/Thue_(programming_language)
- Unlambda http://en.wikipedia.org/wiki/Unlambda_programming_language
- Befunge http://en.wikipedia.org/wiki/Befunge
- Intercal http://en.wikipedia.org/wiki/Intercal
- Malbolge http://en.wikipedia.org/wiki/Malbolge




Re: [gentoo-user] Fed up with Xorg + hal mess [SOLVED]

2009-10-07 Thread bn
Alan McKinnon ha scritto:
> On Wednesday 07 October 2009 06:34:06 alain.didierj...@free.fr wrote:
>> Thanks all for the help. Finally the problem was solved by re-compiling all
>>  X11 drivers used, and most notably xf86-input-keyboard & xf86-input-mouse.
>>  I still think that any package update that breaks a working config without
>>  any specific doc IS A BUG. That just happened for the scond time.
>>
> 
> Any human operator who does a large upgrade such as this and does not read 
> the 
> posted notice about it has a bug in his head. If you had fixed that bug, the 
> one on your computer would have been solved.
> 

What do you mean by "posted notice"? the news?
(I just ask because I also have a long backlog of updates still to do,
because I cannot afford to break my system now, and therefore...)

thanks!



Re: [gentoo-user] Knock on wood

2009-08-12 Thread bn
Stroller ha scritto:
> 
> On 12 Aug 2009, at 12:43, bn wrote:
>>> ...
>>> Yes, that seems to be the usual reason users leave Gentoo:
>>> like owning a dog, you have to find time to maintain/exercise it.
>>
>> I am starting to be in trouble using Gentoo for this very reason. ...
>>
>> So I am becoming very reluctant in updating critical components -one
>> example is my kernel, which is basically untouched since I installed, in
>> late 2007. I know it's counterproductive, because the more I wait, the
>> worse it is, but it's always a matter of time, and I don't have that
>> time -not to update per se, which I have, but to face problems in case
>> critical updates don't go smooth.
>>
>> Any advice on this kind of situation? I would rather not buy a "backup
>> laptop".
> 
> Don't worry. After you've *once* fallen behind far enough, you won't
> make this mistake again!

LOL, you're scaring me.

> The kernel is the *easiest* part to keep up to date, IMO. You can easily
> reboot & go back to the old one. For me, it's other software packages
> which can become the problem.

Oh no, other packages I more or less regularly update -now I'm just
behind with Xorg 1.5 because of all the horror stories I've heard on
this list.



Re: [gentoo-user] Knock on wood

2009-08-12 Thread bn
Ward Poelmans ha scritto:
> On Wed, Aug 12, 2009 at 14:28, Etaoin Shrdlu wrote:
>>> Any advice on this kind of situation? I would rather not buy a "backup
>>> laptop".
>> Keeping the previous (working) kernel, and having a rescue disk around 
>> usually
>> is enough to fix most kinds of breakages. Also building binary packages is
>> useful for quickly restored broken packages (FEATURES=buildpkg or something
>> like that in make.conf).
> 
> Ubuntu on a USB drive is very helpfull in all kinds of situations ;-)
> And it's a lot cheaper then a backup laptop.

This is an extremly clever idea! thanks!!

m.




Re: [gentoo-user] Knock on wood

2009-08-12 Thread bn
Philip Webb ha scritto:
> 090812 Alan E. Davis wrote:
>> I'm a little reluctant to say this, but it's been a couple of months now
>> since I switched back to Gentoo, and I want to shout out my pleasure
>> that this system has been performing admirably well this time around,
>> in comparison with earlier installations.  None of the earlier installations
>> were unacceptable, in fact, Gentoo remained my favorite.  I moved to Ubuntu
>> because maintainance of the Gentoo boxes was much more time consuming.
> 
> Yes, that seems to be the usual reason users leave Gentoo:
> like owning a dog, you have to find time to maintain/exercise it.

I am starting to be in trouble using Gentoo for this very reason. Once I
used it on my desktop system, which was OK to be "under repair" once in
a while, since I had my workstation at work. Now I moved abroad and I
only have my laptop to use for all -home and work. If it is hosed, I am
lost (I have the OS X partition but it is basically useless for my job).

So I am becoming very reluctant in updating critical components -one
example is my kernel, which is basically untouched since I installed, in
late 2007. I know it's counterproductive, because the more I wait, the
worse it is, but it's always a matter of time, and I don't have that
time -not to update per se, which I have, but to face problems in case
critical updates don't go smooth.

Any advice on this kind of situation? I would rather not buy a "backup
laptop".

> However, unlike a dog, you can catch up after a long absence:

Heh, I hope so!

m.



Re: [gentoo-user] Changing xorg.conf at runtime (nVidia cards)

2009-07-29 Thread bn
Mike Mazur ha scritto:
> I'd like to run a single command, passing it one of my xorg.conf files
> (for instance), and have my screens configured on-the-fly. I looked at
> the command-line options for nvidia-settings and nvidia-xconfig but
> they don't seem to do what I want. I also looked at XRandR but I'm not
> sure what's the best way forward.
> 
> Does anyone have something like this already set up? What did you use?
> Will these nvidia tools do what I need or should I look to XRandR? How
> do I get started with setting up XRandR?

+1.
If you get to know something about that, let me know!

m.



Re: [gentoo-user] Webcam ? Help me please...

2009-07-25 Thread bn
meino.cra...@gmx.de ha scritto:
> Thank you for the hint. The programm says "unable to capture image".
> Executing it as root does the same.

Very strange.

> ffmpeg could capture a video stream from my webcam, so the cam is not 
> the problem...

Have you tried good old mplayer ? It can play the stream from your
webcam just fine and it's very configurable.
See:

http://brainwagon.org/2007/01/16/viewing-a-v4l-webcam-with-mplayer/

(first google hit)

m.



Re: [gentoo-user] Webcam ? Help me please...

2009-07-25 Thread bn
meino.cra...@gmx.de ha scritto:
>  
> Hi,
> 
> To watch some birds I have bought a Logitech QuickCam Pro For
> Notebooks WebCam.
> 
> I have configurted the kernel for UVC and compiled a driver 
> as modulem which is stated to support my Cam.
> 
> ...the only thing I need is an application to make 
> the video visible and which allows me to save the 
> video and an application to control the
> cameras features.
> 
> I found "zoneminder" which is masked due to security issues 
> and which neeed A LOT more things to support features I wont
> use (PHP, MySQL...).
> 
> I qsearched for web cam (not match) and other keywords without
> success.

camorama ?



Re: [gentoo-user] The time has come (udev and kernel dependencies)

2009-07-22 Thread bn
Neil Bothwick ha scritto:
> On Wed, 22 Jul 2009 18:37:28 +0100, brullo nulla wrote:
> 
>> Does this mean that I need to install a new kernel to run udev-141 ?
>> Ok, I should run a new kernel *anyway* ... at this point the question
>> is: when I update the kernel, I can use the old udev-124-r1 until I
>> install the new one?
> 
> You can install and build the later kernel, then install the new udev
> before you reboot, so you'll never need to run the new kernel with the
> old udev.

Good suggestion, even if I fear a lot updating *both* and if something
fails after reboot, have to diagnose "is my hardware not recognized
because of udev or because of the kernel" ?

Brr.




Re: [gentoo-user] festival usage (possibly OT)

2009-07-13 Thread bn
William Hubbs ha scritto:
> All,
> 
> we have several open bugs on app-accessibility/festival and
> app-accessibility/speech-tools.  These packages have been around for a
> long time, and upstream appears, at least so far, to be dead (my
> maintainer says that he has been unable to contact them).  These
> packages are very difficult to maintain, because of their highly custom
> build system.
> 
> In accessibility, as far as I am aware, espeak has become the most used
> software speech synthesizer.  So, if there are not any objections, I am
> considering removing festival from the main gentoo portage tree.
> 
> So, what I'm trying to figure out is how popular festival is and what it
> is being used for.  If you use festival, can you reply to this thread
> and give me an idea of how important this package is to you and how
> often you use it, etc?

I don't know how essential it is, however LMMS (Linux Multimedia
Studio), one of the few usable sequencers for Linux, used Festival for
its "singerbot" plugin.

I just googled around and found that the plugin has now temporarily been
removed upstream, but maybe it's worth checking if some other audio
package is using Festival.

m.



Re: [gentoo-user] Re: xorg-server-1.5 update/old kernel+old fglrx

2009-06-25 Thread bn
Mark Knecht ha scritto:

> No, I need a new kernel also. The kernel on this machine is 2 years
> old. Also, I have about a dozen packages masked so I've unmasked those
> and will need to get the whole machine up to date.

There is something I didn't understand at all in this thread. Why did
you need to update the machine at all? Did you badly need some support
for new video formats or performance improvement? Otherwise I really
don't see the point of upgrading it. I see the point of upgrading a
desktop or server system (yet my desktop kernel is 1.5 years old and I'm
fine), but a MythTV box looks like an appliance that once working , you
touch no more.

m.



Re: [gentoo-user] Can I get a tip for reading eix output?

2009-06-16 Thread bn
Mike Edenfield ha scritto:
>> Which in turn, means?
>> m.
> 
> If you're asking what the meaning of the RESTRICT= options are, they're
> listed in the man page for ebuild(5), including:

Oh, ok, thanks, I was having a cursory look at eix man page but it's
written in Martian, as many people are remarking here.

m.





Re: [gentoo-user] Can I get a tip for reading eix output?

2009-06-16 Thread bn
Alan McKinnon ha scritto:

>> What do the `!t' entries following the versions available mean?
> 
> RESTRICT="test"
> 
> You can find a clue in sub-section "Slots" under main heading "OUTPUT"

Which in turn, means?
m.



Re: [gentoo-user] Re: Considering launching into Gentoo

2009-06-14 Thread bn
walt ha scritto:

> Heh.  I laughed out loud when I read this link about dselect, especially
> the quote from Andrew Morton who captured my sentiments exactly:
> 
> http://en.wikipedia.org/wiki/Dselect

Oh well but it's kinda obvious that dselect is HELL and no one uses it
anymore I think. I thought you were using something like aptitude, which
is a bit clumsy but works well.

But for me synaptics is THE way to do a user-friendly software installer.

> Yes, if gentoo ever disappears (God forbid) I would probably go back to
> Ubuntu because the Synaptics front end isn't too confusing.  But I'm
> still annoyed by the idea that a binary package can be only 'partially
> installed', whatever that means.  And why does a binary package need to
> be "configured", whatever that means?

Good questions. As for the first, I guess it means apt-get finds a
conflict or something wrong happens during installing (Tried to google
but didn't find anything). As for the configuring, well, I guess it's
something like writing default configuration files, or when you have to
do dispatch-conf here.


> After I dropped dselect like a hot potato I used apt-get from the command
> line routinely.  I recall that there were often conflicts between the newly
> downloaded packages and the old installed ones, leaving the machine in an
> undefined state for me to sort out however I could.

Yes this is bad, but probably is more due to bad packaging than to the
packaging system itself (On Gentoo you have other troubles like having
to revdep-rebuild your system etc., so to each its own)

> Perhaps Debian has matured a bit since then -- I certainly hope so!

I can say that using Kubuntu at work was mostly a piece of cake. It is a
different system from Gentoo with different goals, of course.

m.



Re: [gentoo-user] Re: Considering launching into Gentoo

2009-06-13 Thread bn
walt ha scritto:
> Ah, maybe that explains why I despise their package manager.
> 
> When I was a Debian user I figured that the most basic of utilities
> should be easy to use -- and I'm only half joking.
> 
> Just for fun I tried Ubuntu recently since it's been so popular the
> last few years.  They built their system on top of a Debian base,
> including my nemesis, the Debian package management system :o(
> 
> The Synaptics GUI front end for their package manager is a great deal
> easier than the original back end, true, but the basic bad design of
> the back end still glares through the eye candy.  (Just my opinion.)
> 
> I like gentoo's portage system so-o-o-o much better!

As a user of both Debian-based and Gentoo systems, I am curious to know
what do you find so annoying about apt-get.

Portage is more flexible probably, but apt-get, with an appropriate
frontend like Synaptics, is a piece of cake: in 99% of cases is click &
go. And surely it makes more sense to use than rpm, on the command line
(let alone the crazy Slackware guys :) )

m.



Re: [gentoo-user] Lost free space on /

2009-06-11 Thread bn
KH ha scritto:

> I totaly do agree with you. There has been nothing indicated to give a
> one out of one answer. In case someone is a noob, ( I am still one
> because I don't no anything about how everything is working) what you
> just wrote is the answer. Like what are your needs and what resurces do
> you have?
> Like I don't think it was something like "do my homework" but more like
> "I don't even know what to look for".

At least telling him what to look for would be useful. I for example
still have no idea, and it's after reading this thread that I checked
the size of my /var directory for the first time in 5 years.

> Often googling for something is leading to lists where absolutly no help
> can be found because someone writes something like: "what can I do".
> secend replays like: "do A". Frst: "cool this did it for me." In the end
> nobody else can use this solution because it is just not EXACT.

Isn't "do A if you are in situation X , because of Z" the right pattern?

m.



Re: [gentoo-user] Whats better for crossplatform applications?

2009-05-31 Thread bn
Alexander Pilipovsky ha scritto:
> May be, it's not a "only Gentoo" question, but I want to write and start
> applications under Gentoo and Windows. I saw Tcl/Tk library in work (as
> example OOMMF: http://math.nist.gov/oommf/, but it, sometimes, unstable
> under Windows XP). And it did not like me to look of buttons, lists etc.
> Other way I saw in using wxPython (http://www.wxpython.org/) or
> wxWidgets (http://www.wxwidgets.org/). I want to have as little as
> possible differences in GUI of my program when it starts under GNOME,
> KDE or Windows. May be some other libraries for crossplatform
> development are exists.
> 
> What library better for unification of application look and developing?
> 
> P. S. Excuse my English, please :)
> 

wxWidgets or its good python wrapper wxPython is good if you want native
look on every platform. Which is different from the look being exactly
the same on every platform, but it's what you really want, most probably.

m.



Re: [gentoo-user] Question about xorg and a kill process

2009-05-27 Thread bn
Hung Dang ha scritto:
> I often use Ctrl+F1 to F6 to back to the command line and if your X is
> fine you can back the X screen using Ctrl+F7. Or if you want to kill
> your X then Ctrl+Alt+Backspace may be helpful.

Unless X freezes and steals your keyboard away.

m.

> Hung
> 
> 
> Dale wrote:
>> I know the subject is a bit lacking but here goes.  I'm thinking about
>> trying this xorg-server upgrade again.  I been thinking about a way to
>> do this and not have to pull the plug on my rig if it fails, which I bet
>> it does.  This is the command I am thinking about trying.
>> /etc/init.d/xdm start && sleep 5m && /etc/init.d/xdm stop
>>
>> I'm thinking this way.  Start X first.  If it fails, it will stop in 5
>> minutes and come back to a console.  Think this will work?  If xorg
>> works, I can switch back to a console and ctrl C the command and carry
>> on.
>>
>> Thoughts?  Better ideas?
>>
>> Dale
>>
>> :-)  :-)
>>   
> 
> 
> 




Re: [gentoo-user] Is starting xdm enough to see something in X?

2009-05-22 Thread bn
Mark Knecht ha scritto:
> Title sort of says it. I have an old machine that I'm setting up as a
> Myth server. I didn't want X on the machine but I'm having trouble so
> I emerged xdm and start it using /etc/init.d/xdm start. The  drivers
> get loaded but I get a black screen. No error message in the X log
> file.
> 
> I haven't messed with X at this level before. What's the minimum test
> of X that would display a terminal or something very basic?
> 

Have you tried

startx /usr/bin/xterm


?



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-19 Thread bn
Alan McKinnon ha scritto:
> On Monday 18 May 2009 22:14:43 bn wrote:
>>> If you use Ubuntu, you've got to accept their eccentric & questionable
>>> attitude to passwords, esp that they don't have a separate root password.
>>> I find that a piece of cheap popularisation contrary to UNIX principles.
> 
> Huh?
> 
> The package you are talking about is sudo. Might I add that sudo follows the 
> grand time honoured tradition of the principle of least priviledge whereas su 
> does not?

As far as I know it is not enough to just use sudo. When a GUI program
requires admin privileges, it will usually ask the root password. On
Ubuntu, it will instead "sudo" its privileges. That's the thing, I think
Ubuntu patches its software to behave properly with its own sudo thing.

But it's not a big deal, it's just a feature which made sense to me but
I can live very happily also with the good old Unix way.

m.



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-18 Thread bn
Philip Webb ha scritto:
> 090518 bn wrote:
>> Philip Webb ha scritto:
>>> With binary distros, you are stuck with whatever their makers give you.
>> whatever distro you're using, Linux is Linux. You're not locked out.
>> If my xorg.conf doesn't work (it happened with Ubuntu),
>> I can edit it on Ubuntu just like on Gentoo.
>> I can compile source packages on Ubuntu too, if needed.
> 
> But don't you immediately run into all the settings & assumptions
> which the creators of that release of that distro have made for you ?

Yes. Which usually are sensible, and when they're not, I can usually
modify them.
Don't you immediately run into all the default settings and assumptions
that the creators of each $PACKAGE do even here? Or do you write all
your KDE configuration files by hand before running it the first time?

> Can you have multiple versions of a library (as via Gentoo's slots) ?

This, I don't know and it's an interesting thing. *Some* package is
available in more versions on binary distros, but I dunno how they
manage that.

> You're also stuck with their kernel:
> how many users of Mandriva compile their own kernels ?
> how safe is it to use your own kernel with the rest of the distro ?

True. Having a slimmer kernel is nice; however compiling your own kernel
 is not always failsafe even for fairly knowledgeable users (that's why
I started the thread).

> You also have to accept their version of big items like KDE :
> if you use Slackware, you've got to use KDE 4 , like it or not (me: not);
> with Gentoo, you can go on using KDE 3 & its pieces much longer.

Yes, but for example I would like to try KDE4 --> requires ~x86 -->
mixing x86 and ~x86 for such big stuff is bad. Gentoo x86 is way behind
binary distros' stable packages, and that's another pain.

> If you use Ubuntu, you've got to accept their eccentric & questionable
> attitude to passwords, esp that they don't have a separate root password.
> I find that a piece of cheap popularisation contrary to UNIX principles.

I found it very useful and it makes much sense in my opinion -so much
that I would like to know how to fully "ubuntize" my Gentoo in this
single respect. I don't maybe like it's pulled down the throat of users,
but if they had the option to choose between both with,say,one
installation option click, it would be perfect.

> So if you use Mandriva or Slackware -- good binary distros both -- ,
> you accept what's been cooked for you & are one of the crowd of diners.
> If you use Gentoo, you enjoy your own home cooking.

Even if I'm Italian, I'm maybe not such a good cook :)

The problem is another. I loved Gentoo when I was an undergraduate or
graduate student and I had my own desktop at home to tinker with,
separate from my workstation in the office.

Now I am working abroad and I cannot have root access on my workstation.
So the workstation is almost worthless, apart from specialized needs
that require me to work on it. If I want to be productive, I need to use
my own laptop. And I simply cannot afford this laptop to go awry. That's
why I am so shy in updating xorg and the kernel now. I will do it, but I
want to be quadruple-sure of everything I can. And that's why I am
beginning to think Ubuntu fast-food could be better than my own cuisine

m.



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-18 Thread bn
Philip Webb ha scritto:
> 090518 bn wrote:
>> Philip Webb ha scritto:
>>> Hopefully, the OP has got some useful hints out of all this ...
>> Yes. I'm kinda considering switching to Ubuntu.
>> I love Gentoo, it's almost 4 years I'm using it, but I need this laptop
>> to *work*, and I cannot afford to be consistently bitten by such unknowns.
>> My only concern is that Ubuntu won't be better in the long end
>> (even if I used it at work for years and I always felt comfortable with it),
>> because of the upgrade/reinstall cycles.
> 
> Well, you can get bitten by such things with any distro
> -- perhaps Slackware has the best reputation for utter reliability -- ,
> but with Gentoo you do have the ability to fix anything yourself,
> even if it does need a bit of time to get advice & act on it;
> you can also make notes to ensure you don't get bitten a 2nd time.
> With binary distros, you are stuck with whatever their makers give you.

This is a common claim in this ML which I never completely understood.

I mean, whatever distro you're using, Linux is Linux. You're not locked
out. If my xorg.conf doesn't work (it happened with Ubuntu), I can edit
it on Ubuntu just like on Gentoo. I can compile source packages on
Ubuntu too, if needed.

Gentoo is nice because you don't have to upgrade all at once but
gradually, and because you can choose from the start, so I liked it.

But anyway you have packages in Gentoo or in Ubuntu: in Gentoo you are
stuck with what whatever the packagers give you the same. You probably
have more versions available and some more flexibility, but that's it.

So, I would really want to understand where the Gentoo flexibility beats
down a binary distro.

Don't get me wrong -I like Gentoo. Really. But the claim that a binary
distro is "unfixable" just because I had someone compiling it for me
instead of having emerge doing the job, looks odd to me.

m.



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-18 Thread bn
Philip Webb ha scritto:
> 090518 Neil Bothwick wrote:
>> On Mon, 18 May 2009 07:29:00 -0400, Philip Webb wrote:
>>> The blurb tells me nothing, but if I follow its advice, I do get :
>> I said there was help, I didn't claim it was helpful :)
>> I got bitten by this one a while ago on a box using a mixture
>> of SATA and PATA disks, the PATA disk disappeared after an upgrade
>> because I took the help to indicate I didn't need it.
>> I should have followed the "If unsure..." advice.
> 
> Yes, had I realised there was help available via '?',
> I would have seen that line & would have taken the advice,
> when I would also have seen the JMicron line marked 'y'.
> 
> I have updated the file which contains my kernel notes (wry smile).
> 
> Hopefully, the OP has got some useful hints out of all this ...

Yes. I'm kinda considering switching to Ubuntu.

I love Gentoo, it's almost 4 years I'm using it, but I need this laptop
to *work*, and I cannot afford to be consistently bitten by such unknowns.

My only concern is that Ubuntu won't be better in the long end (even if
I used it at work for years and I always felt comfortable with it),
because of the upgrade/reinstall cycles.


m.



Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5

2009-05-17 Thread bn
Alan McKinnon ha scritto:
> On Sunday 17 May 2009 19:10:05 bn wrote:
>> Dale ha scritto:
>>> I hope someone wins the debate soon and gets this to work and be "user
>>> friendly".  I'm about to make a fresh backup and try this again.  I have
>>> upgraded my kernel to a really new version, 2.6.25.  Sorry, nvidia won't
>>> compile with anything newer that I have tried.
>> Uh? last nvidia-drivers needs 2.6.25 kernel?
> 
> Dale has an old video card and needs one of the nvidia legacy driver 
> releases. 
> He finds that that release doesn't work with kernels after .25
> 

Uh, I see. I was worried, sorry.

m.




Re: [gentoo-user] Re: New xorg.conf with x11-base/xorg-server-1.5.3-r5

2009-05-17 Thread bn
Dale ha scritto:

> I hope someone wins the debate soon and gets this to work and be "user
> friendly".  I'm about to make a fresh backup and try this again.  I have
> upgraded my kernel to a really new version, 2.6.25.  Sorry, nvidia won't
> compile with anything newer that I have tried. 

Uh? last nvidia-drivers needs 2.6.25 kernel?

m.



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-17 Thread bn
bn ha scritto:
> 2) What are the caveats and pitfalls I should be aware of when upgrading
> to latest kernel? I confess that reading CHANGELOGs didn't help me too
> much, quite confusing.

I resume this thread because I read ofthings like that ("/dev/sr0 has
disappeared" thread):
"> You need to enable this to make CONFIG_PATA_JMICRON visible.

 ... THAT's what happened to it !!  This is the change in 2.6.29
(it could have been in 2.6.26-8 , which I didn't install).

So having enabled these two options, I now get  /dev/sr0
& can read & write (at least blank) a CD again.

This is another trap in configuring a new kernel,
ie some needed option is moved &/or needs another enabled to see it.
Another trap I ran into briefly was a field needing a string,
which looks as if all it needs is 'y/n' (also in 2.6.29)."

So, what kind of traps like that should I expect?

cheers,
m.



Re: [gentoo-user] Re: upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-13 Thread bn
Nikos Chantziaras ha scritto:
> bn wrote:
>>> You can keep both kernels and just use the bootloader to select which
>>> one to boot into. So if your new kernel doesn't work just reboot and
>>> use your old kernel again until you can work out whats wrong with the
>>> new one.
>>
>> Yes, but this means recompiling all external modules (nvidia, madwifi)
>> every time I boot in a new kernel if I want them to work, isn't it?
> 
> No.  Kernel modules are kept in /lib/modules/VERSION/ meaning you will
> have the older ones working when you boot the older kernel again.
> 

Oh, I didn't know, thanks. It's incredible that after 5 years of using
Linux I am still so utterly clueless!

Thanks guys.

m.



Re: [gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-13 Thread bn
Adam Carter ha scritto:
>> Now I want to ask the list:
>> 1) Does anyone have a recent kernel config for this kind of machine?
> 
> Just copy your .config file to the new kernel source directory and run "make 
> oldconfig". This runs through the old config file and prompts you to select 
> what you want for the new options.

*slaps on head*
yeah.

>> 2) What are the caveats and pitfalls I should be aware of
>> when upgrading to latest kernel? I confess that reading CHANGELOGs didn't 
>> help me too
>> much, quite confusing.
> 
> You can keep both kernels and just use the bootloader to select which one to 
> boot into. So if your new kernel doesn't work just reboot and use your old 
> kernel again until you can work out whats wrong with the new one.

Yes, but this means recompiling all external modules (nvidia, madwifi)
every time I boot in a new kernel if I want them to work, isn't it?


>> Also, I wonder if portage's madwifi now supports the Macbook Pro
>> chipset... I had to use SVN one at the time.
> 
> The drivers might be in the kernel now. I was using madwifi-ng and changed to 
> the ath5k driver at around 2.6.26 or 27.

Uh, good to know.

But anyway, no major pitfalls/bad experiences in the last year's kernel
I should be aware of?

m.





[gentoo-user] upgrading from kernel 2.6.24-rc6 to latest kernel

2009-05-12 Thread bn
Hi,

My Gentoo laptop is a Macbook Pro SantaRosa (late 2007, probably
MA896LL/A , following wikipedia). Since I use it for work I've always
been quite conservative with it... it is an x86 machine and I upgrade
things only after having read things here and there on the ML and
possibly elsewhere (Still have to upgrade xorg, for example, will do it
soon).

The oldest piece I haven't touched is the kernel. It is 2.6.24-rc6
vanilla-sources, which were the first mostly working with the laptop...
and never touched since.

Now I want to ask the list:
1) Does anyone have a recent kernel config for this kind of machine?
2) What are the caveats and pitfalls I should be aware of when upgrading
to latest kernel? I confess that reading CHANGELOGs didn't help me too
much, quite confusing.

Also, I wonder if portage's madwifi now supports the Macbook Pro
chipset... I had to use SVN one at the time.

thanks,
m.



[gentoo-user] Dispaly problems on external monitor

2005-12-01 Thread Vikas BN
Hi Folks,
  
  I have a laptop Dell D610 at work and i installed gentoo
  on that. I have a docking station and a DEll 1905FP external
  monitor connected to the docking station through a DVI port.

  I could install gentoo from the live-cd (minimal-iso) and the
  display was showing up on the external monitor. However, after
  i compiled the kernel and booted from it, the external monitor
  blanks after the radeonfb loads and the boot messages switch 
  to a better resolution with tux logo.

  I compiled this support into the kernel while configuring it.
  Now i can work using the laptop LCD, but not using the external
  monitor.

  The laptop has an ATI mobility video card (M22) and the laptop
  LCD can do 1024x768 and the external monitor can do [EMAIL PROTECTED]

  Is there something that i forgot to configure in the kernel?

-vikas