Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Walter Dnes
  In the instructions here, I've set up a revised dev-manager ebuild in
an overlay.  I've requested the changes to be incorporated into the
official ebuild and it appears to have been accepted.  See...

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

It should be rolled out eventually, and the overlay won't be necessary.

  I think I've found one item so far that requires udev.  My laptop's
graphics chip needs a binary blob from radeon-ucode.  That binary blob,
in turn, requires the presence of /usr/lib/libudev.so.0 which is a
symlink to /usr/lib/libudev.so.0.9.3 (which is also required).  I can

emerge udev
move or copy the 2 files over to /root
unmerge udev
move or copy the 2 files from /root to /usr/lib/

and it still works. Note that /usr/lib/ is a symlink to /usr/lib64 on my
64-bit gentoo.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Pandu Poluan
On Tue, Jan 3, 2012 at 17:04, Walter Dnes waltd...@waltdnes.org wrote:
  In the instructions here, I've set up a revised dev-manager ebuild in
 an overlay.  I've requested the changes to be incorporated into the
 official ebuild and it appears to have been accepted.  See...

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

 It should be rolled out eventually, and the overlay won't be necessary.


Cool! :D

  I think I've found one item so far that requires udev.  My laptop's
 graphics chip needs a binary blob from radeon-ucode.  That binary blob,
 in turn, requires the presence of /usr/lib/libudev.so.0 which is a
 symlink to /usr/lib/libudev.so.0.9.3 (which is also required).  I can

 emerge udev
 move or copy the 2 files over to /root
 unmerge udev
 move or copy the 2 files from /root to /usr/lib/

 and it still works. Note that /usr/lib/ is a symlink to /usr/lib64 on my
 64-bit gentoo.


Well it doesn't need udev itself, just libudev.

But if the binary blob is hard-coded to search for
/usr/lib/libudev.so.0{,.9.3}, that means /usr must exist at
boot-time...

... or at least /usr/lib/libudev.so.0{,.9.3}

IMO, providing 1 file (+ 1 symlink) is still much better than having
to provide the *whole* /usr tree during boot-time.

Now, what's needed is to catalog (1) essential boot-time devs that
can't be handled by mdev, and (2) essential files that need to exist
under /usr during boot-time.

#1 should be interesting for busybox upstream, while #2 will be
necessary for those trying to wean themselves off udev :-)

We're one step closer to an udev-free Gentoo, yay!

(Come to think of it, has *any* distro ever attempted this...
'unconventional of going udev-free?)

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Konsole issue

2012-01-03 Thread Lorenzo Bandieri
 emerge smartmontools

 then when that is done, do this:

 smartctl -t long /dev/sddrive letter here

 When you do that, it should print a message that tells when the test will
 complete.  It is usually a 24 hour format thing too.  This can run while the
 drive is in use too.  Sometime after that time, run this command:

 smartctl -l selftest /dev/sddrive letter here

 That should tell you the results of the test.  If it says it passed, this is
 good.  If it reports a problem, well it is not good.  If you are lucky, it
 will be like a recent problem I had and reformatting will fix it.  It was a
 weird problem but beats replacing a drive.


I'm just wondering: can a tool like strace (or similar) be helpul in
diagnose the problem?
Maybe it could detect if konsole is trying to access a file that has
too strict permissions, couldn't it? Just wondering, I never really
used strace.

Lorenzo

-- 
Nothing is interesting if you're not interested.



Re: [gentoo-user] Konsole issue

2012-01-03 Thread Volker Armin Hemmann
Am Dienstag, 3. Januar 2012, 11:26:54 schrieb Lorenzo Bandieri:
  emerge smartmontools
  
  then when that is done, do this:
  
  smartctl -t long /dev/sddrive letter here
  
  When you do that, it should print a message that tells when the test will
  complete.  It is usually a 24 hour format thing too.  This can run while
  the drive is in use too.  Sometime after that time, run this command:
  
  smartctl -l selftest /dev/sddrive letter here
  
  That should tell you the results of the test.  If it says it passed, this
  is good.  If it reports a problem, well it is not good.  If you are
  lucky, it will be like a recent problem I had and reformatting will fix
  it.  It was a weird problem but beats replacing a drive.
 
 I'm just wondering: can a tool like strace (or similar) be helpul in
 diagnose the problem?
 Maybe it could detect if konsole is trying to access a file that has
 too strict permissions, couldn't it? Just wondering, I never really
 used strace.
 
 Lorenzo

a) we allready know where the problem hides - thanks to ~/.xession-errors your 
first stop when some X based app has problems.

b) strace will drown you in output.

c) in this case I have my doubts that the output would be helpfull at all 
(because I strace'd Konsole ;) )
w
-- 
#163933



Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Neil Bothwick
On Mon, 02 Jan 2012 21:00:12 -0500, Michael Orlitzky wrote:

  It is reasonable to assume that the answer to that question is yes.
  Any other answer raises the question why did Zac spend so much effort
  recoding portage just to piss off the odd user?.  
 
 Hah! Many people here are probably employed in IT, software
 development, or system administration where the job description can be
 summed up as unfixing things that weren't broken.

AFAIK, Zac is not being paid for developing portage, so making changes
to justify his employment are not necessary.


-- 
Neil Bothwick

She's always late. Her ancestors arrived on the June flower.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Tanstaafl

On 2012-01-02 3:48 PM, Neil Bothwick n...@digimed.co.uk wrote:

On Mon, 2 Jan 2012 09:29:57 -0800, Mark Knecht wrote:


That works for the case where the software is managed by portage,
which is likely 99.% of what's on Gentoo systems worldwide. It
doesn't work however for the odd case where I write some little
program which requires a library (ta-lib in my portage file) and I
don't write an ebuild to build it. I've never bothered to learn to do
my own ebuilds but at some level it would be a good idea, and I think
it would address Mr. Orlitsky's issue about what his users need and
why.


That's more easily handled with sets. No ebuild writing skills are needed
and there's no danger of atoms being accidentally added to the set.


This sounds very interesting...

Neil, is the use of sets fully documented somewhere? I don't recall 
reading about them in the Handbook, but its been a while since I read it 
(and don't remember if I ever did cover to cover)...


Thanks!



Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Neil Bothwick
On Tue, 03 Jan 2012 06:49:45 -0500, Tanstaafl wrote:

 Neil, is the use of sets fully documented somewhere? I don't recall 
 reading about them in the Handbook, but its been a while since I read
 it (and don't remember if I ever did cover to cover)...

I can't recall where I found the documentation, but you can create a set
in /etc/portage/sets/ with one atom per line. Then emerge @setname to
install the packages.

I find them really useful. For example I have a @base set listing all the
packages I want on a new install (tmux, gentoolkit, portage-utils etc) so
I can copy it to a new install and emerge @base to make sure I have all
the tools I normally use.


-- 
Neil Bothwick

The word 'Windows' is a word out of an old dialect of the Apaches.
It means: 'White man staring through glass-screen onto an hourglass...')


signature.asc
Description: PGP signature


[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Pandu Poluan wrote:

 (Come to think of it, has *any* distro ever attempted this...
 'unconventional of going udev-free?)

mdev is not an udev replacement. It's a very minimalist udev designed
for embedded systems and initramfs. These days, a full-featured system
require a dynamic /dev and AFAIK the only existing and up-to-date tool
for this job is udev.

I don't think any other distro attempted to get free of udev as it means
coming back to 10 years ago, at least.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Pandu Poluan
On Jan 3, 2012 7:35 PM, Nicolas Sebrecht nsebre...@piing.fr wrote:

 The 03/01/12, Pandu Poluan wrote:

  (Come to think of it, has *any* distro ever attempted this...
  'unconventional of going udev-free?)

 mdev is not an udev replacement. It's a very minimalist udev designed
 for embedded systems and initramfs. These days, a full-featured system
 require a dynamic /dev and AFAIK the only existing and up-to-date tool
 for this job is udev.

 I don't think any other distro attempted to get free of udev as it means
 coming back to 10 years ago, at least.


For desktops, I agree.

But I can see a use case for mdev completely replacing udev: servers and
virtual machines.

Servers, especially production ones, have a hardware change only once in
every two blue moons. They don't need all the bells and whistles of udev.

Even more so when you've gone the virtualized route.

Since servers are arguably where Linux shines the most, mdev should be
seriously considered as a udev replacement.

Rgds,


Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 02:00:48 Michael Orlitzky wrote:
 On 01/02/2012 07:22 PM, Dale wrote:
  I always knew I was odd.  Looks like I have some company tho.  Welcome
  to the odd user group Michael.
 
 It ain't us =)

Nope.  It ain't just you.  It's me too.  ;-)

I'd rather the old default behaviour was retained/returned to.  I have to 
admit even after all this time I will occasionally forget and run emerge -u 
some_package, only to notice that it was added into world at the end of the 
emerge.  Even worse, it wasn't updated (because no update was available) but 
was just added in world all the same.

Of course when I notice this I go and remove it from world manually and make a 
mental note not to do this again.  When I miss it, the package ends up in 
world.  :-(

However, I do wonder how confused could a new user end up being with this 
(superficially) inconsistent behaviour.  The -u option works fine on world (it 
just updates packages already in world, but not on individual packages (it 
updates *and* adds said packages in world).

I understand the logic, but for the reasons explained by Michael and Dale I 
also prefer the old behaviour to be the default:  nothing gets added in world 
as a result of updating alone.  An enotice message that informs the user that 
just updating the particular package(s) does not mean they are added to the 
world file and won't be automatically updated when running 'emerge -u world' in 
the future, would educate users, along with options for adding the said 
packages in world.

Of course, the opposite will work too;  flashing a fat enotice to educate us 
old dogs to remember to run -1 instead of -u.
-- 
Regards,
Mick


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


[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Pandu Poluan wrote:

But I can see a use case for mdev completely replacing udev: servers and
virtual machines.
 
Servers, especially production ones, have a hardware change only once in
every two blue moons. They don't need all the bells and whistles of udev.
 
Even more so when you've gone the virtualized route.
 
Since servers are arguably where Linux shines the most, mdev should be
seriously considered as a udev replacement.

But servers have enough ressources to run udev and any required
initramfs to mount /usr.

So, the question is where engineering should go:

- mdev and manually manage /dev devices if nedded

or

- rely on initramfs to mount /usr.

As initramfs is a prooven working solution, all distributions I know use
it either by default or if needed.

Also, I think the coming problem you will be face with in the mdev way
is the move of binaries from /bin to /usr/bin and so.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Alan McKinnon
On Tue, 3 Jan 2012 13:32:09 +0100
Nicolas Sebrecht nsebre...@piing.fr wrote:

 The 03/01/12, Pandu Poluan wrote:
 
  (Come to think of it, has *any* distro ever attempted this...
  'unconventional of going udev-free?)
 
 mdev is not an udev replacement. It's a very minimalist udev designed
 for embedded systems and initramfs. These days, a full-featured system
 require a dynamic /dev and AFAIK the only existing and up-to-date tool
 for this job is udev.
 
 I don't think any other distro attempted to get free of udev as it
 means coming back to 10 years ago, at least.
 

If you go back through the list archives you will find the enormous
thread that caused Walter to start down this road in the first place.
His efforts are an attempt to deal with the gigantic bloat-fest that
the udev devs seem to revel in.

Walter is doing fine work, he should be supported in this.



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



[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Alan McKinnon wrote:

 If you go back through the list archives you will find the enormous
 thread that caused Walter to start down this road in the first place.
 His efforts are an attempt to deal with the gigantic bloat-fest that
 the udev devs seem to revel in.

If you go back through the list archives you will find that I'm envolved
in this thread. ,-p

 Walter is doing fine work, he should be supported in this.

It's free software so everybody can feel free to support him, of course.
I think it's time consummed in the wrong road. I'm a bit curious how
long this alternative can survive. :-)

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Pandu Poluan
On Tue, Jan 3, 2012 at 20:13, Nicolas Sebrecht nsebre...@piing.fr wrote:
 The 03/01/12, Pandu Poluan wrote:

    But I can see a use case for mdev completely replacing udev: servers and
    virtual machines.

    Servers, especially production ones, have a hardware change only once in
    every two blue moons. They don't need all the bells and whistles of udev.

    Even more so when you've gone the virtualized route.

    Since servers are arguably where Linux shines the most, mdev should be
    seriously considered as a udev replacement.

 But servers have enough ressources to run udev and any required
 initramfs to mount /usr.


No, no, no, you got it the wrong way around.

It's not udev *per se* that I -- as a server admin -- want to get rid of.

It's the initramfs.

And I also want to put /usr in a separate partition.

The problem is that, judging from where udev is going in upstream, we
will be forced to use initramfs, or put /usr in /

By migrating from udev to mdev, I am no longer forced to do either.

 So, the question is where engineering should go:

 - mdev and manually manage /dev devices if nedded

 or

 - rely on initramfs to mount /usr.


As a SysAdmin, I'd prever the 1st one, thank you.

Adding hardware to server is a MAJOR event, something worthy of
sacrificing some goats and lambs to appease the Information Gods and
Goddesses.

And after the new shiny thing gets installed physically, it will be
followed up -- with 109% certainty -- with some configuration in the
OS.

 As initramfs is a prooven working solution, all distributions I know use
 it either by default or if needed.


Then again, using initramfs is yet-another-component waiting to break.

Knowing Murphy's Law, it will one day fuck up everything.

 Also, I think the coming problem you will be face with in the mdev way
 is the move of binaries from /bin to /usr/bin and so.


Again, on a server, this will be a one-time affair.

I can always bind-mount the /usr of / under /mnt, letting the /usr
get overlaid by the /usr partition. If there's a piece of hardware
that needs a piece of binary inside /usr, I'll just cp that binary
into /mnt/usr/whatever to appease that piece of hardware.

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Volker Armin Hemmann
Am Dienstag, 3. Januar 2012, 14:36:08 schrieb Nicolas Sebrecht:
 The 03/01/12, Alan McKinnon wrote:
  If you go back through the list archives you will find the enormous
  thread that caused Walter to start down this road in the first place.
  His efforts are an attempt to deal with the gigantic bloat-fest that
  the udev devs seem to revel in.
 
 If you go back through the list archives you will find that I'm envolved
 in this thread. ,-p
 
  Walter is doing fine work, he should be supported in this.
 
 It's free software so everybody can feel free to support him, of course.
 I think it's time consummed in the wrong road. I'm a bit curious how
 long this alternative can survive. :-)

since Walter does it to ease an itch he is feeling and since Walter is doing 
this for fun 'time consumed in the wrong road' is not an argument.

Other people love to build miniature F1 cars and put them behind glass. Waste 
of time? From my POV sure. From theirs? Hell no!

-- 
#163933



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Dale

Nicolas Sebrecht wrote:

The 03/01/12, Alan McKinnon wrote:


If you go back through the list archives you will find the enormous
thread that caused Walter to start down this road in the first place.
His efforts are an attempt to deal with the gigantic bloat-fest that
the udev devs seem to revel in.

If you go back through the list archives you will find that I'm envolved
in this thread. ,-p


Walter is doing fine work, he should be supported in this.

It's free software so everybody can feel free to support him, of course.
I think it's time consummed in the wrong road. I'm a bit curious how
long this alternative can survive. :-)



Personally, I hope to turns out to be a replacement for udev, if for no 
other reason than to be a poke in the eye of the fedora dev that started 
this crap to begin with.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02.01.2012 18:58, Michael Orlitzky wrote:
 On 01/02/12 12:47, Mark Knecht wrote:
 
 Again, 'equery depends' will tell you if any package locatable
 through the @world hierarchy needs the package. No need to
 uninstall anything to do that level of investigation.
 revdep-rebuild -I is also useful, although more historically than
 now.
 
 
 This was essentially Michal Mol's suggestion, and I gave an
 example where it would remove something important.
 
 
 Really, the proposal to 'fix --update' doesn't address really
 knowing what your system is running and why. Get to the root of
 that and the --update thing becomes the non-issue that many of us
 think it is.
 
 
 This would be a suggestion to travel back in time and document
 something that I have no way of knowing now.
 
You could create your own overlay with meta-ebuilds, e. g.
system-maintenance, customer1, customer2.
Inside the ebuilds you define depends on the packages the customer wants.
Doing so you could wipe everything except the meta-ebuilds from world.
When a customer quits you can unmerge his or her meta-ebuild and
depclean.
If you add everything needed to the respective meta-ebuild, you'll
always be on the safe side.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPAwtEAAoJEJwwOFaNFkYcCIAIAMjC7zIVaGq0ilbfhvWW2lHh
X1rsaLGcXIJDEAi6kP69aDyzqP3QSmZFXRid8B2eMLJ+1ZZI/c+VqBLgE8zDU3ai
TbamRYeb/kdD2CplanLhDDkQ04DVYhYZXWBJkC7e3IL4assF+2wjiwOsG8Dh0HMh
oZ3bbkaR51F5kSSl3xVcWh63B+aU7Zqc3erAjL36mBkoaTOYIYjm7f2uo9vxR2Gv
91d4l5sfrOw7JTtSDMv++6gdrnS8Imh4RrTH3Kd+rUsM2VzzCnnCrWtqTYOhP3JH
LFFN55McpjLwHwc0AumG0eQZY+vk7xdS1Ev9bSCd35LwrogluPj5QVhUSwbS//8=
=cJtw
-END PGP SIGNATURE-



Re: [gentoo-user] Gentoo-sources: can't make menuconfig with user? User can't access ncurses?

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 01:13:17 Gregory Shearman wrote:
 In linux.gentoo.user, you wrote:
  On Mon, 2 Jan 2012 20:58:18 -0200
  
  Claudio Roberto França Pereira spide...@gmail.com wrote:
  I'm not currently at my Gentoo box, sorry for this, but if I don't
  post this now I'll probably forget to post it at all.
  Anyways, last time I tried upgrading my kernel, I copied my .config
  and ran make menuconfig as my main user, but it whined about missing
  ncurses libraries or something. After su'ing, everything went better
  than expected.
  Was that normal behavior? I remember configuring my kernel as user
  before. Even compiling it as user.
  
  How did you install the kernel sources?
  
  If you downloaded them as a normal user you should be able to make
  menuconfig; make; sudo make install just fine.
  
  If portage installed the sources, then you should
  configure/compile/install as root. The sources are owned by portage
  (IIRC) and you can't su to that user, leaving only root. Or, try adding
  yourself to the portage group. Personally I think that's too much
  effort for zero gain so I always do it as root.
 
 I use a separate output directory that is under control of the user.
 What I do as an ordinary user:
 
 mkdir kerneloutputdir
 
 zcat /proc/config.gz  kerneloutputdir/.config
 
 # assuming you have this option set in your kernel ie the current kernel
 # config saved in /proc/config.gz
 
 cd /usr/src/linux
 
 # assuming that /usr/src/linux is a soft link to your new kernel
 # directory.
 
 make O=kerneloutputdir oldconfig
 
 # The O= makes sure that any kernel output goes to the directory under
 # the permissions and control of the kernel builder user rather than in
 # the kernel directory under root permissions.
 
 # If you want to make changes to the new kernel then:
 
 make O=kerneleoutputdir menuconfig
 
 You can then proceed with building kernel and modules. Yes, I know that
 make without a command will automatically build both kernel image and
 modules but I prefer to do things explicitly.
 
 make O=kerneleoutputdir bzImage
 make O=kerneleoutputdir modules
 
 You can then install the new kernel and modules as root:
 
 make O=kerneleoutputdir modules_install
 make O=kerneleoutputdir install
 
 You need to set the following environment variable:
 
 KBUILD_OUTPUT=kerneloutputdir
 
 This variable ensures that any emerged app can find the kernel output if
 necessary. I've created a script in /etc/profile.d that automatically
 keeps this environment variable up to date. Oh, remember to unset this
 variable if you do *anything* requiring a busybox build (eg genkernel).
 
 An enjoyable side-effect of this system is that when you remove an
 obselete kernel from your system using emerge -C oldkernelversion,
 everything will be removed because there are no changes, no files added
 to those portage added kernel directory.
 
 The kernel builder user does nothing but build new kernels. This user's
 home directory is a hierarchy containing current kernel builds.
 
 I've been using this system for years now, on all my gentoo systems. It
 is second nature. Of course, the .bash_history of the kernel builder
 user is *very* useful for quickly doing all this from the command line.
 
 I used to have a script to automate all this, but it is just as easy to
 do from the command line.

What is the benefit of this approach vis a vis su to root first as the gentoo 
handbook suggests?
-- 
Regards,
Mick


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


[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Pandu Poluan wrote:
 On Tue, Jan 3, 2012 at 20:13, Nicolas Sebrecht nsebre...@piing.fr wrote:

  But servers have enough ressources to run udev and any required
  initramfs to mount /usr.
 
 No, no, no, you got it the wrong way around.
 
 It's not udev *per se* that I -- as a server admin -- want to get rid of.
 
 It's the initramfs.
 
 And I also want to put /usr in a separate partition.
 
 The problem is that, judging from where udev is going in upstream, we
 will be forced to use initramfs, or put /usr in /

I know. It's the I want to get the rid of initramfs thing that looks
crazy to me.

  As initramfs is a prooven working solution, all distributions I know use
  it either by default or if needed.
 
 Then again, using initramfs is yet-another-component waiting to break.
 
 Knowing Murphy's Law, it will one day fuck up everything.

And the mdev alternative won't follow this law?

-- 
Nicolas Sebrecht



[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Volker Armin Hemmann wrote:
 Am Dienstag, 3. Januar 2012, 14:36:08 schrieb Nicolas Sebrecht:

  It's free software so everybody can feel free to support him, of course.
  I think it's time consummed in the wrong road. I'm a bit curious how
  long this alternative can survive. :-)
 
 since Walter does it to ease an itch he is feeling and since Walter is doing 
 this for fun 'time consumed in the wrong road' is not an argument.

Of course, it's not an argument. It's my feeling. I'm not against people
hacking on crazy ideas. I do it myself when I think it worth.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Alan McKinnon
On Tue, 3 Jan 2012 15:31:20 +0100
Nicolas Sebrecht nsebre...@piing.fr wrote:

  Then again, using initramfs is yet-another-component waiting to
  break.
  
  Knowing Murphy's Law, it will one day fuck up everything.  
 
 And the mdev alternative won't follow this law?


It's not immune to it, just statistically less likely to be affected.

mdev sans initramfs is a less complex solution than udev plus
initramfs. Ergo, all other things being equal, less bits to break.

 

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



Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Alan McKinnon
On Tue, 03 Jan 2012 15:05:56 +0100
Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de wrote:

  Really, the proposal to 'fix --update' doesn't address really
  knowing what your system is running and why. Get to the root of
  that and the --update thing becomes the non-issue that many of us
  think it is.

  
  This would be a suggestion to travel back in time and document
  something that I have no way of knowing now.

 You could create your own overlay with meta-ebuilds, e. g.
 system-maintenance, customer1, customer2.
 Inside the ebuilds you define depends on the packages the customer
 wants. Doing so you could wipe everything except the meta-ebuilds
 from world. When a customer quits you can unmerge his or her
 meta-ebuild and depclean.
 If you add everything needed to the respective meta-ebuild, you'll
 always be on the safe side.


Sets do exactly the same thing simply without all the added verbiage of
an ebuild.

The *only* thing required to bring about the solution you describe is
the information in the *DEPEND of the meta-ebuild, and that is all that
is in a set.



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



Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.01.2012 15:47, Alan McKinnon wrote:
 On Tue, 03 Jan 2012 15:05:56 +0100 Hinnerk van Bruinehsen
 h.v.bruineh...@fu-berlin.de wrote:
 
 Really, the proposal to 'fix --update' doesn't address
 really knowing what your system is running and why. Get to
 the root of that and the --update thing becomes the non-issue
 that many of us think it is.
 
 
 This would be a suggestion to travel back in time and document 
 something that I have no way of knowing now.
 
 You could create your own overlay with meta-ebuilds, e. g. 
 system-maintenance, customer1, customer2. Inside the ebuilds you
 define depends on the packages the customer wants. Doing so you
 could wipe everything except the meta-ebuilds from world. When
 a customer quits you can unmerge his or her meta-ebuild and
 depclean. If you add everything needed to the respective
 meta-ebuild, you'll always be on the safe side.
 
 
 Sets do exactly the same thing simply without all the added
 verbiage of an ebuild.
 
 The *only* thing required to bring about the solution you describe
 is the information in the *DEPEND of the meta-ebuild, and that is
 all that is in a set.
 

Then I should try to find some information on sets (custom defined
ones). Thank you for the hint!

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPAxXjAAoJEJwwOFaNFkYcP64H/0sl77a1uFXW5hL0hM1A5fSN
PzKAErLc6inDRzzs0KnsDrFgkDhmPdebga2JG99IGzk+fpS77Cdu6SQUrOvkRwlF
7uzRXXCSCPxOnaHcP6ONVekeOr2HObgc6xPg1fZ8/AK2sbBozjX3N+HTgE0Wl8fW
CReSK9kLmseN0YZULD0FvpuvHHs5Rda0VnFl1huY8JJWzUUOxkEkkOcrVCKjLC0I
SDO4i5UCtG/pKCUby1/r1m06tR5WuiDm/hQ8/wEMB4C7/a4tZIJ0HcJjtAMYZOvH
GIEP2uUIPbhC/rWwnTeM12e0ukWkNVwEnu/dyIhVhV8JOaEJi6ADgKRgimvWJo8=
=d+9f
-END PGP SIGNATURE-



(Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
Hinnerk van Bruinehsen wrote:
 On 02.01.2012 18:58, Michael Orlitzky wrote:
 On 01/02/12 12:47, Mark Knecht wrote:

 Again, 'equery depends' will tell you if any package locatable
 through the @world hierarchy needs the package. No need to
 uninstall anything to do that level of investigation.
 revdep-rebuild -I is also useful, although more historically than
 now.

 
 This was essentially Michal Mol's suggestion, and I gave an
 example where it would remove something important.
 
 
 Really, the proposal to 'fix --update' doesn't address really
 knowing what your system is running and why. Get to the root of
 that and the --update thing becomes the non-issue that many of us
 think it is.

 
 This would be a suggestion to travel back in time and document
 something that I have no way of knowing now.
 
 You could create your own overlay with meta-ebuilds, e. g.
 system-maintenance, customer1, customer2.
 Inside the ebuilds you define depends on the packages the customer wants.
 Doing so you could wipe everything except the meta-ebuilds from world.
 When a customer quits you can unmerge his or her meta-ebuild and
 depclean.
 If you add everything needed to the respective meta-ebuild, you'll
 always be on the safe side.
 
 

Getting EnigMail set up on a Seamonkey/Win7 box, and Enigmail is
complaining that your signature is unverified. I don't know/understand
PGP/GPG all that well, but I think this is something you're supposed to
be able to fix on your end. If that's not the case, let me know, and
I'll get it fixed on my end. :)

gpg command line and output:
C:\Program Files (x86)\GNU\GnuPG\gpg.exe
gpg: Signature made 01/03/12 09:05:56 using RSA key ID 8D16461C
gpg: Can't check signature: public key not found



Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
Michael Mol wrote:
 Hinnerk van Bruinehsen wrote:
 On 02.01.2012 18:58, Michael Orlitzky wrote:
 On 01/02/12 12:47, Mark Knecht wrote:

 Again, 'equery depends' will tell you if any package locatable
 through the @world hierarchy needs the package. No need to
 uninstall anything to do that level of investigation.
 revdep-rebuild -I is also useful, although more historically than
 now.


 This was essentially Michal Mol's suggestion, and I gave an
 example where it would remove something important.


 Really, the proposal to 'fix --update' doesn't address really
 knowing what your system is running and why. Get to the root of
 that and the --update thing becomes the non-issue that many of us
 think it is.


 This would be a suggestion to travel back in time and document
 something that I have no way of knowing now.

 You could create your own overlay with meta-ebuilds, e. g.
 system-maintenance, customer1, customer2.
 Inside the ebuilds you define depends on the packages the customer wants.
 Doing so you could wipe everything except the meta-ebuilds from world.
 When a customer quits you can unmerge his or her meta-ebuild and
 depclean.
 If you add everything needed to the respective meta-ebuild, you'll
 always be on the safe side.


 
 Getting EnigMail set up on a Seamonkey/Win7 box, and Enigmail is
 complaining that your signature is unverified. I don't know/understand
 PGP/GPG all that well, but I think this is something you're supposed to
 be able to fix on your end. If that's not the case, let me know, and
 I'll get it fixed on my end. :)
 
 gpg command line and output:
 C:\Program Files (x86)\GNU\GnuPG\gpg.exe
 gpg: Signature made 01/03/12 09:05:56 using RSA key ID 8D16461C
 gpg: Can't check signature: public key not found

Doh...that was supposed to go directly to Hinnerk. Reply to sender
only my hind leg...



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Dale

Alan McKinnon wrote:

On Tue, 3 Jan 2012 15:31:20 +0100
Nicolas Sebrechtnsebre...@piing.fr  wrote:


Then again, using initramfs is yet-another-component waiting to
break.

Knowing Murphy's Law, it will one day fuck up everything.

And the mdev alternative won't follow this law?


It's not immune to it, just statistically less likely to be affected.

mdev sans initramfs is a less complex solution than udev plus
initramfs. Ergo, all other things being equal, less bits to break.




Yep.  I *think* I got a init thingy to work but I'm still not sure and 
apparently since there was no replies to my other thread, no one else 
knows either.  From the messages in dmesg, it looks like I have tho.  
Thing is, if I reboot and the init fails, I have no real clue how to fix 
it.  I know this because I ran into this same thing on Mandriva, along 
with the dependency problems that is well known.  The fact that Gentoo 
has a simple booting process is what really got me interested in 
Gentoo.  If we are going down this road, I may check and see if the 
dependency problems are fixed.  As bad as it is to say, Gentoo is 
getting more like other distros that I left or didn't want to bother 
with.  Makes me wonder.  I know I am a unique old bird but I bet I am 
not alone in this.


It sort of comes down to this, if I can't boot because of a broken 
init*, I may just save my /home and data drive and install something else.


Just my $0.02 worth and it ain't worth more than that I'm sure.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Walter Dnes
On Tue, Jan 03, 2012 at 05:22:09PM +0700, Pandu Poluan wrote

 (Come to think of it, has *any* distro ever attempted this...
 'unconventional of going udev-free?)

  Alpine linux has done it http://alpinelinux.org/  Unfortunately,
they're so minimalistic and server-oriented that they use uclibc instead
of glibc.  So Alpine is not viable as a desktop distro.  Think of it as

Gentoo with mdev instead of udev == Alpine with glibc instead of uclibc

  By the way, there's a thread on the Gentoo developer list discussing
the situation, and the proposed move of a bunch of stuff to /usr.  See
http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=245148;page=1;mh=-1;list=gentoo;sb=post_latest_reply;so=ASC

  I piped up with my proposal.  We'll see what happens.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Nicolas Sebrecht
The 03/01/12, Walter Dnes wrote:
 On Tue, Jan 03, 2012 at 05:22:09PM +0700, Pandu Poluan wrote
 
  (Come to think of it, has *any* distro ever attempted this...
  'unconventional of going udev-free?)
 
   Alpine linux has done it http://alpinelinux.org/  Unfortunately,
 they're so minimalistic and server-oriented that they use uclibc instead
 of glibc.

Hugh?

http://alpinelinux.org/apk/main/x86/udev

-- 
Nicolas Sebrecht



Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 14:55:38 Michael Mol wrote:
 Michael Mol wrote:
  Hinnerk van Bruinehsen wrote:
  On 02.01.2012 18:58, Michael Orlitzky wrote:
  On 01/02/12 12:47, Mark Knecht wrote:
  Again, 'equery depends' will tell you if any package locatable
  through the @world hierarchy needs the package. No need to
  uninstall anything to do that level of investigation.
  revdep-rebuild -I is also useful, although more historically than
  now.
  
  This was essentially Michal Mol's suggestion, and I gave an
  example where it would remove something important.
  
  Really, the proposal to 'fix --update' doesn't address really
  knowing what your system is running and why. Get to the root of
  that and the --update thing becomes the non-issue that many of us
  think it is.
  
  This would be a suggestion to travel back in time and document
  something that I have no way of knowing now.
  
  You could create your own overlay with meta-ebuilds, e. g.
  system-maintenance, customer1, customer2.
  Inside the ebuilds you define depends on the packages the customer
  wants. Doing so you could wipe everything except the meta-ebuilds
  from world. When a customer quits you can unmerge his or her
  meta-ebuild and depclean.
  If you add everything needed to the respective meta-ebuild, you'll
  always be on the safe side.
  
  Getting EnigMail set up on a Seamonkey/Win7 box, and Enigmail is
  complaining that your signature is unverified. I don't know/understand
  PGP/GPG all that well, but I think this is something you're supposed to
  be able to fix on your end. If that's not the case, let me know, and
  I'll get it fixed on my end. :)
  
  gpg command line and output:
  C:\Program Files (x86)\GNU\GnuPG\gpg.exe
  gpg: Signature made 01/03/12 09:05:56 using RSA key ID 8D16461C
  gpg: Can't check signature: public key not found
 
 Doh...that was supposed to go directly to Hinnerk. Reply to sender
 only my hind leg...

Looks like a recently created gpg key.  Assuming the owner has uploaded it to 
a public key server, it seems likely that it has not propagated across the 
public servers yet and your enigmail plugin alerts you about it.
-- 
Regards,
Mick


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


Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
Mick wrote:
 On Tuesday 03 Jan 2012 14:55:38 Michael Mol wrote:
 Michael Mol wrote:
 Hinnerk van Bruinehsen wrote:
 On 02.01.2012 18:58, Michael Orlitzky wrote:
 On 01/02/12 12:47, Mark Knecht wrote:
 Again, 'equery depends' will tell you if any package locatable
 through the @world hierarchy needs the package. No need to
 uninstall anything to do that level of investigation.
 revdep-rebuild -I is also useful, although more historically than
 now.

 This was essentially Michal Mol's suggestion, and I gave an
 example where it would remove something important.

 Really, the proposal to 'fix --update' doesn't address really
 knowing what your system is running and why. Get to the root of
 that and the --update thing becomes the non-issue that many of us
 think it is.

 This would be a suggestion to travel back in time and document
 something that I have no way of knowing now.

 You could create your own overlay with meta-ebuilds, e. g.
 system-maintenance, customer1, customer2.
 Inside the ebuilds you define depends on the packages the customer
 wants. Doing so you could wipe everything except the meta-ebuilds
 from world. When a customer quits you can unmerge his or her
 meta-ebuild and depclean.
 If you add everything needed to the respective meta-ebuild, you'll
 always be on the safe side.

 Getting EnigMail set up on a Seamonkey/Win7 box, and Enigmail is
 complaining that your signature is unverified. I don't know/understand
 PGP/GPG all that well, but I think this is something you're supposed to
 be able to fix on your end. If that's not the case, let me know, and
 I'll get it fixed on my end. :)

 gpg command line and output:
 C:\Program Files (x86)\GNU\GnuPG\gpg.exe
 gpg: Signature made 01/03/12 09:05:56 using RSA key ID 8D16461C
 gpg: Can't check signature: public key not found

 Doh...that was supposed to go directly to Hinnerk. Reply to sender
 only my hind leg...
 
 Looks like a recently created gpg key.  Assuming the owner has uploaded it to 
 a public key server, it seems likely that it has not propagated across the 
 public servers yet and your enigmail plugin alerts you about it.

Mick, yours gives me the same error:

gpg command line and output:
C:\Program Files (x86)\GNU\GnuPG\gpg.exe
gpg: Signature made 01/03/12 11:01:03 using DSA key ID 792968B6
gpg: Can't check signature: public key not found

Though trying querying for 8D16461C or 792968B6 at
pool.sks-keyservers.net or subkeys.pgp.net gives me no key found errors.



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 15:22:29 Walter Dnes wrote:
 On Tue, Jan 03, 2012 at 05:22:09PM +0700, Pandu Poluan wrote
 
  (Come to think of it, has *any* distro ever attempted this...
  'unconventional of going udev-free?)
 
   Alpine linux has done it http://alpinelinux.org/  Unfortunately,
 they're so minimalistic and server-oriented that they use uclibc instead
 of glibc.  So Alpine is not viable as a desktop distro.  Think of it as
 
 Gentoo with mdev instead of udev == Alpine with glibc instead of uclibc
 
   By the way, there's a thread on the Gentoo developer list discussing
 the situation, and the proposed move of a bunch of stuff to /usr.  See
 http://www.gossamer-threads.com/lists/engine?do=post_view_flat;post=245148;
 page=1;mh=-1;list=gentoo;sb=post_latest_reply;so=ASC
 
   I piped up with my proposal.  We'll see what happens.

I'd like to thank Walter for doing something about this and Pandu for testing 
it, rather than just wingeing (like I did).  :p

I don't hold any hope that mdev will replace udev, but that this effort may go 
someway to influence the development philosophy that has been entertained to 
date with udev.  A philosophy that removes choice and flexibility.  This is 
felt more by Gentoo users, because Gentoo as we know is not a binary distro 
and the needs of its users are more nuanced and eclectic.

As I recall from this mammoth thread mdev is one option, a staged mounting of 
devices/running of scripts by udev is another.  Anything that will make udev 
devs to stop for a minute and think again the impact of their choices on the 
overall Linux community will be of benefit.  If Walter's good effort bring this 
about I would be more than happy to support him, although with a laptop using 
mdev may not be my immediate preferred solution.
-- 
Regards,
Mick


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


Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
Mick wrote:
 On Tuesday 03 Jan 2012 14:55:38 Michael Mol wrote:
 Michael Mol wrote:
 Hinnerk van Bruinehsen wrote:
 On 02.01.2012 18:58, Michael Orlitzky wrote:
 On 01/02/12 12:47, Mark Knecht wrote:
 Again, 'equery depends' will tell you if any package locatable
 through the @world hierarchy needs the package. No need to
 uninstall anything to do that level of investigation.
 revdep-rebuild -I is also useful, although more historically than
 now.

 This was essentially Michal Mol's suggestion, and I gave an
 example where it would remove something important.

 Really, the proposal to 'fix --update' doesn't address really
 knowing what your system is running and why. Get to the root of
 that and the --update thing becomes the non-issue that many of us
 think it is.

 This would be a suggestion to travel back in time and document
 something that I have no way of knowing now.

 You could create your own overlay with meta-ebuilds, e. g.
 system-maintenance, customer1, customer2.
 Inside the ebuilds you define depends on the packages the customer
 wants. Doing so you could wipe everything except the meta-ebuilds
 from world. When a customer quits you can unmerge his or her
 meta-ebuild and depclean.
 If you add everything needed to the respective meta-ebuild, you'll
 always be on the safe side.

 Getting EnigMail set up on a Seamonkey/Win7 box, and Enigmail is
 complaining that your signature is unverified. I don't know/understand
 PGP/GPG all that well, but I think this is something you're supposed to
 be able to fix on your end. If that's not the case, let me know, and
 I'll get it fixed on my end. :)

 gpg command line and output:
 C:\Program Files (x86)\GNU\GnuPG\gpg.exe
 gpg: Signature made 01/03/12 09:05:56 using RSA key ID 8D16461C
 gpg: Can't check signature: public key not found

 Doh...that was supposed to go directly to Hinnerk. Reply to sender
 only my hind leg...
 
 Looks like a recently created gpg key.  Assuming the owner has uploaded it to 
 a public key server, it seems likely that it has not propagated across the 
 public servers yet and your enigmail plugin alerts you about it.

Found most of the problem; Enigmail defaulted to an empty automatically
download keys for signature vereification from the following keyserver
field. Fixed that, and things started working a little better. (Herr Van
Bruinehsen's key doesn't seem to have propagated, yes, but now yours
works fine. :) )



Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 16:18:20 Michael Mol wrote:

 Mick, yours gives me the same error:
 
 gpg command line and output:
 C:\Program Files (x86)\GNU\GnuPG\gpg.exe
 gpg: Signature made 01/03/12 11:01:03 using DSA key ID 792968B6
 gpg: Can't check signature: public key not found
 
 Though trying querying for 8D16461C or 792968B6 at
 pool.sks-keyservers.net or subkeys.pgp.net gives me no key found errors.

Ahh ... that's probably different then, because my public key has been knocking 
around for a while.

$ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
michaelkintz...@gmail.com
gpg: enabled debug flags: memstat
gpg: searching for michaelkintz...@gmail.com from hkp server keys.gnupg.net
(1) Michael Kintzios (Mick) michaelkintz...@gmail.com
  1024 bit DSA key 792968B6, created: 2009-04-25
... [snip]


While Hinnerk's key is not found:


$ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
h.v.bruineh...@fu-berlin.de
gpg: enabled debug flags: memstat
gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server 
keys.gnupg.net
gpg: key h.v.bruineh...@fu-berlin.de not found on keyserver


Have you specified a keyserver to be used as a default in your setup?  I use 
hkp://keys.gnupg.net which operates a round robin function on each connection 
so as to not over-burden individual servers.
-- 
Regards,
Mick


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


Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
Mick wrote:
 On Tuesday 03 Jan 2012 16:18:20 Michael Mol wrote:
 
 Mick, yours gives me the same error:

 gpg command line and output:
 C:\Program Files (x86)\GNU\GnuPG\gpg.exe
 gpg: Signature made 01/03/12 11:01:03 using DSA key ID 792968B6
 gpg: Can't check signature: public key not found

 Though trying querying for 8D16461C or 792968B6 at
 pool.sks-keyservers.net or subkeys.pgp.net gives me no key found errors.
 
 Ahh ... that's probably different then, because my public key has been 
 knocking 
 around for a while.
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 michaelkintz...@gmail.com
 gpg: enabled debug flags: memstat
 gpg: searching for michaelkintz...@gmail.com from hkp server keys.gnupg.net
 (1)   Michael Kintzios (Mick) michaelkintz...@gmail.com
 1024 bit DSA key 792968B6, created: 2009-04-25
 ... [snip]
 
 
 While Hinnerk's key is not found:
 
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 h.v.bruineh...@fu-berlin.de
 gpg: enabled debug flags: memstat
 gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server 
 keys.gnupg.net
 gpg: key h.v.bruineh...@fu-berlin.de not found on keyserver
 
 
 Have you specified a keyserver to be used as a default in your setup?  I use 
 hkp://keys.gnupg.net which operates a round robin function on each connection 
 so as to not over-burden individual servers.

As noted, got it working. Using pool.sks-keyservers.net. Thanks. :)



Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03.01.2012 18:39, Mick wrote:
 On Tuesday 03 Jan 2012 16:18:20 Michael Mol wrote:
 
 Mick, yours gives me the same error:
 
 gpg command line and output: C:\Program Files
 (x86)\GNU\GnuPG\gpg.exe gpg: Signature made 01/03/12 11:01:03
 using DSA key ID 792968B6 gpg: Can't check signature: public key
 not found
 
 Though trying querying for 8D16461C or 792968B6 at 
 pool.sks-keyservers.net or subkeys.pgp.net gives me no key
 found errors.
 
 Ahh ... that's probably different then, because my public key has
 been knocking around for a while.
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 michaelkintz...@gmail.com gpg: enabled debug flags: memstat gpg:
 searching for michaelkintz...@gmail.com from hkp server
 keys.gnupg.net (1)Michael Kintzios (Mick)
 michaelkintz...@gmail.com 1024 bit DSA key 792968B6, created:
 2009-04-25 ... [snip]
 
 
 While Hinnerk's key is not found:
 
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 h.v.bruineh...@fu-berlin.de gpg: enabled debug flags: memstat 
 gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server 
 keys.gnupg.net gpg: key h.v.bruineh...@fu-berlin.de not found on
 keyserver
 
 
 Have you specified a keyserver to be used as a default in your
 setup?  I use hkp://keys.gnupg.net which operates a round robin
 function on each connection so as to not over-burden individual
 servers.

It seems like the 'Upload key' function of my enigmail doesn't work. I
uploaded the key manually and now I can find it.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPA0BTAAoJEJwwOFaNFkYcTkwH/1aClDV0qLS3zWF2qs9BjVXn
SZGaYsWv1aM1zranLjS4s2st6bACuKct3twN1B2s/h3m6kRxjGaXVzowvHqsv/yu
Py/5HBvBV5X45kflyLG/cJA+Ti9uMMdH5D3J7sm6nRr2mFW1+jbulBJZ2W9W1HMg
w2QbMYsDwTkw8xLwlk0/2j3x6rKVwD9oLkYhQEuif51aj1OoWuu8pyCyp0WFUkzl
cLizruB/a1UfAU9H+Hv1sdBshY3uJ7dORvzdvfKautsW/WEXjHwqLHvcyOIQ2blN
AMwiUj1VMm4jlP1BUzU3OBt6YQDO/LXMppRTv70eibMMScVgmFUUjGC3X5m4H1Y=
=c4Iq
-END PGP SIGNATURE-



Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Mick
On Tuesday 03 Jan 2012 17:52:19 Hinnerk van Bruinehsen wrote:
 On 03.01.2012 18:39, Mick wrote:
  On Tuesday 03 Jan 2012 16:18:20 Michael Mol wrote:
  Mick, yours gives me the same error:
  
  gpg command line and output: C:\Program Files
  (x86)\GNU\GnuPG\gpg.exe gpg: Signature made 01/03/12 11:01:03
  using DSA key ID 792968B6 gpg: Can't check signature: public key
  not found
  
  Though trying querying for 8D16461C or 792968B6 at
  pool.sks-keyservers.net or subkeys.pgp.net gives me no key
  found errors.
  
  Ahh ... that's probably different then, because my public key has
  been knocking around for a while.
  
  $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys
  michaelkintz...@gmail.com gpg: enabled debug flags: memstat gpg:
  searching for michaelkintz...@gmail.com from hkp server
  keys.gnupg.net (1)  Michael Kintzios (Mick)
  michaelkintz...@gmail.com 1024 bit DSA key 792968B6, created:
  2009-04-25 ... [snip]
  
  
  While Hinnerk's key is not found:
  
  
  $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys
  h.v.bruineh...@fu-berlin.de gpg: enabled debug flags: memstat
  gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server
  keys.gnupg.net gpg: key h.v.bruineh...@fu-berlin.de not found on
  keyserver
  
  
  Have you specified a keyserver to be used as a default in your
  setup?  I use hkp://keys.gnupg.net which operates a round robin
  function on each connection so as to not over-burden individual
  servers.
 
 It seems like the 'Upload key' function of my enigmail doesn't work. I
 uploaded the key manually and now I can find it.

Kewl, now it works fine:

$ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
h.v.bruineh...@fu-berlin.de
gpg: enabled debug flags: memstat
gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server 
keys.gnupg.net
(1) Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de
  2048 bit RSA key 8D16461C, created: 2011-11-10
Keys 1-1 of 1 for h.v.bruineh...@fu-berlin.de.  Enter number(s), N)ext, or 
Q)uit 
-- 
Regards,
Mick


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


Re: (Was) Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mick wrote:
 On Tuesday 03 Jan 2012 17:52:19 Hinnerk van Bruinehsen wrote:
 On 03.01.2012 18:39, Mick wrote:
 On Tuesday 03 Jan 2012 16:18:20 Michael Mol wrote:
 Mick, yours gives me the same error:
 
 gpg command line and output: C:\Program Files 
 (x86)\GNU\GnuPG\gpg.exe gpg: Signature made 01/03/12
 11:01:03 using DSA key ID 792968B6 gpg: Can't check
 signature: public key not found
 
 Though trying querying for 8D16461C or 792968B6 at 
 pool.sks-keyservers.net or subkeys.pgp.net gives me no key 
 found errors.
 
 Ahh ... that's probably different then, because my public key
 has been knocking around for a while.
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 michaelkintz...@gmail.com gpg: enabled debug flags: memstat
 gpg: searching for michaelkintz...@gmail.com from hkp server 
 keys.gnupg.net (1)  Michael Kintzios (Mick) 
 michaelkintz...@gmail.com 1024 bit DSA key 792968B6,
 created: 2009-04-25 ... [snip]
 
 
 While Hinnerk's key is not found:
 
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 h.v.bruineh...@fu-berlin.de gpg: enabled debug flags:
 memstat gpg: searching for h.v.bruineh...@fu-berlin.de from
 hkp server keys.gnupg.net gpg: key
 h.v.bruineh...@fu-berlin.de not found on keyserver
 
 
 Have you specified a keyserver to be used as a default in your 
 setup?  I use hkp://keys.gnupg.net which operates a round
 robin function on each connection so as to not over-burden
 individual servers.
 
 It seems like the 'Upload key' function of my enigmail doesn't
 work. I uploaded the key manually and now I can find it.
 
 Kewl, now it works fine:
 
 $ /usr/bin/gpg2 --keyserver hkp://keys.gnupg.net --search-keys 
 h.v.bruineh...@fu-berlin.de gpg: enabled debug flags: memstat 
 gpg: searching for h.v.bruineh...@fu-berlin.de from hkp server 
 keys.gnupg.net (1)Hinnerk van Bruinehsen
 h.v.bruineh...@fu-berlin.de 2048 bit RSA key 8D16461C, created:
 2011-11-10 Keys 1-1 of 1 for h.v.bruineh...@fu-berlin.de.  Enter
 number(s), N)ext, or Q)uit 

...and testing sending a signed message. Key uploaded manually, but no
idea how quickly it will propagate.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPA0c5AAoJEC/SB0LItoL+AnQIAJgoI5bshSkSuqPUOqTgD78t
domQfMztoFKNUgzVeQoCPmHgcFYFL8SuhtaARlUXDqPI+fDzbbfY+jGf2fjyAZOc
xqqptQVSfxXnuz+usuC3WdcsIHlt4PQjBG+7t8RIArIdE/UIUZlQSfYJTTZVUHBf
b4xM7aTCXcoE+FZIoZ0hnAQUyT/+rXBsK4a01tLK7Qt7dmgfhffuOBbHx215WtW3
6Qo9SEjknF8w7v/aLcGw6EI+576R8oRCVoDrF/UFCOx0mKxh4myClQMunmh5y7Zs
C4QjlGTEMayIqoJsQQGBWO9DmEdRCxgPtataINb6WBuT7FMq1EQfMtCnPl1fdAo=
=oyky
-END PGP SIGNATURE-



Re: [gentoo-user] Secure Cloud Backup

2012-01-03 Thread Doug Hunley
On Mon, Jan 2, 2012 at 20:16, Florian Philipp li...@binarywings.net wrote:
 Well, I have no experience with their service (although I always planned
 to use them), but maybe you can try these guys [1]. They don't have file
 size limits and support everything working over ssh (including sshfs) as
 well as duplicity for file encryption. Of course, having only US
 locations could be a no-go depending on your legal
 considerations/restrictions.

 [1] http://www.rsync.net/

I can vouch for them. I've used them for some time and their service
is really good. I especially like their canary which lets you know if
they had to give the keys to the govt ;)

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd                                               Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



Re: [gentoo-user] emerge --update behavior

2012-01-03 Thread Walter Dnes
On Tue, Jan 03, 2012 at 09:46:42AM +0200, Alan McKinnon wrote

 So your actual problem is that you relied on an arbitrary behaviour of
 portage from the days when the standard was whatever portage does
 today and you are unhappy because for you that is now broken.
 
 But no-one ever promised you that behaviour in a stable API.

http://www.catb.org/~esr/writings/taoup/html/ch01s06.html#id2878339

 Rule of Least Surprise: In interface design, always do the least
 surprising thing.
 
 (This is also widely known as the Principle of Least Astonishment.)

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer

Hi,

My gentoo box runs with linux kernel 3.1.6 (vanilla).
The hardware consists of an Asus Crosshair Formula IV
motherboard, a AMD Phenom II X6 1090T Processor and
two nviida cards:
02:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 
560 Ti] (rev a1)
09:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 
430] (rev a1)

Previously I had installed the GT 430 card only.
With this card, hibernation to disk using sys-power/hibernate-script was no
problem.

Then I removed the GT 430 and uses a GTX 560 Ti for better performance
when rendering while utilzing the GPU.
With this card the same hibernation was no problem also.

Then on the Blender forum one came up with the idea to install both
cards. The GT 430 is used for desktop purposes then, the GTX 560 Ti
was used for rendering only.

With this setup hibernation is not possible anymore.

Whe starting the hibernation, the screen wents dark, but the PC does
not power off.

I had to push the power button finally and the reboot afterwards wents
through the normal process like after any normal shutdown...with the
exception, that the journals of the partitions had to be fixed.

/var/log/hibernate.log shows the following of the failed hibernation
and the boot afterwards:

Starting suspend at Tue Jan 3 21:48:58 CET 2012
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureSysfsPowerStateCapable ... 
hibernate: [11] Executing XHacksSuspendHook1 ... 
hibernate: [19] Executing DevicesFree ... 
hibernate: [30] Executing ServicesStop ... 
* Storing ALSA Mixer Levels ... [ ok ]
hibernate: [45] Executing FSTypesUnmount ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [90] Executing ModulesUnload ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [95] Executing XHacksSuspendHook2 ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [98] Executing FullSpeedCPUSuspend ... 
hibernate: [99] Executing DoSysfsPowerStateSuspend ... 
hibernate: Activating sysfs power state disk ...

I tried to blacklist the nvidia drivers (290.10), but the hibernation
couldn't unload this driver.

How can I get back the hibernation functionality?

Thank you very much in advance for any help !

Best regards,
mcc







[gentoo-user] xpdf - missing fonts

2012-01-03 Thread Joseph
xpdf it complains about missing fonts 

xpdf hl5370d_ukeng_usr.pdf 
Error: No display font for 'Courier'

Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion

Anybody knows how to install them?

--
Joseph



Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Neil Bothwick
On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:

 I know. It's the I want to get the rid of initramfs thing that looks
 crazy to me.

No one is saying they want to get rid of the initramfs, because they are
not using one. What people object to is being forced to start using one.


-- 
Neil Bothwick

An investment in knowledge always pays the best interest. - Benjamin
Franklin


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3

2012-01-03 Thread Dale

Neil Bothwick wrote:

On Tue, 3 Jan 2012 15:31:20 +0100, Nicolas Sebrecht wrote:


I know. It's the I want to get the rid of initramfs thing that looks
crazy to me.

No one is saying they want to get rid of the initramfs, because they are
not using one. What people object to is being forced to start using one.




You got that right.  I have not used one since I started using Gentoo.  
Now, I may very well have to start.  I hope mdev gets to a point where 
it works really well on desktop systems.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] Konsole issue

2012-01-03 Thread Colleen Beamer
On 01/02/12 22:19, Dale wrote:
 Colleen Beamer wrote:
 On 01/02/12 14:42, Michael Mol wrote:
 On Mon, Jan 2, 2012 at 2:32 PM, Colleen
 Beamercolleen.bea...@gmail.com  wrote:
 On 01/02/12 04:57, Mick wrote:
 On Monday 02 Jan 2012 02:25:45 Colleen Beamer wrote:
 On 01/01/12 20:29, Mark Knecht wrote:
 On Sun, Jan 1, 2012 at 5:20 PM, Colleen Beamer
 colleen.bea...@gmail.com
 wrote:
 On 01/01/12 20:13, Mark Knecht wrote:
 [snip]

 Since there were no updates/upgrades immediately prior to this
 error, this
 could well have been a result of fs corruption, or memory
 problems. It
 would
 make sense to check what smartctl -a /dev/sda shows just in case.
 I'd be willing to try this, but what is smartctl a part of?
 smartctl -a asks the hard disk device for diagnostic information.
 Yes, but when I ran 'smartctl -a /dev/sda' it tells me the command isn't
 found.  I did a search for this command and it was found in
 /usr/share/bash-completion/ but if I run it (and it is executable to
 owner (root)), using the full path to the command, it tells me the
 command isn't found.  I also tried creating a symlink to it in /usr/bin
 and I get the message:
 /usr/bin/smartctl: line 3: have: command not found.

 Regards,

 Colleen


 emerge smartmontools

 then when that is done, do this:

 smartctl -t long /dev/sddrive letter here

 When you do that, it should print a message that tells when the test
 will complete.  It is usually a 24 hour format thing too.  This can
 run while the drive is in use too.  Sometime after that time, run this
 command:

 smartctl -l selftest /dev/sddrive letter here

 That should tell you the results of the test.  If it says it passed,
 this is good.  If it reports a problem, well it is not good.  If you
 are lucky, it will be like a recent problem I had and reformatting
 will fix it.  It was a weird problem but beats replacing a drive.

Thanks, Dale.  I'll try this.  Don't know if I'll get to it tonight 
unfortunately, it was back to work to day and I have a bunch of stuff to
do tonight.

To everyone else, thanks ... I'll keep googling to see if I can figure
this out and I'll shout again if I need assistance.

Regards,

Colleen


-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] xpdf - missing fonts

2012-01-03 Thread Florian Philipp
Am 03.01.2012 23:15, schrieb Joseph:
 xpdf it complains about missing fonts
 xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
 Error: No display font for 'Courier-Bold'
 Error: No display font for 'Courier-BoldOblique'
 Error: No display font for 'Courier-Oblique'
 Error: No display font for 'Helvetica'
 Error: No display font for 'Helvetica-Bold'
 Error: No display font for 'Helvetica-BoldOblique'
 Error: No display font for 'Helvetica-Oblique'
 Error: No display font for 'Symbol'
 Error: No display font for 'Times-Bold'
 Error: No display font for 'Times-BoldItalic'
 Error: No display font for 'Times-Italic'
 Error: No display font for 'Times-Roman'
 Error: No display font for 'ZapfDingbats'
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 Warning: Missing charsets in String to FontSet conversion
 
 Anybody knows how to install them?
 

They should be part of media-fonts/corefonts. Maybe you have to activate
the X use flag for them.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] xpdf - missing fonts

2012-01-03 Thread Joseph

On 01/04/12 00:20, Florian Philipp wrote:

Am 03.01.2012 23:15, schrieb Joseph:

xpdf it complains about missing fonts
xpdf hl5370d_ukeng_usr.pdf Error: No display font for 'Courier'
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion

Anybody knows how to install them?



They should be part of media-fonts/corefonts. Maybe you have to activate
the X use flag for them.

Regards,
Florian Philipp


Core fonts is built with X flag enabled.

[ebuild   R] media-fonts/corefonts-1-r4  USE=X 0 kB

I compare the fonts to my other system that is working correctly and both boxes use the same fonts package so I can not figure it out why xpdf is complaining on missing 
fonts.


Here is my list:
drwxr-xr-x 2 root root  4096 Jan  3 15:03 100dpi
drwxr-xr-x 2 root root  4096 Jan  3 15:03 75dpi
drwxr-xr-x 2 root root  4096 Jan  3 16:22 arphicfonts
drwxr-xr-x 2 root root  4096 Jan  3 16:33 corefonts
drwxr-xr-x 2 root root  4096 Jan  3 15:03 cyrillic
drwxr-xr-x 2 root root  4096 Dec 18 02:05 dejavu
drwxr-xr-x 3 root root  4096 Dec 18 02:03 encodings
drwxr-xr-x 2 root root  4096 Jan  3 15:04 liberation-fonts
drwxr-xr-x 2 root root  4096 Jan  3 15:03 misc
drwxr-xr-x 2 root root  4096 Jan  3 16:30 Speedo
drwxr-xr-x 2 root root 12288 Jan  3 15:02 terminus
drwxr-xr-x 2 root root  4096 Jan  3 15:03 TTF
drwxr-xr-x 2 root root  4096 Jan  3 16:31 ttf-bitstream-vera
drwxr-xr-x 2 root root  4096 Jan  3 15:03 Type1
drwxr-xr-x 2 root root  4096 Dec 18 02:05 urw-fonts
drwxr-xr-x 2 root root  4096 Dec 18 01:14 util

--
Joseph



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Mick
On 3 January 2012 21:10,  meino.cra...@gmx.de wrote:

 Hi,

 My gentoo box runs with linux kernel 3.1.6 (vanilla).
 The hardware consists of an Asus Crosshair Formula IV
 motherboard, a AMD Phenom II X6 1090T Processor and
 two nviida cards:
    02:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 
 560 Ti] (rev a1)
    09:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 
 430] (rev a1)

 Previously I had installed the GT 430 card only.
 With this card, hibernation to disk using sys-power/hibernate-script was no
 problem.

 Then I removed the GT 430 and uses a GTX 560 Ti for better performance
 when rendering while utilzing the GPU.
 With this card the same hibernation was no problem also.

 Then on the Blender forum one came up with the idea to install both
 cards. The GT 430 is used for desktop purposes then, the GTX 560 Ti
 was used for rendering only.

 With this setup hibernation is not possible anymore.

 Whe starting the hibernation, the screen wents dark, but the PC does
 not power off.

 I had to push the power button finally and the reboot afterwards wents
 through the normal process like after any normal shutdown...with the
 exception, that the journals of the partitions had to be fixed.

 /var/log/hibernate.log shows the following of the failed hibernation
 and the boot afterwards:

    Starting suspend at Tue Jan 3 21:48:58 CET 2012
    hibernate: [01] Executing CheckLastResume ...
    hibernate: [01] Executing CheckRunlevel ...
    hibernate: [01] Executing LockFileGet ...
    hibernate: [01] Executing NewKernelFileCheck ...
    hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
    hibernate: [11] Executing XHacksSuspendHook1 ...
    hibernate: [19] Executing DevicesFree ...
    hibernate: [30] Executing ServicesStop ...
    * Storing ALSA Mixer Levels ... [ ok ]
    hibernate: [45] Executing FSTypesUnmount ...
    hibernate: [59] Executing RemountXFSBootRO ...
    hibernate: [89] Executing SaveKernelModprobe ...
    hibernate: [90] Executing ModulesUnload ...
    hibernate: [91] Executing ModulesUnloadBlacklist ...
    hibernate: [91] Executing ModulesUnloadBlacklist ...
    hibernate: [95] Executing XHacksSuspendHook2 ...
    hibernate: [98] Executing CheckRunlevel ...
    hibernate: [98] Executing FullSpeedCPUSuspend ...
    hibernate: [99] Executing DoSysfsPowerStateSuspend ...
    hibernate: Activating sysfs power state disk ...

 I tried to blacklist the nvidia drivers (290.10), but the hibernation
 couldn't unload this driver.

 How can I get back the hibernation functionality?

 Thank you very much in advance for any help !

I'm not sure if this is related, but here it goes:

Unllike you, I'm running a (single) ATI card in a laptop and have just
compiled and installed the 3.1.6-gentoo kernel.

Like you, when I tried to hibernate the screen but dark, but it never
actually completes the hibernation.  Similarly with suspend to RAM I
cannot recover from it and I have to power cycle it.

I have not had such a problem with this laptop since I bought it two
years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.
-- 
Regards,
Mick



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Paul Hartman
On Tue, Jan 3, 2012 at 6:01 PM, Mick michaelkintz...@gmail.com wrote:
 I'm not sure if this is related, but here it goes:

 Unllike you, I'm running a (single) ATI card in a laptop and have just
 compiled and installed the 3.1.6-gentoo kernel.

 Like you, when I tried to hibernate the screen but dark, but it never
 actually completes the hibernation.  Similarly with suspend to RAM I
 cannot recover from it and I have to power cycle it.

 I have not had such a problem with this laptop since I bought it two
 years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.

Linux kernel 3.1.7 was just released with a fix for some kind of
suspend/resume problem. Maybe it's related?



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [12-01-04 02:29]:
 On Tue, Jan 3, 2012 at 6:01 PM, Mick michaelkintz...@gmail.com wrote:
  I'm not sure if this is related, but here it goes:
 
  Unllike you, I'm running a (single) ATI card in a laptop and have just
  compiled and installed the 3.1.6-gentoo kernel.
 
  Like you, when I tried to hibernate the screen but dark, but it never
  actually completes the hibernation.  Similarly with suspend to RAM I
  cannot recover from it and I have to power cycle it.
 
  I have not had such a problem with this laptop since I bought it two
  years ago.  All I'm thinking of blaming is the new 3.1.6 kernel.
 
 Linux kernel 3.1.7 was just released with a fix for some kind of
 suspend/resume problem. Maybe it's related?
 

Hi, 

thank you for your replies!

...I tried linux kernel 3.1.7 and it does not fix the problem.
The situation remains the samesigh

What can I addtionaly check ?

Best regards,
mcc





Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Claudio Roberto França Pereira
Just for completeness sake, try downgrading the kernel to 3.1.5 or lower.



[gentoo-user] How to get raid

2012-01-03 Thread Jeff Cranmer
Hi all,

I have recently built a new system, running Gentoo on a Sabertooth 990FX
motherboard.  The board has a raid controller on which I'm running a
120GB solid state drive for the OS (Raid 0) and a set of three 1.5TB
drives which were previously running as a RAID5 array.

I can see the sda 120GB drive and have installed the operating system on
that.  I can't see one device for the three disk RAID5 array, even
though the RAID BIOS reports it as a healthy 3TB disk.  Instead I see
three separate devices, sdb, sdc and sdd

What do I need to do to mount the 3TB RAID disk?  I'm running genkernel,
and compiled it with genkernel --dmraid all.  It should already have
data on it, if I can only get gentoo to recognise it.

I can see the RAID controller when I use lspci

00:11.0 RAID bus controller: ATI Technologies Inc SB7x0,SB8x0,SB9x0 SATA
Controller [RAID5 mode] (rev 40)

One possible clue may be in dmesg, where I get the error
device-mapper: table: 253:0: raid45: unknown target type

Any assistance gratefully received.

Thanks

Jeff




[gentoo-user] Read only root filesystem on linode64

2012-01-03 Thread Nilesh Govindarajan
I am trying to run a custom kernel with gentoo on linode64, but there's
strange problem I'm facing.
The root always gets mounted read-only, I don't know why. I have this
line in menu.lst:

kernel /boot/vmlinuz-3.1.6-gentoo root=/dev/xvda rw

Also, the /etc/fstab line says:
/dev/xvda / defaults,noatime 0 1

Everytime I boot with the custom kernel, the root is getting mounted as
read only. The funniest thing is, even after proper shutdown, a disk
error pops up on /dev/xvda, because I see the message during boot.

Anybody knows how to get this thing working? I don't want to use
linode's stock kernel, the xfs code in it seems to have some bug.

--
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread Walter Dnes
On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote

 ...I tried linux kernel 3.1.7 and it does not fix the problem.
 The situation remains the samesigh
 
 What can I addtionaly check ?

  An excerpt from the hibernate.conf man page...

===
Verbosity N
  Determines  how  verbose  the  output from the suspend script
  should be: 0: silent except for  errors  1:  print  steps  2:
  print  steps  in  detail  3: print steps in lots of detail 4:
  print out every command executed (uses -x)


LogFile filename
  If specified, output from the suspend  script  will  also  be
  redirected to this file - useful for debugging purposes.
===

  Add the 2 lines...

Verbosity 4
LogFile /root/hibernate.log

...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
or else use the Magic SysReq Key, if you have it enabled.  Once you
restart, take a look at the logfile to see where it dies.  If you can't
figure it out, gzip the logfile and attach it to a posting here, and
we'll try to figure it out.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: Read only root filesystem on linode64

2012-01-03 Thread Nilesh Govindarajan
On Wed 04 Jan 2012 08:35:19 AM IST, Nilesh Govindarajan wrote:
 I am trying to run a custom kernel with gentoo on linode64, but there's
 strange problem I'm facing.
 The root always gets mounted read-only, I don't know why. I have this
 line in menu.lst:

 kernel /boot/vmlinuz-3.1.6-gentoo root=/dev/xvda rw

 Also, the /etc/fstab line says:
 /dev/xvda / defaults,noatime 0 1

 Everytime I boot with the custom kernel, the root is getting mounted as
 read only. The funniest thing is, even after proper shutdown, a disk
 error pops up on /dev/xvda, because I see the message during boot.

 Anybody knows how to get this thing working? I don't want to use
 linode's stock kernel, the xfs code in it seems to have some bug.

 --
 Nilesh Govindarajan
 http://nileshgr.com

Err, correction, it's linode1536 64 bit.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Re: Video editing advice on formats and size of file

2012-01-03 Thread Claudio Roberto França Pereira
Ok, I know what to do. I played a little with ffmpeg and avconv
(ffmpeg's fork, libav, conversion utility) converting 3D YouTube
videos to play at the Nintendo 3DS.
Anyways, I'll pretend you're using ffmpeg, I prefer libav but ffmpeg
is much more common (both are made available by portage, there is
virtual/ffmpeg now). Their syntax is a little different by the way, if
you prefer using libav just look at libav changelog
(/usr/share/doc/libav-version/CHANGELOG.bz2, or something close to
that).

ffmpeg -i file1.avi -i file2.avi -vcodec copy -acodec copy -async 12
-o output.avi

You can use multiple input files, not just 2. If their codec match,
you can copy, if they don't match then you'll need to re-encode the
files (or the just the ones with the different codec).
The -async 12 option do the synchronization trick. The 12 indicates
that ffmpeg should try to correct synchronization at most 12 times per
second. You could use less, try and see the results yourself. I'd say
that even 5 or 3 would give great results, but 12 doesn't seem to
increase file size either.



Re: [gentoo-user] How to get raid

2012-01-03 Thread Paul Hartman
On 01/03/2012 08:57 PM, Jeff Cranmer wrote:
 device-mapper: table: 253:0: raid45: unknown target type

Maybe a dumb question, but is the raid45 module enabled in your kernel
config?



[gentoo-user] Init Scripts Not Starting

2012-01-03 Thread Dan Cowsill
Hey list,

A little while after I compiled Gnome and got things running, I lost the
ability to add scripts to the default runlevel.  I can run rc-update add
xdm default, for example, and the xdm symlink will appear in
/etc/runlevels/default, and that symlink will indeed point to
/etc/init.d/xdm, but xdm will not start.  Further to that, there's no
evidence to indicate that RC is even trying to start it.  No errors, no
logs, no nothing.  Same goes for virtualbox-guest-additions and sysklogd.
 I tried logging rc and got absolutely nowhere.  There's nothing overt in
dmesg either.

The really fun part is these scripts function perfectly if I run them after
boot.

Since there's no evidence of this problem in any logs or during the startup
process, I assume there is no problem and I am doing it wrong.

Thoughts?


[gentoo-user] Re: Read only root filesystem on linode64

2012-01-03 Thread Nilesh Govindarajan
On Wed 04 Jan 2012 08:42:48 AM IST, Nilesh Govindarajan wrote:
 On Wed 04 Jan 2012 08:35:19 AM IST, Nilesh Govindarajan wrote:
 I am trying to run a custom kernel with gentoo on linode64, but there's
 strange problem I'm facing.
 The root always gets mounted read-only, I don't know why. I have this
 line in menu.lst:

 kernel /boot/vmlinuz-3.1.6-gentoo root=/dev/xvda rw

 Also, the /etc/fstab line says:
 /dev/xvda / defaults,noatime 0 1

 Everytime I boot with the custom kernel, the root is getting mounted as
 read only. The funniest thing is, even after proper shutdown, a disk
 error pops up on /dev/xvda, because I see the message during boot.

 Anybody knows how to get this thing working? I don't want to use
 linode's stock kernel, the xfs code in it seems to have some bug.

 --
 Nilesh Govindarajan
 http://nileshgr.com

 Err, correction, it's linode1536 64 bit.


I got the answer from linode community in case anyone is interested, 
there's some bug in xen/linode with 3.1 series kernels. I was advised 
to try 3.0 series and it works.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] problems, with, 'hibernate, to, disk', two, nvidia, cards, installed

2012-01-03 Thread meino . cramer
Walter Dnes waltd...@waltdnes.org [12-01-04 06:25]:
 On Wed, Jan 04, 2012 at 03:03:49AM +0100, meino.cra...@gmx.de wrote
 
  ...I tried linux kernel 3.1.7 and it does not fix the problem.
  The situation remains the samesigh
  
  What can I addtionaly check ?
 
   An excerpt from the hibernate.conf man page...
 
 ===
 Verbosity N
   Determines  how  verbose  the  output from the suspend script
   should be: 0: silent except for  errors  1:  print  steps  2:
   print  steps  in  detail  3: print steps in lots of detail 4:
   print out every command executed (uses -x)
 
 
 LogFile filename
   If specified, output from the suspend  script  will  also  be
   redirected to this file - useful for debugging purposes.
 ===
 
   Add the 2 lines...
 
 Verbosity 4
 LogFile /root/hibernate.log
 

It is 

 LogVerbosity 4

and the configuration file is

 /etc/hibernate/common.conf

(just for those reading this thread later)


 ...to /etc/hibernate.conf and attempt to suspend.  If it doesn't power
 off, do *NOT* use the power switch.  Either reboot with {CTRL}{ALT}{DEL}
 or else use the Magic SysReq Key, if you have it enabled.  Once you
 restart, take a look at the logfile to see where it dies.  If you can't
 figure it out, gzip the logfile and attach it to a posting here, and
 we'll try to figure it out.

CTRL-ALT-DEL does not work here.
Sysrq does not work either.
May be this is because the usb-module gets unloaded before (just a
shot in the dark)?

I had to power off again.

I dont know, whether the log entries are valid under this conditions,
but here they are:

Starting suspend at Wed Jan 4 06:35:36 CET 2012
Jan 4 06:35:36.67 hibernate: [01] Executing CheckLastResume ...
Jan 4 06:35:36.68 hibernate: [01] Executing CheckRunlevel ...
Jan 4 06:35:36.69 hibernate: [01] Executing LockFileGet ...
Jan 4 06:35:36.70 hibernate: [01] Executing NewKernelFileCheck ...
Jan 4 06:35:36.71 hibernate: [10] Executing EnsureSysfsPowerStateCapable ...
Jan 4 06:35:36.72 hibernate: [11] Executing XHacksSuspendHook1 ...
Jan 4 06:35:36.73 hibernate: [19] Executing DevicesFree ...
Jan 4 06:35:43.53 hibernate: [30] Executing ServicesStop ...
Jan 4 06:35:43.54 Executing /etc/init.d/alsasound stop
 * Storing ALSA Mixer Levels ... [ ok ]
Jan 4 06:35:43.64 hibernate: [45] Executing FSTypesUnmount ...
Jan 4 06:35:43.66 hibernate: [59] Executing RemountXFSBootRO ...
Jan 4 06:35:43.67 hibernate: [89] Executing SaveKernelModprobe ...
Jan 4 06:35:43.68 Saved /proc/sys/kernel/modprobe is /sbin/modprobe
Jan 4 06:35:43.69 hibernate: [90] Executing ModulesUnload ...
Jan 4 06:35:43.70 -n Unloading module snd_via82cxxx...
Jan 4 06:35:43.70 not loaded.
Jan 4 06:35:43.71 -n Unloading module usb-ohci...
Jan 4 06:35:43.71 not loaded.
Jan 4 06:35:43.72 -n Unloading module snd_via82cxxx...
Jan 4 06:35:43.72 not loaded.
Jan 4 06:35:43.73 -n Unloading module usb-ohci...
Jan 4 06:35:43.74 not loaded.
Jan 4 06:35:43.74 hibernate: [91] Executing ModulesUnloadBlacklist ...
Jan 4 06:35:43.75 Unloading blacklisted modules listed 
/etc/hibernate/blacklisted-modules
Jan 4 06:35:43.89 Module version for ipw2100 is
Jan 4 06:35:43.91 Module version for ipw2200 is
Jan 4 06:35:44.08 Module version for snd_bt_sco is
Jan 4 06:35:44.21 Module version for ndiswrapper is
Jan 4 06:35:44.33 hibernate: [91] Executing ModulesUnloadBlacklist ...
Jan 4 06:35:44.34 Unloading blacklisted modules listed 
/etc/hibernate/blacklisted-modules
Jan 4 06:35:44.45 Module version for ipw2100 is
Jan 4 06:35:44.47 Module version for ipw2200 is
Jan 4 06:35:44.64 Module version for snd_bt_sco is
Jan 4 06:35:44.77 Module version for ndiswrapper is
Jan 4 06:35:44.90 hibernate: [95] Executing XHacksSuspendHook2 ...
Jan 4 06:35:44.92 xhacks: changing console from 7 to 15
Jan 4 06:35:46.65 hibernate: [98] Executing CheckRunlevel ...
Jan 4 06:35:46.66 hibernate: [98] Executing FullSpeedCPUSuspend ...
Jan 4 06:35:46.69 Switched to performance, with min freq at 360
Jan 4 06:35:46.71 Switched to performance, with min freq at 360
Jan 4 06:35:46.73 Switched to performance, with min freq at 360
Jan 4 06:35:46.74 Switched to performance, with min freq at 360
Jan 4 06:35:46.75 Switched to performance, with min freq at 360
Jan 4 06:35:46.76 Switched to performance, with min freq at 360
Jan 4 06:35:46.76 hibernate: [99] Executing DoSysfsPowerStateSuspend ...
Jan 4 06:35:46.76 hibernate: Activating sysfs power state disk ...



 -- 
 Walter Dnes waltd...@waltdnes.org