[gentoo-user] help on partitioning

2006-07-21 Thread Fernando Meira

Hi, I need a quick help for a simple question.

My disk now looks like this:
Filesystem Size   Used  Avail Use% Mounted on
 /dev/hda1   11G   9.2G   1.4G  88% /
 udev   264M   242k   264M   1% /dev
 /dev/hda4  4.9G   4.6G   329M  94% /home
 /dev/hda5   25G21G   3.9G  85% /mnt/share
 none   264M  0   264M   0% /dev/shm

where hda5 is an extended part located after hda1 and before swap. At
the ends is hda4.
 All parts are reiserfs unless hda5 which is FAT and I want to get rid of it.

So what I want to do is to increase the size of hda1 and move some
things around.
I plan to remove the extended partition, thereby creating space right
after hda1 so that this one can be increased. Then I intend to create
a new swap part of 1Gb right after the new hda1 and use the remaining
space for /home.
So my question is, can I do all this using QTParted? And in a normal
session, without unmouting any partitions, or do I need to boot from a
install-cd?

Any comments on the partitioning are also welcome.

Thanks for your time,
Fernando
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wireless wierd behaviour

2006-07-14 Thread Fernando Meira
On 7/14/06, Javier [EMAIL PROTECTED] wrote:
Hi Fernando,with this driver the first step is doing a ifconfig ethX up beforeany wireless related configuration.
Example:ifconfig ethX upiwconfig ethX channel Yiwconfig ethX essid anyAnd after this steps you have to be associated and you can set yourip-related settings.Did you do by this way?
Regards,Javi--gentoo-user@gentoo.org mailing list


Hi,

yes, I am aware of that proceeding.
I do everything smoothly.. sometimes I can get connected, most of the times I can't.
As Daniel pointed out in other reply, this must be a bug in the module.. at least, that's the problem with the driver that is shipped with kernel 2.6.17. Since I use kernel 2.6.16, I had to install the driver independently, thus I'm using the latest masked version of ieee80211softmac. Version 0
.1-r20060329to be correct.

Besides going back to ndiswrapper, what other choices do I have here?
Thanks,
Fernando


[gentoo-user] wireless wierd behaviour

2006-07-12 Thread Fernando Meira
Hi,I been trying to connect my laptop to a wireless router but without success.The router is a common Linksys WRT54G. My pcmcia card is also a Linksys WPC54G.I
am now using a new driver (bcm43xx), instead of ndiswrapper, but I
think the problem is not from that. I did use my card with this new
driver successfully before.
The problem arises at the authentication stage. Somehow, I can't associate or authenticate with the damn router. Although
stupid, I've tried with encryption enable/disable, DHCP server
enable/disable and many other things that I can change in the router
setup.
Nothing seems to work. I could almost say I've tried everything.With a ether cable, works fine!And there is other laptop (running windows) connected via wireless to the router without any problem.The following is what shows up in dmesg:
SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication timed out with 00:12:17:xx:xx:xxprintk: 4 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.printk: 5 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.ieee80211: eth1: IEEE80211_REASSOC_REQ receivedSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.note: I changed the real MAC address with the xx one.Does anyone know what can be wrong? 
Or what can I try to do?Thanks,Fernando


[gentoo-user] weird behaviour - unable to connect to wireless router

2006-07-11 Thread Fernando Meira
Hi,I been trying to connect my laptop to a wireless router but without success.The router is a common Linksys WRT54G. My pcmcia card is also a Linksys WPC54G.I am now using a new driver (bcm43xx), instead of ndiswrapper, but I think the problem is not from that. I did use my card with this new driver successfully before.
The problem arises at the authentication stage. Somehow, I can't associate or authenticate with the damn router. Although stupid, I've tried with encryption enable/disable, DHCP server enable/disable and many other things that I can change in the router setup.
Nothing seems to work. I could almost say I've tried everything.With a ether cable, works fine!And there is other laptop (running windows) connected via wireless to the router without any problem.The following is what shows up in dmesg:
SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication timed out with 00:12:17:xx:xx:xxprintk: 4 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.printk: 5 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.ieee80211: eth1: IEEE80211_REASSOC_REQ receivedSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.note: I changed the real MAC address with the xx one.Does anyone know what can be wrong? 
Or what can I try to do?Thanks,Fernando


[gentoo-user] weird behaviour - unable to connect to wireless router

2006-07-11 Thread Fernando Meira
Hi,I been trying to connect my laptop to a wireless router but without success.The router is a common Linksys WRT54G. My pcmcia card is also a Linksys WPC54G.I am now using a new driver (bcm43xx), instead of ndiswrapper, but I think the problem is not from that. I did use my card with this new driver successfully before.
The problem arises at the authentication stage. Somehow, I can't associate or authenticate with the damn router. Although stupid, I've tried with encryption enable/disable, DHCP server enable/disable and many other things that I can change in the router setup.
Nothing seems to work. I could almost say I've tried everything.With a ether cable, works fine!And there is other laptop (running windows) connected via wireless to the router without any problem.The following is what shows up in dmesg:
SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but did not request authentication.SoftMAC: Authentication timed out with 00:12:17:xx:xx:xxprintk: 4 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.printk: 5 messages suppressed.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.ieee80211: eth1: IEEE80211_REASSOC_REQ receivedSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xxSoftMAC: Open Authentication completed with 00:12:17:xx:xx:xx
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.
SoftMAC: Authentication response received from 00:12:17:xx:xx:xx but no queue item exists.note: I changed the real MAC address with the xx one.Does anyone know what can be wrong? 
Or what can I try to do?Thanks,Fernando




[gentoo-user] java 1.4 eclipse

2006-07-09 Thread Fernando Meira
Hi all, after upgrading (long time ago) to java 1.5, I still couldn't get rid of version 1.4. Now, when trying to run an update world, I noticed that version 1.4 of java (sun-jdk) falls inside eclipse dependencies tree. (don't know if the tree aspect is possible to see below..)
[ebuild NS ] dev-util/eclipse-sdk-3.2 USE=no-seamonkey opengl -cairo -gnome 80,120 kB [ebuild U ] dev-java/ant-tasks-1.6.5-r2 [1.6.2-r9] 6,136 kB [ebuild FU ] dev-java/sun-jdk-1.4.2.12
 [1.4.2.10-r2] However, equery does not report the same:# equery g =eclipse-sdk-3.1.2-r2 | grep sun`-- dev-java/sun-jdk-1.5.0.05 (virtual/jre-1.4.2) `-- dev-java/sun-jaf-bin-1.0.2.2 [ javamail ]
Any idea on how can I use only version 1.5 and remove once per all version 1.4?Thanks in advance.Fernando


Re: [gentoo-user] ndiswrapper module problem

2006-04-22 Thread Fernando Meira
On 4/22/06, Gary Walker [EMAIL PROTECTED] wrote:
On 20/04/06, Fernando Meira 
[EMAIL PROTECTED] wrote:
Hi,

after updating ndiswrapper to version 1.13 i became unable to use it.
I get this in dmesg:
ndiswrapper: Unknown symbol wrap_suspend_urbs
ndiswrapper: Unknown symbol wrap_resume_urbsAre
you using a USB based wifi adapter? I got this error with 1.13 and
found that adding usb to make.conf and rebuilding ndiswrapper fixed it.
I'm pretty sure there is more information on the gentoo forums if you
need it. 

Anyone knows what could be the problem?

Thanks,
Fernando




Hi,
no I'm not using USB. I'm using a PCMCIA card.
The card is working without problems, unless this:
# ndiswrapper -l
Installed drivers:
lsbcmnds  driver installed, hardware present 
modules.ndiswrapper invalid driver!
Why invalid driver??
I only noticed this after upgrading ndiswrapper to 1.13 (then it was not working).
After downgrading back to 1.9, this issue persists.. but the card works as before!

Fernando.



[gentoo-user] ndiswrapper module problem

2006-04-20 Thread Fernando Meira
Hi,

after updating ndiswrapper to version 1.13 i became unable to use it.
I get this in dmesg:
ndiswrapper: Unknown symbol wrap_suspend_urbs
ndiswrapper: Unknown symbol wrap_resume_urbs

Assuming that the problem could be departing from the upgrade, I downgrade it to 1.11, but could not solve the problem.* Attempting to automatically reinstall any Windows drivers

* you might already have.
* Driver: lsbcmnds
Installing lsbcmnds
couldn't copy /tmp/lsbcmnds/lsbcmnds.inf at /usr/sbin/ndiswrapper line 139.
* Driver: modules.ndiswrapper
Installing modules.ndiswrapper
couldn't copy /tmp/modules.ndiswrapper/modules.ndiswrapper.inf at /usr/sbin/ndiswrapper line 139.
 net-wireless/ndiswrapper-1.11 merged.

Trying to re-install the driver also does not work properly:
# ndiswrapper -i lsbcmnds
Installing lsbcmnds
couldn't copy lsbcmnds at /usr/sbin/ndiswrapper line 139.

although it shows up when listing the drivers installed:
# ndiswrapper -l
Installed drivers:
lsbcmnds invalid driver!
modules.ndiswrapper invalid driver!

Anyone knows what could be the problem?

Thanks,
Fernando



Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-17 Thread Fernando Meira
On 11/16/05, abhay [EMAIL PROTECTED] wrote:
I nailed it on my system. I had some free time so installed gdb and ranamarok. Looks like if Retrieve similar artists is checked under Last.fm, itcrashes amaroK. I unchecked the option and now it runs flawlessly.
Check it in your case as well.Abhay
Ok, I did have that option on!
So, I'm trying now without it.. let's see what happens :)
I'm still using version 1.2, thou I'll try later to compile again 1.3.6 without arts and see if that was the problem!

Thanks,
Fernando 



Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-17 Thread Fernando Meira
On 11/16/05, abhay [EMAIL PROTECTED] wrote:
On Wednesday 16 Nov 2005 9:08 pm, Fernando Meira wrote: .libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xb8): undefined reference to `virtual thunk to Arts::StdSynthModule::streamEnd()' collect2: ld returned 1 exit status
 make[6]: *** [libamarokarts.la http://libamarokarts.la] Error 1 make[6]: Leaving directory `/var/tmp/portage/amarok-1.3.6
/work/amarok-1.3.6 /amarok/src/engine/arts/amarokarts' make[5]: *** [all-recursive] Error 1 (...)Looks like a problem in compiling with Arts. Try with -arts.Abhay
You were right!! 
Without arts compiles fine!
Thanks!
:)
Fernando
 


Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-16 Thread Fernando Meira
On 11/15/05, abhay [EMAIL PROTECTED] wrote:
On Wednesday 16 Nov 2005 1:14 am, Jeff Smelser wrote: I am using 1.3.6 and i havent had problem with crashes unless I start messing with the cover manager..I am using 1.3.6 as well and not messing with cover manager. In fact I didn't
even know something like that existed until you mentioned :PThe crashes are random...no way I can reproduce them.Abhay
Well, I'm using 1.2.4 thou.. 
It behaved very well before.. but now it just crashes all the time... I
dont remember to have done anything different that may have caused
this...
Anyway, I'll update to 1.3.6 and see how it goes..

Fernando.


Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-16 Thread Fernando Meira
On 11/16/05, Fernando Meira [EMAIL PROTECTED] wrote:

Well, I'm using 1.2.4 thou.. 
It behaved very well before.. but now it just crashes all the time... I
dont remember to have done anything different that may have caused
this...
Anyway, I'll update to 1.3.6 and see how it goes..

Fernando.


Well.. the update didn't go as well as I would like!
Here's where the problem started! Any idea?

/bin/sh ../../../../../libtool --silent --tag=CXX --mode=link
i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2
-march=pentium4 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o
libamarokarts.la -rpath /usr/kde/3.4/lib -L/usr/kde/3.4/lib
-L/usr/qt/3/lib -L/usr/lib -avoid-version
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
amarokarts.lo synth_stereo_xfade_impl.lo rawscope_impl.lo -lkmedia2_idl
-lsoundserver_idl -lartsflow 
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xa8):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::autoSuspend()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xac):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::start()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xb0):
undefined reference to `virtual thunk to Arts::SynthModule_stub::stop()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xb4):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamInit()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xb8):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamStart()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok23Synth_STEREO_XFADE_stubE48_N4Arts16SynthModule_stubE+0xbc):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamEnd()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x58):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::autoSuspend()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x5c):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::start()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x60):
undefined reference to `virtual thunk to Arts::SynthModule_stub::stop()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x64):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamInit()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x68):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamStart()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTVN6Amarok23Synth_STEREO_XFADE_stubE+0x6c):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::streamEnd()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_stubE52_N4Arts16SynthModule_stubE+0xa8):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::autoSuspend()'
.libs/amarokarts.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_stubE52_N4Arts16SynthModule_stubE+0xac):
undefined reference to `virtual thunk to
Arts::SynthModule_stub::start()'

(it goes on and on...)

.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xa4):
undefined reference to `virtual thunk to
Arts::StdSynthModule::autoSuspend()'
.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xa8):
undefined reference to `virtual thunk to Arts::StdSynthModule::start()'
.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xac):
undefined reference to `virtual thunk to Arts::StdSynthModule::stop()'
.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xb0):
undefined reference to `virtual thunk to
Arts::StdSynthModule::streamInit()'
.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xb4):
undefined reference to `virtual thunk to
Arts::StdSynthModule::streamStart()'
.libs/rawscope_impl.o(.gnu.linkonce.d._ZTCN6Amarok13RawScope_implE4_N4Arts14StdSynthModuleE+0xb8):
undefined reference to `virtual thunk to
Arts::StdSynthModule::streamEnd()'
collect2: ld returned 1 exit status
make[6]: *** [libamarokarts.la] Error 1
make[6]: Leaving directory `/var/tmp/portage/amarok-1.3.6/work/amarok-1.3.6/amarok/src/engine/arts/amarokarts'
make[5]: *** [all-recursive] Error 1
(...)


Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-16 Thread Fernando Meira
On 11/16/05, Jeff Smelser [EMAIL PROTECTED] wrote:
On Wednesday 16 November 2005 10:05 am, Preston Hagar wrote: Although amarok is probably my favorite audio player, I have found it to be a little finicky. I usually find it works best with xine. I usually use a
 -arts -gstreamer xine so xine is the only engine available. I also usually have a -mysql -postgres because it seems silly to me to have a database running to listen to music. If you disable both of those, it just
 uses sqlite. I have also use -opengl becase at one time (they probably have fixed it by now, but I haven't checked) there was an issue with amarok, opengl, and nvidia cards. I don't use/watch any of the
 visualizations anyway so I have never seen the point. I make sure to add in musicbrainz since that is a nice service. So to sum up, my use flags are generally: -arts -gstreamer xine -mysql -postgres -opengl musicbrainz I
 know it isn't a direct solution to your problem, I just thought I would share my experiences.I use arts mysql opengl here and it runs fine.. Must be something else..The database is cool for dynamic mode.. I can create my own smartlist's.. I
dont know how I listened to music without it before.. Its awesome..Jeff
Yes, it must... I'm using these:

media-sound/amarok-1.3.6 [1.2.4] +arts -debug -flac -gstreamer +kde
-kdeenablefinal +mp3 +musicbrainz -mysql -noamazon +opengl -postgres
-visualization +vorbis +xine -xinerama +xmms
dont know what can be wrong... Thanks anyway!

Fernando


[gentoo-user] amaroK launching Kmail = virus?

2005-11-15 Thread Fernando Meira
Hi,

been using amaroK for a long time now, and just few days ago, something weird started to happen.
At some point, when changing song, I get an error message saying that amaroK was unable to launch Kmail. 
I do not have Kmail, so I understand the problem.. but why amaroK wants to use Kmail?
Can this be a symptom a virus or worm trying to spread?

Any idea?

Thanks,
Fernando


Re: [gentoo-user] amaroK launching Kmail = virus?

2005-11-15 Thread Fernando Meira
On 11/15/05, Andrew Gaydenko [EMAIL PROTECTED] wrote:
It isn't any more rather an attempt to send a bug report.=== On Tuesday 15 November 2005 19:20, Jeff Smelser wrote: ===On Tuesday 15 November 2005 09:42 am, Fernando Meira wrote: been using amaroK for a long time now, and just few days ago, something
 weird started to happen. At some point, when changing song, I get an error message saying that amaroK was unable to launch Kmail. I do not have Kmail, so I understand the problem.. but why amaroK wants to
 use Kmail? Can this be a symptom a virus or worm trying to spread?Interesting.. Did the program error out? I do know it tries to send a stacktrace when it errors out.Jeff

Yes, that's true.. it could be a bug report! 
Some times, after pressing OK to the error window, amaroK goes off right away, other times just after a few more songs...



[gentoo-user] how to change drivers?

2005-11-14 Thread Fernando Meira
Hi,
I have a Linksys WPC54G wireless card - Network controller: Broadcom
Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
and I been using Ndiswrapper with no problems. The thing is that I
can't use kismet with windoze drivers.. so, I've heard that I could use
Orinoco driver with this card, though I found in many sites that with
Broadcom chips the only way was Windoze drivers! If I knew this detail
before, I'd never have bought this bloody card...

However, if I load orinico instead ndiswrapper, when I try to use the
card, ndiswrapper is loaded automatically... so, how can I make my card
use Orinoco drivers? Or am I just going for something hopeless here?

Thanks!
Fernando


[gentoo-user] power-down during emerge -u world causing library-issues

2005-11-01 Thread Fernando Meira
Hi,
I was updating my system yesterday when suddenly the computer switched off... it got too hot!! Fans may be getting dirty..
When I restarted again, I tried to emerge --resume but portage said
that there was nothing to resume.. I then ran emerge -u world again
(because the update was not finish when that happened) and it started
to update (dbus  k3b - not sure if only these 2 were left thou..).

The problem is that when compiling k3b, i get this error:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: libdbus-1.so.0, needed by /usr/lib/libhal.so, not found (try
using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: libstdc++.so.5, needed by /usr/kde/3.4/lib/libkparts.so, may
conflict with libstdc++.so.6
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: libstdc++.so.5, needed by /usr/kde/3.4/lib/libkparts.so, may
conflict with libstdc++.so.6
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_boolean'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_string_array'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_nil'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_double'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_uint64'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_boolean'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_init_dict_iterator'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_uint64'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_int32'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_dict_key'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_int32'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_string'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_append_double'
/usr/lib/libhal.so: undefined reference to `dbus_message_iter_get_string'
collect2: ld returned 1 exit status
make[3]: *** [k3b] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.12.4a/work/k3b-0.12.4a/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.12.4a/work/k3b-0.12.4a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.12.4a/work/k3b-0.12.4a'
make: *** [all] Error 2

So, there are some missing libraries and others causing conflicts..
don't know if that was caused by the power-down, or something while
updating was running, but how can I fix this? Should I reemerge some
packages? If so, which ones?

Thanks for the help,
Fernando


Re: [gentoo-user] power-down during emerge -u world causing library-issues

2005-11-01 Thread Fernando Meira
On 11/1/05, John Myers [EMAIL PROTECTED] wrote:
On Tuesday 01 November 2005 02:19, Fernando Meira wrote: So, there are some missing libraries and others causing conflicts.. don't know if that was caused by the power-down, or something while updating was
 running, but how can I fix this? Should I reemerge some packages? If so, which ones?try reemerging dbus and hal, in that order.
Thanks for the quick reply!
This is what emerge would do:

# emerge -Dav dbus hal

Calculating dependencies ...done!
[ebuild R ] sys-apps/dbus-0.36.2 +X -debug -doc -gtk -mono +python +qt +xml2 0 kB 
[ebuild UD] sys-apps/dbus-0.23.4-r1 [0.36.2] +X -debug -gtk -mono +python +qt +xml2 0 kB 
[ebuild R ] sys-apps/hal-0.4.7-r2 -debug -doc -livecd -pcmcia 0 kB 

So, i updated dbus, but for hal, it would downgrade dbus... isn't it
strange that it upgraded it and now wants to downgrade it.. with no
emerge --sync in between? And, should I do this?


Re: [gentoo-user] power-down during emerge -u world causing library-issues

2005-11-01 Thread Fernando Meira
On 11/1/05, Dale [EMAIL PROTECTED] wrote:
Fernando Meira wrote: So, there are some missing libraries and others causing conflicts.. don't know if that was caused by the power-down, or something while updating was running, but how can I fix this? Should I reemerge some
 packages? If so, which ones? Thanks for the help, FernandoTotally shooting in the dark here.Do you have dbus and udev in yourUSE line in make.conf?You may want to reemerge dbus and then do a
etc-update and env-update just to make sure.If you didn't have dbusand udev in there, don't forget the --newuse thing for emerge.
udev was in use.defaults but I didn't have dbus! Anyway, that only
makes difference to ecore.. no other package in my system has that flag
(as it seems so..)
That is one problem I have not ran into before.May want to clean thosefans.All the compiling in Gentoo sure does make a lot of heat build
up.Only folding could be worse.
Yes, indeed.. it will be the 3rd time i do it.. the strange is that it
was from one day to the other that cpu temperature started to rise like
that.. 2 days ago was not going higher than 60C... during the
yesterday's emerge 70C was the average!
Hope that helps until a guru comes along.Gives you something to checkanyway.

Thanks!! 
I'll then downgrade dbus back to dbus-0.23.4-r1, and see if it works!
Fernando


Re: [gentoo-user] emerge e17

2005-11-01 Thread Fernando Meira
On 11/1/05, Christoph Gysin [EMAIL PROTECTED] wrote:
赵光 wrote: !!! ERROR: x11-libs/ecore- failed. !!! Function cvs_fetch, Line 332, Exitcode 1 !!! cvs login command failed !!! If you need support, post the topmost build error, NOT this status
 message look like the server refuse meTry again in a few hours. It is down for maintenance at the moment.Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 
[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing listOr use the same method for the normal cvs server: wait a few hours and try again! :)

Fernando


Re: [gentoo-user] power-down during emerge -u world causing library-issues

2005-11-01 Thread Fernando Meira
On 11/1/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Tue, 1 Nov 2005 11:36:52 +0100, Fernando Meira wrote: # emerge -Dav dbus hal Calculating dependencies ...done! [ebuild R ] sys-apps/dbus-0.36.2 +X -debug -doc -gtk -mono +python +qt
 +xml2 0 kB [ebuild UD] sys-apps/dbus-0.23.4-r1 [0.36.2] +X -debug -gtk -mono +python +qt +xml2 0 kB [ebuild R ] sys-apps/hal-0.4.7-r2 -debug -doc -livecd -pcmcia 0 kB So, i updated dbus, but for hal, it would downgrade dbus... isn't it
 strange that it upgraded it and now wants to downgrade it.. with no emerge --sync in between? And, should I do this?The API changed between HAL 0.4.x and 0.5.x, you must have matchingversions of HAL and D-BUS
dbus-0.2* and hal-0.4.*ordbus-0.3* and hal-0.5.*
Ok... now I see what went wrong! 
I have dbus in my package.keywords, so that's why it was updated to the
new version 0.3*, while hal is not there and remained on the stable
version 0.4*.. I have just masked the dbus-0.3 and the problem
should be fixed.. let's see how the remaining compilations go.. :)

Thanks!
 


Re: [gentoo-user] what made portage go fast again?

2005-11-01 Thread Fernando Meira
On 11/1/05, Benno Schulenberg [EMAIL PROTECTED] wrote:
Today the updating of the portage cache was real quick -- somethinglike a minute, instead of the ten minutes it used to take duringthe past month or so.What has changed?Was it the r2 to r3 update on glibc-2.3.5
?Did I emerge somethingin the meantime that Portage uses if present but does not dependupon?(lzo?)Or was a whole lot of data removed from the tree?Benno--
gentoo-user@gentoo.org mailing listHave
you ran some command that caches the portage dir to memory before
updating portage cache? That normally speeds up.. but then again, maybe
there were changes so that the annoying problem got fixed... 

Fernando


Re: [gentoo-user] what made portage go fast again?

2005-11-01 Thread Fernando Meira
On 11/1/05, Dale [EMAIL PROTECTED] wrote:
Ciaran McCreesh wrote:A really really dumb bit of code in Portage itself was changed. See thegentoo-portage-dev list archives if you want technical details.Is that the same reason it was sticking at 50% or so?If so there is a
thread about it on the forums too.I hope that fixed it.My old 200MHzmachine got a heck of a workout.LOLIt took 30 minutes to go from 49%to 51%.The rest wasn't much better.LOL
Yeah.. I sync'ed portage yesterday and still took forever to finish.
Although all the way is slow and painful, the worst part was indeed
from 50% to 52%.. these 2% take SOO loong 
You say that your old 200MHz took 30m? I'd say my laptop took at
least 30m yesterday to do it.. and it's a 2.4Ghz... I even think that
each update gets worst and worst

Fernando



Re: [gentoo-user] what made portage go fast again?

2005-11-01 Thread Fernando Meira
On 11/1/05, Dale [EMAIL PROTECTED] wrote:
Fernando Meira wrote: Have you ran some command that caches the portage dir to memory before updating portage cache? That normally speeds up.. but then again, maybe there were changes so that the annoying problem got fixed...
 FernandoYou been running that du -s command to huh?It does work.I reallyneed it on my old 200MHz machine.Would you happen to know what thatcommand does?I read the man page but it didn't help much.I'm
learning though.Dale
The idea is to cache all files into memory so that a re-run through
those files goes faster. The command du takes all files of the dir you
provide to calculate the amount of space used. Of course, you could use
any other command that runs through the files... :) 
And for the record, I did not run du on my yesterday's update, mentioned in my previous mail... :)

Fernando



Re: [gentoo-user] How do I emerge a masked package?

2005-10-28 Thread Fernando Meira
On 10/28/05, Jules Colding [EMAIL PROTECTED] wrote:
Hi,I am trying to emerge alsa-driver-1.0.10_rc2 on amd64. This package isin /usr/portage/package.mask. Can I emerge it without editingpackage.mask?Thanks,jules
Hi,
yes, you should not change /usr/portage/profiles/package.mask, but
instead add the package you want to /etc/portage/package.unmask in the
same fashion as you use for package.keywords. After this, you package
is no longer hard-masked, but you may still need to add it to
package.keywords.. 

HTH,
Fernando



Re: [gentoo-user] struggling with dri

2005-10-13 Thread Fernando Meira
On 10/12/05, Robert Svoboda [EMAIL PROTECTED] wrote:
[...] So, I'm back to radeon but still no rendering. However, there's noting saying the opposite unless: # glxinfo | grep -i rendering direct rendering: No[...]Did you compile agp, drm, radeon into kernel or as modules?
There are some issues (or at least there were) with this.Mine works like this:CONFIG_AGP=yCONFIG_AGP_INTEL=yCONFIG_DRM=yCONFIG_DRM_RADEON=y(Some people suggest compiling radeon as module but it works
for me this way)
Ok, so here I am again! This was the last kernel configuration that I
could try.. and still rendering: no!! I think this rendering fellow
just doesn't like me :(
Any dmesg output?
# dmesg 
Linux version 2.6.12-suspend2-r6 ([EMAIL PROTECTED]) (gcc version 3.4.4
(Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #5 Thu Oct 13 00:42:09
CEST 2005
BIOS-provided physical RAM map:
BIOS-e820:  - 0009fc00 (usable)
BIOS-e820: 0009fc00 - 000a (reserved)
BIOS-e820: 000f - 0010 (reserved)
BIOS-e820: 0010 - 1ffe (usable)
BIOS-e820: 1ffe - 1fff8000 (ACPI NVS)
BIOS-e820:  - 0001 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131040
 DMA zone: 4096 pages, LIFO batch:1
 Normal zone: 126944 pages, LIFO batch:31
 HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000
Acer
) @ 0x000fe030
ACPI: RSDT (v001 Acer TMH2 0x0001 Acer 0x) @ 0x1ffe
ACPI: FADT (v001 Acer TMH2 0x0001 Acer 0x) @ 0x1ffe0054
ACPI: BOOT (v001 Acer TMH2 0x0001 Acer 0x) @ 0x1ffe002c
ACPI: DSDT (v001 H2 H2 0x1000 MSFT 0x010d) @ 0x
Allocating PCI resources starting at 2000 (gap: 1fff8000:dfff8000)
Built 1 zonelists
Kernel command line: root=/dev/hda1 vga=0x31A resume2=swap:/dev/hda3
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 2400.046 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x50
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515560k/524160k available (2208k kernel code, 8112k reserved, 620k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 4734.97 BogoMIPS (lpj=2367488)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebf9ff    0400  
CPU: After vendor identify, caps: bfebf9ff    0400  
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After all inits, caps: bfebf9ff   0080 0400  
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0c00)
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf0200, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20050309
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is :01:00.0
PCI: Transparent bridge - :00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [PILA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [PILC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILE] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILF] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILG] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [PILH] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: Embedded Controller [EC0] (gpe 29)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
Linux Kernel Card Services
 options: [pci] [cardbus] [pm]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try pci=routeirq. If it helps, post a report
pnp: 00:0a: ioport range 0xf100-0xf17f could not be reserved
pnp: 00:0a: ioport range 0xf200-0xf23f has been reserved
pnp: 00:0a: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0a: ioport range 0x580-0x587 has been reserved
Simple Boot Flag at 0x6e set to 0x1
inotify device minor=63
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
lp: driver loaded but no devices found
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 

Re: [gentoo-user] struggling with dri

2005-10-12 Thread Fernando Meira
On 10/12/05, Robert Svoboda [EMAIL PROTECTED] wrote:
* Fernando Meira [EMAIL PROTECTED] [2005-10-09 23:10]: Hi,Hi, I know this is a well discussed topic.. but I can't find answer to my problem.. and I'm completely lost in all mails/forums..
 I have a ATI Technologies Inc Radeon Mobility M6 LY and I been using radeon driver from kernel.I have M7 LW but they are very similar I believe... In order to enable rendering, I been looking around and after no success I
 was told that I should use fglrx driver from proprietary ATI-drivers! Tried it, but no deal! Then I was again told that these drivers were not to my card, and that radeon should made it.Yes, I think so.
 So, I'm back to radeon but still no rendering. However, there's noting saying the opposite unless: # glxinfo | grep -i rendering direct rendering: No[...]Did you compile agp, drm, radeon into kernel or as modules?
There are some issues (or at least there were) with this.Mine works like this:CONFIG_AGP=yCONFIG_AGP_INTEL=yCONFIG_DRM=yCONFIG_DRM_RADEON=y(Some people suggest compiling radeon as module but it works
for me this way)
I've already tried this both sets: 
CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_DRM=m
CONFIG_DRM_RADEON=m

and 

CONFIG_AGP=y
CONFIG_AGP_INTEL=m
CONFIG_DRM=y
CONFIG_DRM_RADEON=m

with no success... I'll try what works for you.. thanks!!
I'll post the results as soon as I have them!
Any dmesg output?
For what I've tried until now, there's no sign of errors or weird stuff.. all looks fine..

Cheers,
Fernando



[gentoo-user] firefox segmentfaulting....

2005-10-12 Thread Fernando Meira
Hi,

just come across a sudden strange behaviour of Mozilla Firefox:
Somehow, when I'm editing my blog and press the left arrow to move the cursor forward, the window just disappears..
This is what I get in return:

$ firefox 
[2] 9642
$ No running windows found
*** loading the extensions datasource
/usr/libexec/mozilla-launcher: line 116: 9653 Segmentation fault $mozbin $@
firefox-bin exited with non-zero status (139)

[2]+ Exit 139 firefox
$

I'm using www-client/mozilla-firefox-1.0.7-r2

Is this something new? Should it be reported in bugzilla?
Note that I could move the cursor well before that.. and after the
first crash, any time I try to repeat, it crashes again and again...
here in gmail it works ok thou..

Cheers,
Fernando.


Re: [gentoo-user] struggling with dri

2005-10-11 Thread Fernando Meira
On 10/11/05, gentoo_falstaff [EMAIL PROTECTED] wrote:
On my laptop with a Mobility Radeon M7 on I noticed the same problemafter a kernel recompilation (2.6 series ~x86 flag); that is I hadDirect Rendering switched off.I was compiling AGP as a kernel module.Actually I solved the problem compiling AGP directly in the kernel with
the chipset code too.I'm also using x11-drm to obtain the correct Radeon driver compiled as amodule.
Ok, good.. I'll do the same!! That or leave it radeon as module and not built in as it is now. 
Hopefully I'll have time to try that this afternoon.
I'm using x11-drm because the HOWTO mentioned that for 2.6-kernel it should be.. 
If the first option doesn't solve my problem, I'll also give x11-drm a try... 
 I made an attempt to use ati-drivers package but I found that it doesn'tcomplain my card anymore.

Yah, same problem here!

Cheers,
Fernando 



Re: [gentoo-user] struggling with dri

2005-10-11 Thread Fernando Meira
On 10/10/05, Jason Cooper [EMAIL PROTECTED] wrote:
Fernando Meira ([EMAIL PROTECTED]) scribbled: I think I have radeon driver built-in the kernel.. does that mean that it is loaded before agpgart? agpgart and intel_agp are both modules...
 should I them recompile my kernel and leave radeon as module?yes.
Ok, with this modules being loaded at boot:
agpgart
intel_agp
radeon

I still don't have rendering! 
So, should I try to compile all built-in the kernel? Or should I go for x11-drm?

Cheers,
Fernando


Re: [gentoo-user] struggling with dri

2005-10-11 Thread Fernando Meira
On 10/11/05, Fernando Meira [EMAIL PROTECTED] wrote:
On 10/10/05, Jason Cooper [EMAIL PROTECTED] wrote:

Fernando Meira ([EMAIL PROTECTED]) scribbled: I think I have radeon driver built-in the kernel.. does that mean that it is
 loaded before agpgart? agpgart and intel_agp are both modules...
 should I them recompile my kernel and leave radeon as module?yes.
Ok, with this modules being loaded at boot:
agpgart
intel_agp
radeon

I still don't have rendering! 
So, should I try to compile all built-in the kernel? Or should I go for x11-drm?

Cheers,
Fernando

Just to add a new question:

- I'll need to connect a projector to my laptop. What do I need to do so?
Does it connect as the second monitor? If so, then would I need to reboot to make it work?

Thanks,
Fernando


Re: [gentoo-user] struggling with dri

2005-10-11 Thread Fernando Meira
On 10/11/05, Holly Bostick [EMAIL PROTECTED] wrote:
Fernando Meira schreef: On 10/10/05, Jason Cooper [EMAIL PROTECTED] wrote: Fernando Meira ([EMAIL PROTECTED]
) scribbled: I think I have radeon driver built-in the kernel.. does that meanthat it is loaded before agpgart? agpgart and intel_agp are both modules...
 should I them recompile my kernel and leave radeon as module? yes. Ok, with this modules being loaded at boot: agpgart intel_agp radeon
 I still don't have rendering! So, should I try to compile all built-in the kernel? Or should I go for x11-drm? Cheers, FernandoI'm not sure I understand what you're doing here.
As far as I know (and I must stress that I'm not that familiar witheither the radeon driver or how it works with the Mobility chips,because I have a 9800SE that must use the fglrx drivers to get OpenGL/3D
hardware acceleration/direct rendering), the radeon driver is a 2Ddriver that is used in combination with the kernel's DRM and the Mesalibraries to get direct rendering/3D hardware acceleration enabled.So my first question would be:
What is the status of DRM in your kernel?Device Drivers=Character Devices=Direct Rendering Manager (XFree864.1.0 and higher DRI support)
It was DRM [=m].
All (agpgart, inter_agp, DRM, radeon) were [M].
 Now, I know that for the fglrx drivers to run, this kernel option mustbe *unset*, but it's clear that you can't even have the 'radeon' module
if DRM is not set. However, in looking at these settings in my ownkernel (and assuming that the Mobility chipset in your lappy can usethese drivers to provide 3D hardware acceleration), I noticed that:
- when I had /dev/agpgart set as a module, I could only build DRM as amodule (the kernel gave me a message to this effect);- setting /dev/agpgart to statically compiled (Y) allowed me to buildDRM statically compiled (but I could still build Radeon as a module, and
intel_agp as a module under agpgart).Again, I'm no big expert on the radeon kernel drivers, but I find ithard to believe that in this situation it can be a good thing for/dev/agpgart and /DRM themselves to be compiled as loadable modules
rather than statically (although the sub-functions, intel_agp andradeon, most likely *should* be compiled as modules).
So I would suggest that your kernel config should look like this:
* /dev/agpgart (AGP Support)  ALI chipset support  ATI chipset support  AMD Irongate, 761, and 762 chipset support  AMD Opteron/Athlon64 on-CPU GART support
M Intel 440LX/BX/GX, I8xx and E7x05 chipset support  NVIDIA nForce/nForce2 chipset support  SiS chipset support  Serverworks LE/HE chipset support  VIA chipset support
  Transmeta Efficeon support* Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  3dfx Banshee/Voodoo3+ (NEW)  ATI Rage 128 (NEW)M ATI Radeon
  Intel I810 (NEW)  Intel 830M, 845G, 852GM, 855GM, 865G  Matrox g200/g400 (NEW)  SiS video cards (NEW)
Ok, so I do as you say, change agpgart and DRM to be statically and leave inter_agp and radeon as modules.
Exactly as you mention. 
For what it's worth. You could then take agpgart out of/etc/modules.autoload.d/kernel-
2.6 (since it's no longer a loadablemodule, you can't load it that way anyway. but then intel_agp shouldhopefully load correctly).
Yes... done! 
You would perhaps also want to check your build of xorg:emerge -pv xorg-x11

Yes, I have opengl USE flag active and xorg-x1 compiled with it. 

Hope this helps,Holly
Well, I really appreciate it, but it's still not working. All the same, no errors and no rendering.
Xorg.0.log does not report any error, dmesg reports:

 agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 1x mode
agpgart: Putting AGP V2 device at :01:00.0 into 1x mode

and lsmod:
radeon 60800 1 
intel_agp 15260 1 

So.. don't know what can be wrong... 

To add: now I lost the booting report!! After disabling DRM, FM support
(vesa-fb + ati + ddc/I2C) for trying fglrx driver.. I can't get back
the booting screen.. just a black screen from Grub to login manager..
The funny part is that I re-set all these kernel option.. well, all
less one, support for FB splash (inside /Device Drivers/Graphics
Support/Support for framebuffer devices/), which I can't find anymore..
weird.. very weird...

any clue? to any of the problems?

Thanks,
Fernando



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Fernando Meira
On 10/10/05, Ow Mun Heng [EMAIL PROTECTED] wrote:
On Sun, 2005-10-09 at 22:44 +0200, Fernando Meira wrote: Section driMode 0666 EndSectionPlease check if permissions of /dev/dri/cardX is really 0666.
Mine has to be changed.
Yes, they were not 0666 but instead 0660. I changed them, rebooted, and they're back to 0660 :(
Anyway, I don't think it is a permissions problem, because I get the same result if I run glxinfo with root... or is it?
Also, I did not emerge x11-drm, the howto said that it was not
necessary (even un-supported) with kernel 2.6.. can this be a problem?

TIA,
Fernando



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Fernando Meira
On 10/10/05, Jason Cooper [EMAIL PROTECTED] wrote:
Fernando Meira ([EMAIL PROTECTED]) scribbled: Yes, they were not 0666 but instead 0660. I changed them, rebooted, and they're back to 0660 :(cd into /etc/udev/rules.d/ and make a file called 
10-local.rules .Addthe 'dri' lines from 50-udev.rules.Append to the end of each lineMODE=0666 Anyway, I don't think it is a permissions problem, because I get the same result if I run glxinfo with root... or is it?
Make sure the module for your agpgart is loaded _before_ the radeonmodule.hth,jason.
Ok, I did so, now I have:
# ll /dev/dri/card0 
crw-rw-rw- 1 root root 226, 0 Oct 10 2005 /dev/dri/card0

but still no rendering:
# glxinfo | grep rendering
direct rendering: No

anything else I should check?
Thanks,
Fernando


Re: [gentoo-user] struggling with dri

2005-10-10 Thread Fernando Meira
On 10/10/05, Richard Fish [EMAIL PROTECTED] wrote:
Michael Taylor wrote: unsubscribe On 10/10/05, *Fernando Meira* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote: On 10/10/05, *Jason Cooper* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 Fernando Meira ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED]) scribbled: Yes, they were not 0666 but instead 0660. I changed them,
 rebooted, and they're back to 0660 :( cd into /etc/udev/rules.d/ and make a file called 10-local.rules .Add the 'dri' lines from 50-udev.rules
.Append to the end of each line MODE=0666 Anyway, I don't think it is a permissions problem, because I get the same result if I run glxinfo with root... or is it?
 Make sure the module for your agpgart is loaded _before_ the radeon module. hth, jason. Ok, I did so, now I have:
 # ll /dev/dri/card0 crw-rw-rw-1 root root 226, 0 Oct 102005 /dev/dri/card0 but still no rendering: # glxinfo | grep rendering direct rendering: No
 anything else I should check? Thanks, FernandoWell, I wouldn't do anything so drastic as unsubscribing... :-)When you run glxinfo, what is your DISPLAY variable set to?DRI doesn't
work across a network, so it should be DISPLAY=:0.0Also for reference, my dri section from xorg.conf:Section driGroup graphicsMode 0660EndSection
Notice that I specify the Group.My account is then a member of the thegraphics group.HTH,-Richard
Wow.. unsubscribe is kinda drastic... I'd end up with no dri and no one to ask for help :)

My display is 0.0 (as you can see bellow the complete output of glxinfo.
I don't have specified the group in xorg, but I added my user to video and set the mode to 0666 which allows all users... 
it's hard to believe that's something to do with permissions.. but
anyway, I'll try it.. i don't have anything to loose.. Thanks!

Meanwhile, any other ideas?

$ glxinfo 
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
 GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
 GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, 
 GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float, 
 GLX_ATI_render_texture
GLX extensions:
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
 GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
 GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp, 
 GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
 GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
 GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color, 
 GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add, 
 GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
 GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
 GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

 visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
--
0x23 24 tc 0 32 0 r . . 8 8
8 8 0 24 0 0 0 0 0 1 0
None
0x24 24 tc 0 32 0 r . . 8 8
8 8 0 24 8 0 0 0 0 1 0
None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x27 24 tc 0 32 0 r y . 8 8
8 8 0 24 0 0 0 0 0 1 0
None
0x28 24 tc 0 32 0 r y . 8 8
8 8 0 24 8 0 0 0 0 1 0
None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2b 24 dc 0 32 0 r . . 8 8
8 8 0 24 0 0 0 0 0 1 0
None
0x2c 24 dc 0 32 0 r . . 8 8
8 8 0 24 8 0 0 0 0 1 0
None
0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2f 24 dc 0 32 0 r y . 8 8
8 8 0 24 0 0 0 0 0 1 0
None
0x30 24 dc 0 32 0 r y . 8 8
8 8 0 24 8 0 0 0 0 1 0
None
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow



Re: [gentoo-user] struggling with dri

2005-10-10 Thread Fernando Meira
On 10/10/05, Jason Cooper [EMAIL PROTECTED] wrote:
Kevin Hanson ([EMAIL PROTECTED]) scribbled: I've got a radeon mobility 9200 in my laptop and have compiled CONFIG_AGP=m, CONFIG_AGP_INTEL=m, CONFIG_DRM=m, and CONFIG_DRM_RADEON=m.
 Interestingly enough, agpgart module loads at boot but intel_agp doesn't.Modprobe of intel_agp produces no errors, but lsmod shows it's not loaded.Nothing in log files either.When X is started, drm and
 radeon modules load up, but dri still doesn't work, probably because agp isn't working.Do you have agpgart in /etc/modules.autoload.d/kernel-2.6 ?replace itwith intel_agp, then place radeon on the line following.intel_agp will
draw in agpgart, and radeon must be loaded after those are in.hth,jason.
I think I have radeon driver built-in the kernel.. does that mean that it is loaded before agpgart?
agpgart and intel_agp are both modules...

should I them recompile my kernel and leave radeon as module?

Fernando



[gentoo-user] struggling with dri

2005-10-09 Thread Fernando Meira
Hi,
I know this is a well discussed topic.. but I can't find answer to my problem.. and I'm completely lost in all mails/forums..

I have a ATI Technologies Inc Radeon Mobility M6 LY and I been using radeon driver from kernel. 
In order to enable rendering, I been looking around and after no
success I was told that I should use fglrx driver from proprietary
ATI-drivers! Tried it, but no deal! Then I was again told that these
drivers were not to my card, and that radeon should made it.
So, I'm back to radeon but still no rendering. However, there's noting saying the opposite unless:
# glxinfo | grep -i rendering
direct rendering: No

Xorg log says:
(...)
(II) RADEON(0): initializing int10 
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: ATI Radeon Mobility M6 LY (AGP) (ChipID = 0x4c59)
(--) RADEON(0): Linear framebuffer at 0x8800
(--) RADEON(0): BIOS at 0x8052
(--) RADEON(0): VideoRAM: 32768 kByte (64 bit DDR SDRAM)
(II) RADEON(0): AGP card detected 
(...)

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] loaded kernel module for radeon driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe2079000
(II) RADEON(0): [drm] mapped SAREA 0xe2079000 to 0xb5c6e000
(II) RADEON(0): [drm] framebuffer handle = 0x8800
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x1a30; Card 0x1002/0x4c59]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x0001
(II) RADEON(0): [agp] ring handle = 0xe000
(II) RADEON(0): [agp] Ring mapped at 0xb5b6d000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000

(II) RADEON(0): [agp] Ring read ptr mapped at 0xb5b6c000

(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000

(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb596c000

(II) RADEON(0): [agp] GART texture map handle = 0xe0302000

(II) RADEON(0): [agp] GART Texture map mapped at 0xb548c000

(II) RADEON(0): [drm] register handle = 0x8050

(II) RADEON(0): [dri] Visual configs initialized

(II) RADEON(0): CP in BM mode

(II) RADEON(0): Using 8 MB GART aperture

(II) RADEON(0): Using 1 MB for the ring buffer

(II) RADEON(0): Using 2 MB for vertex/indirect buffers

(II) RADEON(0): Using 5 MB for GART textures

(II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)

(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)

(II) RADEON(0): Largest offscreen area available: 1408 x 4905

(II) RADEON(0): Will use back buffer at offset 0xb7

(II) RADEON(0): Will use depth buffer at offset 0x1114000

(II) RADEON(0): Will use 9472 kb for textures at offset 0x16c

(II) RADEON(0): Render acceleration enabled

(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)

 Screen to screen bit blits

 Solid filled rectangles

 8x8 mono pattern filled rectangles
 Indirect CPU to Screen color expansion

 Solid Lines

 Dashed Lines

 Scanline Image Writes

 Offscreen Pixmaps

 Setting up tile and stipple cache:

 32 128x128 slots

 32 256x256 slots

 15 512x512 slots

(II) RADEON(0): Acceleration enabled

(==) RADEON(0): Backing store disabled

(==) RADEON(0): Silken mouse enabled

(II) RADEON(0): Using hardware cursor (scanline 1052)

(II) RADEON(0): Largest offscreen area available: 1408 x 4902

(**) Option dpms

(**) RADEON(0): DPMS enabled

(II) RADEON(0): X context handle = 0x0001

(II) RADEON(0): [drm] installed DRM signal handler

(II) RADEON(0): [DRI] installation complete

(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers

(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers

(II) RADEON(0): [drm] dma control initialized, using IRQ 11

(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808

(II) RADEON(0): Direct rendering enabled

So... it says enable... so is not?

dmesg says:

radeonfb: Retreived PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=175.00 Mhz, System=175.00 MHz
radeonfb: PLL min 12000 max 35000
Non-DDC laptop panel detected
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: panel ID string: Samsung LTN150P1-L02 
radeonfb: detected LVDS panel size from BIOS: 1400x1050
radeondb: BIOS provided dividers will be used
radeonfb: Dynamic Clock Power Management enabled
radeonfb (:01:00.0): ATI Radeon LY 
vesafb: abort, cannot 

Re: [gentoo-user] Re: Reiserfs speed

2005-09-30 Thread Fernando Meira
On 9/29/05, Harry Putnam [EMAIL PROTECTED] wrote:
I'm not a power user or even a very knowledgable user.But amsomething of a long time user, and since `96, I've used ext2 or 3exclusively. I don't recall a single incident of losing or corruptingfiles that was attributable to ext[23].
I'd heard reiserfs was `better' but apparently the things its betterat aren't things I use or notice.
Do you need speed? 
What about space free? reiserfs is quite good! I experimented a ~1G
reduction from having the same data in a ext3 partition to a reiserfs!!
Is it possible to revert to ext3 from single boot mode or mounted froma live cdwithout a lot of hassles?

You can create a tarball of your current system, put it in temporary
place (other partition, removable media, etc), change the partition
type from reiserfs to ext3 and then deploy your system in the brand new
partition.
HTH,
Fernando


Re: [gentoo-user] ccache taking way too long time

2005-09-30 Thread Fernando Meira
On 9/30/05, Jason Stubbs [EMAIL PROTECTED] wrote:
On Friday 30 September 2005 06:44, Fernando Meira wrote: drwxrwS--- 18 root portage 576 Sep 29 00:21 .Which portage version are you using? 2.0.51.22-r2? There was a bug in one ofthem that would cause ccache permissions to be updated everytime in exactly
the above situation. What you have there is 2760 permissions. What you needis 2750. `chmod 2750 /root/.ccache` will fix it.
Hi, I tried that and the first app I installed after (bin2iso ~ 7Kb)
took longer waiting for ccache than compilinginstalling.
However, when emerging a second app there was no waiting time for
ccache ajustment of permissions!! So it looks that it's woking!
I'll run an update world later.. as a final test :)
Thanks everyone!!

Fernando



Re: [gentoo-user] ccache taking way too long time

2005-09-29 Thread Fernando Meira
On 9/28/05, Tamas Sarga [EMAIL PROTECTED] wrote:
On Sun, 25 Sep 2005, Fernando Meira wrote: Hi, I been using ccache for sometime since its mail goal is to speedup common compiling sets. This is great when updating several packages.
 However, every time that a package is to be emerge/updated my system waits for ccache some long minutes. This happens twice, at the emerge start and end. For some small packages, it takes more time to handle ccache than
 compiling the package itself... so I wondering if this is normal, or it is something mis-configured? Here is how it looks:  emerge (2 of 10) media-sound/cdparanoia-
3.9.8-r2 to / * Adjusting permissions on ccache in /root/.ccache * Adjusting permissions on ccache in /root/.ccache  Downloading ftp://ftp.tu-clausthal.de/pub/linux/.
.. (...)  Completed installing cdparanoia-3.9.8-r2 into /var/tmp/portage/cdparanoia-3.9.8-r2/image/  Merging media-sound/cdparanoia-3.9.8-r2 to / * Adjusting permissions on ccache in /root/.ccache
 (...) FernandoHi,I also use ccache for a some time.I use$CCACHE_DIR=/var/cache/ccache/ls -la /var/cache/ccachedrwxrws---18 portage portage4096 Sep 25 16:29 .
drwxr-xr-x 7 rootroot 4096 Oct 142004 ..drwxr-sr-x18 portage portage4096 Oct 242004 0drwxr-sr-x18 portage portage4096 Oct 242004 1drwxr-sr-x18 portage portage4096 Oct 242004 2
snipMy portage user is portage.I haven't got the mentioned problem.What are your settings?Cheers,Tamas
Sarga
Sárga Tamás
Hi, 
thanks for replying..

My setting are:

$CCACHE_DIR=/root/.ccache/
Portage user is also portage.

# ll .ccache/
total 14
drwxrwS--- 18 root portage 576 Sep 29 00:21 .
drwx-- 19 root root 1032 Sep 29 23:39 ..
-rw-rw-r-- 1 root portage 0 Aug 25 13:32 .keep
drwxrwsr-x 18 root portage 456 Sep 3 21:48 0
drwxrwsr-x 18 root portage 456 Sep 3 21:35 1
drwxrwsr-x 18 root portage 456 Sep 3 21:43 2
drwxrwsr-x 18 root portage 456 Sep 3 21:42 3
drwxrwsr-x 18 root portage 456 Sep 3 22:00 4
drwxrwsr-x 18 root portage 456 Sep 3 21:42 5
drwxrwsr-x 18 root portage 456 Sep 3 20:55 6
drwxrwsr-x 18 root portage 456 Sep 3 21:42 7
drwxrwsr-x 18 root portage 456 Sep 3 21:55 8
drwxrwsr-x 18 root portage 456 Sep 3 21:43 9
drwxrwsr-x 18 root portage 456 Sep 3 21:37 a
drwxrwsr-x 18 root portage 456 Sep 3 21:44 b
drwxrwsr-x 18 root portage 456 Sep 3 21:48 c
drwxrwsr-x 18 root portage 456 Sep 3 21:43 d
drwxrwsr-x 18 root portage 456 Sep 3 21:49 e
drwxrwsr-x 18 root portage 456 Sep 3 20:55 f
-rw-rw-r-- 1 root portage 66 Sep 29 00:21 stats
-rw-rw-r-- 1 root portage 120 Sep 24 22:32 tmp.hash.nandux.29184.gcno
-rw-rw-r-- 1 root portage 120 Sep 12 00:13 tmp.hash.nandux.6642.gcno

# du -sh .ccache/
965M .ccache/

# ccache -s
cache
hit
4569
cache
miss
32736
called for
link
3200
multiple source files 7
compile
failed
618
preprocessor
error
209
not a C/C++
file
1420
autoconf compile/link 3617
unsupported compiler option 1214
no input
file
2570
files in
cache
65472
cache
size
960.6 Mbytes
max cache
size
2.0 Gbytes

Can it be just because it's inside root's dir?

Cheers,
Fernando


[gentoo-user] ccache taking way too long time

2005-09-25 Thread Fernando Meira
Hi,

I been using ccache for sometime since its mail goal is to speedup common compiling sets. 
This is great when updating several packages.
However, every time that a package is to be emerge/updated my system
waits for ccache some long minutes. This happens twice, at the emerge
start and end. For some small packages, it takes more time to handle
ccache than compiling the package itself... so I wondering if this is
normal, or it is something mis-configured?

Here is how it looks:

 emerge (2 of 10) media-sound/cdparanoia-3.9.8-r2 to /
* Adjusting permissions on ccache in /root/.ccache
* Adjusting permissions on ccache in /root/.ccache
 Downloading ftp://ftp.tu-clausthal.de/pub/linux/...
(...)
 Completed installing cdparanoia-3.9.8-r2 into /var/tmp/portage/cdparanoia-3.9.8-r2/image/

 Merging media-sound/cdparanoia-3.9.8-r2 to /
* Adjusting permissions on ccache in /root/.ccache
(...)

Fernando


Re: [gentoo-user] Security Updates and Portage Trees

2005-09-24 Thread Fernando Meira
On 9/22/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Wed, 21 Sep 2005 23:03:53 +0200, Fernando Meira wrote: I might be wrong, but I have the idea that E-cvs packages are always updated during an emerge world.Only if you run it without -p or -a. I never run emerge world without
fiorst checking exactly what it is going to do.
I was not meaning that, but instead that CVS packages were always
updated in a emerge -u world. If I would update my world, a re-run
would re-update those packages. I added the whole list of packages to
the world file and it seems that my idea was wrong. None of the E-CVS
packages are getting updated. Which also means that I can clean my
depclean functionality. :)





Re: [gentoo-user] Security Updates and Portage Trees

2005-09-21 Thread Fernando Meira
On 9/20/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Tue, 20 Sep 2005 13:50:28 +0200, Fernando Meira wrote: - I run emerge -pv depclean and I get a list where I find these:  These are the packages that I would unmerge: media-libs/libmpeg3
 selected: 1.5.2 protected: none omitted: none x11-plugins/e_modules selected:  protected: none omitted: none media-libs/win32codecs selected: 20050216
 protected: none omitted: nonex11-wm/e selected:  protected: none omitted: none So, I have two problems: 1) I'm using E(nlightenment) from cvs, and I don't have it (my option)
 in my world file. Therefore it's understandable why emerge wants to clean it. So, what can I do to be able to use depclean and not loose E. Adding all E-related packages to world would be a solution, but there's
 any other?If you installed it with portage, you should have it in world.
I've installed with portage, but with --oneshop option. This is because
(as Holly said) E17 packages need to be installed in proper order. So I
use a script to update E-related packages. I think if I would let
portage update them something would get messed up... 
So, in the end, can't I use depclean without adding these packages to world file?
 2) win32codecs was marked to be clean. why? # equery d win32codecs
 [ Searching for packages depending on win32codecs... ] media-libs/xine-lib-1.0.1-r3 media-video/avifile-0.7.41.20041001-r1 media-video/mplayer-1.0_pre7-r1Do you have the wind32codecs USE flag set? Have you changed it recently?
Did you do emerge -uavDN world before depclean? If you didn't, yourcurrent USE flags may be out of sync with what the packages were actuallymerged with.
I don't have that flag set.. never had. Should I? And, first of all,
why do I have win32codecs without having the flag? Was it a dependence
of a prior version of mplayer?




Re: [gentoo-user] Security Updates and Portage Trees

2005-09-21 Thread Fernando Meira
On 9/21/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Wed, 21 Sep 2005 16:36:59 +0200, Fernando Meira wrote:  If you installed it with portage, you should have it in world. I've installed with portage, but with --oneshop option. This is because
 (as Holly said) E17 packages need to be installed in proper order. So I use a script to update E-related packages. I think if I would let portage update them something would get messed up...
So you lied to portage and now it's acting on the incorrect informationyou have given it :)
Basically, yeah! 
 So, in the end, can't I use depclean without adding these packages to world file?
Add them to world. As long as you don't do an automatic emerge -uDworld you shouldn't have a problem. When updates come out, yopu'll seethem in the output of emerge -pvD world (which you won't with your
current setup) then you can merge them manually in the correct orderbefore letting portage handle the rest of world.
I might be wrong, but I have the idea that E-cvs packages are always
updated during an emerge world. Therefore I can't control it by
updating (manually) E-packages and then run emerge world. However, I'll
check this next update.
With all that said, I assume that there's no way to manage my packages
for update and depclean while keeping some of them out of world file...
damn.. 
  Do you have the wind32codecs USE flag set? Have you changed it  recently? Did you do emerge -uavDN world before depclean? If you
  didn't, your current USE flags may be out of sync with what the  packages were actually merged with. I don't have that flag set.. never had. Should I? And, first of all, why do I have win32codecs without having the flag? Was it a dependence
 of a prior version of mplayer?That's a possible explanation. the easy way to find out is to runquickpkg win32codecsemerge -C win32codecsemerge world -uavDkIf it really is needed, the last command will re-emerge it.
I take it you have run emerge -uavD --newuse world before depclean?
I think I'll just add the flag and add --newuse flag for next emerge world! Thanks.



Re: [gentoo-user] Security Updates and Portage Trees

2005-09-20 Thread Fernando Meira
On 9/20/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Tue, 20 Sep 2005 09:04:02 +0800, W.Kenworthy wrote: One point I have never seen mentioned is *why* would you *not* want a package in the world file - especially if you want it to be managed by the system?
The world file is for packages you have explicitly installed foryourself, not their dependencies. If you put every package in world,emerge will no longer be able to clean out dependencies that are nolonger needed.
For example, I have a package installed that used to depend on id3lib, butthe authors switched over to libid3tag for the latest version, so anupgrade pulled in that package and id3lib is no longer required. Because
it is not in world, my next emerge depclean will remove it, providednothing else needs it. If it had been in world, it would have stayed onmy system forever, despite being totally unnecessary.

Since you've touched that detail, here is what I have: 
- I run emerge -pv depclean and I get a list where I find these:
 These are the packages that I would unmerge:

media-libs/libmpeg3
 selected: 1.5.2
 protected: none
 omitted: none

x11-plugins/e_modules
 selected: 
 protected: none
 omitted: none

media-libs/win32codecs
 selected: 20050216
 protected: none
 omitted: none

x11-wm/e
 selected: 
 protected: none
 omitted: none

and so on..

So, I have two problems:
1) I'm using E(nlightenment) from cvs, and I don't have it (my option)
in my world file. Therefore it's understandable why emerge wants to
clean it. So, what can I do to be able to use depclean and not loose E.
Adding all E-related packages to world would be a solution, but there's
any other?

2) win32codecs was marked to be clean. why?
# equery d win32codecs
[ Searching for packages depending on win32codecs... ]
media-libs/xine-lib-1.0.1-r3
media-video/avifile-0.7.41.20041001-r1
media-video/mplayer-1.0_pre7-r1
This shows me that 3 other apps depend on win32codecs (or am I getting
it wrong?). So I assume I shouldn't clean this otherwise I'll have
problems next time I run mplayer, right?

Also, 
# equery d libmpeg3 
[ Searching for packages depending on libmpeg3... ]
app-misc/evidence-

takes me back to 1). How can I ensure that dependencies of packages that are not in world file are not erased?

Cheers,
Fernando


Re: [gentoo-user] Installing Gentoo 2005.1 on an SATA drive

2005-09-06 Thread Fernando Meira
On 9/6/05, Michael Kintzios [EMAIL PROTECTED] wrote:
Have you checked that the LiveCD image is not corrupt (dodgy CD burn ordownload)?
I helped installing Gentoo 2005.1 on a SATA machine last weekend and we
were faced with similar problems. No segfault, but after chrooting the
disk was no longer there, and errors arose while trying to write to it.
After a few tries, the solution was to download a new CD and check if
it was corrupt, along with the stage file and portage tarball used. You
should try this, if you didn't check it in your prior installation.

HTH,
Fernando


Re: [gentoo-user] Forgotten root password on remote system

2005-08-26 Thread Fernando Meira
On 8/26/05, Frank Schafer [EMAIL PROTECTED] wrote:
On Fri, 2005-08-26 at 07:50 +0200, Dirk Heinrichs wrote: Am Donnerstag, 25. August 2005 18:21 schrieb ext Willie Wong:  Your best bet is to get someone your trust to boot into single for you
  and reset the password there. Single wouldn't work, You still get a login: prompt. The only ways to get at it are LiveCD or booting with init=/bin/bash. Bye...
 DirkRight. Due to the fact that he got a new password, I think they did itexactly that way (LifeCD or boot disc).There is no official hack to get the password out of the machine. It is
nowhere stored in uncrypted form and the crypting algorithm itself isnot reversable.
Not the best way to do it, but getting the crypted form of the root
pass and using it for a brute-force attack wouldn't get a good result?
By good result I mean a positive match within a short period of time!
Of course I assume for that, that he had an idea of what was the
password like.. number of characters, use of symbols, and so, so that
he could apply the attack as nearer of the real pass as possible..
would this be a possible way to do it?



Re: [gentoo-user] iptables

2005-08-26 Thread Fernando Meira
On 8/26/05, John Dangler [EMAIL PROTECTED] wrote:
I'm reading through the wiki doc on setting up iptables.There is a sectionthere that sets up a file called firewall.shi've emerged iptables, but I don't have a file by that name on the system,and it seems that running /etc/init.d/iptables save writes this file as
/var/lib/iptables/rules-save.Is there a specific directory where this fileshould be written so that running /etc/init.d/iptables save can see it?Or can the rules-save file be edited and re-written? (It seems as though
running /etc/init.d/iptables save would just over-write rules-save).Thanks for the input.John D
You first run the firewall.sh script. Then you do /etc/init.d/iptables save to save what you have just configured!

HTH,
Fernando



Re: [gentoo-user] Forgotten root password on remote system

2005-08-26 Thread Fernando Meira
On 8/26/05, Frank Schafer [EMAIL PROTECTED] wrote:
IYpi3tbduwbfwmSuch a password can't be cracked by brute force and it's easy to remember.If Your password is 3 times better, don't use words brute force won'tmatter.
Well.. that just depends on how strong the password was! A brute-force
attack would get there.. sooner or later!! For being sooner than later,
the idea was to provide the attack with accurate characteristics of the
password: number of chars, alphanumeric, upper and lower-case.. and
such things.. 



Re: [gentoo-user] Forgotten root password on remote system

2005-08-26 Thread Fernando Meira
On 8/26/05, Frank Schafer [EMAIL PROTECTED] wrote:
Hmmm, I think the example password should be strong enough but You areright. Sooner or later it will come in (if sooner is something amongst
some hundreds of years and later something amongst some thousands ;)BTW: There isn't only the password. There are log analyzers too.Let such an analyzer catch auth failure - say 20 times within less thanhalf an hour - for root remote, then it can block access from this IP,
if it catches local auth failure for root - 20 times within less thanhalf an hour - it can logaut the user (kill his login shell) and blockthe account. Mine does so. Well, in this case the sooner is something
amongst some millions of years and the later something amongst sometrillions but this already goes into the direction of IDS.
You're lacking optimism... Of course the brute-force attack was not
supposed to be done remotely! You can pull passwd to your local machine
and the let your computer handle it without interruptions. If some
proprieties of the password are known beforehand, then sooner would be
a matter of hours and later a couple of days. This is not even putting
into the game some distributed computing... 



Re: [gentoo-user] Re: migrating to gcc-3.4.4

2005-08-25 Thread Fernando Meira
On 8/24/05, Willie Wong [EMAIL PROTECTED] wrote:
On Wed, Aug 24, 2005 at 08:30:11PM +, Fernando Meira wrote: Oh.. and by the way, how reliable is this prediction? (...) [ebuild N ] sys-apps/hdparm-5.9 [ebuild N ] sys-libs/pwdb-0.62
 Estimated update time: 6 hours, 7 minutes. All system in 6h? It is something like 120 packages..What's the speed of your box? I recently did an emerge --emptytreeworld on my 
1.6G Pentium M laptop. It had 446 packages done in lessthan 29 hours (I say less than because if would run long stretches ata time and stop after failed downloads here and there because ofwireless problems... for all I know it could have been sitting there
waiting for me to fix my wireless router for a couple of hours ormore).So if you have a comparably fast system, with not too many useflagsenabled, I'd say that 120 packages in 6 hours is quite possible.

I have a P4-2.4GHz laptop. 
I forgot to say that the estimation time was made by genlop. And was
quite wrong! It took something like 11h to compile 112 packages,
(though I've interrupted while compiling gcc-3.3.6.. so it had to
restart it anew). From this, I don't know if I should trust genlop
anymore.. or is there something to configure so that it is more
accurate?

Just for the record, the migration to gcc-3.4.4 went just fine.. until now at least. :)



Re: [gentoo-user] genlop times was: migrating to gcc-3.4.4

2005-08-25 Thread Fernando Meira
On 8/25/05, Willie Wong [EMAIL PROTECTED] wrote:
On Thu, Aug 25, 2005 at 11:51:32AM +, Fernando Meira wrote: I have a P4-2.4GHz laptop. I forgot to say that the estimation time was made by genlop. And was quite wrong! It took something like 11h to compile 112 packages, (though I've
 interrupted while compiling gcc-3.3.6.. so it had to restart it anew). From this, I don't know if I should trust genlop anymore.. or is there something to configure so that it is more accurate?
 Just for the record, the migration to gcc-3.4.4 went just fine.. until now at least. :)hum. Genlop looks at the past emerge times of the packages, calculatesan average based on that.
The one thing genlop can't do is figure out how long it takes to mergenew packages. So it just skips them. That is the only way I see genlopbeing wrong by so much. (The other possibility is that you wererunning the box with a high load WHILE compiling, though I guess you
won't be complaining if that were the case.)
That was not the case. I started emerge system just before going to
bed, so it had all cpu for itself (considering that the remaining apps,
such as X, and others, were not very active).
I would say that most of the emerged packages were emerged before.. but
maybe not that much so that genlop could be accurate. Also, a new
compiler was being used.. no idea how much can that change the
performance.
To be honest, I've found the genlop time quite reliable... I'verebuilt my systems with --emptytree a few times in the past 6 months.
(Once after killing PAM and LDAP, once after changing to hardened,once after changing from ~x86 to x86, and once after a major rehaul ofmy USE flags; these are on my desktop machine only). The 500 or sopackages came up to be 1 day and 15 hours from genlop. The actual
compiles never took more than 2 days, and that was while the computerwas still in use. Once it actually finished before the estimated time.Do note that, however, genlop can only calculate its merge time based
on past averages. So if you made major changes to your system, or ifthe codebase changed significantly upstream, genlop can be completelywrong. For example, looking at past emerges of glibc, I see thecompile time goes from everything between 28 minutes to 3 hours.
genlop tells me that if I were to remerge glibc it would take me 1hour and 9 minutes. But I know from experience if I were to install2.3.5-r1, it will most likely only take me 40 minutes, and if I wereto compile 
glibc-2.3.4.20050125-r1, it will take me about 2 hour and10 minutes. Why the funky discrepancy I don't know. So I think thatwhile genlop is generally rather reliable for a rough idea on how longI need to wait for the compile (
i.e. is it worth it just sitting herereading a book or should I just go to bed), the numbers it give shouldbe taken with a grain of salt if you don't have a large number ofhistory of emerges for it to base its guesses on.
W

Ok.. so I'll get better estimations the more times I update my system.
Great!! That was in fact the first time I've used genlop. It's quite
interesting to be able to predict how much something will take to
emerge. 
For what you said, is it worth it just sitting here reading a book or
should I just go to bed, would it be possible to check an active
emerge for the estimated time left? That would tell you what you should
do... does genlop do that?

Cheers,
Fernando



[gentoo-user] migrating to gcc-3.4.4

2005-08-24 Thread Fernando Meira
I've decided to migrate to gcc-3.4.4, so I've emerged it, and switch
the system to use it instead the previous (gcc-3.3.5-20050130).

After that I am supposed to update my system packages, so when I run
# emerge -va system
I get:
[ebuild N ] sys-devel/patch-2.5.9 -build -static 197 kB 
[ebuild N ] app-arch/bzip2-1.0.3-r5 -build -static 0 kB 
[ebuild N ] app-arch/cpio-2.6-r4 +nls 0 kB 
[ebuild N ] sys-apps/texinfo-4.8 -build +nls -static 0 kB 
[ebuild N ] dev-lang/tcl-8.4.9 -threads 0 kB 
[ebuild N ] sys-devel/gnuconfig-20050324 0 kB 
[ebuild N ] sys-libs/readline-5.0-r2 0 kB 
(...)
All with N!! I understand that this is not a update.. will the old packages be overwritten?
It doesn't make sense to think that I'll have duplicate apps... but just for being sure.. :)

In the middle of that list are:
[ebuild N ] sys-devel/gcc-3.4.4
[ebuild N ] sys-devel/gcc-3.3.6

This will compile anew gcc-3.4.4, but this time using the new compiler. That's the point, right?
The old gcc version is still there.. I haven't unmerge it yet, cause I first want to check if all goes fine..

So, should I go ahead..?

Thanks,
Fernando


Re: [gentoo-user] Flash MX 2004

2005-08-24 Thread Fernando Meira
HI,
I'm not bringing help, sorry.
Just started using wine few days ago and I was wondering of what to do
when an app doesn't work.. I read on the user guide that
WINEDEBUG=+loaddll would tell me what dlls are missing.. though I never
got any reply from that option. Does it go to any log file or something
like that?
Anyway, the main question is, when something doesn't work à lá windoz
(nextnextit's ready) what can we do? How can we work around
that for getting it to work?

For example: although I haven't tried yet, Dreamweaver MX would be one
app that I would be interested on... It is just wine setup.exe?

Thanks.
FernandoOn 8/24/05, Ian K [EMAIL PROTECTED] wrote:
Michael Crute wrote: Yes Flash 5 and I believe that even MX works anything before they started adding activation. Though I believe this is not without its flaws (i.e. I have heard the color chooser crashes the program) in
 either case it definately works. I ran DW MX under Wine for the longest time without any major issues.Cool! Im getting an install isue though, I mount the cdrom, then usewine setup.exe
But I get an error... Something about ikernel not being located, I believe.Thanks!Ian -Mike On 8/23/05, *Ian K* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Michael Crute wrote:  Nobody has yet to get any of Studio MX 2004 working under Wine. The  issue (so I have been told) is the activation system doesn't
 play real  nice with Wine. Perhaps if you are skilled in the black art of  cracking you could hack out the activation routines and make it work?  (Note: for personal use only please, I don't advocate software
 piracy) Ah. Well no, I dont like illegal software. Um, I have Flash 5, does that work under Wine? Thanks! Ian   -Mike
   On 8/23/05, *Ian K* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  wrote:   Hey all,  Has anyone been able to get the trial working under Wine?
  Also, because I would use it under Wine, would it be easy to uninstall  the trial and re install it after 30 days? :)  Ian  
 --    Michael E. Crute  Software Developer  SoftGroup Development Corporation
   Linux, because reboots are for installing hardware.  In a world without walls and fences, who needs windows and gates?
 --  Michael E. Crute Software Developer SoftGroup Development Corporation Linux, because reboots are for installing hardware.
 In a world without walls and fences, who needs windows and gates?


[gentoo-user] Read/Import mail

2005-08-22 Thread Fernando Meira
Hi,
this question might be a little bit out of the scope of this mailing list.. but anyway:

I need to access some old mail folder. I was using mozilla as mail client at the time.
Now I use thunderbird. I couldn't import/read the mail just by creating
an account and pointing the Local Folder to that old folder.
The extension of mozilla files are .msf while TB ones are .sdb.
Can I solve this using thunderbird or any simple app that I can emerge quickly, or will I have to install mozilla just for this?

Thanks,
Fernando.


Re: [gentoo-user] Read/Import mail

2005-08-22 Thread Fernando Meira
Yah.. but that didn't work!
Well, I found the mail I needed on other account :)
So I won't need to do this.. at least for now.. but the question is still on.. 

Thanks
FernandoOn 8/22/05, A. Khattri [EMAIL PROTECTED] wrote:
On Mon, 22 Aug 2005, Fernando Meira wrote: I need to access some old mail folder. I was using mozilla as mail client at the time. Now I use thunderbird. I couldn't import/read the mail just by creating an
 account and pointing the Local Folder to that old folder.Tools - Importmaybe???gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what's next

2005-08-21 Thread Fernando Meira
On 8/21/05, John Dangler [EMAIL PROTECTED] wrote:
I have the basic system installed and updated on my laptop.Aside from the problem of the splash, everything seems to be well.I'm wondering what direction to go next?
You're the boss... just lead the way.. I hope that's why you installed gentoo!! :) 
I'd like a good backup solution w/boot capability, but mondo is right out!
It's too flaky at the moment.I'd like to get a backup of the system at this stage before adding a desktopenvironment, so that I have somewhere to go back to in case of a bork(either from software or operator error)

Try SystemRescueCd. Is bootable and has tools that allows you to backup
partitions. You can place you current partition in other place of you
disk or even on a cd. 
I'm also thinking that some security would be in order here (anti-virus atleast, but I've also read about others like port sentry, iptables, etc).

Well.. I'd advise you iptables. And that's all you need. You won't need
anti-virus, though you can use it. I've used BitDefender some time ago..

Fernando.


Re: [gentoo-user] [OT] Backup-software for small network

2005-08-17 Thread Fernando Meira
Hi Dan,I am currently developing a P2P backup-system. It allows you
to distribute your backups through all clients with space-efficiency
and error-correcting-codes. However, it doesn't cover all your
requirements (at least the current version), but you may want to have a
look in the future.. 
These are my requirements:* Secureyes
* OpenSourceyes
* One Central Backup Host (with tape-drive and backup-db)
no, backup files are stored in a client's folder.
* Backup of Clients over Network (even through Firewall)yes (though is not working yet :)

* Support for DDS and DLT tapesno
* Unlimited number of Clientsyes 
* Tape Management (the SW keep track of used/unused tapes)
no (i dont plan to use tapes)
* Full/Incremental/Differential/Archive - Backupscurrently only full, but the incremental is in TODO list

* Retention time management for Backupsnot sure of what you mean..

* Command Line Interface (for scripting) and GUI (for easy Backup/Restore)
only GUI for now
* Definition of Backup-sets 
* Online/Offline backup of Databases (MySQL)* And of course it should be in Portage.
no for the last 3.

Yep.. still incomplete.. but, still starting!!
If you want to contribute with some ideas/suggestions, I'll be glad.

Cheers,
Fernando



[gentoo-user] dual-linuxdistro-boot kernel question

2005-08-16 Thread Fernando Meira
Hi,
I was told the following, which I don't agree, but in any case, I would like to hear from someone that knows :)
- when having 2 different distro on 1 pc, do they have to use the same kernel?
Even if they share the same swap partition and /boot is inside the root
of one of the distros (and not in a separate partition)...

Cheers,
Fernando


Re: [gentoo-user] dual-linuxdistro-boot kernel question

2005-08-16 Thread Fernando Meira
That was exactly what I was thinking... 
My doubt arose when I got the following reply of a dual-boot installation with Ubuntu and Gentoo:
you have to use the same kernel from the Ubuntu
installation for Gentoo (unless or course you manually upgrade it),
however either way you end up with vanilla.
Even that this guy/girl has /boot inside Ubuntu's partition, it still
needs (in case he wants 2 different kernels) to place gentoo's kernel
inside /boot so that he can start gentoo.

Thanks for the replies.
Fernando.
On 8/16/05, Christoph Gysin [EMAIL PROTECTED] wrote:
Fernando Meira wrote: I was told the following, which I don't agree, but in any case, I would like to hear from someone that knows :) - when having 2 different distro on 1 pc, do they have to use the same
 kernel? Even if they share the same swap partition and /boot is inside the root of one of the distros (and not in a separate partition)...No, they don't have to. But they could ;-)
The bootloader could select the distribution by passing the root=/dev/hda?boot parameter.Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] update portage vs update system

2005-08-15 Thread Fernando Meira
If you have run emerge world, portage would be automatically updated together with other packages.
Fernando
On 8/15/05, Christoph Daldrup [EMAIL PROTECTED] wrote:
Am 08/15/2005 09:42 PM maxim wexler wrote: At the end of a successful emerge --sync I was advised to update portage. It didn't say but I assumed it meant emerge update portage, which is what I did --
 so far so good. But the manual only gives update system or world, no portage.An emerge portage should be fine.Christoph--gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] conf.d/domainname

2005-08-14 Thread Fernando Meira
No, that does not mean if you want or not DHCP.
Just if you want your domain name overridden when dhcp provides you one.

FernandoOn 8/14/05, John Dangler [EMAIL PROTECTED] wrote:
















I am setting up Gentoo (2.6.12-r6) on a standalone laptop
with DHCP and was trying to find some input as to the OVERRIDE setting in the conf.d/domainname
file. it says if I want to override DHCP, set it to 1 (default). Does this
indicate if I _want_ DHCP that I
should set it to something else (0) or comment it (#) ?



Thanks for the input.



John D














Re: [gentoo-user] Which filesystem for a notebook?

2005-08-13 Thread Fernando Meira
Hi,

I been moving my gentoo system to other partition (ran out of space). 
My old partition ran reiserfs 3.6 and due to this discussion, I've
decided to run ext3 in the new partition. Still to find out if it was a
wise decision...
Anyway, the first thing I noticed was this:

# df
/dev/hda1
10080488 4406076 5162344 47% /mnt/gentoo
/dev/hda4
4763112 3948116 814996 83% /mnt/old

With exactly the same things in both sides, it seems that ext3 requires *much* more space ~450M.
Can this be right, or I messed up somewhere...??

Cheers,
Fernando
On 8/9/05, Bob Sanders [EMAIL PROTECTED] wrote:
On Tue, 09 Aug 2005 17:33:27 +0800Ow Mun Heng [EMAIL PROTECTED] wrote: I too use XFS for my Home Directory. I think I've suffered 1 instance of
 curruption in the entire 2 years I've had this laptop. (Touch Wood)Perhaps I should mention one of the main reasons I use XFS - the tools.Performanceis not a reason.Reliability is a reason.And the tools.
xfs_check and xfs_repair are about the best I've seen.No, if your LVM superblock istrashed, they won't fix it.They fix the filesystem, not the disk/partition structure.And xfs_dump/xfs_restore make cloning a partition very easy.Given all the discussion
in this list alone about cloning drives, I'm really surprised more people don't adopt XFSjust for this issue alone.Disclaimer - yes I work for SGI.No I don't develop, I break software.And I pull plugs
on running systems.So any advice I give here on anything related to SGI productsshould be treated with caution. No, I don't speak for SGI.And yes I really do use XFSon almost all my systems - Trying ext3 on a Kurobox (200 MHz PPC runnng Gentoo) and
RiserFS on one of the desktop x86 systems.Bob---gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Compression tools Compared

2005-08-13 Thread Fernando Meira
Hi,
that lzma is quite impressive!!

Is not my purpose to hijack this topic, but I was wondering if anyone
is kind enough to give me some comments about linux magazines. I been
looking into that for some time, but not enough to subscribe one, as I
wish to do. I know about Linux Journal and Linux Magazine. Both seem
good to me. What do you subscribe and why is that your preference? 

Cheers,
FernandoOn 8/13/05, Jerry McBride [EMAIL PROTECTED] wrote:
Anyone else here subscribe to the LINUX JOURNAL?In the September issue there's a neat article titled tha same as the subjectline of this message.The skinny is, there's some really nice file compressors out there and I never
heard of two of them... Anyone else know about LZMA or 7ZA?The two mentioned compression tools work pretty much like gzip. You tar upyour files, pipe to the compression filter and then on to the target file.
Below is a small example of what I've been seeing here at the shack.-rw-r--r--1 root root 12359680 Aug 12 23:57 backup.tar-rw-r--r--1 root root3536665 Aug 13 00:01 backup.tar.7z-rw-r--r--1 root root4438465 Aug 13 00:08 
backup.tar.bz2-rw-r--r--1 root root4747637 Aug 13 00:03 backup.tar.gz-rw-r--r--1 root root2731412 Aug 13 00:10 backup.tar.lzma-rw-r--r--1 root root5125474 Aug 13 00:16 backup.tar.lzopWhat you're seeing are the results of compressing /lib on my gentoo powered
laptop. I've not bothered with timing the processes as the better compressionrates are at the cost of speed and memory usage. Not good for while youwait processing, but just plain perfect for backups and what-have-you on
servers... One side note, 7za does not record user/group info... It's a shametoo as this make it pretty much useless in most linux backup scenarios. Thislzma creature is simply awesome.You can find it at: 
http://martinus.geekisp.com/rublog.cgi/Projects/LZMACheers all--**

Registered Linux User Number 185956FSF
Associate Member number 2340 since 05/20/2004 Join me in chat at #linux-users on irc.freenode.netBuy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
12:28amup 26 days, 27 min,1 user,load average: 0.00, 0.00, 0.00--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Which filesystem for a notebook?

2005-08-13 Thread Fernando Meira
Ok, so then reiserfs is a good choice when disk-space is a limitation.
In the Gentoo Handbook is stated that reiserfs greatly outperforms ext3
when dealing with some files, often by a factor of 10x-15x. But what
about big files?

I might just redo my moving process and turn the new partition to reiserfs.
FernandoOn 8/13/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Sat, 13 Aug 2005 11:29:18 +, Fernando Meira wrote: # df /dev/hda1 10080488 4406076 5162344 47% /mnt/gentoo /dev/hda4 4763112 3948116 814996 83% /mnt/old With exactly the same things in both sides, it seems that ext3 requires
 *much* more space ~450M. Can this be right, or I messed up somewhere...??It's right if you have a lot of small files. Reiserfs uses tail packing(unless mounted with the notail option) to greatly reduce the amount of
space occupied by small files, at the expense of some performance.--Neil BothwickJust don't give away the homeworld!


Re: [gentoo-user] visualizar particion windows

2005-08-12 Thread Fernando Meira
To see/access a windows partition, you should mount it.

you can do something like this (assuming your windoz fs is ntfs):
$ mount -t ntfs /dev/hdaX /mnt/windows
where hdaX is the windoz partition.
Don't forget to make /mnt/windows beforehand ($ mkdir /mnt/windows)

Check man mount in any case.

(will you need translation?)
Cheers,
FernandoOn 8/12/05, Johám-Luís Miguéns Vila [EMAIL PROTECTED] wrote:
On 12:38 Fri 12 Aug , CRASH-BURN wrote: hola soy nuevo en gentoo y me gustaria se me pudierais decir algun modo de ver la particion de windows atravez de gentoo como otras muchas distribucones
 -- gentoo-user@gentoo.org mailing listDeberías postear esto en la lista en español, o bien hacerlo en inglés.Además no se entiende muy bien la pregunta, elabórala un poco más. A qué te
refieres con ver la partición de windows a través de gentoo como con otrasmuchas distribuciones? Qué escritorio pretendes utilizar para eso?saludtranslation (~): hi, i'm a gentoo newbie and i would like to know any way to see window's
partitions as i saw it when using any other distributions.I told him to post it at spanish mailing list, or translating it intoenglish... Also i asked him to elaborate a little more the question, because
i think it's not much understandable.cheers--[sinatura]A ouvir (mpd): Mísia - Minha Alma De Amor Sedenta, Sequiosa GPG KeyID:0x9D2FD6C8 - http://tinyurl.com/79lrs
[\sinatura]


[gentoo-user] TWO (probably stupid) questions about partitions

2005-08-11 Thread Fernando Meira
Hi,

this is how my disk is divided:
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

 Device Boot
Start
End Blocks Id System
/dev/hda1
*
1 1275
10241406 7 HPFS/NTFS
/dev/hda2
1276 4208
23559322+ f W95 Ext'd (LBA)
/dev/hda3
4209
4271 506047+ 82 Linux swap /
Solaris
/dev/hda4
4272
4864 4763272+ 83 Linux
/dev/hda5
1276 4208
23559291 b W95 FAT32

Now I want to clean hda1 (which has windows) and mount there /usr and
point $PORTAGE_TMPDIR there (because my gentoo system, in hda4, run out
of space). Once I'm doing this, I could split that partition into
smaller ones (e.g. to create /boot), but hda1 needs to be Extended. So,

1. Can /boot be inside an Extended partition? Would probably be place in hda6...
2. In case of not changing my boot config (my doing Q1), will I need to
re-install my bootloader in MBR anew? Or on other words, will MBR be
erased when cleaning hda1?

Question extra :) : what tends to be bigger /etc or /usr ?

Thanks,
Fernando


Re: [gentoo-user] TWO (probably stupid) questions about partitions

2005-08-11 Thread Fernando Meira
Hi Francesco,

thanks for your reply.
You gave me a new idea.
I can't create 2 partition as you proposed, but only one. This because
I already have 3 primary and 1 extended. Yes.. big mess.. have to fix
it later...
So, what I will do is this:
- leave around 32M in the beginning of the disk for a future /boot when I can alter the partitions table freely.
- create hda1, starting after 32M until the end of spare disk.
- move the system from hda4 to hda1, the way you said. BTW, cp -a or rsync would get better results?

Question: I had a bootable flag on my windoze partition before (hda1),
though /boot was in hda4. Now should I move it to where /boot will
stay, right?
Thanks,
Fernando.On 8/11/05, Bastian Balthazar Bux [EMAIL PROTECTED] wrote:
Fernando Meira wrote: Hi, this is how my disk is divided: Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device
BootStart
EndBlocks
IdSystem /dev/hda1
*
11275102414067HPFS/NTFS
/dev/hda21276420823559322+
fW95 Ext'd (LBA)
/dev/hda342094271506047+82Linux
swap / Solaris
/dev/hda442724864
4763272+83Linux
/dev/hda51276420823559291bW95
FAT32 Now I want to clean hda1 (which has windows) and mount there /usr and point $PORTAGE_TMPDIR there (because my gentoo system, in hda4, run out of space). Once I'm doing this, I could split that partition into
 smaller ones (e.g. to create /boot), but hda1 needs to be Extended. So, 1. Can /boot be inside an Extended partition? Would probably be place in hda6...Don't know 2. In case of not changing my boot config (my doing Q1), will I need to
 re-install my bootloader in MBR anew? Or on other words, will MBR be erased when cleaning hda1?MBR is not erased, but it need to know where /boot is, whit grub youneed to repeat thegrub
root (hd0,x)setup (hd0)quitphase.Having different partitions for an home system (with the exception of/boot in hda1 ) has always revealed useless for me.Also allocating 100 Mb for hda1/boot your first partition is much bigger
than the actual /dev/hda4 .What about to move your entire system in that place ? When finished thisleave to you the entire space hda4 space and the choice of what to withthat.The easyer way I know to to this is
1) have handy a bootable livecd/resque disk.2) substituite hda1 with - hda1 = /boot = 50-100 Mb - hda2 = / = all the rest3) mkfs.[your preferred] /dev/hda14) mkfs.[your preferred] /dev/hda2
5) Stop all services you can6) mkdir /mnt/TheFuture /mnt/ThePast7) mount -obind / /mnt/ThePast8) mount /dev/hda2 /mnt/TheFuture9) mkdir /mnt/TheFuture/boot10) mount /dev/hda1 /mnt/TheFuture/boot
11) cp -a /mnt/ThePast/* /mnt/TheFuture/12) check with ls -al /mnt/ThePast/ if there are hidden file to copy13) change /mnt/TheFuture/etc/fstab /boot/grub/grub.conf14) rerun your bootloader install phase (if grub see before)
rebootTry to boot each of your S.O.Warning the previous mentioned hda1 may be called hdaX from thepartitioner, check it.Hint, groub admit editing of the boot parameters pressing e key, may
be handy if there are any mistake in grub.conf Question extra :) : what tends to be bigger /etc or /usr ?check it yourself#du -sh /etc /usrusr is the bigger partition in the system usually
 Thanks, FernandoHIH, Francesco--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] how to control portage space usage

2005-08-09 Thread Fernando Meira
Hi again Sean,
thanks for answering (as well the others :))

more questions:
On 8/8/05, Sean Reiser [EMAIL PROTECTED] wrote:
mmhmm... the webcam / video-conference stuff is not something I havemuch expirience with either, sorry to say.As far as the other software
is concerned I would look at the crossover office fork of wine (assumingthat wine itself won't run it) or maybe some virtualization softwaresuch as vmare.
Yes, that might be the best I can do now.
I been looking for VMWare and Wine and from what I read, I prefer Wine,
but does it run everything, most of it or almost nothing?
I read it is must harder to install/configure, but I'll give it a try. Or is there anyone to convince me that VMWare is better?
I'll erase my windows partition and merge it with gentoo's one. I'll
end up with ~15Gb for gentoo... which seems to be fairly acceptable. In
a future stage, I might convert my share partition from FAT32 to a
linux like. By the way, I use reiserfs on my gentoo's partition. Will I
have problems to resize it?

About the videoconference, I checked the forum and got aware of the cvs version of amsn which already supports it. :)

 3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice.Mount
 it as /home. The reason it is FAT32 is to windows be able to access it. With windows away, I could do that.Right.Keep in mind that with VMWare you can mount your linux home
directory as a SMB share.Another advantage of a seperate/home is that you can reinstall the OSwithout effecting your important personal data and settings. I realizeon your current system /mnt/share really handled some of that but
thought I'd mention it as well.
Yes, that was the main reason to have my personal files on other partition. 
As I said, converting this partition will be the next step after removing windows and installing wine.
 
Cheers,
Fernando



Re: [gentoo-user] how to control portage space usage

2005-08-09 Thread Fernando Meira
On 8/9/05, Sean Reiser [EMAIL PROTECTED] wrote:
 I'll erase my windows partition and merge it with gentoo's one. I'll
 end up with ~15Gb for gentoo... which seems to be fairly acceptable. In a future stage, I might convert my share partition from FAT32 to a linux like. By the way, I use reiserfs on my gentoo's partition.
 Will I have problems to resize it?Even though reiserfs lets you do it I wouldn't resize the volume with itmounted (seems far too risky for my gut).As I mentioned I would do abackup first (can't stress that enough).Any time I've done this type
of work I have booted from a live CD, backed up (and verified), scroggedand repartitioned, and then restored.
I've been looking for comments about this process... and I got a little bit scared.
In my case, i have (in order):
- /dev/hda1 - 9.8G windows
- /dev/hda2 - EXTENDED
- 
/dev/hda5 - 23G share
- /dev/hda3 - 512Mb swap
- /dev/hda4 - 4.6G gentoo

So, am I wrong or is it impossible to merge hda1 and hda4 with hda5 in between?
I could rearrange swap and even create /boot, but I wont be able to move (at least at the time being) my share partition.
If I'm right, then what are my choices?

Could I:
- backup up gentoo's partition (maybe using SysRescueCD: http://www.sysresccd.org/
- format windows partition, create /boot at the beginning of the hd, use the rest for gentoo system
- use the actual gentoo partition for /home (or would it be better to other like /usr ??)
- restore gentoo system on the 1rst partition and fix boot.

Is there any better idea?
Maybe after a month or so, I may be able to move my SHARE and arrange this better...

FileSystem Caveat:Although my last name is Reiser, I am not related or
associated with reiserfs (or to Hans himself). Do not believe that Iknow more about reiserfs based on the strength of my last name.
eheheh.. :) 

Good Luck.
Thanks, I'll need it. 

Fernando.




Re: [gentoo-user] how to control portage space usage

2005-08-08 Thread Fernando Meira
Hi,

On 8/8/05, Tero Grundstr� [EMAIL PROTECTED] wrote:
On Sun, 7 Aug 2005, Fernando Meira wrote: Hi Tero, what I meant with redo my partitions was in the way that I will expand my gentoo partition (or try to). I have: # df -h
 Filesystem Size Used Avail Use% Mounted on /dev/hda4 4.6G 3.8G 803M 83% /^^ *might* be enough for a minimal system, but not for your compiles ordistfiles.
Yep. I don't pretend to have a minimal system. In fact, my laptop is
the only pc I currently use, so it has to have everything I need.
 udev 252M 808K 252M 1% /dev^^ Why a separate partition for /dev? This is complete waste. Especially
with that size.
As Neil said, it is a virtual filesystem. I didn't create it. What I
did create was the swap partition with 512MB (the same size as my RAM)
and it looks like it is split into two: udev and none.
 /dev/hda5 23G 20G 3.3G 86% /mnt/share^^ You'll *never* need that much space in here. Do not have this on a
separate partition. Maybe you could make this partition your /home ?
Well, this partition has the purpose to hold all my documents and
stuff. My idea was to have a partition only to windoz and its programs,
another to gentoo and its programs, and then this one accessed by both
side. It started to be my /home but I had some problems with
permissions in the beginning that I couldn't solve, so I had to move
/home back to gentoo partition.
 /dev/hda1 9.8G 8.0G 1.8G 82% /mnt/windows^^ Complete waste ;)

ehheh.. .yes! The problem is that I need some things from there. I
really can't wait for the day when I don't waste disk space with crap. 
 what are the advantages of pointing PORTAGE_TMPDIR and DISTDIR to other partitions?
The idea is, ofcourse, to give your compiles and distfiles more room.This in turn would free up space for your system.
Ok, but that is assuming that I can point them to other partition. But
if I have other partition available, I can just merge it with gentoo's
one and keep everything together. It would be the same, right? 
 thanks for the localepurge tip: - Total disk space freed by localepurge: 48448K (not bad ;)
Yeah, it's great. BTW, check out the 'userlocales' USE flag for glibc too.It will speed up the compilation and save some space.
I'll have a  look to that.
Thanks!
Fernando



Re: [gentoo-user] how to control portage space usage

2005-08-08 Thread Fernando Meira
Hi Sean,On 8/8/05, Sean Reiser [EMAIL PROTECTED] wrote:
Fernando Meira wrote: I have: # df -h
FilesystemSizeUsed
Avail Use% Mounted on
/dev/hda4
4.6G3.8G803M83% /
udev252M808K252M
1% /dev
/dev/hda523G
20G3.3G86% /mnt/share
/dev/hda1
9.8G8.0G1.8G82% /mnt/windows
none252M
0252M 0% /dev/shm Options:- erase hda1 (win$) and merge with with hda4.- somehow rearrange hda5 (which is FAT) and split it 2, and merge a part to hda4.The question is...can you live without the windows partition?
Well,
maybe. The problem is that sometimes I need to use something that works
only under windows (or better under windows). Besides that I only use
windows for video-conference (I haven't found the time to look for a
linux replacement, assuming that my webcam works under linux).

if you don't need it I would look at this:1) Merge hda1 and hda4.Assuming this is desktop box that should be
plenty of space for the system and applications
Yes, that would be the best I could do. But, assuming that I can't
remove entirely windows from my laptop, what about reduce it to it's
minimum (windows + apps that I really need) and run it by VMware,
always under Gentoo? The spare space from unused apps would merge it
with gentoo's partition.. I estimate it of about 4Gb. What do you say
about this?
2) Create a /boot partition (assuming you don't currently have one onyour box that wasn't mounted when you did the df).This way if your
system crashes at least /boot will not be corrupted.
My /boot is inside gentoo's partition. I understand the point of having it outside.. I should think of changing it!! Good point!
3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice.Mountit as /home.

The reason it is FAT32 is to windows be able to access it. With windows away, I could do that.
>From this partition (hda5) I may be able to free some space and move it to gentoo's partition.
4) Consider creating a swap partition.Even if you have plenty of RAM,in my experience Linux just runs better with a swap partition mounted.

I have. 512mb swap. df shows it slitted into 2 other: udev and none
I would strongly suggest that you do a full backup before doing any ofthis.I know there are partition resizing and reformatting utilities
but they I wouldn't trust them without a backup.
Yes, of course!
Thanks for suggestions.
Fernando.


Re: [gentoo-user] how to control portage space usage

2005-08-08 Thread Fernando Meira
Hi Neil,On 8/8/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Mon, 8 Aug 2005 14:00:49 +0100, Michael Kintzios wrote: Well, it has been practical enough for *my* needs.For a while I was running Gentoo on a small partition and having run aground on a couple
 of cases with a seized system during some mammoth emerge, I decided to set up a separate /usr partition.You don't need to add partitions, because portage isn't hard coded to useany particular partitions. If you run out of space during emerges, you
only have to change $PORTAGE_TMPDIR to somewhere with more spacethan /var. Equally, you can change $DISTDIR to reduce the amount of spaceused in /usr/portage, you could even change it to a FAT32 partition of
your Windows installation has more free space than Gentoo.
So I can point them both to the FAT32 partition and get 1Gb back (when
not emerging) to gentoo's system.. that's interesting! That could help
me until I find a real solution to the mess on my pc... :)



Re: [gentoo-user] how to control portage space usage

2005-08-08 Thread Fernando Meira
On 8/8/05, Richard Fish [EMAIL PROTECTED] wrote:
My preference, since I normally mount with noatime, is:mount /u/p/distfiles -o remount,atime(yes, I keep distfiles on a
separate LVM volume!)emerge --deep --emptytree --fetchonly world(updates atimes)mount /u/p/distfiles -o remount,noatimefind /u/p/distfiles -amin +60 -exec rm -v {} \;The above commands will remove all distfiles not needed anymore, either
due to updates or unmerge packages.
This looks to be a very nice way to do it. It works in another way than
the scripts I been looking to. Instead of searching what should be
deprecated, it verifies that after an emerge world.. nice and simple!!
However, in this way you'll erase all other packages that you may need
in case you want to recompile them.. but maybe in this case, it's
better to download them again than keep ALL of them wasting your disk
space.

Other thing: I was not aware of LVM volumes, what are the advantages of using it to keep distfiles? And, how big is your volume?

Cheers,
Fernando


[gentoo-user] how to control portage space usage

2005-08-07 Thread Fernando Meira
Hi,
this is probably an old discussion, sorry for bring it up again.

When I joined Gentoo (a few months ago) I got the idea that I could
control very well the space that gentoo would require. That would be
great because of my 4.6G available to it. Then, not so long time ago I
got very surprised with how much less space available I had when I
didn't have (almost) anything installed. Now it's completely full and
I'm the middle of an emerge :(

Well, tears apart, I would like to know if there's a good way to
control the space usage of portage, since it is the reason for my
problem. 
My /usr/portage and /var/tmp/portage/ take 2.2G which is almost half of the partition.

What I have installed:
- some (split) ebuilds of kde 3.4.1
- e16
- e17
- firefox
- gimp
- acrobat reader 7
- xmms, amsn (and maybe a few more small packages)

What I've found until now:
- clear /usr/portage/distfiles and /var/tmp/portage after an emerge, or regularly (using tmpreaper)

- there are some users-made scripts (still buggy) that look for old ebuilds in portage tree and erases them (http://forums.gentoo.org/viewtopic-t-3011-highlight-portage+space+usage.html
)

Any comments/ideas/scripts about this, or everyone has plenty space to spare...

Cheers,
Fernando



Re: [gentoo-user] how to control portage space usage

2005-08-07 Thread Fernando Meira
Ok, so running through that forum I decided to try out some of the scripts to clean stale distfiles.
The first one (distcleaner-0.0.2) returned a lot of errors. The second
(distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok,
and freed 255 MB. I could then end my emerge (eclipse). After the
emerge I end-up with 805Mb free. 

As you say Holly, this is far from enough if I want to compile
something big and also maybe for smaller apps. Which means that I have
a problem.
In fact, I have a 38GB disk on my laptop. My mistake was that I assumed
that gentoo was not so space-consuming. Now I'll have to make some
modifications, redo my partitions. What I would like was to clean once
per all my windoz partition (9GB)... but from time to time I need it..
unless I find a replacement to all the things I need from there.

Anyway, thanks for the replies.
If someone has a nice script to maintain distfiles under control let me know. ;)

Cheers,
Fernando.On 8/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
- Original Message -From: Fernando Meira [EMAIL PROTECTED]Date: Sunday, August 7, 2005 10:22 pmSubject: [gentoo-user] how to control portage space usage
 Hi, this is probably an old discussion, sorry for bring it up again. When I joined Gentoo (a few months ago) I got the idea that I could control very well the space that gentoo would require. That would be great
 because of my 4.6G available to it. Then, not so long time ago I got very surprised with how much less space available I had when I didn't have (almost) anything installed. Now it's completely full and I'm the middle of
 an emerge :( Well, tears apart, I would like to know if there's a good way to control the space usage of portage, since it is the reason for my problem. My /usr/portage and /var/tmp/portage/ take 
2.2G which is almost half of the partition. What I have installed: - some (split) ebuilds of kde 3.4.1 - e16 - e17 - firefox - gimp - acrobat reader 7
 - xmms, amsn (and maybe a few more small packages) What I've found until now: - clear /usr/portage/distfiles and /var/tmp/portage after an emerge, or regularly (using tmpreaper)
 - there are some users-made scripts (still buggy) that look for old ebuilds in portage tree and erases them ( http://forums.gentoo.org/viewtopic-t-3011-highlight-
 portage+space+usage.html) Any comments/ideas/scripts about this, or everyone has plenty space to spare... Cheers, FernandoAs
far as I know, that's pretty much what you can do (assuming that the
cleaning of /var/tmp/portage occurs when you have a failed emergeas
well, since failed emerges leave the temporary work files there until
the emerge is either correctly completed, or you delete the filesyourself).The
thing is, it now depends to some degree on just what you are emerging,
because as you fill your disk with emerged programs, andassuming
that those programs don't reside on another disk (/usr, /var, /tmp, or
/opt on another disk or partition than / ), you will losethe ability to compile certain programs that naturally take up more space than you have available during the emerge process.I'm
thinking specifically of OpenOffice.org, which takes about 3GB just to
emerge, but I suspect Mozilla and its ilk, and certain KDEprograms may not be much better. Not to mention X.org or glibc. But from what you've said, even if /usr/portage/distfilesand
/var/tmp/portage are empty, you wouldn't have enough space to emerge
OO.o at this time, and possibly other high-end programs as well.Of
course, you could just use the openoffice-bin package for that case.
But not for every case that this might occur, and frankly, it's alosing
proposition (either you have to be constantly on the ball as to how
much space every program you want needs to emerge, or you haveto give up some stuff).Less
than 5GB is really not enough for a Gentoo install unless it's going to
be *very* minimal. If I was you, I'd look around for an old 5or 10
GB disk, slap it in the box and move /usr or /var (probably a better
choice) to that, and then mount it to the / partition.Just my 0.02Holly--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] how to control portage space usage

2005-08-07 Thread Fernando Meira
Hi Tero,
what I meant with redo my partitions was in the way that I will expand my gentoo partition (or try to).
I have:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda4 4.6G 3.8G 803M 83% /
udev
252M 808K 252M 1% /dev
/dev/hda5
23G 20G 3.3G 86% /mnt/share
/dev/hda1
9.8G 8.0G 1.8G 82% /mnt/windows
none
252M 0 252M 0% /dev/shm

Options: 
- erase hda1 (win$) and merge with with hda4.
- somehow rearrange hda5 (which is FAT) and split it 2, and merge a part to hda4.

what are the advantages of pointing PORTAGE_TMPDIR and DISTDIR to other partitions?
thanks for the localepurge tip:
- Total disk space freed by localepurge: 48448K (not bad ;)

Cheers,
Fernando
 On 8/7/05, Tero Grundstr� [EMAIL PROTECTED] wrote:
On Sun, 7 Aug 2005, Fernando Meira wrote: I could then end my emerge (eclipse). After the emerge I end-up with 805Mb free. In fact, I have a 38GB disk on my laptop. My mistake was that I assumed that
 gentoo was not so space-consuming. Now I'll have to make some modifications, redo my partitions.805Mb is not much but re-partitioning might not be the only answer if mostof your system is installed already.
Look for PORTAGE_TMPDIR and DISTDIR in your /etc/make.conf. Point themto directories that are on a different partition. You can do the same foryour PORTDIR (resync and delete the old tree after this).
app-admin/localepurge can also save you some space.HTH--T.G.--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] record emerge messages

2005-08-07 Thread Fernando Meira
On 8/7/05, Rodrigo Lazo Paz [EMAIL PROTECTED] wrote:
Hi, I've been looking and I haven't found a way to
record the emerge's messages like * Warning! Gentoo's GLIBC with NPTL enabled nowbehaves like the * glibc from almost every other distribution outthereThere's a log or a tool that records that?

There's a log in /var/log/emerge.log
or you could direct the output to a file:
emerge package  file.log
or
emerge package  /var/log/emerge-package.log 21 


Cheers,
Fernando


Re: [gentoo-user] enlightenment 16 or 17

2005-08-05 Thread Fernando Meira
I have changed the mouse input (from PS2 to USB) and solved that weird mouse behaviour.
The touchpad also works well. Strange that by PS2 gets so crazy.

Well, since things become more stable (at least until now), I been
learning how to work with e17. However, there's a small problem. When I
try to edit the URL of the weather module, I get this error:

xterm: Can't execvp vi: No such file or directory
which I understand because it is trying to use *vi* and I don't have it. If I'm not wrong, vi is not even in portage.
So, is there a way to work around this, maybe using another editor to edit it?

It would be nice to know the weather from here I am and not from Taunton.. :)

Cheers,
Fernando
On 8/4/05, Fernando Meira [EMAIL PROTECTED] wrote:
Yes... that would maybe be good idea.
I'm using now the touchpad instead of the mouse and, until now, no weird behaviours!
Thanks.
FernandoOn 8/4/05, Luke Albers 
[EMAIL PROTECTED] wrote:
You should subscribe to the 
enlightenment-users@lists.sourceforge.net
mailing list and post this same message there.It probably hassomething to do with the WM rather than your X config if it worked justfine with another window manager--

gentoo-user@gentoo.org mailing list




Re: [gentoo-user] wpc54g card as AP -- works?

2005-08-05 Thread Fernando Meira
hmm...
not nice...
There's no other way to work with my card unless with ndiswrapper... at least from what I read.
What about Ad-Hoc? Would it be possible to provide internet access to other pcs?

FernandoOn 8/5/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
Hi,On Thu, 4 Aug 2005 15:28:46 +Fernando Meira [EMAIL PROTECTED] wrote: Does that mean that it is unadvised to use a PCMCIA card for AP functions?
 I won't need a good range... something that works fine up to 8 meters (between 2 rooms) is enough. I have to check if the driver I use allows Master mode. # ndiswrapper -l Installed ndis drivers:
 lsbcmnds driver present, hardware present Any idea?ndiswrapper doesn't support master mode:
http://ndiswrapper.sourceforge.net/mediawiki/index.php/FAQ#Is_master_mode_supported.3FThere would have to be a native linux driver, supporting soft-APfacilities...-hwh--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] enlightenment 16 or 17

2005-08-04 Thread Fernando Meira
On 8/3/05, Justin Patrin [EMAIL PROTECTED] wrote:
I'm trying e17 as well after reading this ;-)
Great Justin :)
I suggest emerging edge before epsilon or you'll get compile errors.

I just finish compiling it and I got no problems (at least that I'm aware of)... so it also works with this sequence :)

I found this script which uses portage to update E17, but checks if
packages were modified since last update. When the first package is
found, that one and the remaining (onwards) are emerged. This seems to
save a time compiling unmodified packages!





Also found other scripts to compile directly from cvs, without using portage. Can anyone tell me what the advantage of doing so?



Christoph, is there so many modifications  to update E17 every day? What about once a week?

the script:

#!/bin/bash



CONTINUE=1


###  This is not a complete list of e17 packages!! #


E_LIST=eet\


edb\


evas\


ecore\


embryo\


edje\


epeg\


epsilon\


esmart\


engrave\


ewl\


e\


e_utils\


engage\


e_modules



echo -ne  \033[01;33m *\033[01;00;0m Do you want to run rsync to backup current cvs? [Enter/Yes or No]: ;


read REPLY;


case $REPLY in


 | [yY]*)


  rsync --progress --delete -ab /usr/portage/distfiles/cvs-src/e17 /mnt/backups;


;;


*)


  echo -e  \033[01;33m *\033[01;00;0m Continuing to emerge;


;;


esac


for i in $E_LIST


do


  echo -e  \033[01;33m *\033[01;00;0m Updating $i cvs;


  if [[ $CONTINUE -eq 1 ]]; then


E_PATH=`equery which $i`;


UPDATE=`ebuild $E_PATH unpack | grep -e ^[UP]`;


echo $UPDATE;


ebuild $E_PATH clean;


if [ ! -z $UPDATE ]; then


  CONTINUE=0;


  echo -e  \033[01;33m *\033[01;00;0m Waiting 10 sec
before continuing with emerge from this package onwards... package =
$i;


  echo -ne  \033[01;31m *\033[01;00;0m 


  for j in $( seq 1 10 )


  do


echo -ne \033[01;31m$(( 11-j ))\033[01;00;0m ;


sleep 1;


  done


  echo  ;


fi

  fi

  [[ $CONTINUE -eq 0 ]]  emerge --oneshot $i;


#  [[ $CONTINUE -eq 0 ]]  echo -e  \033[01;33m *\033[01;00;0m emerge --oneshot $i;


done








Cheers,
Fernando


Re: [gentoo-user] wpc54g card as AP -- works?

2005-08-04 Thread Fernando Meira
Does that mean that it is unadvised to use a PCMCIA card for AP functions?
I won't need a good range... something that works fine up to 8 meters (between 2 rooms) is enough.
I have to check if the driver I use allows Master mode.

# ndiswrapper -l
Installed ndis drivers:
lsbcmnds driver present, hardware present
Any idea?

Fernando.
On 8/4/05, Craig Zeigler [EMAIL PROTECTED] wrote:
Hans-Werner Hilse wrote:Hi,On Thu, 04 Aug 2005 07:21:25 -0400Craig Zeigler [EMAIL PROTECTED] wrote:This is a pretty cool idea, but I wonder what the range on something
like this is. Considering that the transmitting capability of a PCMCIAcard isn't very high. Do you risk burning out the card or the slot byforcing more power to it? will the PCMCIA bus permit diverting more
power to a card?Huh? Forcing more power to the card?!? You mean, increase thecurrent? Or how else do you want to archieve that? Nah, this wouldn't
work. You'd have to set up power level by means of the pcmcia card,that is by using iwconfig ... power ..., in most cases.Well, and I know a few PCMCIA cards that do 100mWatts output. In fact,
a whole bunch of APs internally use standard WLAN cards that are justflashed with a different Firmware.-hwhthats pretty cool to know. When I take a PCMCIA card out of my laptop
its quite hot. I was just wondering if asking it to draw more power (inoncrease transmit power) would pose a cooling problem. The APs have thebenefit of at least convection cooling. not to mention better antennas.
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] enlightenment 16 or 17

2005-08-04 Thread Fernando Meira
Ok, thanks Christoph.

I'm just trying E17 for the first time now, and the first impression is good.
However, there a weird behaviour with the mouse. The mouse pointer
disappears very frequently, crashing from time to time one application.
xterm blew aways few minutes ago. In fact, this is the second time I'm
writing this mail, cause 1 minute ago E17 crashed and I was send back
to entrance.
So, from these, does it look like a bug, mouse bad-config or something else?
I dont know if I dare to open xterm again to post here my xorg.conf... 
Any idea?

FernandoOn 8/4/05, Christoph Gysin [EMAIL PROTECTED] wrote:
Fernando Meira wrote: Also found other scripts to compile directly from cvs, without using portage. Can anyone tell me what the advantage of doing so?I'd suggest using portage since it allows you to uninstall, query information
and doing other nice package managment stuff. Christoph, is there so many modifications to update E17 every day? What about once a week?I update about once or twice a week. Mostly after raster has commited some new
stuff. See [1] or [2] for news on e17.[1] http://www.get-e.org/Main/News/or via RSS: http://www.get-e.org/Main/News/feed.xml
[2] http://www.edevelop.org/You could also watch for CVS changes yourself:$ cd /usr/portage/distfiles/cvs-src/e17$ cvs -nq up$ cd /usr/portage/distfiles/cvs-src/misc
$ cvs -nq upEvery line starting with 'U' got updated.Christoph--echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] enlightenment 16 or 17

2005-08-04 Thread Fernando Meira
Thanks anyway Luke!

This looks like a crazy mouse behaviour... suddenly jumps to another place and open the menu. 
I think E17 never crashed (as I said before), but, in fact, what happen
(at least the last time) was that when the pointer jumped away, opened
the menu and (because I was trying to move the mouse, looking for it,
or always happens this) selected the exit enlightenment option. I
already logged out 3 times without being my intention. 
Everything else seems to be going ok, just this mouse is causing a mess in here... quite hard to do anything...
The mouse is connected to the PS2, and xorg.conf has:
Section InputDevice
 Identifier Mouse0
 Driver mouse
 Option Protocol Auto
 Option Device /dev/input/mouse0
 Option ZAxisMapping 4 5
EndSection

Cheers,
FernandoOn 8/4/05, Luke Albers [EMAIL PROTECTED] wrote:
On Thu, 2005-08-04 at 17:53 +, Fernando Meira wrote: Ok, thanks Christoph. So, from these, does it look like a bug, mouse bad-config or something else?I doubt its a big, since I haven't had this happen.I have had e17
crash a few times, but not as often as it sounds like yours is.Sorry I can't help more than that.--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] enlightenment 16 or 17

2005-08-04 Thread Fernando Meira
Yes... that would maybe be good idea.
I'm using now the touchpad instead of the mouse and, until now, no weird behaviours!
Thanks.
FernandoOn 8/4/05, Luke Albers [EMAIL PROTECTED] wrote:
You should subscribe to the enlightenment-users@lists.sourceforge.net
mailing list and post this same message there.It probably hassomething to do with the WM rather than your X config if it worked justfine with another window manager--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] enlightenment 16 or 17

2005-08-03 Thread Fernando Meira
Thank you all for answering :)

I'm getting the feeling that I should go for e17 after what I've been
seeing and reading!!! (though a few guys returned back to e16
afterwards).

Luke, you been using it for 3 months and never used e16. So, would you
said that I should start my experience with enlightenment wm in its
newer version and skip the learning stage in its stable version? :)

Christoph, I can't find the screenshot I saw and made me think about
moving to E, but this one is also good and has the panel (right under
the IM app) I was talking about: http://www.informatik.uni-oldenburg.de/~uriel/images/screen.jpg 
My aim for the desktop look is something simple, with gentoo icons at
the bottom for shortcuts to most used apps and that stuff (calendar and
info panel)... [now I think that I may misused the word panel..
sorry!] I will need help to make it look like that.. and guide or howto?

A question before emerging e17: that won't replace e16, right?

So, I'll do the steps you provided me and emerge e17. I'll cross my fingers and hope it compiles.

echo =x11-wm/e- -*=dev-db/edb- -*=dev-libs/eet- -*=media-libs/imlib2- -*
=media-libs/imlib2_loaders- -*=x11-libs/evas- -*=x11-libs/ecore- -*=media-libs/epeg- -*=media-libs/epsilon- -*=dev-libs/embryo- -*=media-libs/edje- -*=x11-libs/esmart- -*
=media-libs/etox- -*=x11-libs/ewl- -*=dev-libs/engrave- -*=dev-util/e_utils- -*=x11-misc/entrance- -*=app-misc/evidence- -*=x11-misc/engage- -*=media-gfx/elicit- -*
=media-gfx/entice- -*=media-video/elation- -*=media-video/envision- -*=app-misc/examine- -*=media-libs/emotion- -*=mail-client/embrace- -*=net-news/erss- -*=media-video/eclair- -*
=sci-calculators/equate- -*=x11-plugins/e_modules- -*  /etc/portage/package.keywordsemerge -v edb eet imlib2 imlib2_loaders evas ecore epeg epsilon embryoedje esmart emotion etox ewl e engrave e_utils entrance evidence engage
elicit entice elation envision examine equate erss embrace eclaire_modules

Cheers,
Fernando


Re: [gentoo-user] enlightenment 16 or 17

2005-08-03 Thread Fernando Meira
I might be wrong, but isn't that a unnecessary step?? 
Even though you don't have anything else in package.keywords, once you
specify there the packages to unmask, you don't need to do it again
when you want to update E, right? Just running the 'emerge (...)' would
suffice...

FernandoOn 8/3/05, Luke Albers [EMAIL PROTECTED] wrote:
good call.I don't have anything else in that file so I didnt reallypay any attention to what that script was doing.
--gentoo-user@gentoo.org mailing list


[gentoo-user] wpc54g card as AP -- works?

2005-08-03 Thread Fernando Meira
Hi,

I wanted to provide wireless connection to the internet for other laptops at home. 
To do this, one laptop is connected via eth0 and wlan0 should work as AP to all others.
I have been following the HOWTO:http://gentoo-wiki.com/HOWTO_Building_a_Wireless_Access_Point_With_Gentoo and trying to find solution in forums... but I can't get it working.

The wireless card is working with ndiswrapper.
When I try to set it to Master, I get this:
# iwconfig wlan0 mode Master
Error for wireless request Set Mode (8B06) :
 SET failed on device wlan0 ; Invalid argument.

Does this means that the card is unable to perform the task I want, or what am I doing wrong?
Is there any other HOWTO with better instructions? Or anyone that can provide me a step-by-step configuration?

Thanks in advance.
Fernando.


Re: [gentoo-user] Upgrading KDE

2005-08-02 Thread Fernando Meira
Do:
# equery depends kdebase
Then:
# emerge unmerge package_name
to all kde-related packages.. 
You should then be able to upgrade KDE.

Hope that helps,
Fernando.
On 7/31/05, Daniel D Jones [EMAIL PROTECTED] wrote:
Currently running KDE 3.3.I get the following:[EMAIL PROTECTED]:/# emerge --pretend kde-metaThese are the packages that I would merge, in order:Calculating dependencies ...done![blocks B ] =kde-base/kdebase-
3.4* (is blockingkde-base/kscreensaver-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/khotkeys-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdesu-3.4.1)[blocks B ] =kde-base/kdebase-
3.4* (is blockingkde-base/kdebase-data-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kcminit-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blockingkde-base/khelpcenter-3.4.1-r1)
[blocks B ] =kde-base/kdebase-3.4* (is blockingkde-base/kcontrol-3.4.1-r1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kdm-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blockingkde-base/kdebugdialog-
3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/libkonq-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kicker-3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blocking kde-base/kappfinder-
3.4.1)[blocks B ] =kde-base/kdebase-3.4* (is blockingkde-base/ksysguard-3.4.1-r1)And lots more, of course.Do I really have to uninstall 3.3 toinstall 3.4?--
gentoo-user@gentoo.org mailing list


[gentoo-user] unknown network devices

2005-07-30 Thread Fernando Meira
Hi,

I had ethernet (eth0) and wireless (wlan0) working well before I run an emerge world (which updated baselayout)
At that time I also had eth1, which I don't know why, and the normal lo.
After the emerge, my wlan0 was gone. I still have the init script (not
sure if is a new one, or was overwritten), that gives the following
errors:

# /etc/init.d/net.wlan0 start
SIOCSIFADDR: No such device
wlan0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
wlan0: unknown interface: No such device
SIOCSIFNETMASK: No such device 

The ifconfig command presents this:
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:E2:8F:5B:59
 inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0

 inet6 addr: fe80::200:e2ff:fe8f:5b59/64 Scope:Link
 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
 RX packets:7113 errors:0 dropped:0 overruns:0 frame:0
 TX packets:2931 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:2435138 (2.3 Mb) TX bytes:481373 (470.0 Kb)
 Interrupt:10 Base address:0xe800

eth1 Link encap:UNSPEC HWaddr FF-FD-B7-A7-00-00-00-00-00-00-00-00-00-00-00-00
 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:6 errors:0 dropped:0 overruns:0 frame:0
 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:300 (300.0 b) TX bytes:300 (300.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)

Now I have a new sit0... again, no idea why!! 
So what I would need is to know how to get back wlan0 and get rid of eth1 and wlan0. 

Sorry for presenting so simple problem... 
thanks in advance
Fernando.


Re: [gentoo-user] unknown network devices

2005-07-30 Thread Fernando Meira
On 7/30/05, Niels Will [EMAIL PROTECTED] wrote:
What kind of Wireless-Card do you have?

I have a LinkSys WPC54G. 

It was working well before the emerge world.



[gentoo-user] enlightenment WM -- setup

2005-07-11 Thread Fernando Meira
Hi everyone,

I've seen a few screenshots of the Enlightenment Window Manager and I wanted to try it. 
I've emerged enlightenment and
(as the howto says) I should be able to load Enlightenment after
restarting X, however I don't get that option. I only have default,
KDE and failsafe. 
I'm using kdm and XSESSION=enlightenment in the rc.conf.

What am I missing?

cheers,
Fernando.



Re: [gentoo-user] A simple kernel question!

2005-06-23 Thread Fernando Meira
Thank you all for the replies!!

I think this little experience improved my knowledge and I'm starting to see the kernel as something not so scary :)
Having said that.. I have to recompile it again.. can't manage to start
alsa (I didn't built it in the kernel as the HOWTO said to), and the
same with pcmcia cards support!

Cheers,
Fernando.On 6/23/05, A. Khattri [EMAIL PROTECTED] wrote:
On Wed, 22 Jun 2005, Ryan Viljoen wrote: Yes it is the current one assuming you save the .config file when exiting.Except when starting with a fresh new kernel.What I do is copy a working .config over to the new kernel and run make
oldconfig before doing the usual make menuconfig, etc.gentoo-user@gentoo.org mailing list


[gentoo-user] A simple kernel question!

2005-06-22 Thread Fernando Meira
Hi,
this might be a mighty stupid question, but I have no experience on recompiling kernel...

I followed the instructions from the HOWTO and now I have to copy the new configuration to /boot.
My problem is that I assume that the new configuration replaces the previous one. So, I would need to replace all files.
My previous kernel has:
/boot/kernel-2.6.11-gentoo-r9
/boot/initrd-2.6.11-gentoo-r9
/boot/System.map-2.6.11-gentoo-r9


And what I am supposed to copy are:
- new kernel (bzImage)
- new System.map
- .config - /boot/config-XX 


The .config replaces initrd (which I think it doesn't), or I keep the initrd from the previous and add this config file?

I am also aware of the make install option, but I guess this way is faster (since it does not rebuilds the kernel).

Thanks.


Re: [gentoo-user] A simple kernel question!

2005-06-22 Thread Fernando Meira
I should have read this mail before I rebooted.. :P

I end up with a 
VDF-fs: No partition found (1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


I will need to use the livecd to fix the prob.. after I find what's going on...
On 6/22/05, Ryan Viljoen [EMAIL PROTECTED] wrote:
My problem is that I assume that the new configuration replaces the previous one. So, I would need to replace all files.You dont need to replace your old kernel files you can simply copythem over to /boot under a different name so use:
My previous kernel has:/boot/kernel-2.6.11-gentoo-r10/boot/initrd-2.6.11-gentoo-r10/boot/System.map-2.6.11-gentoo-r10or what ever your new kernel is. Than just add a new option in yourgrub.conf much like the old one for you newly compiled kernel. This
probably the best thing to do especially if your new kernel has errorswhen loading, you can easily revert back to the old one and fix theproblem.CheersRav--When you play a Microsoft CD backwards you can hear demonic Voices...
that's nothing - when you play it forward it installs WindowsAre you fearing my mouse? :3___)--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A simple kernel question!

2005-06-22 Thread Fernando Meira
Ok, still unsolved!

I know that this can happen due to 2 reasons:
1) wrong boot parameters,
2) compiled fs as module.

I've been checking the first reason, and I couldn't solve through it...
I use grub, and the first time I compiled the kernel using genkernel.
Now I compiled it manually. The boot parameters differ from each type
of kernel compiling, right? I tried to remove all the root=/dev/ram0...
leaving just the /boot/vmlinuz root=/dev/hda4, but it didn't work
(though the error message said now unknown-block(3,4) instead of
(1,0).
Note: before I had kernel-2.6.11-r9 and now I have vmlinuz... 

For the second reason, I'm sure that I compiled ReiserFS in the kernel,
and not as module. However, it was the only one I compiled! Did I need
ext2, even though I don't have ext2?

Any ideas before I recompile the kernel again? 
And, if I have to recompile it, do I start with previous the
configuration, where I would just need to check this fs detail, or will
I have to pass through all the items again?

thanks!!On 6/22/05, Fernando Meira [EMAIL PROTECTED] wrote:
I should have read this mail before I rebooted.. :P

I end up with a 
VDF-fs: No partition found (1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


I will need to use the livecd to fix the prob.. after I find what's going on...
On 6/22/05, Ryan Viljoen [EMAIL PROTECTED]
 wrote:
My problem is that I assume that the new configuration replaces the previous one. So, I would need to replace all files.You dont need to replace your old kernel files you can simply copythem over to /boot under a different name so use:
My previous kernel has:/boot/kernel-2.6.11-gentoo-r10/boot/initrd-2.6.11-gentoo-r10/boot/System.map-2.6.11-gentoo-r10or what ever your new kernel is. Than just add a new option in yourgrub.conf much like the old one for you newly compiled kernel. This
probably the best thing to do especially if your new kernel has errorswhen loading, you can easily revert back to the old one and fix theproblem.CheersRav--When you play a Microsoft CD backwards you can hear demonic Voices...
that's nothing - when you play it forward it installs WindowsAre you fearing my mouse? :3___)--
gentoo-user@gentoo.org mailing list





Re: [gentoo-user] A simple kernel question!

2005-06-22 Thread Fernando Meira
Yep.. it was just a boot parameters issue!!

Just had to clean the ram disk stuff, and the initrd line, and everything went well!!

For a future recompilitation, when I do make menuconfig or make
xconfig, the configuration showed is the current one or a default one?
Logically, I would say that it is the current one (so that I just need
to focus in what I need to add/remove/change) than always have to look
each detail. If somebody could confirm me that.. it's better to know!

Thanks!On 6/22/05, Ryan Viljoen [EMAIL PROTECTED] wrote:
Ok you say you compiled the kernel manually, all you need to do isinclude support for the VFS file system in your kernel preferablybuilt in rather than a module. That should do the job. As for theoptions for your kernel you dont need all the ram disk stuff that
genkernel uses.Yours can simply be:title=Gentoo Linux 2.6.11 R10root (hd0,*)kernel /kernel-2.6.11-gentoo-r10 root=/dev/hda*And that should do the trick, if you have enabled the vesa framebuffers than there are a couple other parameters that you need to
enable but not to worry bout that just yet.CheersRavOn 6/22/05, Fernando Meira [EMAIL PROTECTED] wrote: Ok, still unsolved!I know that this can happen due to 2 reasons:
1) wrong boot parameters,2) compiled fs as module.I've been checking the first reason, and I couldn't solve through it... I use grub, and the first time I compiled the kernel using genkernel. Now I
 compiled it manually. The boot parameters differ from each type of kernel compiling, right? I tried to remove all the root=/dev/ram0... leaving just the /boot/vmlinuz root=/dev/hda4, but it didn't work (though the error
 message said now unknown-block(3,4) instead of (1,0).Note: before I had kernel-2.6.11-r9 and now I have vmlinuz...For the second reason, I'm sure that I compiled ReiserFS in the kernel, and
 not as module. However, it was the only one I compiled! Did I need ext2, even though I don't have ext2?Any ideas before I recompile the kernel again?And, if I have to recompile it, do I start with previous the configuration,
 where I would just need to check this fs detail, or will I have to pass through all the items again?thanks!! On 6/22/05, Fernando Meira 
[EMAIL PROTECTED] wrote:  I should have read this mail before I rebooted.. :P   I end up with a   VDF-fs: No partition found (1)  Kernel panic - not syncing: VFS: Unable to mount root fs on
 unknown-block(1,0)   I will need to use the livecd to fix the prob.. after I find what's going on... On 6/22/05, Ryan Viljoen 
[EMAIL PROTECTED]  wrote:   My problem is that I assume that the new configuration replaces theprevious one. So, I would need to replace all files.
 You dont need to replace your old kernel files you can simply copy   them over to /boot under a different name so use:   My previous kernel has:   /boot/kernel-
2.6.11-gentoo-r10   /boot/initrd-2.6.11-gentoo-r10   /boot/System.map-2.6.11-gentoo-r10   or what ever your new kernel is. Than just add a new option in your   
grub.conf much like the old one for you newly compiled kernel. This   probably the best thing to do especially if your new kernel has errors   when loading, you can easily revert back to the old one and fix the
   problem. Cheers   Rav --   When you play a Microsoft CD backwards you can hear demonic Voices...
   that's nothing - when you play it forward it installs Windows   Are you fearing my mouse? :3___) --   
gentoo-user@gentoo.org mailing list  --When you play a Microsoft CD backwards you can hear demonic Voices...that's nothing - when you play it forward it installs Windows
Are you fearing my mouse? :3___)--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] problem starting KDE

2005-06-21 Thread Fernando Meira
Sorry.. I was not sure if the quoting was right.. gmail just got crazy!! I repeat!
On 6/19/05, Holly Bostick [EMAIL PROTECTED] wrote:
Not necessarily, if the internal default for this setting is ON (which Idon't know), but in any case, when commented settings revert to theirinternla default, so in this case it might be better to explicitly set
it to Off.
 So I set Option UseFBDev to Off, and now I get this: MergedFB does
not work with Option UseFBDev, MergedFB mode is disable. and I'm
unable to start X. 

Well, of course they do-- you're using the 'defaults' option, whichimplies (among other things) 'noexec'-- which means scripts may not be
run (no executables may be run) from the partition. You might want toadd the 'exec' option *after* the 'defaults' option (so that itoverrides the 'noexec' included by 'defaults', if you put 'exec' beforedefaults, the 'noexec' witll override the exlplicit 'exec', which is not
what you want).
You maybe got confused, because 'defaults' use 'exec' and not
'noexec'. But, for clear doubts, I double set 'exec' and tried again,
with no success... I still can't create a user properly! And this
problem spreads to X startup.. what can be wrong?

(from /etc/fstab)
/dev/hda5/home  vfat
defaults,gid=100,umask=002   0 0

I set the gid to all users. I give rxw to 'group' members... but still
nothing.. I see a solution by moving /home/ to the linux partition...
but I think this should work though...Also not quite sure what is the usefulness of 'umask=000', since that
just says leave the umask as it is 
Yes... it was 002 before.. I changed to check if the problem was due
to 'others' permission..
http://www.shell-shocked.org/article.php?id=230
 (:: Shell-Shocked ::Tutorial: Multiple Linux Distros).
very nice.. :) though, didn't help... :(



Re: [gentoo-user] problem starting KDE

2005-06-21 Thread Fernando Meira
Hi, 
first of all, thanks for the support!

Let me split these into 2 parts: 1) the problem with the X server, and 2) the remaining errors...

Although I have a few errors while starting X, they do not make X fail
(as I think). After starting X, the problem arises when loading KDE
with the following message:

-Could not read network connection list.
/home/nando/.DCOPserver_nandux__0
Please check that the dcopserver program is running.


in the startx.log I get this:

kdeinit: Aborting. bind() failed: : Operation not permitted
Could not bind to socket '/home/nando/.kde/socket-nandux/kdeinit__0'
Warning: connect() failed: : No such file or directory
kdeinit: Aborting. bind() failed: : Operation not permitted
Could not bind to socket '/home/nando/.kde/socket-nandux/kdeinit__0'
Could not register with DCOPServer. Aborting.
ERROR: Couldn't attach to DCOP server!


This, as I could find until now, is due to problems with my /home
partition (fat32). With a new user (with homedir in the linux
partition) everything goes fine. For this problem, I can't find
solution.. I've tried many mount option with full permission to
everyone, but scripts don't run properly (such as useradd and something
within the X startup).

Now, the errors when starting Xorg: Yes, I think I have conflicts
between xorg and the kernel configuration. I've attached my xorg.conf
file (the one I adapted after running Xorg -configure  I commented
the font problem, the DRI section and added some lines in the keyboard
and mouse inputs). From what I could see from your xorg.conf, mine got
somewhat less detailed :( 

I'll bring news as soon as possible! As well as the lsmod and dmesg
output (they are unavailable to me at the moment of writing this email).

For info: I have a ATI Mobility M6

Thanks!
On 6/21/05, Richard Fish [EMAIL PROTECTED] wrote:
Holly Bostick wrote: All right-- I don't know what any of this means, but it is in fact much more information that what we previously had. What in the name of sanity is MergedFB, and where can we turn it off? Why is UseFBDev trying to
 turn *on* when your setting is *off* ?For the record, my current xorg.conf device section looks like this:Section DeviceIdentifierCard0Driverradeon
VendorNameATI Technologies IncBoardName RV350 [Mobility Radeon 9600 M10]OptionMergedFB OffOptionUseFBDev Off
OptionMonitorLayout LVDS, CRTOptionDynamicClocks OnOptionEnablePageFlip OnOptionVGAAcess On
OptionBIOSHotKeys OnEndSectionAlso, I have *no* DRI section at all...so maybe that needs to be removedor commented out if it is actually causing the fatal error.It is
certainly useless Basically, the 'radeon' module (the kernel opensource drivers) are not able to initialize 3D hardware acceleration (afaik, the 'radeon' drivers cannot do this for the Mobility chipsets; you would need the fglrx
 drivers)-- and if you are using KDM or GDM or Entrance to start X (rather than just 'startx' from a console), you need this functionality (GNOME or KDE, ime, won't start without some form of acceleration, be it
 ATI, MESA or whatever).Just a clarification here.The radeon driver can provide hardwareacceleration on Radeon 9200 and earlier boards (R250 chipsets andbelow).R300 and above, including mobility, require the fglrx driver
for good 3D performance.However the radeon driver fully supports the mobility chipsets for 2Dmode (I have Radeon 9600 mobility, M10/R350 chip), which is all that isrequired for KDM/GDM/and most everything else.3D screensavers, opengl
audio visualizations, and 3D games are the major things that don't runworth a damn with the radeon driver. So I think the problem is in the kernel and X.org configs, for what it's
 worth. I also think that the radeon driver is the wrong one for you to be using, and you should be using the fglrx driver (check the release notes, but I'm pretty sure it's compatible with the Mobility now).
Yes, it will work with my M10 board.But some OpenGL apps still lockupmy machine, and you absolutely lose any capability of using softwaresuspend/resume.I happen to consider software suspend more important
for my laptop than (broken) 3D support, so I stick with the radeondriver!I also build my system with USE=-opengl, but that is _not_the problem here. I have a sense that we've got the tiger by the wrong end, but don't have
 enough information to figure out which end is which :) .I think you are on the right track...it seems to be a conflict betweenthe xorg.conf file, or kernel configuration.But I've tried toduplicate the behavior, with and without dri, with and without the
UseFBDev/MergedFB options, and cannot do so.The best I can do isgenerate errors about failed to open framebuffer device and MergedFBmode disabled.But X still starts.I can't generate any message about
failed to load kernel module, or any other messages about the radeonkernel module.Fernando, you may want to try X -configure, which will auto-generate aconfiguration for you based on the things that 
X.org detects.You canthen test it with X 

Re: [gentoo-user] problem starting KDE

2005-06-20 Thread Fernando Meira
Hi,

On 6/19/05, Holly Bostick [EMAIL PROTECTED] wrote:
  Not necessarily, if the internal default for this setting is ON (which I
don't know), but in any case, when commented settings revert to their
internla default, so in this case it might be better to explicitly set
  it to Off.

  So I set Option UseFBDev to Off, and now I get this: MergedFB does
not  work with Option UseFBDev, MergedFB mode is disable. and I'm
unable to  start X.
 
 
Well, of course they do-- you're using the 'defaults' option, which
implies (among other things) 'noexec'-- which means scripts may not be  
run (no executables may be run) from the partition. You might want to
add the 'exec' option *after* the 'defaults' option (so that it
overrides the 'noexec' included by 'defaults', if you put 'exec' before
defaults, the 'noexec' witll override the exlplicit 'exec', which is not  
what you want).

  You maybe got confused, because 'defaults' use 'exec' and not
'noexec'.  But, for clear doubts, I double set 'exec' and tried again,
with no  success... I still can't create a user properly! And this
problem spreads to X startup..  what can be wrong?

(from /etc/fstab)
/dev/hda5   /home   vfat   
defaults,gid=100,umask=002  0 0

I set the gid to all users. I give rxw to 'group' members... but still
nothing..  I see a solution by moving /home/ to the linux partition...
but I think this should work thoug...

Also not quite sure what is the usefulness of 'umask=000', since that
just says leave the umask as it is 

Yes... it was 002 before.. I changed to check if the problem was due
to 'others' permission..

http://www.shell-shocked.org/article.php?id=230 (:: Shell-Shocked ::
Tutorial: Multiple Linux Distros).  

I had a look in there.. very nice.. :)

-- 
gentoo-user@gentoo.org mailing list



  1   2   >