Re: [gentoo-user] stage3 only for i486?

2013-04-02 Thread Francesco Talamona
On Tuesday 02 April 2013 19:51:17 Davide Carnovale wrote:
> Hi all gentoo people!
> I've been away from gentoo for a while, and I'm in the process of
> reinstalling it today.
> While downloading the stage 3 I noticed that only an i486 version is
> available. As far as I remember, gentoo was best known, back in the
> days, for being fast, as it was one of the first distro to support
> i686... am i wrong with this? if not, why only i486 today?
> 
> apart from the reasons behind the decision of shipping only an i486
> stage 3, do you think it's worth the pain to recompile everything
> (like the old stage1) for a different arch? i have an intel i5
> processor.
> 
> regards
> 
> Davide

Your bookmarks are very very old ;)

The stage3 is available for almost every supported arch, see for example:

http://distfiles.gentoo.org/releases/alpha/autobuilds/current-stage3/
http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/

those above are two links taken from:

http://www.gentoo.org/main/it/where.xml

HTH. Ciao
Francesco





Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-06 Thread Francesco Talamona
On Sunday 06 January 2013 19:22:16 Mick wrote:
> WOW!  The fact that any KDEPIM devs consider this migration torture even 
> remotely acceptable must be a clear sign of advanced insanity!  O_O
> 
> Thank you very much for your detailed instructions.  It seems that kmail2 
> requires the full KDE desktop running or it won't play well.  Perhaps
> that's  why my attempts to date were futile.
> 
> With kmail-1.13.7 I am getting this error:
> 
> Nepomuk Query Server not available
> kmail(3842)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
> search paths:  ("/usr/bin", "/usr/local/bin", "/usr/bin", "/bin",
> "/opt/bin",  "/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4",
> "/opt/Citrix/ICAClient") "/usr/bin/akonadi_nepomuk_contact_feeder(3872)"
> Soprano: "Could not connect to server at
> /tmp/ksocket-michael/nepomuk-socket (No such file or directory)" [snip ...]
> 
> Connecting to deprecated signal 
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> akonadi_maildispatcher_agent(3871)/libakonadi 
> Akonadi::SpecialCollectionsRequestJob::slotResult: Failed 
> SpecialCollectionsRequestJob::slotResult "Failed to fetch the resource 
> collection." 
> 
> 
> It seems that it is a matter of time before I am forced to use T'bird - or 
> make the time to configure and learn how to use mutt.  :-(

The error is simply telling you that indexing is not active, try in

System Settings -> Desktop Search -> Nepomuk/Strigi Server Configuration -> 
check "Enable  Nepomuk Semantic Desktop" and "Enable Email Indexer"

The crazy thing is that the migration won't work without this enabled, yet the 
process isn't aborted if this mandatory part of it is absent/not running...

Cheers
 F. Talamona



Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-06 Thread Francesco Talamona
> On 4.9.3 you are still experiencing something similar. Hmmm. Indicates
> to me a high probability of a systemic problem with the projects
> approach, something that is unlikely to ever get really fixed. In my
> opinion kdepim2 is vastly over-engineered and an attempt to solve a
> problem that does not actually exist. I recommend you use a different
> mail app.

After an indescribable amount of pain and time wasted I was able to regain 
control over my mail.

I recently migrated a kmail used nearly for ten years to the latest kmail2. 
Migration took around a month of struggle.

It's mandatory to have nepomuk+akonadi running (I configured file indexing to 
run only on a folder containing a few files), it has to be checked for mail 
too.

In the migration you'll lose your filters, your profiles, and the flag of the 
mail will be randomly changed (thousands of read mail will come up unread, 
"important" flag will be lost... And so on).

If you try to reimport (after deleting the akonadi database as somewhere 
advised) the mail from ~/Mail you'll discover the the import tool is unable to 
handle maildir (or mailbox, I don't remember) format. If, like me, you used 
kmail for several years, then not all mail folders have the same format, given 
the fact that the default was changed during time.

Beware also that full text indexing is on per default for every mail folder 
created. So, as soon as I imported a mail folder, I deselected this option by 
hand (under folder properties -> maintenance).

So, this is the step-by-step guide to migrate to kmail2:

* backup your ~ folder, especially ~/Mail, ~/.config and ~/.kde4

* make sure akonadi, nepomuk & co are running (with the command "akonadictl 
status" for example).

* look carefully in ~/.xsession-errors if some errors appear related to 
akonadi, nepomuk, mysql, soprano, virtuoso... Do not migrate if you see any 
errors, fix them first. 

for example the following error is guaranteed to slowly and painfully drain 
all of your setup and mail to a black hole:

Soprano: "Could not connect to server at /tmp/ksocket-sko/nepomuk-socket (No 
such file or directory)"

* Delete everything no more necessary (mail messages, old accounts...).

* Archive every folder you want to migrate and delete them from the old client

* Take note of your filters, especially if some of them makes elaborate 
operations, mail account settings, profile preferences...

* backup again, just to be sure

* upgrade kmail, and start kmail2, let it run for the time needed (one night 
or more is normal) until the I/O and CPU load are back to a reasonable level

* reimport archived folder (and disable for each one full text indexing before 
is started)

* reconfigure filters, accounts, profiles...

* backup for the last time

Hoping to save someone else the waste of time I went through.

F. Talamona






Re: [gentoo-user] Anyone succeeded with kmail2?

2013-01-06 Thread Francesco Talamona
On Thursday 03 January 2013 18:22:08 Volker Armin Hemmann wrote:
> I do not know who shat into the brains of the kdepim devs that they fucked
> up  kmail in this unbelievable broken way. Most people do not need akonadi
> - or nepomuk. Everything worked GREAT. Now most shit only works half way, a
> lot of crap doesn't work at all - and once in a while (in my experience
> every 4h of runtime) Nepomuk, that utter waste of electrons starts to eat
> cpu-cores.

+1

Try to find all config files and folder under ~/.kde4somewhat related to kmail2 
ad you'll end adding more colorful remarks...

F. Talamona



[gentoo-user] Re: mount and exfat

2012-10-29 Thread Francesco Talamona
On Tuesday 30 October 2012, Bill Kenworthy wrote:
> Any idea how I can get the mount command to recognise exfat?  It
> works as root but not via fstab for users.
> 
> bunyip ~ # mount /dev/sdc1 /mnt/tmp
> mount: unknown filesystem type 'exfat'
> bunyip ~ # mount.exfat /dev/sdc1 /mnt/tmp
> FUSE exfat 0.9.8
> bunyip ~ #
> 
> 
> BillK

http://forums.debian.net/viewtopic.php?f=30&t=85873

Never used exfat myself, but I think you should include "exfat-fuse" in 
fstab

HTH
Francesco

-- 
Linux Version 3.6.2-gentoo, Compiled #3 SMP Sat Oct 20 09:46:59 CEST 
2012
Two 2.9GHz AMD Athlon 64 X2 Processors, 8GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Resurrecting a Gentoo install

2012-01-21 Thread Francesco Talamona
On Saturday 21 January 2012, Michael Orlitzky wrote:
> On 01/20/2012 09:42 PM, Grant wrote:
> >>> # emerge -avDuN system
> >>> [snip]
> >>> !!! All ebuilds that could satisfy ">=sys-auth/pambase-20081028"
> >>> have been masked.
> >>> !!! One of the following masked packages is required to complete
> >>> your request:
> >>> - sys-auth/pambase-20101024-r1 (masked by: EAPI 4)
> >>> - sys-auth/pambase-20101024 (masked by: EAPI 3)
> >> 
> >> USE="-pam" emerge @system will avoid that particular block,
> >> although it may only get you as far as the next one.
> > 
> > I seem to get an error like this from whatever I try to emerge.  Is
> > untarring a stage3 my only option?
> > 
> > - Grant
> 
> You don't have to do the entire stage3 at once,
> 
>http://tinderbox.dev.gentoo.org/
> 
> has precompiled packages for the major arches and profiles. You could
> try to replace just pambase, pam, python, etc. -- whatever's giving
> you trouble.
> 
> This was not my first recommendation because I've managed to break
> e.g. `tar` and `cp` before in the attempt at which point you have
> two rescues to attempt.

Stage3 isn't your only option, keep it as the least.

In addition to Michael's good advice let me add that in your place I 
would start unmerging every package not strictly needed for the task, 
too many things changed in the last two years. I would leave only eix, 
gentoolkit... I would also remove extra USE flags.

Another advice is: stabilize the system (emerge --depclean and revdep-
rebuild) before syncing portage, but from what I understand is too late, 
it seems you already synced portage tree.

Another idea is to sync to an old portage version, doing your upgrade in 
several big step instead of a single giant leap, take a look at this 
link (maybe there are older around):

http://ftp.twaren.net/Gentoo/snapshots/

Good luck
Francesco

-- 
Linux Version 3.2.1-gentoo, Compiled #1 SMP PREEMPT Mon Jan 16 23:05:20 
CET 2012
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.24 Bogomips Total
aemaeth



[gentoo-user] Re: Partitioning strategy...?

2011-11-25 Thread Francesco Talamona
On Friday 25 November 2011, Pandu Poluan wrote:
> On Fri, Nov 25, 2011 at 20:53, Pandu Poluan  wrote:
> > I want to build a Gentoo server box whose structure is
> > highly-partitioned, like this:
> > 
> > /
> > /boot
> > /usr
> > /tmp
> > /usr/portage ==> via NFS
> > /var
> > /var/lib/postgresql
> > /var/tmp
> > /var/log
> > /var/spool
> > 
> > (Not all of them will reside on the same physical disk; I have
> > /dev/sda up to /dev/sdd)
> > 
> > I've been searching high and low for recommended numbers... and
> > there are as many number as search-hits.
> > 
> > So. Care to share your partitioning strategy?
> > 
> > (And while we're at it, am I overdoing the partitioning?)
> 
> I also wonder if /var/tmp can be shared between boxen (via NFS),
> assuming I ensure that no two boxen perform emerge at the same
> time...
> 
> Rgds,


If you want to mount /var/tmp/portage over NFS you can set in 
/etc/make.conf for every machine:

PORTAGE_TMPDIR=/var/tmp/

So you won't have to worry about concurrent emerge across different 
machines.

Disclaimer: this is an untested idea.

HTH
Francesco


-- 
Linux Version 3.1.1-gentoo, Compiled #1 SMP PREEMPT Mon Nov 14 07:03:50 
CET 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Partitioning strategy...?

2011-11-25 Thread Francesco Talamona
On Friday 25 November 2011, Pandu Poluan wrote:
> On Fri, Nov 25, 2011 at 21:35, Mark Knecht  
wrote:
> > On Fri, Nov 25, 2011 at 5:53 AM, Pandu Poluan  
wrote:
> >> I want to build a Gentoo server box whose structure is
> 
> >> highly-partitioned, like this:
> - >8 snip
> 
> > I don't use LVM but I suspect that on this list that would be the
> > #1 recommendation to take care of the numbers question.
> 
> Everytime I read some guide on LVM, my eyes becomes blurry, the room
> starts spinning, and I can hear wolves howling ... :D
> 
> Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
> complex.
> 
> So, I want to start from something simple.
> 
> Aaaanyways, after reviewing my production boxes, I decided to
> implement the following strategy:
> 
> /  == 800 MiB
> /boot == 20 MiB
> /usr == 1800 MiB
> /usr/portage == 2000 MiB
> /var == 4000 MiB
> /var/lib/postgresql == 1000 MiB
> 
> Comments, suggestions, are welcome :)
> 
> Rgds,

IMO /usr/portage and /boot are too small, these are the respective sizes 
in my system:

[root@aemaeth:~]$ du -sh /usr/portage
19G /usr/portage

[root@aemaeth:~]$ du -sh /boot
52M /boot

HTH
Francesco


-- 
Linux Version 3.1.1-gentoo, Compiled #1 SMP PREEMPT Mon Nov 14 07:03:50 
CET 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Saturday 08 October 2011, Michael Orlitzky wrote:
> On 10/08/11 15:09, Francesco Talamona wrote:
> > I'm not going to complain, though I'm willing to point out (e.g.
> > commenting on relevant bug reports) that some packages are affected
> > in a bad way by this move.
> 
> Comment here? The devs are still CCed even though it's closed:
> 
>   https://bugs.gentoo.org/250179
> 
> > To be honest I didn't look for a solution in b.g.o because it was
> > straightforward; even if not so manifest for me the link between
> > the perl flag and the ability for rxvt to run tabbed (given that
> > it doesn't give an error).
> > 
> > I don't want to be blunt, but your plan looks to me quite vague.
> > My opinion is that some packages should have a different default.
> 
> That bug is for adding IUSE defaults, rather than removing the flag.

https://bugs.gentoo.org/show_bug.cgi?id=250179#c16

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

Cheers
Francesco
-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Sunday 09 October 2011, Michael Orlitzky wrote:
> On 10/09/11 13:53, Alan McKinnon wrote:
> > For rxvt, a suitable flag name would be "plugins"
> 
> Or if there were some package-specific documentation that said,
> "perl: enable the following plugins (written in perl): tabs,
> transparency, etc."
> 
> In fact, that would be my favorite solution.

How would you call the flag in this case?

Regards
Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Saturday 08 October 2011, Michael Orlitzky wrote:
> On 10/08/11 15:09, Francesco Talamona wrote:
> > I'm not going to complain, though I'm willing to point out (e.g.
> > commenting on relevant bug reports) that some packages are affected
> > in a bad way by this move.
> 
> Comment here? The devs are still CCed even though it's closed:
> 
>   https://bugs.gentoo.org/250179
> 
> > To be honest I didn't look for a solution in b.g.o because it was
> > straightforward; even if not so manifest for me the link between
> > the perl flag and the ability for rxvt to run tabbed (given that
> > it doesn't give an error).
> > 
> > I don't want to be blunt, but your plan looks to me quite vague.
> > My opinion is that some packages should have a different default.
> 
> That bug is for adding IUSE defaults, rather than removing the flag.

Added a brief comment, let's see developers' reaction.

Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Tuesday 11 October 2011, Peter Humphrey wrote:
> On Saturday 08 October 2011 19:43:53 Michael Orlitzky wrote:
> > I'm going to start a bug-filing campaign against packages like this
> > some day. The only description we ever get for use flag foo is
> > 'enable support for foo', which doesn't tell you anything at all
> > about how it affects a given package.
> 
> I did file a bug a year or two ago about the almost uselessness of
> USE flag descriptions. It caused a flurry of activity in quite a few
> packages, but conspicuous silence in the rest. Needless to say, the
> activity soon died away and the status quo resumed. Programmers are
> not writers of English, by and large.

Do you remember the bug id?
Cheers
Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-08 Thread Francesco Talamona
On Saturday 08 October 2011, Michael Orlitzky wrote:
> On 10/08/11 13:43, Francesco Talamona wrote:
> > x11-terms/rxvt-unicode is one of the program I use the most, today
> > I lost the ability to have multiple tabs and almost panicked.
> > 
> > I found the solution to have back this essential feature: re-enable
> > "perl" USE flag for this package and re-emerge.
> > 
> > Just wanted to share my experience.
> > HTH
> 
> I'm going to start a bug-filing campaign against packages like this
> some day. The only description we ever get for use flag foo is
> 'enable support for foo', which doesn't tell you anything at all
> about how it affects a given package.
> 
> There are a number of packages with perl and python use flags where
> disabling the use flag will silently disable essential functionality.
> In my opinion, the use flag should simply be removed rather than
> have what amounts to USE=make_it_work_properly.
> 
> I agree with the (default) removal of the perl and python flags:
> 
>   http://blog.jolexa.net/
> 
> but you should complain about packages that are basically broken
> without them.

I'm not going to complain, though I'm willing to point out (e.g. 
commenting on relevant bug reports) that some packages are affected in a 
bad way by this move. 

To be honest I didn't look for a solution in b.g.o because it was 
straightforward; even if not so manifest for me the link between the 
perl flag and the ability for rxvt to run tabbed (given that it doesn't 
give an error).

I don't want to be blunt, but your plan looks to me quite vague.
My opinion is that some packages should have a different default.

Regards
Francesco

-- 
Linux Version 3.0.4-gentoo, Compiled #1 SMP PREEMPT Wed Aug 31 07:34:34 
CEST 2011
Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] tabbed x11-terms/rxvt-unicode

2011-10-08 Thread Francesco Talamona
x11-terms/rxvt-unicode is one of the program I use the most, today I 
lost the ability to have multiple tabs and almost panicked.

I found the solution to have back this essential feature: re-enable 
"perl" USE flag for this package and re-emerge. 

Just wanted to share my experience.
HTH
Francesco


-- 
Linux Version 3.0.4-gentoo, Compiled #1 SMP PREEMPT Wed Aug 31 07:34:34 
CEST 2011
Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Suspend to RAM caused crashes

2011-08-21 Thread Francesco Talamona
On Sunday 21 August 2011, Nikos Chantziaras wrote:
> On 08/21/2011 02:19 PM, Francesco Talamona wrote:
> >  I wish yours it's not a RAM
> > 
> > issue, it could be tricky to spot, because memtest is not putting
> > any load to the machine, so it's very useful when it reports
> > error, but when it doesn't you can't be sure if RAM modules are in
> > good health.
> 
> CPU load doesn't affect RAM errors.  CPU load affects CPU errors.  If
> you only get RAM errors during heavy load, the RAM is just fine, but
> your CPU has a fault.

I see your point: to better explain my statement I point you to 
http://people.redhat.com/~dledford/memtest.shtml

The idea is that a "synthetic" test isn't guaranteed to repeat real life 
conditions, so its results has to be interpreted rather than taken 
acritically.

Cheers
Francesco
-- 
Linux Version 3.0.3-gentoo, Compiled #1 SMP PREEMPT Fri Aug 19 07:16:13 
CEST 2011
Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Suspend to RAM caused crashes

2011-08-21 Thread Francesco Talamona
On Sunday 21 August 2011, Mick wrote:
> Here's a strange one:
> 
> Suspending a Pentium4 32bit machine used to work a treat.  For years.
>  Then around 9 months ago or so, I can't recall exactly, it started
> causing crashes. What happens is that the monitor will go to sleep
> and the disk will stop immediately, but the machine continues to run
> and run and run ...
> 
> At that point I have lost access to the keyboard and the monitor does
> not wake up if I move the mouse.  Using ssh to connect shows that
> the machine is off the network, so I assume that the NIC is also
> suspended.  The only way to recover is to pull the plug.  :-(
> 
> Unfortunately, mysql has left a lock file behind, so it won't start
> at reboot until I remove the lockfile.
> 
> Now, here's the strange thing about all this.  I have 4 RAM modules,
> 2x1G and 2x500M.  Following the manual I have installed them in this
> order:
> 
> slot 1 - 1G,
> slot 2 - 0.5G,
> slot 3 - 1G,
> slot 4 - 0.5G
> 
> If I try to suspend the machine soon after boot, when it is still
> using low amounts of memory, the machine will suspend each time
> without fail (just like it used to do in the past).
> 
> If I wait until the machine is using more than 1G or so, then it will
> always crash.
> 
> I'm running memtest86+ just in case, but 3 passes and no errors are
> shown so far.  Suspend to RAM is really a time saver on this machine
> and was being used at least 4-5 times a day.  Now the box is running
> non-stop 16 hours a day or more, which is wasteful (although with
> the Pentium4 I'm saving on central heating bills!)  Any ideas what I
> can look into to resolve this?

I'm using KDE to suspend my machine, for some reason it recently stopped 
working, but it was only with kernel 3.0.1

I was able to see an error quickly changing to tty12 where the console 
is used to echo /var/log/messages after clicking "sleep" button in KDE

Aug 15 07:42:31 aemaeth polkitd(authority=local): Registered 
Authentication Agent for unix-
session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.29 
[/usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1], object path 
/org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug 15 07:42:35 aemaeth dbus[3247]: [system] Rejected send message, 2 
matched rules; type="method_call", sender=":1.33" (uid=501 pid=4883 
comm="nautilus --sm-client-id 10c6d9d561000130799394") 
interface="org.freedesktop.DBus.Properties" member="GetAll" error 
name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=3297 
comm="/usr/sbin/console-kit-daemon ")

The machine locked itself shortly after that error, but the log was 
there.

My problem is now gone with kernel 3.0.3. I wish yours it's not a RAM 
issue, it could be tricky to spot, because memtest is not putting any 
load to the machine, so it's very useful when it reports error, but when 
it doesn't you can't be sure if RAM modules are in good health.
From my experience the stress load of compiling large packages is more 
likely to evidence RAM faults than memtest itself.

HTH
Francesco

-- 
Linux Version 3.0.0-gentoo, Compiled #3 SMP PREEMPT Fri Aug 5 21:02:22 
CEST 2011
Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: /dev/sda* missing at boot

2011-08-19 Thread Francesco Talamona
On Friday 19 August 2011, Nikos Chantziaras wrote:
> On 08/18/2011 10:08 PM, András Csányi wrote:
> > On 18 August 2011 18:59,  wrote:
> >> Hi, guys
> >> 
> >> It is a shame, I know, but after several years using Gentoo, it is
> >> the first time I try to build a kernel without "genkernel".
> >> 
> >> And now I can't boot to that new kernel, it does not find (and
> >> really do not have a) /dev/sda* root partition ("real-root");
> >> during the boot it stops, complaining about that, gives me the
> >> option to get a shell, from which I am able to see that there is
> >> no /dev/sda* .
> >> 
> >> I have included everything SATA, so it looks like that is not a
> >> kernel problem, but a initramfs issue, I guess.
> >> 
> >> What am I missing?
> > 
> > Why have you choose this way? I mean, non-genkernel way.
> 
> genkernel generates generic (bloated) kernels.

This is a generalization, not entirely true:

genkernel --no-clean --no-mrproper --kerneldir=blabla all

With the above command, for example, you can provide your own .config 
and genkernel will do exactly as you wish.

Cheers
Francesco


-- 
Linux Version 3.0.0-gentoo, Compiled #3 SMP PREEMPT Fri Aug 5 21:02:22 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Kde-meta

2011-08-08 Thread Francesco Talamona
On Sunday 07 August 2011, john wrote:
> Hello,
> 
> I am trying to emerge kde-meta but getting the following error
> message
> 
> Calculating dependencies... done!
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 43, in 
> retval = emerge_main()
>   File "/usr/lib64/portage/pym/_emerge/main.py", line 1907, in
> emerge_main myopts, myaction, myfiles, spinner)
>   File "/usr/lib64/portage/pym/_emerge/actions.py", line 302, in
> action_build mydepgraph.display_problems()
>   File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5998, in
> display_problems self._display_problems()
>   File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6019, in
> _display_problems self._show_slot_collision_notice()
>   File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 702, in
> _show_slot_collision_notice
> self._dynamic_config._slot_conflict_handler =
> slot_conflict_handler(self) File
> "/usr/lib64/portage/pym/_emerge/resolver/slot_collision.py", line
> 129, in __init__
> self._prepare_conflict_msg_and_check_for_specificity() File
> "/usr/lib64/portage/pym/_emerge/resolver/slot_collision.py", line
> 346, in _prepare_conflict_msg_and_check_for_specificity if use in
> violated_atom.use.enabled.union(violated_atom.use.disabled):
> AttributeError: 'NoneType' object has no attribute 'enabled'

Is kde-meta the only packages that give this error? Have you tried to 
emerge something else?

It looks like your computer has a problem with python.

HTH
Francesco

-- 
Linux Version 3.0.0-gentoo, Compiled #3 SMP PREEMPT Fri Aug 5 21:02:22 
CEST 2011
Two 2.8GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11256 Bogomips Total
aemaeth


[gentoo-user] Re: Use split to break up a 10GB file binary?

2011-06-21 Thread Francesco Talamona
On Monday 20 June 2011, Paul Hartman wrote:
> On Mon, Jun 20, 2011 at 10:25 AM, Mark Knecht  
wrote:
> > Hi,
> >   Is split an appropriate program to use to break a single 10GB
> > file into 100 100MB files to transfer over the net using rsync,
> > and then use cat to reassemble?
> 
> I think it should work just fine. I've split huge files into huge
> chunks and never had any issues.
> 
> >   Is there some better way to do this?
> 
> I wonder if splitting is even necessary; rsync will analyze the file
> and only transmit the differences, right?. So I'd think that even if
> the transfer fails, a retry would pick up where it left off (assuming
> rsync keeps the failed copy).
> 
> Also check out net-misc/unison. It seems to be designed for just this
> sort of thing.

Unison is wonderful for more complex tasks but is very inefficient with 
large files. As a matter of fact it uses rsync algorithm in order to get 
good performance, still isn't the best choice in this scenario, see: 
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-
manual.html#speeding

I keep in sync the user home across two computer, and I use both of them 
daily. It would be impossible without unison, but the 20GB virtual 
machine is excluded from the sync.

Cheers
Francesco

-- 
Linux Version 2.6.39-gentoo-r1, Compiled #1 SMP PREEMPT Thu Jun 9 
11:20:57 CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth


[gentoo-user] Re: to USE loop-aes or not to USE loop-aes, that is the confusion

2011-06-14 Thread Francesco Talamona
On Tuesday 14 June 2011, meino.cra...@gmx.de wrote:
> Why are the versions oscillate that way?

Did you add loop-aes globally in /etc/make.conf, or per package in 
/etc/portage/package.use?

In the latter case did you specify the packet version?

Can you see why I'm asking these questions?
Cheers
Francesco

-- 
Linux Version 2.6.39-gentoo-r1, Compiled #1 SMP PREEMPT Thu Jun 9 
11:20:57 CEST 2011
Two 2.9GHz AMD Athlon 64 X2 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth


[gentoo-user] Re: Can't find b43 in kernel config

2011-06-09 Thread Francesco Talamona
On Thursday 09 June 2011, Mark Knecht wrote:
> On Thu, Jun 9, 2011 at 10:10 AM, Grant  wrote:
> > I've satisfied these requirements:
> > 
> > Depends on: NETDEVICES [=y] && WLAN [=y] && SSB_POSSIBLE [=y] &&
> > MAC80211 [=n] && HAS_DMA [=y]
> > 
> > but I don't see the option here:
> > 
> > Location:
> > -> Device Drivers
> > -> Network device support (NETDEVICES [=y])
> > -> Wireless LAN (WLAN [=y])
> > 
> > Does anyone know how to make it appear?
> > 
> > - Grant
> 
> What is 'b43'?
> 
> When I have that problem I typically start with
> 
> cat /usr/src/.config | grep b43
> 
> which returns nothing implying to me that b43 doesn't exist at all.
> 
> - Mark

Mark this isn't a good test. It only says that your config doesn't 
contain references to b43.

If you do "make menuconfig" and then search for b43 (type slash to reach 
the search functionality) many entries will show up: I count 23 hits in 
2.6.39-gentoo-r1 kernel.

Grant: you say that the requirements are satisfied, yet I see "MAC80211 
[=n]", could be it? Same way as above to see where the option you lack 
can be activated

HTH
Francesco

-- 
Linux Version 2.6.39-gentoo, Compiled #1 SMP PREEMPT Thu May 26 20:13:26 
CEST 2011
Two 2GHz AMD Athlon 64 X2 Processors, 4GB RAM, 8041.06 Bogomips Total
aemaeth


[gentoo-user] Re: Switching to a hardened profile and back again

2011-03-17 Thread Francesco Talamona
On Thursday 17 March 2011, Neil Bothwick wrote:
> cp /var/lib/portage/world /etc/portage/sets/my_world
> emerge @my_world

Neil, this is simply wonderful :)
Thanks
FT
-- 
Linux Version 2.6.38-gentoo, Compiled #1 SMP PREEMPT Wed Mar 16 20:03:24 
CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.38 Bogomips Total
aemaeth



[gentoo-user] Re: How do I show list of bad blocks on a disk?

2011-03-06 Thread Francesco Talamona
On Sunday 06 March 2011, Florian Philipp wrote:
> Am 06.03.2011 18:07, schrieb Nikos Chantziaras:
> > Before leaving home, I started an fsck.ext4 on a filesystem (500GB)
> > that
> > 
> > resides on a disk that I suspect is damaged:
> >   fsck.ext4 -c -c -f /dev/sdb1
> > 
> > When I came back 10 hours later, it was still checking.  After 2
> > hours
> > 
> > more (so it took 12 hours total) it finally finished.  The output was:
> >   e2fsck 1.41.14 (22-Dec-2010)
> >   Checking for bad blocks (non-destructive read-write test)
> >   Testing with random pattern: done
> >   Extra: Updating bad block inode.
> >   Pass 1: Checking inodes, blocks, and sizes
> >   Pass 2: Checking directory structure
> >   Pass 3: Checking directory connectivity
> >   Pass 4: Checking reference counts
> >   Pass 5: Checking group summary information
> >   
> >   Extra: * FILE SYSTEM WAS MODIFIED *
> >   Extra: 11/30531584 files (0.0% non-contiguous),
> >   1966902/122096638 blocks
> > 
> > I'm not sure how to read this.  Were there any bad blocks or not? 
> > Is there a way to query the filesystem for the now known bad
> > blocks?  (The "Updating bad block inode." message suggests that
> > such a list is stored directly inside the filesystem.)
> 
> When there is nothing else reported, there was no error. "FILE SYSTEM
> WAS MODIFIED" usually just means that a directory "lost+found" was
> created.

That would be interactive, and it would show up in the console output:

fsck from util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found.  Create? yes

Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/mapper/sda5: * FILE SYSTEM WAS MODIFIED *
/dev/mapper/sda5: 177646/4481024 files (6.7% non-contiguous), 
10916521/17920370 blocks

Anyway I don't worry about the fact that the filesystem was modified, as 
long as the program doesn't ask for user intervention. As you can see in 
my case there was a directory optimization.

Fsck took a very long time because of "-c" option (you are not taking 
advantage of the fact that the disk is almost empty), and you specified 
it twice, so "the bad block scan will be done using a non-destructive 
read-write test." as stated in the man page, so in the end, nothing to 
worry about WRT filesystem. 

You should also check SMART status.

Bye
Francesco

-- 
Linux Version 2.6.37-gentoo-r1, Compiled #4 SMP PREEMPT Sat Mar 5 
16:45:57 CET 2011
Two 2.8GHz AMD Athlon 64 Processors, 4GB RAM, 11255 Bogomips Total
aemaeth



[gentoo-user] Re: Emerge Problems...

2011-01-31 Thread Francesco Talamona
On Monday 31 January 2011, BRM wrote:
> I just wrote a new script last night, but I'm still not sure that all
> of the  parameters are correct

Why not something proven and reliable like "emerge --sync"?

Ciao
Francesco

-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Emerge Problems...

2011-01-30 Thread Francesco Talamona
On Sunday 30 January 2011, BRM wrote:
> A little while back my server ran out of hard disk space (due to a
> failed hard drive) and as a result my local portage mirror got
> destroyed. Well, I fixed there server - initially by just grabbing a
> new copy of portage like a new install since it was just completely
> hosed, and the server is back up and working. However, now my
> desktop and laptop are both having problems. They sync just fine
> against the server, but I get a series of errors about not having
> various ebuilds in the manifest files - so many that I can't emerge
> anything (even portage).

It seems your three systems share a broken portage tree, try with the 
latest portage snapshot, for example from 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/snapshots/

You can also skip the sync and put it directly on the clients to see if 
the rsync service on server is broken... 

Once you stabilize the root cause, it's time to focus on the other 
issues (for example run a non-X runlevel on the laptop to fix the login 
issue, use nano until vim is ok, and so on).

HTH
Francesco

-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Latest unstable ntp not generating ntp.drift file.

2011-01-06 Thread Francesco Talamona
On Thursday 06 January 2011, Dale wrote:
> I deleted the /etc/adjtime but it has not been recreated.  What
> creates  this file?  I deleted it a couple days ago and nothing has
> brought it back yet.

/sbin/hwclock --systohc does.

What happens in the long run if you don't run any synchronization 
service at all? Does the time go stray or it just exhibits a systematic 
error?

Ciao
Francesco
-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Help with eix-test-obsolete

2011-01-06 Thread Francesco Talamona
On Thursday 06 January 2011, Vaeth wrote:
> > Lately it seems that eix disregards the content of
> > /etc/portage/package.keywords.nowarn
> 
> From the ChangeLog:
> 
> *eix-0.22.1 [...]
>   - use /etc/portage/package.nowarn instead of
> /etc/portage/package.*.nowarn; the latter is now obsolete.
> If you want continue to use it, set OBSOLETE_NOWARN=true

That's it.
Many thanks!
Francesco

-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 2.6GHz AMD Athlon 64 Processors, 4GB RAM, 10453 Bogomips Total
aemaeth



[gentoo-user] Re: Latest unstable ntp not generating ntp.drift file.

2011-01-06 Thread Francesco Talamona
On Thursday 06 January 2011, Dale wrote:
> Francesco Talamona wrote:
> > On Wednesday 05 January 2011, Dale wrote:
> >> Now on my old system, it would adjust the drift file and the
> >> adjustments  would get smaller and smaller.  On the new rig, as
> >> you can see it stays about the same.  I would like it to get to a
> >> point where it doesn't have to sync so often.  I read on the
> >> website where they are needing more servers to help with the load
> >> and I don't want to be one of the ones putting a load on it.
> > 
> > Maybe you copied over /etc/adjtime from the previous machine. I
> > would try to regenerate it...
> > 
> > Ciao
> > 
> > Francesco
> 
> I'm sure I didn't copy that.  I copied ntp.conf but that is all.  I
> didn't even notice that one being there.  I got to see what purpose
> that has.
> 
> I may delete it tho and see what happens.  It would generate a new
> one if I restart the service correct?
> 
> Dale
> 
> :-)  :-)

It makes the hardware clock take care of the systematic drift. If a 
wrong value is stored in it, it can interfere with ntp in the way you 
described: every time ntp runs it always corrects for the same amount.

From man 8 hwclock:

"The  Hardware  Clock  is usually not very accurate.  However, much of 
its inaccuracy is completely predictable - it gains or loses the same 
amount of time every day.
   This is called systematic drift.  hwclock's "adjust" function 
lets you make systematic corrections to correct the systematic drift."

and:
"It is good to do a hwclock --adjust just before the hwclock --hctosys 
at system startup time, and maybe periodically while the system is 
running via cron."

This is my "recipe":
let ntpdate sync your clock, then /sbin/hwclock --systohc
and you are done. From that moment on ntp takes care of the non 
systematic error, while the drift is zeroed "by hwclock".

Somewhere it is suggested to run /sbin/hwclock --adjust once a year.

I experienced what you describe when I built my new machine, I had 
copied /etc/adjtime (without knowing what it was) from the previous, it 
took me a good deal of googling...

BTW I don't have ntp.drift, I only use ntpdate and the clock is always 
correct.

HTH
Francesco

-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Help with eix-test-obsolete

2011-01-05 Thread Francesco Talamona
What I'm trying to accomplish:

For some packages, when a new version is available, to be able to merge 
them without adding them to /etc/portage/package.keyword, and when/if 
the installed version is marked as stable I wish eix-test-obsolete won't 
tell me that this particular package is redundant.

How my system is configured:

I have those packages listed in /etc/portage/package.keyword without the 
version number, and the same packages name also in 
/etc/portage/package.keywords.nowarn

Lately it seems that eix disregards the content of 
/etc/portage/package.keywords.nowarn, or maybe I messed up with a 
configuration file :)

for example:

grep amsn /etc/portage/*
/etc/portage/package.keywords:net-im/amsn ~amd64
/etc/portage/package.keywords.nowarn:net-im/amsn in_keywords no_change

The only flags in eixrc (following the guide in [1]) are related to 
mask/unmask policies, so they shouldn't interfere with my goal:

cat /etc/eixrc | grep -Ev '^\#|^$'
TEST_FOR_NONEXISTENT=true
NONEXISTENT_IF_OTHER_OVERLAY=true
REDUNDANT_IF_UNMASK_NO_CHANGE=false
REDUNDANT_IF_IN_MASK=false

Anyway "eix-test-obsolete -bd" lists amsn among the programs redundant 
in /etc/portage/package.keywords because the latest version is stable 
(or maybe because there are keyworded unstable versions?).

eix --version
eix 0.22.6 (gcc-4.4.4, x86_64-pc-linux-gnu)

The complete output:
eix-test-obsolete -bd

No non-matching entries in /etc/portage/package.keywords.
No non-matching entries in /etc/portage/package.accept_keywords.
No non-matching entries in /etc/portage/package.mask.
No non-matching entries in /etc/portage/package.unmask.
No non-matching or empty entries in /etc/portage/package.use.
No non-matching or empty entries in /etc/portage/package.env.
No non-matching or empty entries in /etc/portage/package.cflags.
The names of all installed packages are in the database.

Redundant in /etc/portage/package.{,accept_}keywords:

... considered as REDUNDANT_IF_WEAKER
[I] sys-apps/portage (2.2.0_alph...@01/01/2011): Portage is the package 
management and distribution system for Gentoo

... considered as REDUNDANT_IF_NO_CHANGE
[I] app-emulation/dosemu (1.4.1_pre20091...@01/05/2010): DOS Emulator
[I] app-emulation/virtualbox-bin (3.2.12...@31/12/2010): Family of 
powerful x86 virtualization products for enterprise as well as home use
[I] app-emulation/virtualbox-guest-additions (3.2...@03/01/2011): 
VirtualBox kernel modules and user-space tools for Linux guests
[I] app-emulation/virtualbox-modules (3.2...@03/01/2011): Kernel Modules 
for Virtualbox
[I] media-video/ffmpeg (0.6_p25...@26/11/2010): Complete solution to 
record, convert and stream audio and video. Includes libavcodec.
[I] media-video/nvidia-settings (260.19...@20/12/2010): NVIDIA Linux X11 
Settings Utility
[I] net-im/amsn (0.9...@28/11/2010): Alvaro's Messenger client for MSN
[I] net-wireless/madwifi-ng (0.9.4.4133.20100...@03/01/2011): Next 
Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards
[I] net-wireless/madwifi-ng-tools (0.9.4.4133.20100...@12/08/2010): Next 
Generation tools for configuration of Atheros based IEEE 802.11a/b/g 
wireless LAN cards
[I] sys-apps/dbus (1@03/01/2011): A message bus system, a simple way 
for applications to talk to each other
[I] www-client/firefox (3.6...@10/12/2010): Firefox Web Browser
[I] x11-drivers/xf86-input-virtualbox (3.2...@04/12/2010): VirtualBox 
input driver
[I] x11-drivers/xf86-video-virtualbox (3.2...@03/01/2011): VirtualBox 
video driver
Found 13 matches.

No uninstalled entries in /etc/portage/package.{,accept_}keywords
No  redundant  entries in /etc/portage/package.mask
No uninstalled entries in /etc/portage/package.mask
No  redundant  entries in /etc/portage/package.unmask
No uninstalled entries in /etc/portage/package.unmask
No  redundant  entries in /etc/portage/package.use
No uninstalled entries in /etc/portage/package.use
No  redundant  entries in /etc/portage/package.env
No uninstalled entries in /etc/portage/package.env
No  redundant  entries in /etc/portage/package.cflags
No uninstalled entries in /etc/portage/package.cflags
All installed versions of packages are in the database.

[1] http://linuxreviews.org/man/eix/

Thanks in advance
  Francesco

-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Latest unstable ntp not generating ntp.drift file.

2011-01-05 Thread Francesco Talamona
On Wednesday 05 January 2011, Dale wrote:
> Now on my old system, it would adjust the drift file and the
> adjustments  would get smaller and smaller.  On the new rig, as you
> can see it stays about the same.  I would like it to get to a point
> where it doesn't have to sync so often.  I read on the website where
> they are needing more servers to help with the load and I don't want
> to be one of the ones putting a load on it.

Maybe you copied over /etc/adjtime from the previous machine. I would 
try to regenerate it...

Ciao
Francesco
-- 
Linux Version 2.6.36-gentoo-r6, Compiled #2 SMP PREEMPT Mon Jan 3 
11:54:58 CET 2011
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: UPS driver error

2011-01-02 Thread Francesco Talamona
On Saturday 01 January 2011, Mick wrote:
> Hi All,
> 
> I have a iDowell UPS with a USB connection which I'm trying to
> configure with Gentoo.  This UPS works fine with the default settings
> in WinXP and apparently with AppleMac boxen which it is marketed for:
> 
> http://store.apple.com/uk/product/TR423ZM/A
> 
> This is what it shows in dmesg:
> 
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 0001
> generic-usb 0003:075D:0300.0002: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-:00:1d.1-2/input0
> 
> I've added this udev rule in
> 
> # iDowell iBox USB
> ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", MODE="664",
> GROUP="nut"
> 
> and have defined this UPS and driver in /etc/nut/ups.conf:
> 
> [iDowell]
> driver = usbhid-ups
> port = auto
> vendorid = 075d
> desc = "iBox by iDowell"
> 
> However, the driver does not seem to recognise the device:
> 
> # /etc/init.d/upsd restart
>  * Starting upsd ...
> Network UPS Tools upsd 2.4.3
> listening on 127.0.0.1 port 3493
> Can't connect to UPS [iDowell] (usbhid-ups-iDowell): No such file or
> directory allowfrom in upsd.users is no longer used 
>[ ok ]
> 
> and
> 
> # /etc/init.d/upsdrv start
>  * Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.4.3
> Network UPS Tools - Generic HID driver 0.34 (2.4.3)
> USB communication driver 0.31
> No matching HID UPS found
> Driver failed to start (exit status=1)
>  * Failed to start UPS drivers!  
> [ !! ]
> 
> I have noticed that dmesg continuously fills up with messages like:
> 
> usb 3-2: USB disconnect, address 116
> usb 3-2: new low speed USB device using uhci_hcd and address 117
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 0001
> generic-usb 0003:075D:0300.005C: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-:00:1d.1-2/input0
> usb 3-2: USB disconnect, address 117
> usb 3-2: new low speed USB device using uhci_hcd and address 118
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 0001
> generic-usb 0003:075D:0300.005D: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-:00:1d.1-2/input0
> 
> I do not know why it keeps disconnecting and reconnecting getting a
> new address every time.
> 
> Any ideas what else I could try?

I think is an issue with the UDEV rules.
At the end of /etc/udev/rules.d/10-local.rules I put this line for my 
liebert USB UPS:

SUBSYSTEMS=="usb",ATTRS{idVendor}=="10af",ATTRS{idProduct}=="0004",SYMLINK+="liebert-
ups" MODE="0660", GROUP="nut", OPTIONS="last_rule"

and in 
/etc/nut/ups.conf

user = nut
[liebert]
port = /dev/liebert-ups
driver = liebert

Make sure also about permissions:
lrwxrwxrwx 1 root root 11  2 gen 10.34 /dev/liebert-ups -> usb/hiddev0
crw-rw 1 root nut 180, 96  2 gen 10.34 usb/hiddev0

HTH
Francesco
-- 
Linux Version 2.6.36-gentoo-r6, Compiled #1 SMP PREEMPT Tue Dec 28 
20:43:07 CET 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.24 Bogomips Total
aemaeth



[gentoo-user] Re: {OT} Deliberately obfuscating my code

2010-11-14 Thread Francesco Talamona
On Saturday 13 November 2010, Grant wrote:
> I don't need encouragement, I need advice. :)

In the end it isn't a technical problem, it is a question of trust.

> > The questions are:
> > 
> >  1) The relative sizes of the problems?
> 
> No problems really.  It's just kind of a never-ending project that
> could go in many directions.  The more coders working on the project
> the more directions can be explored.
> 
> >  2) How much your time is worth?
> 
> Even if I spend 80 hours a week coding, the rate at which I code will
> be the project's limiting factor.  I'd love to fix the bottleneck and
> make the limiting factor the number of coders I can hire.

So your project would definitely benefit if you hire someone else.

> >  3) Do you prefer spec-writing and project management or writing
> > code?
> 
> If the choice is between 1 hour coding and 1 hour writing and
> managing in order to accomplish 1 hour of coding, I'll code.

If it's 1:1 either your ability to make yourself clear or the coder's 
proficiency, or both, are incomplete.

You should try to give a little part of the project, a portion that 
doesn't require the knowledge of the entire code. 
Work with just one or two developer and see. 
You have to build trust. You'll have to trust them and believe that your 
project will benefit, they'll have to trust in you.

HTH
Francesco
-- 
Linux Version 2.6.36-gentoo-r1, Compiled #3 SMP PREEMPT Sat Nov 13 
23:34:14 CET 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: world symlinking

2010-11-03 Thread Francesco Talamona
On Wednesday 03 November 2010, Kevin O'Gorman wrote:
> > sys-apps/portage-2.2_rc67
> > 
> > HTH
> >
> >Francesco
> 
> I'll look forward to that going stable x86.  Right now that means
> sys-apps/portage-2.1.8.3

Actually 2.2_rc67 was removed recently.

ciao
Francesco

-- 
Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29 
20:33:46 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11657 Bogomips Total
aemaeth



[gentoo-user] Re: world symlinking

2010-11-02 Thread Francesco Talamona
On Tuesday 02 November 2010, Gary Golden wrote:
> Hi, list.
> I keep changes of my /etc with git and I would like to include
> /var/lib/portage/world file into the repository.
> 
> Can I safely do:
> 
> mv /var/lib/portage/world /etc/portage
> ln -s /etc/portage /var/lib/portage/world
> 
> Will portage update handle it properly?
> Using hardlinks seems to be more cleaner way, but for some reason I
> don't want to use it for this task.
> 
> Have a nice day! ;)

Actually it's much easier, I have two machines, both with /etc/world. 
And it's a exact copy of /var/lib/portage/world, something in my 
computers is doing this, and it isn't a (soft|hard)link :)

sys-apps/portage-2.2_rc67

HTH
Francesco

-- 
Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29 
20:33:46 CEST 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.86 Bogomips Total
aemaeth



[gentoo-user] Re: Bugzilla search

2010-10-30 Thread Francesco Talamona
On Saturday 30 October 2010, Thanasis wrote:
> I was searching Bugzilla for a bug namely #342845, which I found via
> google
> (http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-vcs/git/
> git-1.7.3.2-r1.ebuild?view=markup), because when I put git-1.7.3.2-r1
> in the Find field of Bugzilla (http://bugs.gentoo.org/) it returns
> Zarro Boogs found. Is this normal? Am I missing something in the way
> I should use the Bugzilla interface to do a seach?

I guess you wrote '#342845', if you use '342845' it works:
http://bugs.gentoo.org/show_bug.cgi?id=342845

HTH
Francesco

-- 
Linux Version 2.6.35-gentoo-r11, Compiled #1 SMP PREEMPT Fri Oct 29 
20:33:46 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Sniffing / analysis of application / wifi packets on my LAN

2010-10-08 Thread Francesco Talamona
On Friday 08 October 2010, Adam Carter wrote:
> > So Wireshark is a GUI tool?
> 
> Yes.

But net-analyzer/wireshark installs a CLI tool too: tshark

Ciao
Francesco
-- 
Linux Version 2.6.35-gentoo-r9, Compiled #1 SMP PREEMPT Tue Sep 28 
20:02:12 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Fire the fox.

2010-09-18 Thread Francesco Talamona
On Sunday 19 September 2010, Kevin O'Gorman wrote:
> Is it just me?  Or does Firefox get slower every release?  And less
> stable.
> 
> I got myself up to the latest, and I cannot install my 4 add-ons
> (xmarks, AdBlockPlus, Noscript, Stumble-upon) without it crashing. 
> Seg fault sometimes.  I've got ECC memory, and no reported problems,
> and it does not help to clear the profiles (rename ~/.mozilla)  and
> re-emerge.
> 
> Grr.

Ditto. Every time slower and less stable. And when it crashes makes the 
X destop crash too, I use it with firebug and it's slow as molasses.

Looking forward to FF4, still not tried on Linux.

greets
FT

-- 
Linux Version 2.6.35-gentoo-r7, Compiled #1 SMP PREEMPT Fri Sep 17 
21:01:33 CEST 2010
Two 2.4GHz AMD Athlon 64 Processors, 4GB RAM, 9648.04 Bogomips Total
aemaeth



[gentoo-user] Re: How to fix circular dependency?

2010-09-07 Thread Francesco Talamona
On Tuesday 07 September 2010, Ajai Khattri wrote:
> OK, Ive managed to proceed a little further, but now Im encountering
> this:
> 
> # emerge -uDtpvk world

When it's time to upgrade a large number of programs, it's better to 
take the task one step at a time, for example the following command:

emerge -pu system

Will (tell you to) upgrade a little subset, it'll less likely get stuck 
on circular deps and will upgrade the more important programs first.

HTH
Francesco

-- 
Linux Version 2.6.35-gentoo-r5, Compiled #1 SMP PREEMPT Sat Aug 28 
12:20:05 CEST 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.06 Bogomips Total
aemaeth



[gentoo-user] Re: autodepclean script (was "how to remove HAL")

2010-08-22 Thread Francesco Talamona
On Sunday 22 August 2010, Walter Dnes wrote:
> On Sat, Aug 21, 2010 at 12:07:40PM +0200, Francesco Talamona wrote
> 
> > I'm unclear about the aim of your script, what does different from
> > "emerge -a --depclean" followed by "revdep-rebuild -- -a"?
> 
>   The autodepclean script automatically generates a list of of target
> ebuuilds to clean out (i.e. "cleanscript").  This gives you the
> opportunity to review it and delete items from the list before going
> ahead.  Does "emerge -a --depclean" allow you to skip individual
> items?

Ah ok, now i see the point. Usually I prefer to stop depclean (answering 
no) and specify the exceptions with emerge --noreplace.

This is because the exclusion of some packages from depclean can affect 
the following result of it.

If you install a package having many dependencies, with emerge --oneshot 
and then run emerge --depclean you'll see that is easier to run two 
times depclean than edit the generated list :)

Cheers
Francesco
-- 
Linux Version 2.6.35-gentoo-r1, Compiled #1 SMP PREEMPT Wed Aug 11 
07:11:30 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11657 Bogomips Total
aemaeth



[gentoo-user] Re: autodepclean script (was "how to remove HAL")

2010-08-21 Thread Francesco Talamona
On Thursday 19 August 2010, Walter Dnes wrote:
> On Tue, Aug 17, 2010 at 09:49:22PM +0200, Enrico Weigelt wrote
> 
> > I've just experimented a bit with that and it turned out that
> > --depclean doesn't clean up the buildtime-only deps. But if I
> > remove one of them (eg. cabextract), they don't get pulled in again
> > (that's indicating the depending ebuilds are written properly).
> 
>   This reminds me of a script I've been working on to remove
> unnecessary cruft.  Everything that follows is run as root, because
> it runs "emerge".  The attached script "autodepclean" parses the
> output from "emerge --pretend --depclean" and generates a script
> "cleanscript" that you can run to clean up your system.  This should
> handle your situation, but it's also a general solution to the
> entire class of problems of cleaning up when you remove all programs
> or USE flags that pull in a lib.  It is not restricted to just HAL
> 
>   Warning, this script is beta.  Use with care.  It will remove
> gentoo-sources versions higher than your current kernel.  This is
> technically correct for removing unused ebuilds.  But it may not be
> what you want.

I'm unclear about the aim of your script, what does different from 
"emerge -a --depclean" followed by "revdep-rebuild -- -a"?

Ciao
Francesco
-- 
Linux Version 2.6.35-gentoo-r1, Compiled #1 SMP PREEMPT Wed Aug 11 
07:11:30 CEST 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: vixie-cron keeps stopping

2010-04-16 Thread Francesco Talamona
On Thursday 15 April 2010, Alan McKinnon wrote:
> On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> > I apologise if this has come twice, it didn't appear to post
> > correctly first time, not even on the archives.
> > 
> > Its been happening for a while but I haven't got round to find out
> > why, but every so often (anything between a week or an hour)
> > vixie-cron just stops. There's nothing in the logs, the service
> > just stops.
> > 
> > I have no idea where to start looking for a culprit so I'm hoping
> > someone here has some good ideas :)
> > 
> > thanks in advance
> > 
> > Matt
> 
> You probably don't want to hear this, but:
> 
> vixie-cron is problematic in the extreme. I have endless hassle with
> it's weird behaviours.
> 
> Use a different cron daemon.

Your advice is vague :)

I use app-admin/syslog-ng and I wouldn't change, Alan you too can try 
it.

Ciao
  Francesco

-- 
Linux Version 2.6.33-gentoo-r1, Compiled #1 SMP PREEMPT Sat Apr 10 
17:35:50 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: recovering RAID from an old server

2010-02-20 Thread Francesco Talamona
On Saturday 20 February 2010, Iain Buchanan wrote:
> On Sat, 2010-02-20 at 10:46 +0100, Francesco Talamona wrote:
> > > Should I be able to mount them automatically and let the SW RAID
> > >  module sort it out or do I have to know how they're tied
> > > together beforehand?
> > >
> > > md: looking for a shared spare drive
> > > md100: no spare disk to reconstruct array! -- continuing in
> > > degraded mode
> > > md: recovery thread finished ...
> > > md: hde5 [events: 03a5]<6>(write) hde5's sb offset: 273024
> > > md: hdg5 [events: 03a5]<6>(write) hdg5's sb offset: 273024
> > > XFS mounting filesystem md(9,100)
> > > Ending clean XFS mount for filesystem: md(9,100)
> > >
> > > The partitions look like:
> > > 9   100 546112 md100
> > >9   101 273024 md101
> >
> > It seems it has correctly mounted its partition... Can't you find
> > it?
> 
> This is with the server recovery console, which is basically just a
>  web page.  No shell access.  There's not much I can do to get at
>  md100 and md101 (is this what software RAID devices usually appear
>  as?)
> 
> > I have the feeling that you are messing it up. If I understand it
> > correctly the server has an hardware RAID controller, that has to
> > be managed via its drivers.
> 
> I think it's software RAID.  There is no RAID controller AFAICT.  All
>  4 drives are visible to the BIOS as Primary and Secondary Master and
>  Slaves.

This isn't a proof: most hardware RAID are proprietary software 
solutions pretending to be hardware. Linux without the driver can't see 
the logical volume and shows all the physical drives.

You should do some research about that server hardware... Aren't snap 
equipped with PERC controller?.

> > Another thing can come very useful: we once had a similar problem,
> > we ended up borrowing one identical disc from another running
> > server to put the array back online, we recovered our data, then
> > restored the other server's array.
> 
> That's a possibility given what I can find on Google, however these
>  are few and far between, so I'd have to find someone willing to send
>  their drive to me (or vice versa) or send me the OS, which
>  overlandstorage doesn't like!

What happens if you physically remove the drive marked as bad?

You may image it for backup, then format it at low level, then put it 
back in place as if it was brand new. Or add a similar disk to be 
considered spare by the controller (given that it is looking for a spare 
disk in first instance).

Most controller have automated procedures to manage failures, disk swaps 
and so on.

For this reason you can't be sure that the inspection operations you are 
doing are read only. Unless the drives are attached to another machine 
with a trusted OS doing nothing on its own.

The ideas given above may let you to waste all of your data, be very 
careful and patient.

Good luck.
Francesco

-- 
Linux Version 2.6.32-gentoo-r5, Compiled #2 SMP PREEMPT Wed Feb 17 
20:30:02 CET 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: recovering RAID from an old server

2010-02-20 Thread Francesco Talamona
> Should I be able to mount them automatically and let the SW RAID
>  module sort it out or do I have to know how they're tied together
>  beforehand?

> md: looking for a shared spare drive
> md100: no spare disk to reconstruct array! -- continuing in degraded
> mode
> md: recovery thread finished ...
> md: hde5 [events: 03a5]<6>(write) hde5's sb offset: 273024
> md: hdg5 [events: 03a5]<6>(write) hdg5's sb offset: 273024
> XFS mounting filesystem md(9,100)
> Ending clean XFS mount for filesystem: md(9,100)
> 
> The partitions look like:
> 9   100 546112 md100
>9   101 273024 md101

It seems it has correctly mounted its partition... Can't you find it?

I have the feeling that you are messing it up. If I understand it 
correctly the server has an hardware RAID controller, that has to be 
managed via its drivers.

Software RAID tools aren't suitable to mount correctly this setup, I 
would mount random partition for testing purposes only, on a spare 
machine.

The wiser thing to do is find an old livecd supporting PERC SAS (or 
whatever raid card is in that Snap) RAID cards and assemble the array in 
degraded mode for data recovery.

Another thing can come very useful: we once had a similar problem, we 
ended up borrowing one identical disc from another running server to put 
the array back online, we recovered our data, then restored the other 
server's array.

HTH
Francesco

-- 
Linux Version 2.6.32-gentoo-r5, Compiled #2 SMP PREEMPT Wed Feb 17 
20:30:02 CET 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: kde 4.3 + compiz = no window border

2010-01-09 Thread Francesco Talamona
On Wednesday 06 January 2010, Alan McKinnon wrote:
> On Wednesday 06 January 2010 12:35:36 Francesco Talamona wrote:
> > On Wednesday 06 January 2010, Xi Shen wrote:
> > > hi,
> > >
> > > when i replace the kde windows manager with compiz, all windows
> > > lost their window border, and i cannot move the window. how can i
> > > fix this?
> >
> > Maybe kwin crashed. what happens if you open a terminal and launch
> > kwin?
> 
> That makes no sense. He's using compiz, kwin cannot run together with
>  compiz
> 

My bad... This is what I used when I was trying to use compiz and 
crashed, leaving me without WM.

Ciao
  Francesco

-- 
Linux Version 2.6.32-gentoo-r1, Compiled #1 SMP PREEMPT Thu Dec 31 
19:05:16 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Services order/hierarchy

2010-01-06 Thread Francesco Talamona
Is it there a tool or command in gentoo to see "a la emerge --tree" the 
inter-dependencies and boot order of services?

I know about cinit [1] but I never used it, because I'm looking for a 
way to see at a glance without rebooting. Imagine a tool for confronting 
two different servers without downtime.

TIA
Francesco

[1] http://www.nico.schottelius.org/software/cinit/

-- 
Linux Version 2.6.32-gentoo-r1, Compiled #1 SMP PREEMPT Thu Dec 31 
19:05:16 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.90 Bogomips Total
aemaeth



[gentoo-user] Re: kde 4.3 + compiz = no window border

2010-01-06 Thread Francesco Talamona
On Wednesday 06 January 2010, Xi Shen wrote:
> hi,
> 
> when i replace the kde windows manager with compiz, all windows lost
> their window border, and i cannot move the window. how can i fix
>  this?

Maybe kwin crashed. what happens if you open a terminal and launch kwin?

Ciao
  Francesco

-- 
Linux Version 2.6.32-gentoo-r1, Compiled #1 SMP PREEMPT Thu Dec 31 
19:05:16 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.90 Bogomips Total
aemaeth



[gentoo-user] Re: strange dmesg output

2009-10-25 Thread Francesco Talamona
On Monday 26 October 2009, Maxim Wexler wrote:
> Did I leave something out of the kernel? I can't think what.
> 
Maybe you pulled in too much :-)

It could be some debug flag switched on in the USB storage subsystem.

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo-r3, Compiled #1 SMP PREEMPT Thu Oct 15 
07:09:01 CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Uninstalled programs history

2009-10-21 Thread Francesco Talamona
On Wednesday 21 October 2009, Frank Steinmetzger wrote:
> Am Mittwoch, 21. Oktober 2009 schrieb Francesco Talamona:
> > I use very often genlop to see the history of emerged packages, but
> > sometimes I need to know which packages were uninstalled and when.
> >
> > Is it there a reliable and simple way to know this kind of
> > information?
> 
> genlop -u
> 

Of course! I googled before posting, but genlop manpage didn't occurred 
to me, too obvious!

To be exact to see which packages were unmerged for example in the last 
two days:

genlop -ul --date 2 days ago

Thanks for your reply... I could have searched for ages ;-)

Ciao
Francesco
-- 
Linux Version 2.6.31-gentoo-r3, Compiled #1 SMP PREEMPT Thu Oct 15 
07:09:01 CEST 2009
Two 2.2GHz AMD Athlon 64 Processors, 4GB RAM, 8844.86 Bogomips Total
aemaeth



[gentoo-user] Uninstalled programs history

2009-10-21 Thread Francesco Talamona
I use very often genlop to see the history of emerged packages, but 
sometimes I need to know which packages were uninstalled and when.

Is it there a reliable and simple way to know this kind of information?

Anyone before felt the need to fulfil this curiosity?

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo-r3, Compiled #1 SMP PREEMPT Thu Oct 15 
07:09:01 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: @preserved-rebuild

2009-09-27 Thread Francesco Talamona
On Sunday 27 September 2009, James wrote:
> Neil Bothwick  digimed.co.uk> writes:
> >>>  Portage deletes these
> >>>
> > > > after emerge @preserved-rebuild has successfully re-emerged
> > > > packages depending on it.
> > >
> > > OK, so now I just have to root it out manually.?
> >
> > qfile -o $(find /lib* /usr/lib*)
>
> qfile -o $(find /lib* /usr/lib*)
>
> bash: /usr/bin/qfile: Argument list too long
>
>
> Now what? I look at the man page for qfile and tried
> all the -m option, but still get the same error?
>
>
> ideas?
>
>
> James

for i in $(find /lib* /usr/lib*) ; do qfile -o $i ; done

Ciao
  Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Anyone use squid?

2009-09-27 Thread Francesco Talamona
On Sunday 27 September 2009, Stroller wrote:
> The dansguardian website states that it does not include blacklists
>  and instead links to
> . That has a category for
> dating, and can surely be referenced directly by Squid, without
> recourse to dansguardian.

I didn't know, it's interesting. Thanks for bringing it to my attention.

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



[gentoo-user] Re: Anyone use squid?

2009-09-27 Thread Francesco Talamona
On Sunday 27 September 2009, David Juhl wrote:
> I want to block as many dating sites as possible, but I am having to
> luck.  The url_regex can't catch a lot.  Either I need to find a
> regular expression in the url or find something that will look at the
> sites web page...  Not all urls use date in their url...
>
> thanks and bye
>
> David

You need danguardian, a web content filter squid is aware of.

net-proxy/dansguardian

ciao
Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



[gentoo-user] Re: Jinja2 & sphinx deadly embrace

2009-09-26 Thread Francesco Talamona
On Saturday 26 September 2009, alain.didierj...@free.fr wrote:
> Any attempt of updating my system is locked by this problem:
>
> [ebuild  N]dev-python/jinja2-2.1.1  USE="doc examples
> -i18n -test" [ebuild  N] dev-python/sphinx-0.6.1-r1 
> USE="doc -test"
>
>  * Error: circular dependencies:
>
> ('ebuild', '/', 'dev-python/sphinx-0.6.1-r1', 'merge') depends on
>   ('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') (buildtime)
> ('ebuild', '/', 'dev-python/jinja2-2.1.1', 'merge') depends on
>   ('ebuild', '/', 'dev-python/sphinx-0.6.1-r1', 'merge') (buildtime)
>
>  * Note that circular dependencies can often be avoided by
> temporarily * disabling USE flags that trigger optional dependencies.
>
> How to get rid of it ? a workaround ? bug report ? Please help
>
> ~adj~

http://bugs.gentoo.org/268805

unset doc use flag in /etc/portage/package.use for jinja2.

Ciao
FT

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.86 Bogomips Total
aemaeth



[gentoo-user] Re: How to hotplug IDE hard drive?

2009-09-26 Thread Francesco Talamona
On Saturday 26 September 2009, KostyaSha wrote:
> How to hotplug IDE hard drive?
>  I connect the cable, turning on power and then kernel must rescan
> IDE cable. How tell kernel to rescan ?

No hot-plug with IDE, it simply isn't supported. Maybe you need 
/usr/sbin/partprobe (from parted)

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 1.8GHz AMD Athlon 64 Processors, 4GB RAM, 7236.56 Bogomips Total
aemaeth



[gentoo-user] Re: Why so many duplicate entries in K menu?

2009-08-27 Thread Francesco Talamona
On Wednesday 26 August 2009, Dirk Heinrichs wrote:
> Am Mittwoch 26 August 2009 20:21:27 schrieb Nikos Chantziaras:
> > On 08/26/2009 09:04 PM, Dirk Heinrichs wrote:
> > > Hi all,
> > >
> > > the subject says it all: I've got multiple multiple duplicate
> > > entries in KDE's (4.3.0) K menu. Any idea how to get rid of them?
> > > Google doesn't give a definitive answer :(
> >
> > Looks like you have KDE3 installed too?
>
> Nope. It's gone since a long time now.
>
> Bye...
>
>   Dirk

I'd check for a .kde3.5 leftover folder in user home.

Ciao
Francesco

-- 
Linux Version 2.6.30-gentoo-r5, Compiled #1 SMP PREEMPT Sat Aug 15 
09:51:20 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.06 Bogomips Total
aemaeth




[gentoo-user] Re: Decreasing volume of an mp3 audio

2009-08-24 Thread Francesco Talamona
On Monday 24 August 2009, Volker Armin Hemmann wrote:
> On Montag 24 August 2009, meino.cra...@gmx.de wrote:
> > Hi,
> >
> >  is there an application, which is able to physically decrease
> >  the volume level of an mp3 with as less as possible loss of
> >  sound quality.
> >  (Background: I am merging video parts done with my webcam
> >  with sound trailers. Volume of the webcam's mics and
> >  the volume of the mp3 should be not too different.)
> >
> >  Thank you very much for any help in advance !
> >  Best regards
> >  ]|[cc
>
> maybe this is the thing you are looking for:
>
>
> * media-sound/normalize
>  Available versions:  0.7.7 {audiofile mad nls userland_BSD}
>  Homepage:http://normalize.nongnu.org/
>  Description: Audio file volume normalizer
>
> ?

Also media-sound/mp3gain does the trick

Ciao
Francesco

-- 
Linux Version 2.6.30-gentoo-r5, Compiled #1 SMP PREEMPT Sat Aug 15 
09:51:20 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.06 Bogomips Total
aemaeth




[gentoo-user] Re: [off-topic] diary/blog desktop software advice

2009-06-23 Thread Francesco Talamona
On Tuesday 23 June 2009, Mike Kazantsev wrote:
> On Tue, 23 Jun 2009 08:18:25 +0200
>
> Francesco Talamona  wrote:
> > I am looking for a software to keep a paperless diary, but I seem I
> > can't find anything valid, at first I tried app-office/qchartdiary,
> > it doesn't run, then I found www-apps/nanoblogger and
> > www-apps/polarblog, but are both in the "needloving" [1], don't
> > know if it worth trying.
> >
> > I need something simple, easy, with the ability to attach emails
> > and other external files, it also has to be private and never
> > intended to be hosted, neither in my local apache.
>
> You can try bournal for "simple" and "easy". It's bash, CLI and
> features encryption, although it doesn't seem to be intended for
> anything but pure text.
>
> http://frankpena.googlepages.com/bournal.html

"Bournal has no internet capablities, so if you're looking for a 
blogging app, boy did you click the wrong link. "

Wow, it seems what I was looking for! Not sure about attaching ability, 
but I'll check shortly.

People please keep posting tips, I'm willing to test more than one 
program.

Thanks Mike!
Francesco

-- 
Linux Version 2.6.30-gentoo-r1, Compiled #3 SMP PREEMPT Sun Jun 14 
07:17:24 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.62 Bogomips Total
aemaeth



[gentoo-user] [off-topic] diary/blog desktop software advice

2009-06-22 Thread Francesco Talamona
I am looking for a software to keep a paperless diary, but I seem I 
can't find anything valid, at first I tried app-office/qchartdiary, it 
doesn't run, then I found www-apps/nanoblogger and www-apps/polarblog, 
but are both in the "needloving" [1], don't know if it worth trying.

I need something simple, easy, with the ability to attach emails and 
other external files, it also has to be private and never intended to 
be hosted, neither in my local apache.

Maybe I'm looking in the wrong direction... Any advices?
Thanks in advance
F. Talamona

[1] http://gpnl.larrythecow.org/search.php?q=www-apps&t=1

-- 
Linux Version 2.6.30-gentoo-r1, Compiled #3 SMP PREEMPT Sun Jun 14 
07:17:24 CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11654 Bogomips Total
aemaeth



[gentoo-user] Re: Considering launching into Gentoo

2009-06-13 Thread Francesco Talamona
On Saturday 13 June 2009, AG wrote:
> Hello list
>
> I am currently running Debian Squeeze and am considering the
> feasibility of switching to Gentoo due to several issues I am
> experiencing with a new machine with a SATA HDD and a TSSTcorp CDDVDW
> TS-H653Z which refuses to play audio CDs and pre-recorded DVDs.
>
> In any event, because I have loads of data on my /home partition, I'm
> curious about a few things, primarily what are the implications of
> dual-booting with Gentoo as my second OS, so that I can experience
> Gentoo without losing my data, etc.
>
> How compatible are Gentoo and Debian in terms of using a shared /home
> directory - I am concerned about uid for the directory for instance
> which, if I changed it for Gentoo, may not work for Debian and vice
> versa.
>
> Any thoughts/ suggestions?
>
> Many thanks
>
> AG

I had for a while a dual boot Gentoo-Debian. It is nothing to worry 
about.

The only two things I remember (it was mid 2005) are:

1) kmail repository is in a different subdir (~/.mail vs ~/Mail)
2) Openoffice folder had different naming as well

Those are not issues that are worked around with a couple of symlinks.

WRT UID/GID just make sure in advance the two OS uses the same.

Don't forget to make backup before starting your tests ;-)

Ciao
Francesco


-- 
Linux Version 2.6.30-gentoo, Compiled #1 SMP PREEMPT Thu Jun 11 18:44:20 
CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.72 Bogomips Total
aemaeth



[gentoo-user] Re: how to recover a portage that wasn't in use for very long time

2009-05-10 Thread Francesco Talamona
On Sunday 10 May 2009, Alan McKinnon wrote:
> Once you sort that out, there's a whole host of other stuff to fix as
> well - expat, latest xorg and many more - all stuff that everyone
> else fixed a while ago and since forgot.

Yes, beware of mktemp/coreutils too.
I don't remember of other dangers, maybe pam...

Ciao
Francesco

-- 
Linux Version 2.6.29-gentoo-r3, Compiled #2 SMP PREEMPT Sat May 9 
18:15:29 CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11653 Bogomips Total
aemaeth



Re: /boot or not /boot (was Re: [gentoo-user] can't stop the panic on eeepc)

2009-05-09 Thread Francesco Talamona
On Saturday 09 May 2009, Dale wrote:
> I was talking about with just a plain file system.  I read in a
> install guide somewhere when I was installing ages ago that having
> /boot on a separate partition, and not always mounted, was a good
> security practice.  That way no one could alter the kernel since it
> was not mounted.
>
> I do agree that if a person was on the system and able to get root
> access, they could them mount the /boot partition as well.  I never
> was really sure why this was thought to work.  I used a separate
> /boot because for a while I was dual booting Mandrake and Gentoo.
>  Old habit now I guess.

It's a suggestion for security against user errors; I'm pretty sure it 
was there long before genkernel came out, when there 
wasn't "automation" in kernel building.

Furthermore you can use a non journalled filesystem for /boot.

Ciao
Francesco

-- 
Linux Version 2.6.29-gentoo-r3, Compiled #2 SMP PREEMPT Sat May 9 
18:15:29 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.42 Bogomips Total
aemaeth



[gentoo-user] Re: X-forwarding fails with "Invalid MIT-MAGIC-COOKIE-1 key"

2009-05-01 Thread Francesco Talamona
On Friday 01 May 2009, Grant wrote:
> $ ssh -Y 192.168.10.1
> The authenticity of host '192.168.10.1 (192.168.10.1)' can't be
> established. RSA key fingerprint is.
> Are you sure you want to continue connecting (yes/no)? yes
> Failed to add the host to the list of known hosts
> (/home/grant/.ssh/known_hosts).

I think the problem is here: too strict permissions in ~/.ssh preventing 
ssh to update known_hosts list, needed to continue connection. it 
should be 700 for the .ssh directory and 600 for the file known_hosts.

What is the output of: ls -l .ssh -d ? And ls -l .ssh ?
Is 192.168.10.1 in your known_hosts? 
With the right RSA key?

Ciao
Francesco


-- 
Linux Version 2.6.29-gentoo-r2, Compiled #7 SMP PREEMPT Thu Apr 30 
19:25:11 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.40 Bogomips Total
aemaeth



[gentoo-user] Re: conflict in update

2009-04-27 Thread Francesco Talamona
On Sunday 26 April 2009, Mark Knecht wrote:
> On Sun, Apr 26, 2009 at 10:39 AM, Dale  wrote:
> > Alan McKinnon wrote:
> >> It should be easy enough to write a program that examines world
> >> and displays all packages it finds that are dependencies of
> >> something else in world, but I haven't found one, and prefer the
> >> manual approach above.
> >
> > I know you can use eix-test-obsolete to find outdated/unneeded
> > thing in /etc/portage but I wish it would also do something
> > similiar for the world file.  I just wonder if the person that
> > wrote eix and friends could add that in as a feature?  It would be
> > neat.  eix works really well for what it does.
> >
> > Is their anyone we could sort of poke to work on this?
> >
> > Dale
>
> My experience with the world file is I'll first make a copy and then
> start deleting individual lines I think aren't required. If I'm right
> then emerge -p --depclean won't try to take anything off the system.
> If I'm wrong then I add the line back in.
>
> I'm blank right now as to whether you can just comment out a line in
> the world file. Maybe that works also.
>
> Anyway, my definition of a minimal world file is I have all the
> software I want and need, the fewest lines in the world file, and
> --depclean/revdep-rebuild are happy.
>
> - Mark

Have you ever tried regenworld? It sounds less time consuming.

Ciao
Francesco

-- 
Linux Version 2.6.29-gentoo-r1, Compiled #3 SMP PREEMPT Sun Apr 12 
09:01:02 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.44 Bogomips Total
aemaeth



[gentoo-user] Re: What annoys you?

2009-04-06 Thread Francesco Talamona
On Friday 03 April 2009, Wyatt Epp wrote:
> Greets,
>
> So while gearing up for the Summer of Code, I noted a lot of things
> that I had come to accept as normal that I feel should not be so. 
> Things like the danger of depclean or the way portage will only show
> one mask at a time.  So I was curious...what have people that are
> *not* myself and my mate noticed that is mildly irritating and
> disruptive to the Gentoo experience?
>
> Cheers,
> Wyatt

aemaeth portage # emerge -a1 app-editors/joe-3.5

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

Calculating dependenciest,   

!!! 'app-editors/joe-3.5' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix 
with '='?)  

... 
done!
aemaeth portage # emerge -C app-editors/joe-3.5

 app-editors/joe
selected: 3.5 
   protected: none 
 omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging app-editors/joe-3.5...

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

Why in some circumstances emerge is perfectly able to spot user omission 
and fill-in it automatically, while with other options it just 
complains?

The inability to add missing "=" and the inconsistence annoy me. IMHO 
emerge should be able to add the equal sign when it makes perfect sense 
as it already does sometimes.

Ciao
Francesco

-- 
Linux Version 2.6.29-gentoo, Compiled #1 SMP PREEMPT Thu Mar 26 20:25:16 
CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.42 Bogomips Total
aemaeth



[gentoo-user] Re: extending /usr partition...

2009-03-22 Thread Francesco Talamona
On Sunday 22 March 2009, Albert Hopkins wrote:
> [...]
>
> > The point is that LVM adds an extra layer of complexity.
> >
> > I used LVM paired with soft RAID, and when I needed to boot from a
> > liveCD I discovered that I had to rebuild the setup by hand.
>
> You mean the 1 extra command that's needed to assemble a VG?

It wasn't that easy, that's what I did in the end:
1) vgchange -a n
2) vgexport -a
3) vgimport -a
4) vgscan --mknodes
5) vgchange -a y

Maybe 4) and 5) alone would do the trick... I don't remember which 
livecd I used then, except for the fact that I had to reboot 
with "dolvm2" option; now I have a tested "first aid kit" with notes on 
paper (all my notes were on those discs at the time) with well known 
and proven liveCDs.

When I have to resize/redesign my partitions I simply find easier rsync 
plus a reboot.
I rsync the live system while I use it, than reboot to a liveCD to rsync 
the file changed meanwhile (to minimize downtime). So I shortly tossed 
LVM and since I live happily without. 

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo-r3, Compiled #1 SMP PREEMPT Sun Mar 8 
12:38:59 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: [OT] splitting and printing big image

2009-03-22 Thread Francesco Talamona
On Sunday 22 March 2009, Andrew Gaydenko wrote:
> Hi!
>
> I have a PDF document. One of documet's page is a (scalable)
> schematics. Printing the page via my A4 Kyocera isn't suitable - I
> can see a schematics with a lens only :-) Is there a way to split the
> page (into 2 or 4 parts) and ptint parts separately (saving a scale,
> of course)?

Maybe you can convert the page with pdftk to an imagem and then "gimp" 
it.

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo-r3, Compiled #1 SMP PREEMPT Sun Mar 8 
12:38:59 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: Time to move on?

2009-03-22 Thread Francesco Talamona
On Sunday 22 March 2009, Mike Diehl wrote:
> Now I'm doing an emerge -u world.
>
> But before I could do that, I had to upgrade portage, with made
> sense.
>
> When I go to emerge -u portage, I'm told:
>
> sys-apps/mktemp (is blocking sys-apps/coreutils-7.1)
>
> So I do:
> emerge -C mktemp
>
> Now I've gotten a whole page of error messages.  The most basic of
> error messages indicates that the system can't load libselinux.so.1.
>
> I'm not using SElinux  Nor do I want to.

I've read the other threads; are you still interested in finding the 
solution to this showstopper ? 

My guess is that the system was already unstable, maybe awaiting for a 
revdep-rebuild. Are you completely blocked or it's possible to fix at 
last the basic elements?

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo-r3, Compiled #1 SMP PREEMPT Sun Mar 8 
12:38:59 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: extending /usr partition...

2009-03-21 Thread Francesco Talamona
On Saturday 21 March 2009, Alan McKinnon wrote:
> It's correct, and it also highlights just what a PITA it is to
> manipulate traditional disk partitions. With lvm, this becomes a
> breeze. With ZFS (we might see it one day) this becomes invisible.

I thought it was already there:
sys-fs/zfs-fuse

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo-r3, Compiled #1 SMP PREEMPT Sun Mar 8 
12:38:59 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: extending /usr partition...

2009-03-21 Thread Francesco Talamona
On Sunday 22 March 2009, Albert Hopkins wrote:
> On Sat, 2009-03-21 at 14:13 -0700, BRM wrote:
> > With all the words of LVM2 going on, I feel it is only appropriate
> > to also mention the risk.
> >
> > On a desktop I had installed LVM2 considering that I did need to
> > upgrade partitions every now and then and my previous solution was
> > add another drive/partition and cross mount - e.g. like done with
> > /usr/local under /usr, which worked fairly well. LVM2 worked great
> > - until one of the drives crashed and I was trying to figure out
> > what was on it. From that pov, volume management is a pain. I did
> > figure out what I had mounted to it - but only after deconstructing
> > the LVM configuration file to match it up with what I had put
> > there. (And no, I had not yet gotten to doing an LVM soft-RAID
> > solution to map a single LVM partition to two drives, which would
> > certainly have helped.)  I got my system working by adding a new
> > drive that was not part of the volume group, and removing the old
> > drives from the volume group. Fortunately, I had my volume setup so
> > that they one partition was not made up of non-overlaping
> > partitions on different drives. (e.g. partition A  = sda1 + sda2
> > instead of sda1 + sdb1.)
> >
> > So, unless you are looking to use LVM in a soft-RAID solution
> > between multiple physical drives, not multiple partitions on the
> > same drive, (e.g. partition A = sda1 + sda2, with mirror on
> > sdb1+sdb2), then I would not suggest it as should anything happen,
> > it'll make data recovery that much harder.
> >
> > Just 2 cents for the pot.
>
> With or without LVM if you lose a drive then you've lost the data on
> it. LVM does have the capability of assembling a partially damaged
> volume group just not a partially damaged logical volume which, when
> you think about it, makes sense.
>
> And you can also throw in the standard warning about backing up your
> data.

The point is that LVM adds an extra layer of complexity.

I used LVM paired with soft RAID, and when I needed to boot from a 
liveCD I discovered that I had to rebuild the setup by hand.

When you're in trouble it is pristine to have a quick way out instead of 
being "swamped". I had my notes and managed to reckon the configuration 
(cold sweating!), but at the first occasion I reverted my system to 
plain RAID.

Never used LVM for the few Gentoo server I manage.

That said backup+RAID is the way to go.

Cheers
Francesco

-- 
Linux Version 2.6.28-gentoo-r3, Compiled #1 SMP PREEMPT Sun Mar 8 
12:38:59 CET 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: {OT} xfce4 network management?

2009-02-10 Thread Francesco Talamona
On Sunday 08 February 2009, Francesco Talamona wrote:
> On Sunday 08 February 2009, Grant wrote:
> > Why choose wicd over NetworkManager?
>
> Hi guys I'm back with a differend mail address, hope someone missed
> me :-)
>
> I tested both, but NM keeps shutting down wired NIC randomly,
> sometimes is eth0, other times is eth1.
>
> eth0 and ath0 are connected to the same access point, so it is sane
> to inhibite eth0, but I have hundred services relying on eth1 (fixed
> IP, internal network), half my system go upside down when eth1 lose
> its address. I don't want NM to touch this interface, even it is
> unplugged.
>
> Is it there a way to fix this?
>
> With wicd is trivial to pair eth0 and ath0, but it runs wireless for
> a few minutes, then it switches back to wired.
>
> So I'm going to try wpa_gui...
>
> Cheers
>   Francesco

An the winner is...

wicd.

The uptime was quite regular, so it came to my mind the DHCP client 
demon.

It was the DHCP indeed, instead of automatic (that picks up dhclient) I 
switched to dhcpcd and now works like a charm

Ciao
Francesco

-- 
Linux Version 2.6.28-gentoo, Compiled #2 SMP PREEMPT Fri Dec 26 08:55:48 
CET 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.02 Bogomips Total
aemaeth



[gentoo-user] Re: media-video/gspcav1 or kernel module?

2009-02-08 Thread Francesco Talamona
On Sunday 08 February 2009, Iain Buchanan wrote:
[...]
> I recently upgraded from 2.6.26 to 2.6.28.  My el-cheapo webcam
> (lsusb: 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam) used the
> media-video/gspcav1 driver, but that no longer compiles:
>
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c:54:27: error: asm/semaphore.h: No such file or directory
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c: In function 'spca5xx_ioctl':
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c:2463: error: implicit declaration of function
> 'video_usercopy'
>
> etc.
>
> I discovered a number of gspca modules in the kernel:
>
> gspca_spca508
> gspca_spca506
> gspca_spca505
> gspca_spca500
> gspca_spca501
> gspca_spca561
[...]

If you boot 2.6.26 it should be easier to spot the right module. Anyway 
I encountered the same problem with my gspca561, IIRC there's a problem 
with 2.6.28 kernel.

Waiting for a kernel upgrade I lent my webcam to a vista user...

HTH. Ciao
Francesco


-- 
Linux Version 2.6.28-gentoo, Compiled #2 SMP PREEMPT Fri Dec 26 08:55:48 
CET 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth




[gentoo-user] Re: {OT} xfce4 network management?

2009-02-08 Thread Francesco Talamona
On Sunday 08 February 2009, Grant wrote:
> Why choose wicd over NetworkManager?

Hi guys I'm back with a differend mail address, hope someone missed 
me :-)

I tested both, but NM keeps shutting down wired NIC randomly, sometimes 
is eth0, other times is eth1.

eth0 and ath0 are connected to the same access point, so it is sane to 
inhibite eth0, but I have hundred services relying on eth1 (fixed IP, 
internal network), half my system go upside down when eth1 lose its 
address. I don't want NM to touch this interface, even it is unplugged.

Is it there a way to fix this?

With wicd is trivial to pair eth0 and ath0, but it runs wireless for a 
few minutes, then it switches back to wired.

So I'm going to try wpa_gui...

Cheers
Francesco

-- 
Linux Version 2.6.28-gentoo, Compiled #2 SMP PREEMPT Fri Dec 26 08:55:48 
CET 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth



[gentoo-user] Re: lsof-4.81 working for anybody?

2008-10-26 Thread Francesco Talamona
On Sunday 26 October 2008, Holger Hoffstaette wrote:
> I just tried the latest lsof-4.81 in ~x86 an dit doesn't seem to do
> anything - no output, it just silently returns. 4.80-r1 works just
> fine and always has. Does anybody else see this behaviour?
> Just making sure it's not something on my end before I hassle b.g.o.
>
> thanks
> Holger

Same silent behaviour on my amd64. Let me downgrade now...

Ciao
Francesco

-- 
Linux Version 2.6.27-gentoo, Compiled #1 SMP PREEMPT Tue Oct 14 20:02:27 
CEST 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.44 Bogomips Total
aemaeth



[gentoo-user] Re: A huge list

2008-09-27 Thread Francesco Talamona
On Saturday 27 September 2008, econti wrote:
> Francesco Talamona ha scritto:
> > On Saturday 27 September 2008, econti wrote:
> >> Hi all,
> >> running revdep-rebuild I see a very long list of broken linking
> >> (see the attached gzipped file of the revdep-rebuild output).
> >> At the end revdep-rebuild emerge orbit and libbonobo.
> >> After that I ran revdep-rebuild again: same long list and same
> >> packages to emerge.
> >> That for three times (then I stopped).
> >> What can I do to eliminate that long list and to avoid to emerge
> >> every time orbit and libbonobo?
> >>
> >> Ragards
> >> emilio
> >
> > It seems like you unmerged needed packages, for example imagemagick
> > and x11-libs/gtk+.
>
> Both imagemagick (6.4.0.6) and gtk+ (2.12.11) are installed.
>
> > Please post the output of:
> >
> > emerge -uavD --newuse --with- bdeps y world
>
> The output is: nothing!
>
> > Ciao
> > Francesco
>
> Ciao
> emilio

aemaeth ~ # equery belongs libdb.so.2 libgdk-1.2.so.0 libglib-1.2.so.0 
libgmodule-1.2.so.0 libgtk-1.2.so.0
[ Searching for file(s) 
libdb.so.2,libgdk-1.2.so.0,libglib-1.2.so.0,libgmodule-1.2.so.0,libgtk-1.2.so.0 
in *... ]
x11-libs/gtk+-1.2.10-r12 (/usr/lib64/libgdk-1.2.so.0 -> 
libgdk-1.2.so.0.9.1)
x11-libs/gtk+-1.2.10-r12 (/usr/lib64/libgtk-1.2.so.0 -> 
libgtk-1.2.so.0.9.1)
app-emulation/emul-linux-x86-baselibs-20080316 
(/usr/lib32/libgmodule-1.2.so.0 -> libgmodule-1.2.so.0.0.10)
app-emulation/emul-linux-x86-baselibs-20080316 
(/usr/lib32/libglib-1.2.so.0 -> libglib-1.2.so.0.0.10)
app-emulation/emul-linux-x86-gtklibs-20071214 
(/usr/lib32/libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1)
app-emulation/emul-linux-x86-gtklibs-20071214 
(/usr/lib32/libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1)
dev-libs/glib-1.2.10-r5 (/usr/lib64/libgmodule-1.2.so.0 -> 
libgmodule-1.2.so.0.0.10)
dev-libs/glib-1.2.10-r5 (/usr/lib64/libglib-1.2.so.0 -> 
libglib-1.2.so.0.0.10)

What about reinstalling gtk+, glib, emul-linux-x86-baselibs and 
emul-linux-x86-gtklibs, than rerun revdep-rebuild?
The huge list should be shorter, then.

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo-r1, Compiled #8 SMP PREEMPT Sat Sep 27 
09:54:30 CEST 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4020.86 Bogomips Total
aemaeth



[gentoo-user] Re: A huge list

2008-09-27 Thread Francesco Talamona
On Saturday 27 September 2008, econti wrote:
> Hi all,
> running revdep-rebuild I see a very long list of broken linking (see
> the attached gzipped file of the revdep-rebuild output).
> At the end revdep-rebuild emerge orbit and libbonobo.
> After that I ran revdep-rebuild again: same long list and same
> packages to emerge.
> That for three times (then I stopped).
> What can I do to eliminate that long list and to avoid to emerge
> every time orbit and libbonobo?
>
> Ragards
> emilio

It seems like you unmerged needed packages, for example imagemagick and 
x11-libs/gtk+.

Please post the output of:

emerge -uavD --newuse --with- bdeps y world

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo-r1, Compiled #8 SMP PREEMPT Sat Sep 27 
09:54:30 CEST 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4020.86 Bogomips Total
aemaeth



[gentoo-user] Re: problem with a slow rsync server

2008-09-12 Thread Francesco Talamona
On Thursday 11 September 2008, Alan McKinnon wrote:
> 180 seconds is 5 minutes

???

60*3 = 180

5 minutes are 300 seconds

 :-)

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo-r1, Compiled #2 PREEMPT Fri Aug 15 09:40:53 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.87 Bogomips Total
aemaeth



[gentoo-user] test

2008-08-18 Thread Francesco Talamona
test



[gentoo-user] Re: Cleaning out my world file

2008-08-17 Thread Francesco Talamona
On Sunday 17 August 2008, Albert Hopkins wrote:
> On Sun, 2008-08-17 at 08:00 +0200, Francesco Talamona wrote:
> > It doesn't handle filenames with spaces, I tried with
> >
> > find /etc -xdev -type f -exec qfile -o {} \;
> >
> > that works with spaces, but has awful performances, so that's
> > completely
> > unusable on /usr.
> >
> > BTW I also tried to remove false positive hiding /usr/portage and
> > the overlays folder .
> >
> > Does anyone know how to deal with spaces (to avoid false positives)
> > and
> > keep reasonable running times?
>
> Change "-print" to "-print0" and change "xargs" to "xargs -0".
>
> I should also say that that script is not fool-proof.  It goes under
> the assumption that files are always going to be installed by the
> ebuild src_install process.  Experience shows this is not always the
> case.  For example the *.pyc files, some, /etc/*, font-cache files,
> etc. are installed during post-install and so are not "recorded" by
> portage as belonging to a package.  Common sense always prevails.  Of
> course a person cleaning out an /etc/ dir that you hasn't been
> cleaned out in five years is going to require considerably more
> "common sense" than one who cleaned theirs out last month.
>
> I've also modified the script to exclude /usr/portage and /usr/local
> (they were on separate filesystems for me so I didn't need to).  You
> may need to tweak it further for your needs.
>
> -a

It works very well. It's perfect for the purpose.
I already found many leftover here and there.

As you say the script gives clues, but obviously it can't be automated.

Thanks
FT  

-- 
Linux Version 2.6.26-gentoo, Compiled #2 PREEMPT Sat Aug 9 20:21:11 CEST 
2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.04 Bogomips Total
aemaeth



[gentoo-user] Re: Cleaning out my world file

2008-08-16 Thread Francesco Talamona
On Friday 15 August 2008, Albert Hopkins wrote:
> On Fri, 2008-08-15 at 08:38 -0500, Dale wrote:
> > Alan McKinnon wrote:
> > > On Friday 15 August 2008 14:36:58 Dale wrote:
> > >> Somewhat still on the same subject since I am still cleaning. 
> > >> Anyway to clean out unneeded files in /etc?  I'm thinking about
> > >> files that may be there but the programs are no longer
> > >> installed.  I read the man page for dep but didn't see anything.
> > >>  Dang thing does a lot tho.
> > >
> > > You could use the very long way round, something based on this:
> > >
> > > find /etc/ -type f -exec equery belongs {} \;
> > >
> > > then leave it alone for an hour or three
> >
> > H, I had to stop that after a few minutes.  It sort of took
> > away from my folding.  Pushed my CPU to about 80% or so.
> >
> > There has to be a tool for this too.  Gentoo has about everything
> > else.
>
> I do a similar thing every month as a cron job.  It' runs at night so
> I just get an email the next day.
>
> --
> #!/bin/bash
>
> # Print out orphan files in specified directories
>
> find /etc -xdev -type f -print|xargs qfile -o
> find /usr -xdev \( -path /usr/src -prune \) -o -type f -not -name
> '*.pyc' \
> -not -name '*.pyo' -not -name .keep  -print | \
> xargs qfile -o
> find /lib -xdev \( -path /lib/modules -prune \) -o -type f |xargs
> qfile -o

It doesn't handle filenames with spaces, I tried with 

find /etc -xdev -type f -exec qfile -o {} \;

that works with spaces, but has awful performances, so that's completely 
unusable on /usr.

BTW I also tried to remove false positive hiding /usr/portage and the 
overlays folder .

Does anyone know how to deal with spaces (to avoid false positives) and 
keep reasonable running times?

TIA
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #2 PREEMPT Sat Aug 9 20:21:11 CEST 
2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.04 Bogomips Total
aemaeth



[gentoo-user] Re: df and du difference

2008-08-16 Thread Francesco Talamona
On Saturday 16 August 2008, Dale wrote:
> Sebastian may have more and better ideas but if a reboot gave you
> some space back, then you should check the tmp directories that are
> usually cleared when rebooting.  I notice that in your list /tmp
> takes up 3.8Gb which is a good bit. May want to see what is in there.
>
> Just my thoughts.

Absolutely right! Double check what's stuffing /tmp. You also could try 
to mount /tmp on a larger partition (like /usr and /var).

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #2 PREEMPT Sat Aug 9 20:21:11 CEST 
2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.04 Bogomips Total
aemaeth



[gentoo-user] Re: unicode losting

2008-08-14 Thread Francesco Talamona
On Thursday 14 August 2008, Rev. Ferris wrote:
> Hi,
> I update last month to new profile (using eselect) and since that
> time I nitice that my unicode doesn't work properly.
> I configured my gentoo-box using unicode wiki on gentoo website, but
> it seems that new profile disactives my unicode setting and by update
> I lost unicode support.
> How can I solve it?
> Thank you,
> Luigi

A similar thing happened to me too. You just have to follow again the 
instructions in the Gentoo wiki.

Please tell us more, what is the content of
/etc/locale.gen
/etc/env.d/02locale

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #2 PREEMPT Sat Aug 9 20:21:11 CEST 
2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.05 Bogomips Total
aemaeth



[gentoo-user] Re: [OT] updatedb/locate - reasons to use

2008-07-30 Thread Francesco Talamona
On Wednesday 30 July 2008, Alex Schuster wrote:
> emerge -C slocate && emerge mlocate && time updatedb && time updatedb
>
> mlocate is supposed to be compatible with slocate, but the updatedb
> command runs much faster.

Your test doesn't proof anything!! Many information are cached and 
available for some time, this is a desirable feature and a good use of 
the system memory. Your conclusion may be wrong, or right, or ... who 
knows?

This is what I have with slocate:

aemaeth ~ # time updatedb ; time updatedb

real3m1.687s
user0m2.209s
sys 0m7.339s

real0m7.005s
user0m2.054s
sys 0m3.005s

Cheers
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.08 Bogomips Total
aemaeth



[gentoo-user] Re: Can't complete emerge world.

2008-07-22 Thread Francesco Talamona
On Tuesday 22 July 2008, Mike Diehl wrote:
> What do I need to do to get past this?
>
> TIA,
> --
> Mike Diehl

Try this command, what gives you?

emerge -av =sys-libs/ss-1.40.9 =sys-fs/e2fsprogs-1.40.9 
=sys-libs/com_err-1.40.9

Ciao
Francesco

-- 
Linux Version 2.6.26-gentoo, Compiled #1 PREEMPT Sat Jul 19 09:00:16 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.05 Bogomips Total
aemaeth



[gentoo-user] Re: problems building php

2008-07-09 Thread Francesco Talamona
On Wednesday 09 July 2008, Michael George wrote:
> Has anyone else had this problem?

Can you compile without the imap flag?

Maybe some underlying lib is missing...

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r6, Compiled #1 PREEMPT Sat Jul 5 18:06:28 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: DMRAID and complex setups

2008-07-06 Thread Francesco Talamona
On Saturday 05 July 2008, Florian Philipp wrote:
> - Could I disable the kernel auto-detection and instead add a custom
> init-script prior to checkfs and localmount?

It's impractical, check carefully all partitions with

mdadm -E 

If it's not automatically assembled but you can do it manually, it means 
something is fooling mdadm.

Try also to comment ARRAY lines in /etc/mdadm.conf.

HTH
Francesco

-- 
Linux Version 2.6.25-gentoo-r6, Compiled #1 PREEMPT Sat Jul 5 18:06:28 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.92 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Detecting printers at a remote site

2008-06-15 Thread Francesco Talamona
> I don't have nc and so far cannot find what package might contain it.

nc is in net-analyzer/netcat

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r4, Compiled #1 PREEMPT Sun May 18 08:04:58 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.92 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: pear hangs no FUTEX_WAIT

2008-05-21 Thread Francesco Talamona
On Wednesday 21 May 2008, Frank Gruellich wrote:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> 20. May 08:
> > Even the simple "pear" command from the command line hangs, strace
> > show that it hangs at
> >
> > futex(0x2ac88d5093a0, FUTEX_WAIT, 2, NULL
>
> I had this problem with rpm waiting for a lock in its DB.  This
> futex() call waits forever, that at memory address 0x2ac88d5093a0
> appears a 2. Try to figure out what's mapped on 0x2ac88d5093a0 and
> what could write a 2 to it but doesn't.  It should also appear
> somewhere in the strace. Maybe this gives a clue what it is waiting
> for.
>
> HTH.  Kind regards,
>  Frank.
> --
> Sigmentation fault

I can try tomorrow morning... Never thought to see what's in the 
address, it could give me a clue.

I was able to install PEAR-PEAR in the past, now it hangs too, there 
must be something obvious. 

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r4, Compiled #1 PREEMPT Sun May 18 08:04:58 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.05 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Multiple error messages for each keystroke in nano

2008-05-16 Thread Francesco Talamona
On Saturday 17 May 2008, Bob Young wrote:
> Can anybody explain what's going on here, and tell me how I can fix
> it?
>
>  
>
> BTW, if I edit with vi.everything works fine, and of course typing at
> the console works okay as well.

Just a guess... Did you run etc-update?

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r3, Compiled #1 PREEMPT Sun May 11 08:04:22 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Home page slowness

2008-05-09 Thread Francesco Talamona
On Saturday 10 May 2008, [EMAIL PROTECTED] wrote:
> Hi,
>
> We plan to eval Gentoo.  We await 2008 final.

Why? What features are you expecting?

> The comment is, Gentoo 
> home page gives no clue about status.  Convincing people that Gentoo
> is "alive" becomes tricky because the final is months late and little
> motion on the home page.  That's about all most people inspect.

You are right, many people take conclusions from superficial looks.

> So bottom line, impressions of Gentoo are going south even before we
> test.

I don't think we should make Gentoo more appealing, you can attract 
people that later will dislike its lack of eye-candy, better be 
honest :-)

> Some sort of "progress bar" or chart showing bugs squashed and new
> reported, maybe??  At least some kind of "ticker" showing "expected
> final release date"?  Counting lines of code or something?
>
> Personally I don't care when final ships - just knowing "present
> expectations" or status with an easy home page glance is all I ask.

Unlike other distros, Gentoo evolves linearly, not by leaps (releases). 
Indeed there's no strong distinction between updates and upgrades, if 
you keep it up-to-date, already have the latest "release".

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r2, Compiled #1 PREEMPT Sun May 4 08:26:42 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.04 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Question about gstreamer

2008-05-07 Thread Francesco Talamona
On Thursday 08 May 2008, AJ Spagnoletti wrote:
> Here is the relavent output from eix gstreamer:
>
> [UD] media-libs/gstreamer
>      Available versions:  (0.10)  0.10.14 (~)0.10.17 (~)0.10.19
> {debug nls test}
>      Installed versions:  0.8.11(0.8)(18:40:46 04/24/07)(-debug -doc)
>   0.10.14(0.10)(17:45:07 09/17/07)
>      Homepage:            http://gstreamer.sourceforge.net
>      Description:         Streaming media framework
>
> From this output it appears that 0.8.** versions of gstreamer have
> been removed from the portage tree, is gstreamer-0.8 leftover on my
> system and can it safely be removed?

Gstreamer 0.8 *is installed*, maybe is this the source of confusion?

Unmerge gstreamer specifying the version (version 0.10 will be left 
there):

emerge -Ca media-libs/gstreamer-0.8.11

Clean revdep-rebuild temp files:
rm /root/.revdep-rebuild*

re-run revdep-rebuild

Ciao
Francesco


-- 
Linux Version 2.6.25-gentoo-r2, Compiled #1 PREEMPT Sun May 4 08:26:42 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.95 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Which openoffice

2008-05-05 Thread Francesco Talamona

> > 2 - how long does it take to compile openoffice-bin
> > on a PC with 2 GB Ram and a AMD Athlon-64 3200+ Processor?
>
> On my 2003 machine (AMD 2500+)  5 hours ;
> on my 2007 machine (Intel Core-2 Duo 6700)  2 hours .

Those are the timings of openoffice, openoffice-bin doesn't get 
compiled, it is "deployed", on my 2 GB amd 64 3200+:


 Sat Apr 19 14:40:43 2008 >>> app-office/openoffice-bin-2.4.0
   merge time: 2 minutes and 57 seconds.

Ciao
Francesco


-- 
Linux Version 2.6.25-gentoo-r2, Compiled #1 PREEMPT Sun May 4 08:26:42 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.02 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rkhunter and /dev/dev

2008-04-27 Thread Francesco Talamona
On Sunday 27 April 2008, Neil Bothwick wrote:
> > Why do I have duplicated md devices?
>
> It sounds like a udev rule may be causing this, possibly an
> incorrectly written one, because the /dev part of node names is
> implicit in udev, so if you set a name or symlink to dev/foo, you'll
> get /dev/dev/foo.

It was the first thing I searched for in /etc/udev, but there weren't 
explicit pointers to dev, furthermore I have one only custom file 
in /etc/udev/rules.d: 10-local.rules, and the only other one I edited 
is 70-persistent-net.rules; they surely have nothing to do with md 
devices.

After your second reply I did a crazy thing: moved /etc/udev to another 
position and reemerged udev. Then I diffed the two directories, because 
there were many files dated 2005 and 2006 not belonging to any 
packages.

This cleanup wasn't enough, but then I edited /etc/mdadm.conf, modified 
the ARRAY directive 

from:
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=...

to:
ARRAY md0 level=raid1 num-devices=2 UUID=...

I got some warnings at bootup, but no /dev/dev.

Now I have no ARRAY directives in /etc/mdadm.conf, no /dev/dev and my 
system is more zippy than ever!! No more slowdowns on large file 
transfers: previously I was used to see transfer rate drop from initial 
peak to 8-10MB/sec, now the speed is constantly high..

Of course rkhunter is now happy about my configuration, as like as me! 

Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r1, Compiled #2 PREEMPT Sun Apr 20 10:05:09 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.01 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: rkhunter and /dev/dev

2008-04-27 Thread Francesco Talamona
On Sunday 27 April 2008, Neil Bothwick wrote:
> On Sun, 27 Apr 2008 10:33:03 +0200, [EMAIL PROTECTED] wrote:
> > This morning, out of curiosity, I ran rkhunter: it gave me a
> > warning about GasKit.
> >
> > It's because there's a /dev/dev folder
>
> Have you run rkhunter --update? I used to see this warning, but it
> disappeared a while ago with a database update.

Actually I didn't think about an update, I updated right now and 
rechecked, but nothing has changed.

Why do I have duplicated md devices?

Ciao
Francesco
-- 
Linux Version 2.6.25-gentoo-r1, Compiled #2 PREEMPT Sun Apr 20 10:05:09 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.89 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: init 1, root device is busy :(

2008-04-20 Thread Francesco Talamona
On Sunday 20 April 2008, Dirk Heinrichs wrote:
> > > Never do this unless you're using xfs.
> >
> > Why? "never fsck at boot time" ->
>
> Because bad things can happen if you don't fsck at boot time. The
> only exception to this is xfs, which you are not using, as I see
> below.

You stated this (xfs doesn't need to be checked at boot) twice, but I'd 
like to read a bit of explanation.

Note: I'm not trying to start a flamewar.
Ciao
Francesco

-- 
Linux Version 2.6.25-gentoo-r1, Compiled #2 PREEMPT Sun Apr 20 10:05:09 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.02 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Raid5 not assembled after boot

2008-04-19 Thread Francesco Talamona
On Saturday 19 April 2008, Roy Wright wrote:
> Looking thru dmesg and /var/log/messages, it looks like there are no
> attempts to start the array until I manually try.
>
> Any hints on what I'm missing?

Personal experience:

1) don't mix raidtools stuff with mdadm, use only the latter (I'm not 
saying you used raidtools, but I found a lot of misleading 
documentation lying around)

2) check carefully the UUID of *all* the partitions, I had exactly the 
same issue, that I discovered to be caused by a leftover partition that 
was part of a different raid set (spurious UUID). At some point in the 
bootup the correct set were disassembled.

3) evms can badly intefere with mdadm (or it was LVM?): try to modify a 
partition/raid setup and it always appears busy, preventing any 
editing.

HTH
Francesco

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: init 1, root device is busy :(

2008-04-19 Thread Francesco Talamona
On Saturday 19 April 2008, Abraham Gyorgy wrote:
> Thanks a lot! I'll give a deep look at the mentioned files.
> Anyway I think I'll set my fstab. Now all my partitions are set to
> "never fsck" at boot time. :)

Supposing it's a ext2/3 partition you may also want to use tune2fs to 
set the check *frequency*.

Other filesystems have specialized tools to do it.

Ciao
Francesco

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: init 1, root device is busy :(

2008-04-19 Thread Francesco Talamona
On Saturday 19 April 2008, Gyuszk wrote:
> I can unmount my /boot and /home partitions but I just can't
> remount my root device to be readonly. (Linux says it is busy.) What
> should I do with this?
>
> 1.) Should I edit my Grub menu.lst to make a new entry with "single
> ro" kernel parameteres?
> 2.) Of course I can fsck from (for example) a LiveCD (like Gentoo
> minimal cd), but at the present I don't have any of these.
> 3.) Other solution?

Of course: it's in use :-)

Two options:

1) force partition check with the following command (seen recently in 
this list)
shutdown -Fr

2) create the file /forcefsck
touch /forcefsck
then reboot, during shutdown you'll see "A full fsck will be forced on 
next startup" and then "Checking root filesystem (full fsck forced)"

See the scripts /etc/init.d/halt.sh, /etc/init.d/checkfs 
and /etc/init.d/checkroot to see all the "nuts and bolts"

Ciao
Francesco

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: Messed up - how do I emerge coreutils once coreutils is gone?

2008-04-19 Thread Francesco Talamona
On Saturday 19 April 2008, Mark Knecht wrote:
> [ebuild     U ] sys-apps/coreutils-6.10-r1 [6.9-r1] USE="acl nls
> (-selinux) -static -vanilla% -xattr" 3,670 kB
> [blocks B     ] sys-apps/mktemp (is blocking
> sys-apps/coreutils-6.10-r1) [blocks B     ] >=sys-apps/coreutils-6.10
> (is blocking sys-apps/mktemp-1.5)

You are just another victim, search this list for the last week posts 
for the recovery details. Basically you have to use install disc to 
copy all the "core utils" now missing. Once recovered you are again 
able to emerge coreutils

The explanation of the message above is: coreutils is going to upgrade 
from version 6.9-r1 to 6.10-r1, the latter (and other versions above) 
includes mktemp, so to avoid conflicts it is required to uninstall 
mktemp, now provided elsewhere.

HTH
Francesco  

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: ck8s ethernet support in 2.6.23-r6 kernel

2008-04-16 Thread Francesco Talamona
On Thursday 17 April 2008, maxim wexler wrote:
> I noted also a broken runlevel with regard to net.eth0
> which I deleted.
>
> Hopefully that's the fix. Should know next boot. But
> doesn't explain(at least to me) why eth0 is now
> defunct. If all I have is one ethernet port, doesn't
> that default to eth0?

No, not if that name is already in use, the message "udev: renamed
eth0 to eth1" is the consequence.

Udev renames the device, so every config file referring to eth0 showed 
up errors. If you now delete the file that fixes net names the card 
will take first slot and be named eth0.

You'll have to take back that runlevel link.

HTH
Francesco

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2003.99 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: installing vmware?

2008-04-03 Thread Francesco Talamona
On Friday 04 April 2008, Thierry de Coulon wrote:
> The problem I've run into with VirtualBox is that network only uses
> NAT, while VMWare uses bridging. Probably only a question of
> understanding how to set up NAT - seems easy if you're using DHCP but
> I use fixed IP's

VirtualBox can be configured in either way! 
http://www.virtualbox.org/wiki/Advanced_Networking_Linux

Ciao
Francesco

-- 
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.89 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list



  1   2   3   >