Re: [gentoo-user] installing gentoo (multiple OS)

2011-12-04 Thread srini srini
@MIck

I have a 1TB seagate disk drive, which I would like to install...

1. Will also have windoze whatever bs it is, since its usage is still in
existence duh! -  -

2. Surely Debian the universal OS  - will have x86-64 image. - GNOME -
Kernel 3.x. - bash

3. The Ubuntu - will have 32-bit - image. - XFCE - Kernel 3.x. - bash

4. The Slackware vanilla (stable), to get deep into the kernel :) - 32-bit
image - registers and argument handling. - fluxbox - Kernel 2.xx.x - bash

5. Voiding Gentoo is like keeping the penguin out of ice cap, so will make
space for it. -x86-32 image - KDE - Kernel 3.x. - sh

6. Thinking of legacy commercial unix solaris 5/09 (the original unix of
them all) - 32-bit image - CDE - woohoo!

I know its a bit whimsical, but would love to work on these OS'es except
the #1 in order.

Yes I have a PC clone, thus MBR.

Any advise is welcome.




On Sat, Dec 3, 2011 at 5:25 AM, Mick michaelkintz...@gmail.com wrote:

 On Thursday 01 Dec 2011 07:24:47 srini srini wrote:
  Hello,
 
  I need some advise here as I am trying to install gentoo along with
  different other OS'es including windows.
  As I am new to this field I would need some guidance as to ho to go about
  and to know the subtleties between LILO and GRUB.
 
  Can anyone help me about this.

 How big is the disk(s)?

 Which OS' are you thinking of installing and in which order?

 Do you have installation CDs for all OS (including MSWindows)?

 Does your PC feature an MBR or an UEFI?
 --
 Regards,
 Mick



Re: [gentoo-user] emerge ignoring -v switch

2011-12-04 Thread Mick
On Saturday 03 Dec 2011 16:45:19 Frank Steinmetzger wrote:
 On Sat, Dec 03, 2011 at 09:23:48AM -0500, Indi wrote:
  About a month or so ago I did an update which seems to have caused
  portage to lose the ability to work verbosely.
  Ever since it looks like this:
  paste
  idd@gh:[~]9:07:23 $ sudo emerge -vauND adobe-flash
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild U  ] sys-libs/glibc-2.14.1-r1 [2.14.1] USE=nls -debug -gd
  -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla 150
  kB [ebuild   R] sys-devel/binutils-2.22  USE=nls zlib%* -multislot
  -multitarget -static-libs -test -vanilla 0 kB [ebuild U  ]
  dev-libs/openssl-1.0.0e-r1 [1.0.0e] USE=bindist kerberos sse2 zlib -gmp
  -rfc3779 -static-libs% -test 3,950 kB [ebuild U  ]
  net-misc/curl-7.23.1 [7.22.0] USE=ipv6 ssl threads -ares -gnutls -idn
  -kerberos -ldap -nss -ssh% -static-libs -test (-libssh2%) 2,321 kB
  [ebuild U  ] dev-libs/cyrus-sasl-2.1.25 [2.1.23-r6] USE=berkdb
  openldap ssl -authdaemond -gdbm -java -kerberos -ldapdb% -mysql -pam
  -postgres -sample -sqlite% -srp -static-libs% -urandom (-crypt%*)
  (-ntlm_unsupported_patch%) 5,088 kB [ebuild U  ] dev-vcs/git-1.7.8
  [1.7.8_rc4] USE=blksha1 cgi curl cvs iconv perl python subversion
  threads webdav -doc -emacs -gtk (-ppcsha1) -tk -xinetd 3,941 kB
  
  Total: 6 packages (5 upgrades, 1 reinstall), Size of downloads: 15,448 kB
  
  Would you like to merge these packages? [Yes/No] y
  
   Verifying ebuild manifests
   Starting parallel fetch
   Emerging (1 of 6) sys-libs/glibc-2.14.1-r1
   Jobs: 0 of 6 complete, 1 runningLoad avg: 2.16, 1.66,
   1.10
  
  /paste
  
  Remerged python, verified the right python via eselect, remerge portage,
  etc etc etc etc I just can't seem to get proper output from emerge
  anymore no matter what. Other than that everything is working fine, but
  I do need to see actual output.
  
  Anyone know what to do to fix this?
 
 Did you enable parallel builds? I.e. added --jobs and/or --load related
 options to EMERGE_DEFAULT_OPTS? In that case emerge uses this kind of
 output, because obviously you can’t display multiple builds at the same
 time in one window.
 
 The -v flag, to my knowledge, only affects the output of -p and -a, adding
 information like used and changed use flags and file size to download for
 each package to be installed.

I've got both -j and -l set in my MAKEOPTS and portage is quite verbose as it 
has always been.  I don't know if EMERGE_DEFAULT_OPTS has a different effect.
-- 
Regards,
Mick


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


Re: [gentoo-user] clamav and spamassassin

2011-12-04 Thread Pandu Poluan
On Dec 4, 2011 10:10 AM, Michael Orlitzky mich...@orlitzky.com wrote:

 On 12/03/2011 09:48 PM, Pandu Poluan wrote:



 Thanks! Very helpful resources.

 You mentioned amavisd-new. What's their relationship? I mean, if I
 deploy postscreen, how will it affect amavisd-new?


 Postscreen sits in front of smtpd, and handles all incoming connections.
It hands the good connections off to the real smtpd daemon. Amavisd-new
(in both before/after-queue configurations) interacts with the real smtpd,
so postscreen doesn't directly affect it at all.

 What was I talking about?

 With amavisd-new, a before-queue filter is generally nicer, because you
can reject spam, notifying the sender, rather than discarding it or
backscattering. But, amavisd-new is a hog, and with a before-queue filter,
an amavis process gets used every time ANY connection is made. Since 95% of
your connections will be crap (that is a technical term), you waste tons of
resources creating/killing amavisd-new processes for botnets and other scum
that will be rejected quickly.

 On a busy server, it will kill you.

 Postscreen only passes the good connections to a real smtpd, so with
postscreen running, new amavis processes only get used for those good
connections. If postscreen can get reject 90% of the incoming connections,
you'll use an order of magnitude less resources doing before-queue
filtering than you would without postscreen.

 So, in essence, postscreen is what allows you to run the before-queue
filter with comparable resources to the after-queue filter.


Thanks for all the information. You really should write a wiki.g.o article
about the new setup :-)

Rgds,


Re: [gentoo-user] installing gentoo (multiple OS)

2011-12-04 Thread Mick
As far as I know all/most of these OS will interfere with your MBR and 
potentially your /boot partition and install their boot code in there.  This 
is not a problem per se, as long as you are aware of it.  Booting from a 
LiveCD is all you will need to do to fix things.

Given the number of OS' that you want to play with I would strongly advise to 
consider using virtualbox or any similar virtual machine, running in your 
favourite OS (e.g. Debian as the host) and then create VM images for each 
guest OS that you want installed.  Performance will be only slightly slower 
than booting into these OS separately from BIOS, but on the other hand you 
won't need to be repartitioning or zeroing/formatting partitions when you want 
to get rid of an OS.  Also, you may end up running out of partitions - I think 
SATA used to read up to 15 partitions only.  So, with virtualbox you can add 
new OS images at a click of a button, instead of creating new partitions, 
moving partitions around and what not.  LVM will help with sizing partitions 
on the fly, but will add another layer of complexity.


Before I give specific OS suggestions below, let me propose a booting 
architecture for separate partitions for you to consider:

Create one 'master' boot partition and install GRUB in it with a LiveCD.  I'd 
use legacy GRUB because it is simpler, slimmer and easy to fix.  Others may 
recommend GRUB2, which installs what looks to me like a mini OS in itself and 
automates a lot of the configuration.  I've been less successful editing the 
boot options from the command line at boot time with GRUB2, but it is more 
stable these days.  Anyway, both will work fine.  Never delete this GRUB master 
partition, or you will need a LiveCD to be able to boot again.

I'd create one swap partition for all OS except MSWindows, which will create 
its own paging file, fragment its own NTFS fs, corrupt this paging file without 
any help from you and then use up all the partition space and crash!  ha, ha, 
ha! :))  Well, it's not always that bad, but it has happened here more than 
once.

With the disk space available to you, you may create more than one swap 
partition.  I seem to recall (could be wrong) with 32bit OS that 128M was the 
amount that would be accessed at a time by the kernel or something similar - 
so people used to create multiple 128M swap partitions.  These days with 64bit 
OS and large RAM modules you may not need swap at all, unless you start 
running http servers, big databases, etc.  In any case, I'd set up a 2G swap 
as a minimum and up to the size of your RAM as a maximum.

Then if you decide to have separate real partitions on the disk for each OS 
instead of VM images, I would install each OS in their own partition without a 
separate boot partition for each, to keep the number of partitions down.  You 
will then be able to chainload from your master boot menu.lst any OS boot 
system.

If you will prefer to dual boot MSWindows and at least one main Linux system 
(which will host your virtual machines) I would refrain from using the 
MSWindows OS boot system to chainload Linux from it - because it is 
complicated and messy:

http://thread.gmane.org/gmane.linux.gentoo.user/226452

Specifics below.

PS.  I merely express a view here - how I would go about it.  There are 
probably as many views on the things I suggest above as readers on this 
mailing list.  Thankfully with Linux there's more than one way to skin a cat.

PPS.  No cats were harmed in preparing these suggestions!  LOL!  :))

On Sunday 04 Dec 2011 08:21:52 srini srini wrote:
 @MIck
 
 I have a 1TB seagate disk drive, which I would like to install...
 
 1. Will also have windoze whatever bs it is, since its usage is still in
 existence duh! -  -

If you don't install this/these OS' in a VM, then bear in mind that Vista and 
Windows 7 create a separate hidden 200MB boot partition.  This will eat up one 
more partition out of the 15 physical partitions on your SATA drive (you can 
use LVM if you're planning to exceed the 15).


 2. Surely Debian the universal OS  - will have x86-64 image. - GNOME -
 Kernel 3.x. - bash

This can be a workhorse for your guest OS.  It doesn't change often and things 
should *just* work.

You can/should store the various OS' images on a separate physical partition.  
So you can always reinstall/upgrade your Debian without affecting all other OS.


 3. The Ubuntu - will have 32-bit - image. - XFCE - Kernel 3.x. - bash
 
 4. The Slackware vanilla (stable), to get deep into the kernel :) - 32-bit
 image - registers and argument handling. - fluxbox - Kernel 2.xx.x - bash

Fluxbox is slim but needs a lot of configuration to make it look nice.  I'd 
consider Englightenment (e17) from svn because it is both lighter on resources 
and looks nicer with minimal configuration.


 5. Voiding Gentoo is like keeping the penguin out of ice cap, so will make
 space for it. -x86-32 image - KDE - Kernel 3.x. - sh

Your Gentoo will take more space 

Re: [gentoo-user] Gentoo + HP + Quickmedia

2011-12-04 Thread Mick
On Tuesday 29 Nov 2011 06:51:30 Carlos Sura wrote:
 Hello Mates,
 
 I have a new HP laptop i5, this came with Windows 7 pre-installed with HP
 quickweb (a tool that let me skype, check my email and navigate Interne,
 whitout loading WINDOWS).

I believe that HP are using Splashtop OS to achieve 'Instant-on' 
functionality, which is running an embedded Linux kernel from ROM, with 
bootsplash, squashfs, and blackbox as the main binaries.  Asus, Acer and 
others also joined in the fun.  


 I'm wondering if there any way to leave quickweb with gentoo, or windows +
 quickweb + gentoo would be fine...

Unless I got this wrong, the PC is essentially dual booting between the ROM 
resident OS and the disk OS.  The latter can be any OS inc. Gentoo of course.


 Also if someone has suceffuly installed gentoo in HP DM4-1190la please let
 me know or a document of WHAT WORKS AND WHAT DO NOT WORKS would be fine.
 
 Regards

-- 
Regards,
Mick


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


Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-04 Thread Stefan G. Weichinger
Am 03.12.2011 10:51, schrieb Stefan G. Weichinger:
 Am 2011-12-02 16:57, schrieb Stefan G. Weichinger:
 
 Good to hear. Maybe I will give it a try after doing some snapshot of my
 /-fs ... quick rollback possible ...
 
 emerged it on my thinkpad. Looks good and feels a bit more performant
 here than gnome-2 before.
 
 I think I like it on the laptop, here the keyboard-oriented usage makes
 more sense to me than on the desktop where I have a real mouse. I will
 keep it that way and see how I like it.

Decided to migrate my main workstation as well. Clean cut. And fits the
change of hardware somehow ;-)

Looks good so far.

So I might remove all that compiz-related stuff now ...

and look how to run hamster-applet, for example.

S



Re: [gentoo-user] gnome3 hotkey for searching in overview

2011-12-04 Thread Stefan G. Weichinger


ah, one more:

Now would be the time to clean up gnome-related config-stuff. I see a
rather long login-time (between entering the password and getting the
started desktop). I also had that under gnome-2 and somehow hoped that
this would magically disappear w/ gnome-3.

What files may I safely remove without losing too much of my useful
setting?

.gconf(d)
.gnome
.gnome2
.gnome2_private

?

Thanks, Stefan



[gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Harry Putnam
One point no one has mentioned and I've wondered from time to time
myself is whether one can expect gentoo to continue into the future
for a long while, as compared to the likely hood of opensuse or maybe
debian that has been around a very long time. 

It seemed at one time a year or so ago that gentoo's longevity was
questionable. (Possibly my own mis-perception)

For the OP, a few posters have mentioned that under gentoo, every
thing is compiled from scratch, but it was not made clear that it
happens again and again at most updates.

No one has made clear that there is a very HUGE amount of time sunk
into compiling absolutely everything.

A single update, if one lets updating slip a bit, can literally take
days to compile. And more days to reconfigure so that everything works
again. 






Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Neil Bothwick
On Sun, 04 Dec 2011 07:44:32 -0600, Harry Putnam wrote:

 It seemed at one time a year or so ago that gentoo's longevity was
 questionable. (Possibly my own mis-perception)

The discussions about Gentoo's imminent demise are an annual tradition.

 For the OP, a few posters have mentioned that under gentoo, every
 thing is compiled from scratch, but it was not made clear that it
 happens again and again at most updates.

If the OP had read so  little about Gentoo that they haven't gleaned that
much, it certainly is not the distro for them.

 No one has made clear that there is a very HUGE amount of time sunk
 into compiling absolutely everything.

 A single update, if one lets updating slip a bit, can literally take
 days to compile. And more days to reconfigure so that everything works
 again. 

Is the time it takes the computer (not you) to compile updates that much
of an issue. Unless you desperately need some feature only in the new
release, you can carry on using the computer while it compiles the new
versions for you. As for reconfiguring, that has nothing to do with
whether the packages were compiled on  your computer or a distro's build
server, but configs rarely change that significantly.


-- 
Neil Bothwick

Love is grand. Divorce is a few grand more.


signature.asc
Description: PGP signature


[gentoo-user] Controlling mkisofs output

2011-12-04 Thread Neil Bothwick
The default behaviour for mkisofs is to display detailed progress
information and a summary at the end. I don't want the progress
information but do want the summary, but the -quiet argument suppresses
both. Is there a way of telling mkisofs to omit only the progress
information or am I forced to pipe stderr through grep?


-- 
Neil Bothwick

Bury a lawyer 12 feet under, because deep down they're nice.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge ignoring -v switch

2011-12-04 Thread Frank Steinmetzger
On Sun, Dec 04, 2011 at 08:27:33AM +, Mick wrote:

   Remerged python, verified the right python via eselect, remerge portage,
   etc etc etc etc I just can't seem to get proper output from emerge
   anymore no matter what. Other than that everything is working fine, but
   I do need to see actual output.
   
   Anyone know what to do to fix this?
  
  Did you enable parallel builds? I.e. added --jobs and/or --load related
  options to EMERGE_DEFAULT_OPTS? In that case emerge uses this kind of
  output, because obviously you can’t display multiple builds at the same
  time in one window.
  
  The -v flag, to my knowledge, only affects the output of -p and -a, adding
  information like used and changed use flags and file size to download for
  each package to be installed.
 
 I've got both -j and -l set in my MAKEOPTS and portage is quite verbose as it 
 has always been.  I don't know if EMERGE_DEFAULT_OPTS has a different effect.

Indeed it has. MAKE_OPTS contains options to make, whereas EMERGE_DEFAULT_OPTS
contains those for emerge. Both have a -j option. If you tell -j (jobs) to
emerge, it will do as many emerges simultaneously.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

...still, there is life before death!


pgp717bZSW2Mg.pgp
Description: PGP signature


[gentoo-user] What is the latest version for a new install

2011-12-04 Thread Harry Putnam
At distfiles.gentoo.org/releases/x86

I see 10.1, 11.0, 11.2

Which is the latest usable?




Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Michael Mol
On Sun, Dec 4, 2011 at 8:44 AM, Harry Putnam rea...@newsguy.com wrote:
 One point no one has mentioned and I've wondered from time to time
 myself is whether one can expect gentoo to continue into the future
 for a long while, as compared to the likely hood of opensuse or maybe
 debian that has been around a very long time.

 It seemed at one time a year or so ago that gentoo's longevity was
 questionable. (Possibly my own mis-perception)

From my rudimentary gatherings while reading related blogs and
historical perspectives, there are just two or three people who have
been at the core of Gentoo for a very, very long time. Gentoo has long
been the work of many hands, but these guys have been around the block
a far more times. I don't know how well Gentoo would fare if one or
three of them were to drop off the face of the earth.

 For the OP, a few posters have mentioned that under gentoo, every
 thing is compiled from scratch, but it was not made clear that it
 happens again and again at most updates.

 No one has made clear that there is a very HUGE amount of time sunk
 into compiling absolutely everything.

I'd say bull, but that depends *greatly* on your hardware. When I
talk about Gentoo with my friends, they admit to having tried it, but
then say it took them a long, long time to build a system on their
486.  You don't want to run Gentoo compiles on a 486. You probably
ought not to run Gentoo compiles on any x86 processor older than an
Athlon64 or Intel Core chip.

For me, an emerge -e @world takes somewhere between four and ten
hours, depending if it's the eight-core Xeon box or the quad-core
Phenom box. As others noted in the build-speed optimization thread,
it's pretty trivial to tune the system so that it doesn't impact many
(most?) normal user activities, and can go on in the background.
Otherwise, a full system rebuild isn't much more time consuming than
something like a dist-upgrade on Debian or Ubuntu.

There are factors you can tweak to go one way or the other, too. You
might use bindists for chromium, firefox, thunderbird, xulrunner,
libreoffice... That'd probably cut my Phenom system's compile time by
about a quarter. I know installing a full KDE package set would
*increase* build time on my system by about the same.

The vast majority of the time, you're not building a full package set,
but just ten or eleven packages. (if you let things slip a week or
two, like I'm apt to do)


 A single update, if one lets updating slip a bit, can literally take
 days to compile.

AFAIK, it can't take longer than an emerge -e @world, which I described above.

 And more days to reconfigure so that everything works
 again.

That seems very unusual, unless by a bit you're talking on the order
of six months.


-- 
:wq



Re: [gentoo-user] What is the latest version for a new install

2011-12-04 Thread Dale

Harry Putnam wrote:

At distfiles.gentoo.org/releases/x86

I see 10.1, 11.0, 11.2

Which is the latest usable?





11.2 should work.  I haven't tested it but it should be fine.  It will 
also have less to update too.


Dale

:-)  :-)

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




Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Dale

Harry Putnam wrote:

One point no one has mentioned and I've wondered from time to time
myself is whether one can expect gentoo to continue into the future
for a long while, as compared to the likely hood of opensuse or maybe
debian that has been around a very long time.

It seemed at one time a year or so ago that gentoo's longevity was
questionable. (Possibly my own mis-perception)

For the OP, a few posters have mentioned that under gentoo, every
thing is compiled from scratch, but it was not made clear that it
happens again and again at most updates.

No one has made clear that there is a very HUGE amount of time sunk
into compiling absolutely everything.

A single update, if one lets updating slip a bit, can literally take
days to compile. And more days to reconfigure so that everything works
again.



People have been claiming Gentoo is dying for years.  I seriously doubt 
that is going to happen anytime soon.


I did sort of mention the compile times.  Thing is, we don't know what 
sort of rig the OP has.  If he has a really old rig, that could result 
is some long compile times.  If it is a recently bought/built rig, then 
it may be fast enough to not matter.


It seems no matter how much info a post has, there is always something 
missing.  :/  I'm just glad I buy my tea loose.  I can read the tea 
leaves easier.  O_O


Dale

:-)  :-)

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




Re: [gentoo-user] What is the latest version for a new install

2011-12-04 Thread Vishnupradeep
I have used 11.2. It works fine.


Linux Blog: http://xtreme-linux.blogspot.com/
Fedora Blog: http://xtreme-fedora.blogspot.com/
My Blog: http://sharedonweb.blogspot.com/




On Sun, Dec 4, 2011 at 8:01 PM, Dale rdalek1...@gmail.com wrote:

 Harry Putnam wrote:

 At 
 distfiles.gentoo.org/releases/**x86http://distfiles.gentoo.org/releases/x86

 I see 10.1, 11.0, 11.2

 Which is the latest usable?




 11.2 should work.  I haven't tested it but it should be fine.  It will
 also have less to update too.

 Dale

 :-)  :-)

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





[gentoo-user] Re: Listing applications with eix...

2011-12-04 Thread James
 meino.cramer at gmx.de writes:


 is there a way to list all -- for exmaple -- audio related
 applications without without being burried under audio related
 system libs for example or entries with (also as an exmaple)
 this application does not supprt audio but only imageing

So the easy thing to is use the debian software index
and find what your want (or a selection of applications)
and then hope some of them are in portage or an overlay
repository:

http://packages.debian.org/stable/sound/

cd /usr/portage/media-sound 
eix -e package

hth,


James








Re: [gentoo-user] emerge ignoring -v switch

2011-12-04 Thread Mick
On Sunday 04 Dec 2011 14:05:29 Frank Steinmetzger wrote:
 On Sun, Dec 04, 2011 at 08:27:33AM +, Mick wrote:
Remerged python, verified the right python via eselect, remerge
portage, etc etc etc etc I just can't seem to get proper output from
emerge anymore no matter what. Other than that everything is working
fine, but I do need to see actual output.

Anyone know what to do to fix this?
   
   Did you enable parallel builds? I.e. added --jobs and/or --load related
   options to EMERGE_DEFAULT_OPTS? In that case emerge uses this kind of
   output, because obviously you can’t display multiple builds at the same
   time in one window.
   
   The -v flag, to my knowledge, only affects the output of -p and -a,
   adding information like used and changed use flags and file size to
   download for each package to be installed.
  
  I've got both -j and -l set in my MAKEOPTS and portage is quite verbose
  as it has always been.  I don't know if EMERGE_DEFAULT_OPTS has a
  different effect.
 
 Indeed it has. MAKE_OPTS contains options to make, whereas
 EMERGE_DEFAULT_OPTS contains those for emerge. Both have a -j option. If
 you tell -j (jobs) to emerge, it will do as many emerges simultaneously.

Oh I see!  Thanks for explaining this.

But then if there were say 5 ebuilds running in parallel and all their output 
printed in the same terminal, it would be almightily difficult to untangle the 
spaghetti that may show up in an error?
-- 
Regards,
Mick


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


[gentoo-user] Re: What is the latest version for a new install

2011-12-04 Thread James
Harry Putnam reader at newsguy.com writes:


 At distfiles.gentoo.org/releases/x86
 I see 10.1, 11.0, 11.2
 Which is the latest usable?


I have always just burned the latest install dvd,
to take shopping and boot up potential computers
and have a spin, right in the store.

The last HP laptop I tried DV7-6178US did not boot
( I even when into the bios to try to get it to boot)
off the dvd (11.2); so that was a new experience for
me.

What instructions are you using to install off of the
11.2 DVD? You can just boot the 11.2 dvd and run gentoo
from the dvd, if you like.

The handbook steps are somewhat different that installing
off of the 11.2 dvd. I ran across some instructions on 
installing directly off the 11.2 dvd a while ago, but I 
did not try it:

http://en.gentoo-wiki.com/wiki/Install_LiveDVD_11.2_to_hard_disk_drive

hth,
James





Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Alan McKinnon
On Sun, 4 Dec 2011 13:55:28 +
Neil Bothwick n...@digimed.co.uk wrote:

  For the OP, a few posters have mentioned that under gentoo, every
  thing is compiled from scratch, but it was not made clear that it
  happens again and again at most updates.  
 
 If the OP had read so  little about Gentoo that they haven't gleaned
 that much, it certainly is not the distro for them.

I'd go so far as to say that if a user does not already have a
reasonable grasp of how Gentoo works, can't give you a one-paragraph
description of Gentoo that is reasonably accurate, and can't describe
the concepts of how an ebuild would work, then Gentoo is not the
distro for that user.

Gentoo is like fine Italian vehicles - you can get stunning
performance IF you know what you are doing, know what all the bits mean
and are prepared to invest the insane amount of time and effort it
requires (per the rule of diminishing returns). There's always a few
edge cases like James, who simply cannot find any other useful way to
build his embedded images. I suspect James looked at the landscape and
saw two choices: build his own build machinery, or use Gentoo's which
fits most of his needs most of the time.

As soon as someone asks a question like which is better, OpenSuSE
or Gentoo? you almost always know the answer cannot possibly be
Gentoo. That user has to play with OpenSuSE for a while to discover for
himself why this is so.

I'm going to get flamed for this, and be accused of being elitist. It
happens every time. And that's OK:

If SuSE/RedHat were likened to good ready-made furniture, Debian would
be top-grade DIY kits (they follow a formula but the user has some
freedom to tweak what they build) and Gentoo wouldn't be furniture, it
would be a cabinet-maker (with a concession that the user doesn't have
to grow their own trees anymore, he can at least buy ready cut planks).
LFS is the one that requires you to grow your own trees as well.

There's a place in this world for amateur and professional
cabinet-makers, but do we really want to recommend that the average DIY
guy has to become one?

I say suggest that the potential tinkerers cut their teeth on Debian
first then switch to Gentoo on their own determinism when they
understand the cost/benefit ratio themselves and can make an informed
decision.

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



[gentoo-user] kernel .config that works for gentoo as guest vm

2011-12-04 Thread Harry Putnam
Installing fresh gentoo in guest vm on win7

Before I even try to configure a kernel, because I've been down this
road a few times, and so far have always had trouble getting a kernel
config that boots first time on gentoo vm.

The vm is a gentoo guest installed with  Vbox on windows 7.

Its been a while since I've done this but I recall having trouble
getting the right drivers so that disks are properly discovered during
boot.

I think this kind of config is pretty generic but still manage to get
it wrong repeatedly.

Can anyone post a kernel .config that is known to boot a gentoo Vbox
vm installed on windows 7.  Or is there a generic config that will do
that?  I've tried genkernel in the past too, and still no boot on a vm.

I guess it would be kernel-3.1.4.




[gentoo-user] Chrome

2011-12-04 Thread András Csányi
Dear All,

Has anybody experienced that the Chrome browser is able to eat all of
memory? I have this issue on both Linux and Win 7 as well. I assume
flash could be the main issue. However, facebook, gmail and g+ eat
more than 100 MByte memory.

It's annoying...


-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Dale

Alan McKinnon wrote:

On Sun, 4 Dec 2011 13:55:28 +
Neil Bothwickn...@digimed.co.uk  wrote:


For the OP, a few posters have mentioned that under gentoo, every
thing is compiled from scratch, but it was not made clear that it
happens again and again at most updates.

If the OP had read so  little about Gentoo that they haven't gleaned
that much, it certainly is not the distro for them.

I'd go so far as to say that if a user does not already have a
reasonable grasp of how Gentoo works, can't give you a one-paragraph
description of Gentoo that is reasonably accurate, and can't describe
the concepts of how an ebuild would work, then Gentoo is not the
distro for that user.

Gentoo is like fine Italian vehicles - you can get stunning
performance IF you know what you are doing, know what all the bits mean
and are prepared to invest the insane amount of time and effort it
requires (per the rule of diminishing returns). There's always a few
edge cases like James, who simply cannot find any other useful way to
build his embedded images. I suspect James looked at the landscape and
saw two choices: build his own build machinery, or use Gentoo's which
fits most of his needs most of the time.

As soon as someone asks a question like which is better, OpenSuSE
or Gentoo? you almost always know the answer cannot possibly be
Gentoo. That user has to play with OpenSuSE for a while to discover for
himself why this is so.

I'm going to get flamed for this, and be accused of being elitist. It
happens every time. And that's OK:


No flames from me.  I agree.  I wouldn't recommend Gentoo to someone who 
has no, or even very little, Linux experience.  Looking back, I was one 
heck of a noob when I installed Gentoo.  It had to be fools luck that I 
got it done.  Then again, the docs were, and still are, really good.  
You can dang near copy and paste the commands.




If SuSE/RedHat were likened to good ready-made furniture, Debian would
be top-grade DIY kits (they follow a formula but the user has some
freedom to tweak what they build) and Gentoo wouldn't be furniture, it
would be a cabinet-maker (with a concession that the user doesn't have
to grow their own trees anymore, he can at least buy ready cut planks).
LFS is the one that requires you to grow your own trees as well.

There's a place in this world for amateur and professional
cabinet-makers, but do we really want to recommend that the average DIY
guy has to become one?

I say suggest that the potential tinkerers cut their teeth on Debian
first then switch to Gentoo on their own determinism when they
understand the cost/benefit ratio themselves and can make an informed
decision.



They can also do the install to a separate drive from within another 
distro too.  That way they can have the docs, forums and other useful 
tools available.  I know, I have heard of Knoppix too.  Just saying.


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




[gentoo-user] cleanup_tmp_dir()

2011-12-04 Thread meino . cramer
Hi,

how can I permanently and for all times and resistant against all kind
of updates disable the function cleanup_tmp_dir() in
/etc/init.d/bootmisc and similiar function, which automatically kill
files???

best regards,
mcc




Re: [gentoo-user] Re: Gnome 3.2.2 Block

2011-12-04 Thread Jason Weisberger
Well I now have it all completely working and dumped my findings here:

http://en.gentoo-wiki.com/wiki/HOWTO_Gnome_3

Hopefully it helps the next person coming to Gnome 3 from a fresh install.

On Sat, Dec 3, 2011 at 12:10 PM, Jason Weisberger jbdu...@gmail.com wrote:

 I was getting that error after syncing late last night.  Here is the
 information I got on the situation that prompted me to remove
 introspection from :2

 http://www.gossamer-threads.com/lists/gentoo/dev/241030

 However after reading that more thoroughly and not having my system in
 front of me I think I might not have unmasked the latest version of
 pygobject:2 which uses the introspection flag not to build
 introspection support, but to automatically pull in pygobject:3 for
 it.

 I'm probably trying to build the old pygobject with built-in
 introspection support which conflicts with introspection in :3.

 So I think I finally figured out all my problems, I'll get home
 tonight after work and give it a try.  Hopefully someone will Google
 this list and find this helpful, if not confusing.
 On Dec 3, 2011 10:50 AM, walt w41...@gmail.com wrote:
 
  On 12/02/2011 07:37 PM, Jason Weisberger wrote:
 
 
  Everything is compiling perfectly, albeit without fallback mode.  Any
  ideas for resolving the pygobject:2 introspection block so I can
  install it?
 
 
  pygobject:2 needs -introspection to be able to slot :2 and :3 on the
  same system.
 
 
  That's not true on my system.  I have pygobject-3.0.2 and 2.28.6-r50
  *with* introspection, and I just re-emerged both of them without problem.
 
  Are you still getting that error after syncing today?
 
 




-- 
Jason Weisberger
jbdu...@gmail.com


Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Alex Schuster
Dale writes:

 No flames from me.  I agree.  I wouldn't recommend Gentoo to someone who 
 has no, or even very little, Linux experience.  Looking back, I was one 
 heck of a noob when I installed Gentoo.  It had to be fools luck that I 
 got it done.  Then again, the docs were, and still are, really good.  
 You can dang near copy and paste the commands.

I know some people who had very few experience with Linux. But they
succeeded in installing Gentoo. And they learnt a lot by doing so. If
you installed Gentoo, you know Linux.

That's what I like about Gentoo. You know what you are doing, and many
integral parts are easier to understand than with another distro, where
things are hidden by GUI config tools.

But if you just want to have a Linux to play around with, go with a
binary distro. You can install Gentoo later if you like, even while
using the Linux you already have. If you have some space onthe disk to
add other partitions. Did I mention yet that LVM is nice for this?

Wonko



Re: [gentoo-user] kernel .config that works for gentoo as guest vm

2011-12-04 Thread Pandu Poluan
On Dec 4, 2011 11:40 PM, Harry Putnam rea...@newsguy.com wrote:

 Installing fresh gentoo in guest vm on win7

 Before I even try to configure a kernel, because I've been down this
 road a few times, and so far have always had trouble getting a kernel
 config that boots first time on gentoo vm.

 The vm is a gentoo guest installed with  Vbox on windows 7.

 Its been a while since I've done this but I recall having trouble
 getting the right drivers so that disks are properly discovered during
 boot.

 I think this kind of config is pretty generic but still manage to get
 it wrong repeatedly.

 Can anyone post a kernel .config that is known to boot a gentoo Vbox
 vm installed on windows 7.  Or is there a generic config that will do
 that?  I've tried genkernel in the past too, and still no boot on a vm.

 I guess it would be kernel-3.1.4.


Did it fail halfway during boot, or was it completely unable to load the
kernel?

Rgds,


Re: [gentoo-user] cleanup_tmp_dir()

2011-12-04 Thread Alan McKinnon
On Sun, 4 Dec 2011 17:47:40 +0100
meino.cra...@gmx.de wrote:

 Hi,
 
 how can I permanently and for all times and resistant against all kind
 of updates disable the function cleanup_tmp_dir() in
 /etc/init.d/bootmisc and similiar function, which automatically kill
 files???


In /etc/conf.d/bootmisc:

# List of /tmp directories we should clean up
clean_tmp_dirs=/tmp

# Should we wipe the tmp paths completely or just selectively remove
known # locks / files / etc... ?
wipe_tmp=YES

Set those variables to suit your needs.


But one must ask, why? The whole point of /tmp is a scratch pad temp
dir where files are not expected to survive past successive invocations
of the same program and are definitely not expected to survive a
reboot. If this is an issue for you, something is wrong with the code
you run and you should reconfigure that code to use something other
than /tmp.

To the best of my knowledge bootmisc only ever runs in the first
startup after a reboot.


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



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Alan McKinnon
On Sun, 04 Dec 2011 18:16:19 +0100
Alex Schuster wo...@wonkology.org wrote:

  No flames from me.  I agree.  I wouldn't recommend Gentoo to
  someone who has no, or even very little, Linux experience.  Looking
  back, I was one heck of a noob when I installed Gentoo.  It had to
  be fools luck that I got it done.  Then again, the docs were, and
  still are, really good. You can dang near copy and paste the
  commands.  
 
 I know some people who had very few experience with Linux. But they
 succeeded in installing Gentoo. And they learnt a lot by doing so. If
 you installed Gentoo, you know Linux.

I think we all know at least one person like that. Myself, I've
trained more than just a few (the training salesperson had a knack for
signing up people who had the smarts to cope with Gentoo).

But for every one like that, there are at least 10 more that can't, and
so often in this game I find that others are just not able to spot those
10. And worse, the 10 often give up and go back to Windows.

So the question is not really can the user do it?, it is rather how
will *this* person in front of me right now be best served?

An equally good question is does this person right now asking me a
question have what it takes to dive into Gentoo blindly, and swim?

The answers to those questions are what should guide you.

 That's what I like about Gentoo. You know what you are doing, and many
 integral parts are easier to understand than with another distro,
 where things are hidden by GUI config tools.

Precisely, which is why RedHat is great for a Windows sysadmin who
really does want a plug-n-play distro.

Debian is great for people who want to tinker safely - you get the
plug-n-play of a binary distro and you also get build tools that don't
explode in your face every time you try do something that is not
exactly 100% TheTrueRedHatWay.

 But if you just want to have a Linux to play around with, go with a
 binary distro. You can install Gentoo later if you like, even while
 using the Linux you already have. If you have some space onthe disk to
 add other partitions. Did I mention yet that LVM is nice for this?

Don't forget VirtualBox/VMWare/KVM/Xen and everything else like them :-)



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



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Alan McKinnon
On Sun, 04 Dec 2011 18:16:19 +0100
Alex Schuster wo...@wonkology.org wrote:

  No flames from me.  I agree.  I wouldn't recommend Gentoo to
  someone who has no, or even very little, Linux experience.  Looking
  back, I was one heck of a noob when I installed Gentoo.  It had to
  be fools luck that I got it done.  Then again, the docs were, and
  still are, really good. You can dang near copy and paste the
  commands.  
 
 I know some people who had very few experience with Linux. But they
 succeeded in installing Gentoo. And they learnt a lot by doing so. If
 you installed Gentoo, you know Linux.
 
 That's what I like about Gentoo. You know what you are doing, and many
 integral parts are easier to understand than with another distro,
 where things are hidden by GUI config tools.
 
 But if you just want to have a Linux to play around with, go with a
 binary distro. You can install Gentoo later if you like, even while
 using the Linux you already have. If you have some space onthe disk to
 add other partitions. Did I mention yet that LVM is nice for this?



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



Re: [gentoo-user] cleanup_tmp_dir()

2011-12-04 Thread Philip Webb
111204 Alan McKinnon wrote:
 On Sun, 4 Dec 2011 17:47:40 +0100 meino.cra...@gmx.de wrote:
 how can I permanently disable the function cleanup_tmp_dir()
 in /etc/init.d/bootmisc and similiar function ?
 ... why ?  The whole point of /tmp is a scratch pad
 where files are not expected to survive past successive invocations
 of the same program and are definitely not expected to survive a reboot.
 If this is an issue for you, you should reconfigure that code
 to use something other than /tmp.

That can happen, eg if you use Mutt as your mail client
 leave the default tempdir in  ~/.muttrc  as  /tmp ,
when your system crashes (eg power failure) in the middle of a msg,
you will have to start writing the msg all over again.
The way to avoid this is to change  .muttrc  to 'set tmpdir=/var/tmp',
so that you can recall the  .swp  file  rescue what you were writing.
Perhaps the OP has some problem of that kind  that is the solution.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] kernel .config that works for gentoo as guest vm

2011-12-04 Thread Leho Kraav
grab my 3.0.2 virtualbox config [1] and do make oldconfig on it

 [1]: http://codepad.org/QreqHSMs



[gentoo-user] Re: kernel .config that works for gentoo as guest vm

2011-12-04 Thread Harry Putnam
Pandu Poluan pa...@poluan.info writes:

 On Dec 4, 2011 11:40 PM, Harry Putnam rea...@newsguy.com wrote:

 Installing fresh gentoo in guest vm on win7

 Before I even try to configure a kernel, because I've been down this
 road a few times, and so far have always had trouble getting a kernel
 config that boots first time on gentoo vm.

 The vm is a gentoo guest installed with  Vbox on windows 7.

 Its been a while since I've done this but I recall having trouble
 getting the right drivers so that disks are properly discovered during
 boot.

 I think this kind of config is pretty generic but still manage to get
 it wrong repeatedly.

 Can anyone post a kernel .config that is known to boot a gentoo Vbox
 vm installed on windows 7.  Or is there a generic config that will do
 that?  I've tried genkernel in the past too, and still no boot on a vm.

 I guess it would be kernel-3.1.4.


 Did it fail halfway during boot, or was it completely unable to load the
 kernel?

Well, like I said, I haven't even tried yet.  But last time it booted
to the point of recognizing my disks and thats what failed.  So the
correct mod for vm disks was missing I guess.




[gentoo-user] Re: kernel .config that works for gentoo as guest vm

2011-12-04 Thread Harry Putnam
Leho Kraav l...@kraav.com writes:

 grab my 3.0.2 virtualbox config [1] and do make oldconfig on it

  [1]: http://codepad.org/QreqHSMs

Thank you.. that is exactly what I was after... I'll be trying it out
in the next few hours.




[gentoo-user] cpio error still here... What

2011-12-04 Thread Harry Putnam
On new install, first attempt at kernel build.

I hit this same old problem that was here mnths ago:

usr/src/linux-3.1.14-gentoo/scripts/gen_initramfs_list.sh: Cannot open
`/usr/share/v86d/initramfs [...] initramfs.cpio] Error 1

I know that one way to fix it is to emerge v86d which I am now doing,
but seems like something that his a problem this long should have gone
away by now... Or does it depend on user making some boneheaded
selections during make menuconfig? 




Re: [gentoo-user] Re: kernel .config that works for gentoo as guest vm

2011-12-04 Thread Leho Kraav
On Sunday, December 4, 2011 9:20:02 PM UTC+2, Harry Putnam wrote:
 Leho Kraav le...@kraav.com writes:
 
  grab my 3.0.2 virtualbox config [1] and do make oldconfig on it
 
   [1]: http://codepad.org/QreqHSMs
 
 Thank you.. that is exactly what I was after... I'll be trying it out
 in the next few hours.

I'm a lean n mean guy Harry. Took extra effort to disable everything not 
needed. So pay attention to filesystems selection etc.



Re: [gentoo-user] Chrome

2011-12-04 Thread Albert W. Hopkins
On Sun, 2011-12-04 at 17:36 +0100, András Csányi wrote:
 Has anybody experienced that the Chrome browser is able to eat all of
 memory? I have this issue on both Linux and Win 7 as well. I assume
 flash could be the main issue. However, facebook, gmail and g+ eat
 more than 100 MByte memory.

Chrome/Chromium is a memory-hungry app.
 
 It's annoying...

Don't use Chrome.

 
 
 




[gentoo-user] Re: kernel .config that works for gentoo as guest vm

2011-12-04 Thread Harry Putnam
Leho Kraav l...@kraav.com writes:

 On Sunday, December 4, 2011 9:20:02 PM UTC+2, Harry Putnam wrote:
 Leho Kraav le...@kraav.com writes:
 
  grab my 3.0.2 virtualbox config [1] and do make oldconfig on it
 
   [1]: http://codepad.org/QreqHSMs
 
 Thank you.. that is exactly what I was after... I'll be trying it out
 in the next few hours.

 I'm a lean n mean guy Harry. Took extra effort to disable everything
 not needed. So pay attention to filesystems selection etc.

Good man, yes I noticed it was lean... I trimmed even more.  I hope I
haven't shot myself in the foot... I'll be giving it its maiden voyage
in a while.




Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2011 19:37:27 +0200, Alan McKinnon wrote:

 An equally good question is does this person right now asking me a
 question have what it takes to dive into Gentoo blindly, and swim?

The other question is do I have time to keep diving in to rescue this
person when they get out of their depth. When you recommend Gentoo, you
also volunteer to provide support.


-- 
Neil Bothwick

One of the nice things about standards is that there are so many of them.


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge ignoring -v switch

2011-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2011 15:18:40 +, Mick wrote:

 But then if there were say 5 ebuilds running in parallel and all their
 output printed in the same terminal, it would be almightily difficult
 to untangle the spaghetti that may show up in an error?

Which is why setting -j 1 sets wh

-- 
Neil Bothwick

I don't have any solution, but I certainly admire the problem.
at is now the quiet-build option, so you only get the progress
information from portage, not from gcc. If one of your ebuilds fails, the
gcc output is displayed at the end.


-- 
Neil Bothwick

I've got a mind like a... a... what's that thing called?


signature.asc
Description: PGP signature


[gentoo-user] ECONF behavior

2011-12-04 Thread Harry Putnam
If I wanted to enable something during an emerge using ECONF to add a
./configure option... what is the proper syntax?

I want to enable rootcommit for cvs.  I thought I remembered something
like:

  ECONF='--enable-rootcommit' USE='server'  emerge -v cvs

But when I watch that run I see --enable-rootcommit is not added to
the configure flags.

What have I done wrong?  What should the cmdline look like?




[gentoo-user] Re: ECONF behavior

2011-12-04 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 If I wanted to enable something during an emerge using ECONF to add a
 ./configure option... what is the proper syntax?

 I want to enable rootcommit for cvs.  I thought I remembered something
 like:

   ECONF='--enable-rootcommit' USE='server'  emerge -v cvs

 But when I watch that run I see --enable-rootcommit is not added to
 the configure flags.

 What have I done wrong?  What should the cmdline look like?

Yikes, please disregard this request for help.  I used the wrong
wording altogether... it should be EXTRA_ECONF=, not just ECONF=




[gentoo-user] no sound on upgraded Firefox from 7 to 8 - using pulse audio

2011-12-04 Thread Francisco Ares
Hi,

I have just upgraded Firefox from 7 to 8 and after that I was unable to
hear the sound of videoclips from YouTube, for instance.

I remember there was a little trick to make past versions of FF to work
with pulse audio (that I use so VirtualBox machines can also play sounds),
but can't find what it was.

Any hints, please?

Thanks
Francisco

-- 
If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have
one idea and we exchange these ideas, then each of us will have two ideas.
- George Bernard Shaw


[gentoo-user] vbox vm no boot

2011-12-04 Thread Harry Putnam
Fresh install of gentoo as guest vm on win7

Configured kernel, fdisked like so:

/dev/sda1 boot
/dev/sda2 swap
/dev/sda3 /

set boot as bootable

emerged various things...
emerged grub and ran it 

grub
  root (hd0,0)

  setup (hd0,0)
  bla bla
  [...]
  succeeded


Edited fstab

/dev/sda1   /boot [...]
/dev/sda2   swap  [...]
/dev/sda3   / [...]
[...]

But, when I remove the livecd and attempt to boot from hdd, its a
total failure:

FATAL: No bootable medium found! System halted

So it appears that as has always been the case, there is some PITA
stopping up the works.

So what is the trick here... one googled result says to boot with
something containing gparted and set the boot partition
bootable.. that cfdisk doesn't work.

I used fdisk... is there anything to that claim.. or better yet what
do I need to do here.







Re: [gentoo-user] vbox vm no boot

2011-12-04 Thread Alan McKinnon
On Sun, 04 Dec 2011 15:53:40 -0600
Harry Putnam rea...@newsguy.com wrote:

 Fresh install of gentoo as guest vm on win7
 
 Configured kernel, fdisked like so:
 
 /dev/sda1 boot
 /dev/sda2 swap
 /dev/sda3 /
 
 set boot as bootable
 
 emerged various things...
 emerged grub and ran it 
 
 grub
   root (hd0,0)
 
   setup (hd0,0)
   bla bla
   [...]
   succeeded
 
 
 Edited fstab
 
 /dev/sda1   /boot [...]
 /dev/sda2   swap  [...]
 /dev/sda3   / [...]
 [...]
 
 But, when I remove the livecd and attempt to boot from hdd, its a
 total failure:
 
 FATAL: No bootable medium found! System halted
 
 So it appears that as has always been the case, there is some PITA
 stopping up the works.
 
 So what is the trick here... one googled result says to boot with
 something containing gparted and set the boot partition
 bootable.. that cfdisk doesn't work.
 
 I used fdisk... is there anything to that claim.. or better yet what
 do I need to do here.

A Gentoo VM on a Linux host works fine here with the same setup. Let's
examine the host settings first as that affects booting too.

What settings do you have on the System and Storage tabs on the VBox
host for that vm?



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



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Alan McKinnon
On Sun, 4 Dec 2011 20:45:26 +
Neil Bothwick n...@digimed.co.uk wrote:

 On Sun, 4 Dec 2011 19:37:27 +0200, Alan McKinnon wrote:
 
  An equally good question is does this person right now asking me a
  question have what it takes to dive into Gentoo blindly, and swim?
 
 The other question is do I have time to keep diving in to rescue this
 person when they get out of their depth. When you recommend Gentoo,
 you also volunteer to provide support.

I was going to mention something like that too. But every time I do, I
get flamed badly for being an elitist dick. Must have something to do
with the way I express myself :-)

I reckoned this time I'd try a different tack and attempt to keep the
thread on-topic and relevant... 


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



Re: [gentoo-user] Re: can one tell me: gentoo vs opensuse

2011-12-04 Thread Neil Bothwick
On Mon, 5 Dec 2011 00:11:08 +0200, Alan McKinnon wrote:

  The other question is do I have time to keep diving in to rescue this
  person when they get out of their depth. When you recommend Gentoo,
  you also volunteer to provide support.  
 
 I was going to mention something like that too. But every time I do, I
 get flamed badly for being an elitist dick. Must have something to do
 with the way I express myself :-)

No comment :P

 I reckoned this time I'd try a different tack and attempt to keep the
 thread on-topic and relevant... 

Well, it is relevant, although it is not specific to Gentoo. It's the
same when you recommend that a Windows using friend tries Linux (any
flavour) - be prepared for plenty of phone calls.


-- 
Neil Bothwick

What's the greatest world-wide use of cowhide? To hold cows together.


signature.asc
Description: PGP signature


[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

[...]

 A Gentoo VM on a Linux host works fine here with the same setup. Let's
 examine the host settings first as that affects booting too.

 What settings do you have on the System and Storage tabs on the VBox
 host for that vm?

I guess the easiest is to post screen shots of those tabs:

   www.jtan.com/~reader/vu2/disp.cgi

I did notice that on System tab the chipset is listed as piix3 and on
Storage Tab it shows `type' as PIIX4.  At first there were no other
choices on the drop downs, so I assumed it was ok like that... now I
see the dropdown on Storage has gotten populated since I last tried
it.

I set it to match the System `chip' PIIX3... but still the same
failure.

Maybe those are not related to the problem?




[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 Alan McKinnon alan.mckin...@gmail.com writes:

 [...]

 A Gentoo VM on a Linux host works fine here with the same setup. Let's
 examine the host settings first as that affects booting too.

 What settings do you have on the System and Storage tabs on the VBox
 host for that vm?

 I guess the easiest is to post screen shots of those tabs:

www.jtan.com/~reader/vu2/disp.cgi

 I did notice that on System tab the chipset is listed as piix3 and on
 Storage Tab it shows `type' as PIIX4.  At first there were no other
 choices on the drop downs, so I assumed it was ok like that... now I
 see the dropdown on Storage has gotten populated since I last tried
 it.

 I set it to match the System `chip' PIIX3... but still the same
 failure.

 Maybe those are not related to the problem?

Haa... that google hit I mentioned about resetting bootable with
gparted worked... Now bootup starts.  But the same old sorry bs I have
always hit with gentoo when trying to setup a vm is now present and
accounted for...

www.jtan.com/~reader/vu1/disp.cgi




Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:

 Harry Putnam rea...@newsguy.com writes:

  Alan McKinnon alan.mckin...@gmail.com writes:
 
  [...]
 
  A Gentoo VM on a Linux host works fine here with the same setup. Let's
  examine the host settings first as that affects booting too.
 
  What settings do you have on the System and Storage tabs on the VBox
  host for that vm?
 
  I guess the easiest is to post screen shots of those tabs:
 
 www.jtan.com/~reader/vu2/disp.cgi
 
  I did notice that on System tab the chipset is listed as piix3 and on
  Storage Tab it shows `type' as PIIX4.  At first there were no other
  choices on the drop downs, so I assumed it was ok like that... now I
  see the dropdown on Storage has gotten populated since I last tried
  it.
 
  I set it to match the System `chip' PIIX3... but still the same
  failure.
 
  Maybe those are not related to the problem?

 Haa... that google hit I mentioned about resetting bootable with
 gparted worked... Now bootup starts.  But the same old sorry bs I have
 always hit with gentoo when trying to setup a vm is now present and
 accounted for...

 www.jtan.com/~reader/vu1/disp.cgi


Seems to be a case of missing driver to me :-)

Rgds,


[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Pandu Poluan pa...@poluan.info writes:

 On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:

 Harry Putnam rea...@newsguy.com writes:

  Alan McKinnon alan.mckin...@gmail.com writes:
 
  [...]
 
  A Gentoo VM on a Linux host works fine here with the same setup. Let's
  examine the host settings first as that affects booting too.
 
  What settings do you have on the System and Storage tabs on the VBox
  host for that vm?
 
  I guess the easiest is to post screen shots of those tabs:
 
 www.jtan.com/~reader/vu2/disp.cgi
 
  I did notice that on System tab the chipset is listed as piix3 and on
  Storage Tab it shows `type' as PIIX4.  At first there were no other
  choices on the drop downs, so I assumed it was ok like that... now I
  see the dropdown on Storage has gotten populated since I last tried
  it.
 
  I set it to match the System `chip' PIIX3... but still the same
  failure.
 
  Maybe those are not related to the problem?

 Haa... that google hit I mentioned about resetting bootable with
 gparted worked... Now bootup starts.  But the same old sorry bs I have
 always hit with gentoo when trying to setup a vm is now present and
 accounted for...

 www.jtan.com/~reader/vu1/disp.cgi


 Seems to be a case of missing driver to me :-)

Yes it is, and its missing because I have no idea what it wants.  Do you?




Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 7:55 AM, Harry Putnam rea...@newsguy.com wrote:

 Pandu Poluan pa...@poluan.info writes:

  On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Harry Putnam rea...@newsguy.com writes:
 
   Alan McKinnon alan.mckin...@gmail.com writes:
  
   [...]
  
   A Gentoo VM on a Linux host works fine here with the same setup.
Let's
   examine the host settings first as that affects booting too.
  
   What settings do you have on the System and Storage tabs on the VBox
   host for that vm?
  
   I guess the easiest is to post screen shots of those tabs:
  
  www.jtan.com/~reader/vu2/disp.cgi
  
   I did notice that on System tab the chipset is listed as piix3 and on
   Storage Tab it shows `type' as PIIX4.  At first there were no other
   choices on the drop downs, so I assumed it was ok like that... now I
   see the dropdown on Storage has gotten populated since I last tried
   it.
  
   I set it to match the System `chip' PIIX3... but still the same
   failure.
  
   Maybe those are not related to the problem?
 
  Haa... that google hit I mentioned about resetting bootable with
  gparted worked... Now bootup starts.  But the same old sorry bs I have
  always hit with gentoo when trying to setup a vm is now present and
  accounted for...
 
  www.jtan.com/~reader/vu1/disp.cgi
 
 
  Seems to be a case of missing driver to me :-)

 Yes it is, and its missing because I have no idea what it wants.  Do you?


I'm still on my way to the office, so I can't for sure tell you what,  but
IIRC if you use Vbox's default settings for a Gentoo Linux VM, it's ICH9.

Rgds,


Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Alan McKinnon
On Mon, 5 Dec 2011 07:34:46 +0700
Pandu Poluan pa...@poluan.info wrote:

 On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Harry Putnam rea...@newsguy.com writes:
 
   Alan McKinnon alan.mckin...@gmail.com writes:
  
   [...]
  
   A Gentoo VM on a Linux host works fine here with the same setup.
   Let's examine the host settings first as that affects booting
   too.
  
   What settings do you have on the System and Storage tabs on the
   VBox host for that vm?
  
   I guess the easiest is to post screen shots of those tabs:
  
  www.jtan.com/~reader/vu2/disp.cgi
  
   I did notice that on System tab the chipset is listed as piix3
   and on Storage Tab it shows `type' as PIIX4.  At first there were
   no other choices on the drop downs, so I assumed it was ok like
   that... now I see the dropdown on Storage has gotten populated
   since I last tried it.
  
   I set it to match the System `chip' PIIX3... but still the same
   failure.
  
   Maybe those are not related to the problem?
 
  Haa... that google hit I mentioned about resetting bootable with
  gparted worked... Now bootup starts.  But the same old sorry bs I
  have always hit with gentoo when trying to setup a vm is now
  present and accounted for...
 
  www.jtan.com/~reader/vu1/disp.cgi
 
 
 Seems to be a case of missing driver to me :-)

I'm not convinced. The error is:

FATAL: No bootable medium found! System halted

That's a BIOS error, the vm's kernel and it's drivers have not yet been
loaded, never mind running when that happens. In this respect a VM
works just like physical hardware, so what does one do with that error
on physical hardware? you check the BIOS settings.

Harry, start the VM and engage the BIOS setup, see what it has been
configured to do wrt booting.



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



Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Alan McKinnon
On Mon, 5 Dec 2011 08:01:57 +0700
Pandu Poluan pa...@poluan.info wrote:

 On Dec 5, 2011 7:55 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Pandu Poluan pa...@poluan.info writes:
 
   On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
  
   Harry Putnam rea...@newsguy.com writes:
  
Alan McKinnon alan.mckin...@gmail.com writes:
   
[...]
   
A Gentoo VM on a Linux host works fine here with the same
setup.
 Let's
examine the host settings first as that affects booting too.
   
What settings do you have on the System and Storage tabs on
the VBox host for that vm?
   
I guess the easiest is to post screen shots of those tabs:
   
   www.jtan.com/~reader/vu2/disp.cgi
   
I did notice that on System tab the chipset is listed as piix3
and on Storage Tab it shows `type' as PIIX4.  At first there
were no other choices on the drop downs, so I assumed it was
ok like that... now I see the dropdown on Storage has gotten
populated since I last tried it.
   
I set it to match the System `chip' PIIX3... but still the same
failure.
   
Maybe those are not related to the problem?
  
   Haa... that google hit I mentioned about resetting bootable with
   gparted worked... Now bootup starts.  But the same old sorry bs
   I have always hit with gentoo when trying to setup a vm is now
   present and accounted for...
  
   www.jtan.com/~reader/vu1/disp.cgi
  
  
   Seems to be a case of missing driver to me :-)
 
  Yes it is, and its missing because I have no idea what it wants.
  Do you?
 
 
 I'm still on my way to the office, so I can't for sure tell you
 what,  but IIRC if you use Vbox's default settings for a Gentoo Linux
 VM, it's ICH9.

At least on a Linux host, PIIX works fine for Linux guests. Performance
sucks rather majorly[1], but it does at least work. 

[1] sucks meaning lots of IOwaiting resulting in top showing
excessive load figures on the host. Probably a case of PIIX not being
optimized and running very generic, slow, code.

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



Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 8:01 AM, Pandu Poluan pa...@poluan.info wrote:


 On Dec 5, 2011 7:55 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Pandu Poluan pa...@poluan.info writes:
 
  Yes it is, and its missing because I have no idea what it wants.  Do
you?
 

 I'm still on my way to the office, so I can't for sure tell you what,
but IIRC if you use Vbox's default settings for a Gentoo Linux VM, it's
ICH9.


Here's my suggestion :

1. Go to http://www.kernel.org/doc/menuconfig/x86.html

2. Search for ICH

3. Activate / enable the setting in make menuconfig

4. The usual steps : make, make modules_install, copy kernel to /boot, edit
menu.lst

Good luck!

Rgds,


Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 8:13 AM, Alan McKinnon alan.mckin...@gmail.com wrote:

 On Mon, 5 Dec 2011 07:34:46 +0700
 Pandu Poluan pa...@poluan.info wrote:

  On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
  
   Harry Putnam rea...@newsguy.com writes:
  
Alan McKinnon alan.mckin...@gmail.com writes:
   
[...]
   
A Gentoo VM on a Linux host works fine here with the same setup.
Let's examine the host settings first as that affects booting
too.
   
What settings do you have on the System and Storage tabs on the
VBox host for that vm?
   
I guess the easiest is to post screen shots of those tabs:
   
   www.jtan.com/~reader/vu2/disp.cgi
   
I did notice that on System tab the chipset is listed as piix3
and on Storage Tab it shows `type' as PIIX4.  At first there were
no other choices on the drop downs, so I assumed it was ok like
that... now I see the dropdown on Storage has gotten populated
since I last tried it.
   
I set it to match the System `chip' PIIX3... but still the same
failure.
   
Maybe those are not related to the problem?
  
   Haa... that google hit I mentioned about resetting bootable with
   gparted worked... Now bootup starts.  But the same old sorry bs I
   have always hit with gentoo when trying to setup a vm is now
   present and accounted for...
  
   www.jtan.com/~reader/vu1/disp.cgi
  
 
  Seems to be a case of missing driver to me :-)

 I'm not convinced. The error is:

 FATAL: No bootable medium found! System halted


Have you seen his last screen cap? The latest error message is now:

Kernel panic - not syncing: VFS: unable to mount root.

The preceding lines don't indicate the kernel recognizing any hard disks,
so I guessed the right driver has not been loaded.

Rgds,


[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 FATAL: No bootable medium found! System halted

 That's a BIOS error, the vm's kernel and it's drivers have not yet been
 loaded, never mind running when that happens. In this respect a VM
 works just like physical hardware, so what does one do with that error
 on physical hardware? you check the BIOS settings.

 Harry, start the VM and engage the BIOS setup, see what it has been
 configured to do wrt booting.

You may have missed a post where I reported that resetting /dev/sda1
as bootable using gparted rather than fdisk, allowed the boot to
proceed.  We are now at a kernel panic posted at:

   www.jtan.com/~reader/vu1/disp.cgi

Where it appears there is a missing driver.




[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Pandu Poluan pa...@poluan.info writes:

 On Dec 5, 2011 7:55 AM, Harry Putnam rea...@newsguy.com wrote:

 Pandu Poluan pa...@poluan.info writes:

  On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Harry Putnam rea...@newsguy.com writes:
 
   Alan McKinnon alan.mckin...@gmail.com writes:
  
   [...]
  
   A Gentoo VM on a Linux host works fine here with the same setup.
 Let's
   examine the host settings first as that affects booting too.
  
   What settings do you have on the System and Storage tabs on the VBox
   host for that vm?
  
   I guess the easiest is to post screen shots of those tabs:
  
  www.jtan.com/~reader/vu2/disp.cgi
  
   I did notice that on System tab the chipset is listed as piix3 and on
   Storage Tab it shows `type' as PIIX4.  At first there were no other
   choices on the drop downs, so I assumed it was ok like that... now I
   see the dropdown on Storage has gotten populated since I last tried
   it.
  
   I set it to match the System `chip' PIIX3... but still the same
   failure.
  
   Maybe those are not related to the problem?
 
  Haa... that google hit I mentioned about resetting bootable with
  gparted worked... Now bootup starts.  But the same old sorry bs I have
  always hit with gentoo when trying to setup a vm is now present and
  accounted for...
 
  www.jtan.com/~reader/vu1/disp.cgi
 
 
  Seems to be a case of missing driver to me :-)

 Yes it is, and its missing because I have no idea what it wants.  Do you?


 I'm still on my way to the office, so I can't for sure tell you what,  but
 IIRC if you use Vbox's default settings for a Gentoo Linux VM, it's ICH9.

I'll try that, but I think I've noticed what is missing when I clicked
on the storage tab and then on the sata controller... it shows type
AHCI and that suddenly rang a bell.  I think that may be it... but
right now I've ditched the vm I was trying to setup and started over.
So I'll be a little while getting to the boot from disc stage again.




[gentoo-user] pg_upgrade91 - You must have read and write access in the current directory

2011-12-04 Thread Joseph
I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but when try to transfer the data 
base:
pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ --new-datadir=/var/lib/postgresql/9.1/data 
--old-bindir=/usr/lib/postgresql-9.0/bin/ --new-bindir=/usr/lib/postgresql-9.1/bin/

Running in verbose mode
Performing Consistency Checks
-
Checking current, bin, and data directories 
You must have read and write access in the current directory.

Failure, exiting

What am I doing wrong?
Is it a bug?
http://postgresql.1045698.n5.nabble.com/Problem-with-pg-upgrade-s-directory-write-check-on-Windows-td4626004.html

--
Joseph



Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory

2011-12-04 Thread Gregory Shearman
In linux.gentoo.user, Joseph wrote:
 I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but 
 when try to transfer the data 
 base:
 pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ 
 --new-datadir=/var/lib/postgresql/9.1/data 
 --old-bindir=/usr/lib/postgresql-9.0/bin/ 
 --new-bindir=/usr/lib/postgresql-9.1/bin/
 Running in verbose mode
 Performing Consistency Checks
 -
 Checking current, bin, and data directories 
 You must have read and write access in the current directory.
 Failure, exiting

 What am I doing wrong?

Have you checked that you have read and write access in the current
directory before running the command?

I did the upgrade as the postgres user and made sure that I ran the
command from a read/writable directory for that user.

-- 
Regards,
Gregory.



Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 8:35 AM, Harry Putnam rea...@newsguy.com wrote:

 Pandu Poluan pa...@poluan.info writes:

  On Dec 5, 2011 7:55 AM, Harry Putnam rea...@newsguy.com wrote:
 
  Pandu Poluan pa...@poluan.info writes:
 
   On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
  
   Harry Putnam rea...@newsguy.com writes:
  
Alan McKinnon alan.mckin...@gmail.com writes:
   
[...]
   
A Gentoo VM on a Linux host works fine here with the same setup.
  Let's
examine the host settings first as that affects booting too.
   
What settings do you have on the System and Storage tabs on the
VBox
host for that vm?
   
I guess the easiest is to post screen shots of those tabs:
   
   www.jtan.com/~reader/vu2/disp.cgi
   
I did notice that on System tab the chipset is listed as piix3
and on
Storage Tab it shows `type' as PIIX4.  At first there were no
other
choices on the drop downs, so I assumed it was ok like that...
now I
see the dropdown on Storage has gotten populated since I last
tried
it.
   
I set it to match the System `chip' PIIX3... but still the same
failure.
   
Maybe those are not related to the problem?
  
   Haa... that google hit I mentioned about resetting bootable with
   gparted worked... Now bootup starts.  But the same old sorry bs I
have
   always hit with gentoo when trying to setup a vm is now present and
   accounted for...
  
   www.jtan.com/~reader/vu1/disp.cgi
  
  
   Seems to be a case of missing driver to me :-)
 
  Yes it is, and its missing because I have no idea what it wants.  Do
you?
 
 
  I'm still on my way to the office, so I can't for sure tell you what,
 but
  IIRC if you use Vbox's default settings for a Gentoo Linux VM, it's
ICH9.

 I'll try that, but I think I've noticed what is missing when I clicked
 on the storage tab and then on the sata controller... it shows type
 AHCI and that suddenly rang a bell.  I think that may be it... but
 right now I've ditched the vm I was trying to setup and started over.
 So I'll be a little while getting to the boot from disc stage again.


Just before emerging the source, you really should tarball *everything*
(except /proc, /sys, /var/tmp/*, and /usr/portage/distfiles/*), so you can
just 'pick up where you left it' :-)

Rgds,


Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory

2011-12-04 Thread Joseph

On 12/05/11 13:37, Gregory Shearman wrote:

In linux.gentoo.user, Joseph wrote:

I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but 
when try to transfer the data
base:
pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ 
--new-datadir=/var/lib/postgresql/9.1/data
--old-bindir=/usr/lib/postgresql-9.0/bin/ 
--new-bindir=/usr/lib/postgresql-9.1/bin/
Running in verbose mode
Performing Consistency Checks
-
Checking current, bin, and data directories
You must have read and write access in the current directory.
Failure, exiting

What am I doing wrong?


Have you checked that you have read and write access in the current
directory before running the command?

I did the upgrade as the postgres user and made sure that I ran the
command from a read/writable directory for that user.

--
Regards,
Gregory.


Yes, I did su postgres
and ls -al /var/lib/postgresql/9.1/
drwx-- 13 postgres postgres 4096 Dec  4 18:20 data

so it should work.

--
Joseph



[gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Harry Putnam
Pandu Poluan pa...@poluan.info writes:

 Just before emerging the source, you really should tarball *everything*
 (except /proc, /sys, /var/tmp/*, and /usr/portage/distfiles/*), so you can
 just 'pick up where you left it' :-)


That's almost as slow as starting over from scratch... hehe.




Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Pandu Poluan
On Dec 5, 2011 10:42 AM, Harry Putnam rea...@newsguy.com wrote:

 Pandu Poluan pa...@poluan.info writes:

  Just before emerging the source, you really should tarball *everything*
  (except /proc, /sys, /var/tmp/*, and /usr/portage/distfiles/*), so you
can
  just 'pick up where you left it' :-)
 

 That's almost as slow as starting over from scratch... hehe.


In my case, I've successfully re-used the stage3.5 tarball anytime I need
to deploy a new Gentoo VM. Saves on download time :-)

(I also have gcc upgraded to 4.5.3 and performed the acrobatics necessary
to activate gcc's Graphite feature, and upgraded glibc, *before* creating
stage3.5, so yes it's a huge timesaver for me)

Rgds,


Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Mick
On Monday 05 Dec 2011 01:25:06 Harry Putnam wrote:
 Alan McKinnon alan.mckin...@gmail.com writes:
  FATAL: No bootable medium found! System halted
  
  That's a BIOS error, the vm's kernel and it's drivers have not yet been
  loaded, never mind running when that happens. In this respect a VM
  works just like physical hardware, so what does one do with that error
  on physical hardware? you check the BIOS settings.
  
  Harry, start the VM and engage the BIOS setup, see what it has been
  configured to do wrt booting.
 
 You may have missed a post where I reported that resetting /dev/sda1
 as bootable using gparted rather than fdisk, allowed the boot to
 proceed.  We are now at a kernel panic posted at:
 
www.jtan.com/~reader/vu1/disp.cgi
 
 Where it appears there is a missing driver.

Did you try to untick the floppy drive (from the storage tab)?
-- 
Regards,
Mick


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


[gentoo-user] Advice on system monitoring

2011-12-04 Thread Michael Mol
I haven't yet needed to do this kind of system monitoring, so I'm very
much a newbie here.

Let's start with that dual-xeon box I was using to benchmark emerge
-e @world, figure I'm looking for how better to tune my MAKEOPTS and
EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more
information about the following factors:

* What was the 1m, 5m 15m load averages?
* What were the similar averages for CPU spent in user time, system
time and I/O wait?
* What was network usage like? (I have a caching proxy server on the
network, so even if distfiles are lost on-system, well, a cache hit
transfers at up to around 50MB/s. It'd be better, except for read
performance limitations on the router box, and write performance
limitations on the local machine)
* What was the temperature of each CPU core, RAM module and hard
drive? (Not so relevant for improving system performance, but still of
interest.)

I'd like to have a web interface I could navigate to which would show
graphs of these counters.

-- 
:wq



Re: [gentoo-user] Advice on system monitoring

2011-12-04 Thread Stéphane Guedon
On Monday 05 December 2011 07:29:34 Michael Mol wrote:
 I haven't yet needed to do this kind of system monitoring, so I'm very
 much a newbie here.
 
 Let's start with that dual-xeon box I was using to benchmark emerge
 -e @world, figure I'm looking for how better to tune my MAKEOPTS and
 EMERGE_DEFAULT_OPTS variables, and assume I'd like to get more
 information about the following factors:
 
 * What was the 1m, 5m 15m load averages?
 * What were the similar averages for CPU spent in user time, system
 time and I/O wait?
 * What was network usage like? (I have a caching proxy server on the
 network, so even if distfiles are lost on-system, well, a cache hit
 transfers at up to around 50MB/s. It'd be better, except for read
 performance limitations on the router box, and write performance
 limitations on the local machine)
 * What was the temperature of each CPU core, RAM module and hard
 drive? (Not so relevant for improving system performance, but still of
 interest.)
 
 I'd like to have a web interface I could navigate to which would show
 graphs of these counters.

There are many web interface for that. You should look at munin, rrdtool, 
nagios, this kind of stuff.
I have set my own.
Have a look there : https://www.22decembre.eu/status/ (I have setup my own 
certificate authority for ssl).
If you need help, don't hesitate to contact me ! But you may find also better 
help around !

See you...

-- 
Stéphane Guedon
http://www.22decembre.eu/
http://lectures.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf


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


[gentoo-user] usb mount problem

2011-12-04 Thread Пермяков Евгений
When I try to mount my mp3-player as usb storage device, an error 'bad 
block device' occurs. I re-checked usb part of kernel config, all 
relevant devices compiled. where should I dig?



some diagnostics

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 05d5:8001 Super Gate Technology Co., Ltd
Bus 004 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 004 Device 003: ID 056a:00d1 Wacom Co., Ltd Bamboo Pen  Touch 
(CTH-460-DE)

Bus 002 Device 003: ID 0402:7108 ALi Corp.  # == my player


dmesg is polluted with something like this

usb-storage: *** thread sleeping.
usb-storage: queuecommand_lck called
usb-storage: *** thread awakened.
usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
usb-storage:  1e 00 00 00 01 00
usb-storage: Bulk Command S 0x43425355 T 0x28b L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x28b R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk Command S 0x43425355 T 0x28c L 18 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 18 bytes, 1 entries
usb-storage: Status code 0; transferred 18/18
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x28c R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x2, key: 0x5, ASC: 0x24, ASCQ: 0x0
usb-storage: (Unknown Key): (unknown ASC/ASCQ)
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand_lck called
usb-storage: *** thread awakened.
usb-storage: Command REQUEST_SENSE (6 bytes)
usb-storage:  03 00 00 00 60 00
usb-storage: Bulk Command S 0x43425355 T 0x28d L 96 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 96 bytes, 1 entries
usb-storage: Status code -121; transferred 18/96
usb-storage: -- short read transfer
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x28d R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: device_reset called
usb-storage: usb_stor_Bulk_reset called
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value= index=00 len=0




Re: [gentoo-user] Re: vbox vm no boot

2011-12-04 Thread Alan McKinnon
On Mon, 5 Dec 2011 08:20:22 +0700
Pandu Poluan pa...@poluan.info wrote:

 On Dec 5, 2011 8:13 AM, Alan McKinnon alan.mckin...@gmail.com
 wrote:
 
  On Mon, 5 Dec 2011 07:34:46 +0700
  Pandu Poluan pa...@poluan.info wrote:
 
   On Dec 5, 2011 7:19 AM, Harry Putnam rea...@newsguy.com wrote:
   
Harry Putnam rea...@newsguy.com writes:
   
 Alan McKinnon alan.mckin...@gmail.com writes:

 [...]

 A Gentoo VM on a Linux host works fine here with the same
 setup. Let's examine the host settings first as that affects
 booting too.

 What settings do you have on the System and Storage tabs on
 the VBox host for that vm?

 I guess the easiest is to post screen shots of those tabs:

www.jtan.com/~reader/vu2/disp.cgi

 I did notice that on System tab the chipset is listed as piix3
 and on Storage Tab it shows `type' as PIIX4.  At first there
 were no other choices on the drop downs, so I assumed it was
 ok like that... now I see the dropdown on Storage has gotten
 populated since I last tried it.

 I set it to match the System `chip' PIIX3... but still the
 same failure.

 Maybe those are not related to the problem?
   
Haa... that google hit I mentioned about resetting bootable with
gparted worked... Now bootup starts.  But the same old sorry bs
I have always hit with gentoo when trying to setup a vm is now
present and accounted for...
   
www.jtan.com/~reader/vu1/disp.cgi
   
  
   Seems to be a case of missing driver to me :-)
 
  I'm not convinced. The error is:
 
  FATAL: No bootable medium found! System halted
 
 
 Have you seen his last screen cap? The latest error message is now:
 
 Kernel panic - not syncing: VFS: unable to mount root.
 
 The preceding lines don't indicate the kernel recognizing any hard
 disks, so I guessed the right driver has not been loaded.


Yes, I see the latest screenshot now. Must have missed that one.

Harry, that error almost always indicates you do not have the drivers
for PIIX compiled into the kernel. I assume you are not using an
initramfs so that driver must be compiled in, not a module.

In make menuconfig, it's found at Device Drivers - Serial ATA and
Parallel ATA drivers

Similar for the file system driver (presumably ext2|3|4) for the
partition hosting /boot, that too must be compiled in (not a module)


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