[gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Felix Miata
Googling above or similar is getting me nothing useful: 70% non-English 
pages, and of the remainder, 90% questions without answers (from 
forums.gentoo.org), and of those with answers, answers specific to packages 
bearing no apparent relationship to those failing to emerge for me. There are 
plenty hits for 'die econf failed' and 'ERROR:...failed (compile phase)', 
just nothing useful.


How can my attempts to follow the Handbook instructions have failed so 
miserably that I can't even emerge such a basic package as Grub Legacy?


http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and 
eclass-debug.log files from 6 different emerge failures, plus output of 
emerge --info. Is there something akin to a Handbook page that describes 
similar failures and how to fix them? Is my problem not a common blocker for 
new users? How can I make any progress with everything hitting this 
apparently same or similar problem? Since I got a working kernel and mc, I've 
not managed to get anything else to emerge. :-(


As an aside, pages like http://www.gentoo.org/proj/en/qa/asneeded.xml don't 
fit. My browser viewport can be up to 1392px wide, and yet there's a 
horizontal scroll of 50% or so, making it really difficult to use such pages. 
I can dezoom to make the scollbar go away, but of course that restores the 
original illegibility for the pages' CSS.

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



[gentoo-user] dd says no space left on device

2011-05-15 Thread Adam Carter
I'm cloning a windows disk using gentoo;

On the old 66GB disk;
# dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
# dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz

Then after swapping in the new 500GB disk;
dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
# gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
dd: writing `/dev/sdb1': No space left on device
0+306 records in
0+305 records out
10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe3f7e3f7

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *  206848   117207039585000967  HPFS/NTFS/exFAT

Why is dd saying no space left after copying 10MB when sdb1 is 65GB?


Re: [gentoo-user] openrc update : locale variables are gone

2011-05-15 Thread Alain DIDIERJEAN

- Mail Original -
De: Mick michaelkintz...@gmail.com
À: gentoo-user@lists.gentoo.org
Envoyé: Samedi 14 Mai 2011 21h05:57 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [gentoo-user] openrc update : locale variables are gone

On Saturday 14 May 2011 15:26:38 Florian Philipp wrote:
 Am 14.05.2011 16:09, schrieb Willie Wong:
  On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
  As the subject line says, all variables pertaining to locale are gone
  (LANG  LINGUAS not set, LC_* set to POSIX). In which file are they
  supposed to be set these days ?
  
  /etc/env.d/02locale
  
  W
 
 Don't forget to run `env-update  source /etc/profile`.

Hmm ... not sure if the Window Manager/Display Environment sticks its finger 
in my locale!

On a console logged in as a plain user I get exactly what I have in my 
/etc/env.d/02locale.  The story is the same when I su to root in a terminal 
within X.  However, when I am in a terminal in X as a plain user I get *every* 
locale variable as  en_GB.UTF-8.

My /etc/env.d/02locale shows:

LANG=en_GB.UTF-8
LC_TIME=POSIX
LC_COLLATE=C

Why would this be so?  The Language setting in my WM (e17) is set as 'System 
Default' and at the bottom is shows System Locale: Locale.
-- 

Following the openrc update in gentoo amd64, all locale variables suddenly 
vanished. I created a /etc/env.d/02locale file which includes 
LANG=fr_FR.UTF-8.
lyx loads with english menus. It's only after exporting LANG from .bashrc that 
I can launch it from a shell with its french menus. To achieve the same effect 
from KDE menu, I have to set the launch command to LANG=fr_FR.UTF-8 lyx.
My preference would be a global setting (as it used to be), as all users on my 
machine are french.
I have the same problem with most of the apps.
Any comments ?

-- 

Alain DIDIERJEAN  Puisque ces mystères nous dépassent
   Feignons d'en être l'organisateur




Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Mick
On Sunday 15 May 2011 07:24:12 Felix Miata wrote:
 Googling above or similar is getting me nothing useful: 70% non-English
 pages, and of the remainder, 90% questions without answers (from
 forums.gentoo.org), and of those with answers, answers specific to packages
 bearing no apparent relationship to those failing to emerge for me. There
 are plenty hits for 'die econf failed' and 'ERROR:...failed (compile
 phase)', just nothing useful.

I cannot access your buildgrublog.txt of 15 May (Error 403)

 How can my attempts to follow the Handbook instructions have failed so
 miserably that I can't even emerge such a basic package as Grub Legacy?

It seems that you may have missed something in your toolchain.

 http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and
 eclass-debug.log files from 6 different emerge failures, plus output of
 emerge --info. Is there something akin to a Handbook page that describes
 similar failures and how to fix them? Is my problem not a common blocker
 for new users? How can I make any progress with everything hitting this
 apparently same or similar problem? Since I got a working kernel and mc,
 I've not managed to get anything else to emerge. :-(

I noticed in your configgrublog.txt this error:

  ./configure: line 3307: ccache: command not found

So, somewhere ccache is defined to be used, but you perhaps have not emerged 
dev-util/ccache?

Emerge it with a LiveCD, configure it, reboot and see if your system emerges 
better now.

Or,

set -ccache in FEATURES in your /etc/make.conf and try again.

BTW, if you originally had ccache working and left stales files under 
/var/tmp/ccache/*  you better delete these first.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part2_chap3



 As an aside, pages like http://www.gentoo.org/proj/en/qa/asneeded.xml don't
 fit. 

I recall this discussed before.  Some pages do not have the correct CSS to 
define a max page width which for todays browsers should typically be 1024.  
Could be caused by the CMS used or some error in coding by the webmaster.  Not 
sure if a bug on this has been filled before.  Worth checking the M/L archives 
to see what was the conclusion.  Also worth trying loading just the frame to 
see if it can show up correctly.
-- 
Regards,
Mick


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


Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Joost Roeleveld
On Sunday 15 May 2011 17:45:05 Adam Carter wrote:
 I'm cloning a windows disk using gentoo;
 
 On the old 66GB disk;
 # dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
 # dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz
 
 Then after swapping in the new 500GB disk;
 dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
 # gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
 dd: writing `/dev/sdb1': No space left on device
 0+306 records in
 0+305 records out
 10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
 # fdisk -l /dev/sdb
 
 Disk /dev/sdb: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0xe3f7e3f7
 
Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   *  206848   117207039585000967  HPFS/NTFS/exFAT
 
 Why is dd saying no space left after copying 10MB when sdb1 is 65GB?

Did you reboot after the first dd?
Or at least, force a re-read of the partition tables?

Linux caches the partition tables and when overwriting the partition table, 
strange things will happen.

--
Joost



[gentoo-user] Troubleshooting the Virtualbox init script

2011-05-15 Thread Dan Cowsill
Hey list,

I noticed a little while ago that virtualbox-bin came with an init script
and decided to try it out.  Trouble is, the script starts a virtualbox VM
just fine, it just can't stop one.   Check out /etc/conf.d/virtualbox.my-vm:

# Username to start vbox as, must be part of vboxusers group.
VM_USER=dcowsill

# Virtual Machine Name
VM_NAME=my-vm

# Shutdown Method:
pause|resume|reset|poweroff|savestate|acpipowerbutton|acpisleepbutton
VM_SHUTDOWN=savestate

# Nice Priority: -20 (most favorable scheduling) to 19 (least favorable)
VM_NICE=-10

# Specified the path explicitly...
VBOXPATH=/usr/bin:/opt/bin

The only trouble I had with the arrangement was that I had to explicitly
specify the path for virtualbox to actually work.  I thought this was silly,
but it resulted in a (semi) working script, so whatever.  Of course, I have
a similarly named file linked to /etc/init.d/virtualbox where necessary.

When this script is run, the virtual machine starts fine, but when the
script is stopped, the script hangs indefinitely and prints dots to the
screen, presumably as it waits for my virtual machine to savestate.

So, any tips?  Cursory googling didn't reveal anything terribly applicable,
so I turn to you fine fellows.

Thanks,
DC


Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-15 Thread Florian Philipp
Am 15.05.2011 05:37, schrieb Pandu Poluan:
 On 2011-05-15, Florian Philipp li...@binarywings.net wrote:
 Am 14.05.2011 21:31, schrieb Pandu Poluan:
 Hello list!

 Is there a how-to on how to create a 'filer' (kind of like OpenFiler)
 using Gentoo?

 I really don't need many things OpenFiler provided, so I think I want
 to roll-out my own 'GentooFiler'.

 Here's what I need:
   * iSCSI target
   * Replication
   * RAID 0 striping (redundancy will be handled by RAID 1 hardware)

 Here's what I don't want:
   * Web-based GUI
   * LDAP and/or AD integration
   * NAS ability (CIFS/SAMBA, NFS, etc)

 Can you point me to a how-to? Or if such howto doesn't exist yet, can
 you provide me pointers on how to realize the GentooFiler?

 (If there's no howto on making a GentooFiler, I'll be glad to make one
 -- but do point me to the necessary resources, please.)

 Thanks in advance!

 Rgds,


  Gentoo wiki has something on this:
 http://en.gentoo-wiki.com/wiki/ISCSI

 Hope this helps,
 Florian Philipp


 
 
 Hmmm... that would be a nice start, thanks!

 Now to figure out how to carry out RAID 0 Striping and Replication.

 Do you think this 'GentooFiler' thingy I'm planning is worth it to be
 suggested in [gentoo-project] ?

 Rgds,


I think as long as you don't plan to provide code (except of some
scripts, maybe), new packages or pre-packaged VMs/live-CDs/appliances, a
wiki page will be more than enough. Maybe move it to the official Gentoo
docs once it has matured.

BTW: Please don't top-post. Put your answers below the text you are
quoting. That makes reading longer threads easier.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] One-time boot from alternate kernel?

2011-05-15 Thread Neil Bothwick
On Sat, 14 May 2011 23:46:52 -0400, Walter Dnes wrote:

   Is it possible to pass a to do a one-time reboot to other than the
 default kernel?

Yes.




Or were you asking How? Use grub-set-default, it's covered in the grub
man/info pages AFAIR, I haven't used it for some time.


-- 
Neil Bothwick

The careful application of terror is also a form of communication.


signature.asc
Description: PGP signature


[gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Hi,

I updated my kernel and had to reboot.  I usually boot to single user 
mode and rebuild my video drivers.  Since I have this in my grub list, I 
just select single user and it boots to single user mode.  Well, not any 
more.  This is my current settings:


title Gentoo
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3

title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single

root@fireball / #

I went back and looked at the guide but no mention of this.  I don't see 
anything in the man pages either.  What is the correct way to define a 
runlevel to boot to in grub with the new openrc?


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-15 Thread pk
On 2011-05-15 12:05, Florian Philipp wrote:

 BTW: Please don't top-post. Put your answers below the text you are
 quoting. That makes reading longer threads easier.

Yes, but putting the text below the quoted text also assumes one keeps
only the relevant text (i.e. deletes all irrelevant text), which (sadly)
doesn't seem to be the norm these days...

Best regards

Peter K



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Neil Bothwick
On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:

 I updated my kernel and had to reboot.  I usually boot to single user 
 mode and rebuild my video drivers.

Why not rebuild them before you reboot? It's far more convenient.


-- 
Neil Bothwick

Where do you think you're going today?


signature.asc
Description: PGP signature


Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Willie Wong
On Sun, May 15, 2011 at 02:24:12AM -0400, Felix Miata wrote:
 Googling above or similar is getting me nothing useful: 70%
 non-English pages, and of the remainder, 90% questions without
 answers (from forums.gentoo.org), and of those with answers, answers
 specific to packages bearing no apparent relationship to those
 failing to emerge for me. There are plenty hits for 'die econf
 failed' and 'ERROR:...failed (compile phase)', just nothing useful.

Because that is not the real error message. That just tells you when
(whether during configuration or compilation) the build failed. The
actual error is a few tens of lines earlier in the display (so
possibly 1 screen or 2 up in the console). 

Also, instead of posting the complete log on the external site (and
sometimes run into access problems), it may be easier to attach a
partial log to the e-mails to the forum. Something like 'tail -n 100
build.log' usually contains enough information. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Indi
On Sun, May 15, 2011 at 08:30:02AM +0200, Felix Miata wrote:
 
 http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and 
 eclass-debug.log files from 6 different emerge failures, plus output of 
 emerge --info. Is there something akin to a Handbook page that describes 
 similar failures and how to fix them? Is my problem not a common blocker for 
 new users? How can I make any progress with everything hitting this 
 apparently same or similar problem? Since I got a working kernel and mc, I've 
 not managed to get anything else to emerge. :-(
 

Looking at http://fm.no-ip.com/Tmp/Linux/G/build-libeventlog.txt 
I noticed this:
checking whether the C compiler works... no

and at http://fm.no-ip.com/Tmp/Linux/G/build-sysklogdlog.txt: 
make: ccache: Command not found

So it looks as though you may have missed getting your gcc profile 
straight (as well as not having ccache installed)?

Check out man gcc-config.


-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] openrc update : locale variables are gone

2011-05-15 Thread Mick
On Sunday 15 May 2011 09:43:39 Alain DIDIERJEAN wrote:

 Following the openrc update in gentoo amd64, all locale variables suddenly
 vanished. I created a /etc/env.d/02locale file which includes
 LANG=fr_FR.UTF-8. lyx loads with english menus. It's only after
 exporting LANG from .bashrc that I can launch it from a shell with its
 french menus. To achieve the same effect from KDE menu, I have to set the
 launch command to LANG=fr_FR.UTF-8 lyx. My preference would be a global
 setting (as it used to be), as all users on my machine are french. I have
 the same problem with most of the apps.
 Any comments ?

Alain, as I said in my previous post the /etc/env.d/02locale settings do not 
seem to transfer across to user terminals when run in X.  I do not run KDE on 
this machine to see what KDE locale settings are doing ... have you set it to 
use the French language?

Either way, I have noticed that although locale from a user terminal in X 
shows everything as en_GB.UTF-8:

$ locale
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=en_GB.UTF-8

without me having set it so, the same terminal shows different environment 
variables which correctly coincide with the /etc/env.d/02locale settings:

$ echo $LANG
en_GB.UTF-8

$ echo $LC_TIME
POSIX

$ echo $LC_COLLATE
C

The only odd is the LC_ALL - which I have not set up in my ~/.bashrc or 
02locale files!

$ echo $LC_ALL
en_GB.UTF-8

Perhaps my WM decided to take the LANG variable which happens to be 
en_GB.UTF-8 and apply it to LC_ALL?  The solution for me was to set in 
~/.bashrc:

export LC_ALL=

Hope this works for your setup too.
-- 
Regards,
Mick


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


RE: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-15 Thread Pandu Poluan
-original message-
Subject: Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?
From: pk pete...@coolmail.se
Date: 2011-05-15 17:47

On 2011-05-15 12:05, Florian Philipp wrote:

 BTW: Please don't top-post. Put your answers below the text you are
 quoting. That makes reading longer threads easier.

Yeah, sorry about that. Bad habits due to prolonged exposure to Google's 
Java-based mobile client :(

pk pete...@coolmail.se : Yes, but putting the text below the quoted text also 
assumes one keeps
only the relevant text (i.e. deletes all irrelevant text), which (sadly)
doesn't seem to be the norm these days...

Indeed. And sometimes top-posting is *forced* (e.g., Google's Java-based Gmail 
client -- it *totally* hides the replied-to message).

Heck, using my E72's built-in mail client is only slightly better: for reasons 
known to the makers only, replies do *not* get indented using ''. I have to 
manually put in a mark there.

Rgds,
--
Pandu E Poluan




Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Neil Bothwick wrote:

On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:

   

I updated my kernel and had to reboot.  I usually boot to single user
mode and rebuild my video drivers.
 

Why not rebuild them before you reboot? It's far more convenient.


   
But that doesn't fix the problem I posted.  There are times when I need 
to boot to something besides the default runlevel.  Right now, I can't 
do that so I want to fix it so that I can boot to another runlevel.


Dale

:-)  :-)



Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-15 Thread Pandu Poluan
On 2011-05-15, Florian Philipp li...@binarywings.net wrote:
 Am 15.05.2011 05:37, schrieb Pandu Poluan:
 On 2011-05-15, Florian Philipp li...@binarywings.net wrote:
 Am 14.05.2011 21:31, schrieb Pandu Poluan:
 Hello list!

 Is there a how-to on how to create a 'filer' (kind of like OpenFiler)
 using Gentoo?

 I really don't need many things OpenFiler provided, so I think I want
 to roll-out my own 'GentooFiler'.

 Here's what I need:
   * iSCSI target
   * Replication
   * RAID 0 striping (redundancy will be handled by RAID 1 hardware)

 Here's what I don't want:
   * Web-based GUI
   * LDAP and/or AD integration
   * NAS ability (CIFS/SAMBA, NFS, etc)

 Can you point me to a how-to? Or if such howto doesn't exist yet, can
 you provide me pointers on how to realize the GentooFiler?

 (If there's no howto on making a GentooFiler, I'll be glad to make one
 -- but do point me to the necessary resources, please.)

 Thanks in advance!

 Rgds,


  Gentoo wiki has something on this:
 http://en.gentoo-wiki.com/wiki/ISCSI

 Hope this helps,
 Florian Philipp




 Hmmm... that would be a nice start, thanks!

 Now to figure out how to carry out RAID 0 Striping and Replication.

 Do you think this 'GentooFiler' thingy I'm planning is worth it to be
 suggested in [gentoo-project] ?

 Rgds,


 I think as long as you don't plan to provide code (except of some
 scripts, maybe), new packages or pre-packaged VMs/live-CDs/appliances, a
 wiki page will be more than enough. Maybe move it to the official Gentoo
 docs once it has matured.


Thanks for the guidelines. I'll experiment first. I *might* go the way
of pre-packaged VMs, though, since after all that's what I'm planning
to do (i.e., GentooFiler virtual appliance on top of XenServer).

 BTW: Please don't top-post. Put your answers below the text you are
 quoting. That makes reading longer threads easier.

 Regards,
 Florian Philipp


Yeah, sorry about that. Bad habits. When you're mobile with Symbian
smartphones, circumstances will make one acquire bad habits really
quickly :(

The *only* way I can properly bottom post like now, is to visit
Gmail's 'basic HTML' interface using Nokia's browser *sigh*.

Rgds,
--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Alex Schuster
Joost Roeleveld writes:

 On Sunday 15 May 2011 17:45:05 Adam Carter wrote:

 Why is dd saying no space left after copying 10MB when sdb1 is 65GB?
 
 Did you reboot after the first dd?

Probably, undless he is using som external drive.

 Or at least, force a re-read of the partition tables?

partprobe /dev/sdb will do this. partprobe is in sys-block/parted.

 Linux caches the partition tables and when overwriting the partition table, 
 strange things will happen.

Sounds like the drive is new, and probably not partitioned at all. When
/dev/sdb1 shows up, I's say the partitioning is okay. Is fdisk (I prefer
cfdisk) showing the correct layout?

Wonko



Re: [gentoo-user] Gentoo-based 'filer' / GentooFiler How-To?

2011-05-15 Thread pk
On 2011-05-15 14:59, Pandu Poluan wrote:

 Indeed. And sometimes top-posting is *forced* (e.g., Google's
Java-based Gmail client -- it *totally* hides the replied-to message).
 
 Heck, using my E72's built-in mail client is only slightly better:
for reasons known to the makers only, replies do *not* get indented
using ''. I have to manually put in a mark there.

Yes, I know I'm trying to fight wind mills here (ref. to
http://en.wikipedia.org/wiki/Don_Quixote for those not in the know)...
(I'm not happy with my current mail client either [Thunderbird]).
 I just added my comment to expand Florians suggestion, and the fact
that most people on this list don't top-post but do not edit their mails
so you have to scroll down, sometimes page after page to find the reply.
But this is quite common on most lists today (and most lists are, sadly,
much more tolerant towards top-posting). 'tis but a reflection of mine...

From http://tools.ietf.org/html/rfc1855:

- If you are sending a reply to a message or a posting be sure you
  summarize the original at the top of the message, or include just
  enough text of the original to give a context.  This will make
  sure readers understand when they start to read your response.
  Since NetNews, especially, is proliferated by distributing the
  postings from one host to another, it is possible to see a
  response to a message before seeing the original.  Giving context
  helps everyone.  But do not include the entire original!


Best regards

Peter K



[gentoo-user] leafnode and xinetd?

2011-05-15 Thread Indi
Anyone here have leafnode running successfully?
I seem to be stuck, and for some reason google appears to be stuck as
well on this one. Apparently users who want leafnode are about as rare
as hen's teeth...


Output of xinetd -d follows:

idd@gh:[~]$ xinetd -d   
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/chargen-dgram [file=/etc/xinetd.conf] 
[line=49]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/chargen-stream 
[file=/etc/xinetd.d/chargen-stream] [line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/daytime-dgram 
[file=/etc/xinetd.d/daytime-dgram] [line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/daytime-stream 
[file=/etc/xinetd.d/daytime-stream] [line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/discard-dgram 
[file=/etc/xinetd.d/discard-dgram] [line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/discard-stream 
[file=/etc/xinetd.d/discard-stream] [line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/echo-dgram [file=/etc/xinetd.d/echo-dgram] 
[line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/echo-stream [file=/etc/xinetd.d/echo-stream] 
[line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/ftp-sensor [file=/etc/xinetd.d/ftp-sensor] 
[line=67]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/leafnode-nntp 
[file=/etc/xinetd.d/leafnode-nntp] [line=70]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/rsyncd [file=/etc/xinetd.d/rsyncd] [line=13]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/svnserve [file=/etc/xinetd.d/svnserve] 
[line=10]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/tcpmux-server 
[file=/etc/xinetd.d/tcpmux-server] [line=14]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/time-dgram [file=/etc/xinetd.d/time-dgram] 
[line=68]
11/5/15@10:24:49: DEBUG: 3486 {handle_includedir} Reading included 
configuration file: /etc/xinetd.d/time-stream [file=/etc/xinetd.d/time-stream] 
[line=67]
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing chargen
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing chargen
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing daytime
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing daytime
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing discard
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing discard
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing echo
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing echo
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing ftp
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing rsync
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing svn
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing tcpmux
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing time
11/5/15@10:24:49: DEBUG: 3486 {remove_disabled_services} removing time
Service defaults
Instances = 50
Groups = yes
umask = 2
CPS = max conn:50 wait:10
PER_SOURCE = 10
Bind = All addresses.
Only from:  localhost(HOST)
No access: No blocked sites
Logging to syslog. Facility = daemon, level = info
Log_on_success flags = HOST DURATION EXIT PID
Log_on_failure flags = HOST

Service configuration: nntp
id = nntp
flags = IPv4
socket_type = stream
Protocol (name,number) = (tcp,6)
port = 119
wait = no
user = 9
Groups = yes
umask = 2
PER_SOURCE = 10
Bind = All addresses.
Server = /usr/sbin/leafnode
Server argv = leafnode
Only from:  localhost(HOST)
No access: No blocked sites
Logging to syslog. Facility = daemon, level = info
Log_on_success flags = HOST DURATION EXIT PID
Log_on_failure flags = HOST

11/5/15@10:24:49: ERROR: 3486 {activate_normal} bind failed (Permission denied 
(errno = 13)). service = nntp
11/5/15@10:24:49: ERROR: 3486 {cnf_start_services} Service nntp failed to start 
and is deactivated.
11/5/15@10:24:49: DEBUG: 3486 {cnf_start_services} mask_max = 0, 
services_started = 0
11/5/15@10:24:49: CRITICAL: 3486 {init_services} no services. Exiting...

-- 

Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Mick
On Sunday 15 May 2011 11:34:07 Dale wrote:
 Hi,
 
 I updated my kernel and had to reboot.  I usually boot to single user
 mode and rebuild my video drivers.  Since I have this in my grub list, I
 just select single user and it boots to single user mode.  Well, not any
 more.  This is my current settings:
 
 title Gentoo
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
 
 title Gentoo boot level
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
 
 title Gentoo single user
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
 
 root@fireball / #
 
 I went back and looked at the guide but no mention of this.  I don't see
 anything in the man pages either.  What is the correct way to define a
 runlevel to boot to in grub with the new openrc?
 
 Thanks.
 
 Dale
 
 :-)  :-)

According to my /etc/inittab:

# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin

so softlevel=single should get you there.  However, you say it doesn't ...

# rc-update show single
#

Hmm ... nothing there.  Sure enough its empty:

$ ls -la /etc/runlevels/single/
total 8
drwxr-xr-x 2 root root 4096 Jan 21  2010 .
drwxr-xr-x 8 root root 4096 May  2 10:54 ..

So, what you would need to do I think is add the services you want starting at 
single runlevel there and you should be good to go.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Graham Murray
Neil Bothwick n...@digimed.co.uk writes:

 On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:

 I updated my kernel and had to reboot.  I usually boot to single user 
 mode and rebuild my video drivers.

 Why not rebuild them before you reboot? It's far more convenient.

I do not know about the particular video drivers, but I have used some
'out-of-tree' drivers[1] which only build against the running kernel not
the (built but not yet booted) one in /usr/src/linux.

[1] The one which immediately comes to mind is for the Digi Etherlite
network serial port adaptors. 



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Mick wrote:

On Sunday 15 May 2011 11:34:07 Dale wrote:
   

Hi,

I updated my kernel and had to reboot.  I usually boot to single user
mode and rebuild my video drivers.  Since I have this in my grub list, I
just select single user and it boots to single user mode.  Well, not any
more.  This is my current settings:

title Gentoo
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3

title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single

root@fireball / #

I went back and looked at the guide but no mention of this.  I don't see
anything in the man pages either.  What is the correct way to define a
runlevel to boot to in grub with the new openrc?

Thanks.

Dale

:-)  :-)
 

According to my /etc/inittab:

# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin

so softlevel=single should get you there.  However, you say it doesn't ...

# rc-update show single
#

Hmm ... nothing there.  Sure enough its empty:

$ ls -la /etc/runlevels/single/
total 8
drwxr-xr-x 2 root root 4096 Jan 21  2010 .
drwxr-xr-x 8 root root 4096 May  2 10:54 ..

So, what you would need to do I think is add the services you want starting at
single runlevel there and you should be good to go.
   


There never has been anything in my single user runlevel.  It worked 
fine a few weeks ago but after the openrc upgrade, no more worky.


The funny thing is, I can go to a console and type in rc single, that 
works fine.  It goes to single user mode with no errors.  Well, I did 
notice top showed the ttys still running.  I'm going to test that 
later.  That may be another thread for another day.  Sort of beating on 
one thing at a time.  ;-)


I just thought maybe it changed from softlevel to something else but if 
it did, I can't find it documented anywhere and even Google appears to 
be lost on this.


Open to ideas still.

Dale

:-)  :-)



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Mick
On Sunday 15 May 2011 16:39:19 Dale wrote:
 Mick wrote:
  On Sunday 15 May 2011 11:34:07 Dale wrote:
  Hi,
  
  I updated my kernel and had to reboot.  I usually boot to single user
  mode and rebuild my video drivers.  Since I have this in my grub list, I
  just select single user and it boots to single user mode.  Well, not any
  more.  This is my current settings:
  
  title Gentoo
  kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
  
  title Gentoo boot level
  kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
  
  title Gentoo single user
  kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
  
  root@fireball / #
  
  I went back and looked at the guide but no mention of this.  I don't see
  anything in the man pages either.  What is the correct way to define a
  runlevel to boot to in grub with the new openrc?
  
  Thanks.
  
  Dale
  
  :-)  :-)
  
  According to my /etc/inittab:
  
  # new-style single-user
  su0:S:wait:/sbin/rc single
  su1:S:wait:/sbin/sulogin
  
  so softlevel=single should get you there.  However, you say it doesn't
  ...
  
  # rc-update show single
  #
  
  Hmm ... nothing there.  Sure enough its empty:
  
  $ ls -la /etc/runlevels/single/
  total 8
  drwxr-xr-x 2 root root 4096 Jan 21  2010 .
  drwxr-xr-x 8 root root 4096 May  2 10:54 ..
  
  So, what you would need to do I think is add the services you want
  starting at single runlevel there and you should be good to go.
 
 There never has been anything in my single user runlevel.  It worked
 fine a few weeks ago but after the openrc upgrade, no more worky.
 
 The funny thing is, I can go to a console and type in rc single, that
 works fine.  It goes to single user mode with no errors.  Well, I did
 notice top showed the ttys still running.  I'm going to test that
 later.  That may be another thread for another day.  Sort of beating on
 one thing at a time.  ;-)
 
 I just thought maybe it changed from softlevel to something else but if
 it did, I can't find it documented anywhere and even Google appears to
 be lost on this.
 
 Open to ideas still.

The so called 'single' softlevel is a Gentoo fix for user specified runlevels 
with their own selected services.  I don't have a pre-OpenRC box to check that 
it linked to, but I seem to remember that it went to runlevel 3 and adjusted 
services from there.

The standard Linux runlevel called also single (confusing isn't it) stops 
before runlevel 3 and asks for a root passwd (or Control+D to continue).  It 
can be called by appending 1 or S to the boot line.

If you don't want to have to login with a password then I think you need to 
append 'init=/bin/bash' and mount as rw what fs you need to work on.  You'll 
have to sync and umount before you reboot to be safe.

Could also work with 'init=/bin/bb' for busybox - but I'm not sure.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Daniel da Veiga
I have a similar entry, but have never used the softlevel= flag, I simply
append single at the end of the kernel call and it boots in single user
(root password or ctrl+d to continue).

On Sun, May 15, 2011 at 07:34, Dale rdalek1...@gmail.com wrote:

 Hi,

 I updated my kernel and had to reboot.  I usually boot to single user mode
 and rebuild my video drivers.  Since I have this in my grub list, I just
 select single user and it boots to single user mode.  Well, not any more.
  This is my current settings:

 title Gentoo
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3

 title Gentoo boot level
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

 title Gentoo single user
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single

 root@fireball / #

 I went back and looked at the guide but no mention of this.  I don't see
 anything in the man pages either.  What is the correct way to define a
 runlevel to boot to in grub with the new openrc?

 Thanks.

 Dale

 :-)  :-)




-- 
Daniel da Veiga


[gentoo-user] KDE4.6 runaway process after wake up

2011-05-15 Thread Mick
I've noticed this problem twice so far:

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

 
14928 michael   21   1  340m  22m  15m R  100  0.6   2:24.84 kdeinit4: kded4 
[kdeinit]   
 
14658 michael   21   1  980m  35m  24m R  100  0.9   2:24.83 /usr/bin/knotify4  


On both occassions it happened when I woke up the machine from sleep (suspend 
on ram).  Any idea what might be causing it? 
-- 
Regards,
Mick


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


Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Alan McKinnon
Apparently, though unproven, at 15:14 on Sunday 15 May 2011, Dale did opine 
thusly:

 Neil Bothwick wrote:
  On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:
  I updated my kernel and had to reboot.  I usually boot to single user
  mode and rebuild my video drivers.
  
  Why not rebuild them before you reboot? It's far more convenient.
 
 But that doesn't fix the problem I posted.  There are times when I need
 to boot to something besides the default runlevel.  Right now, I can't
 do that so I want to fix it so that I can boot to another runlevel.


Like what for instance?
 
I can't remember the last time I needed single user mode. In excess of 4 years 
methinks. It would appear that you are doing something wrong and taking 
unneccessary steps to accomplish something.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Mick
On Sunday 15 May 2011 08:45:05 Adam Carter wrote:
 I'm cloning a windows disk using gentoo;
 
 On the old 66GB disk;
 # dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
 # dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz
 
 Then after swapping in the new 500GB disk;
 dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
 # gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
 dd: writing `/dev/sdb1': No space left on device
 0+306 records in
 0+305 records out
 10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
 # fdisk -l /dev/sdb
 
 Disk /dev/sdb: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0xe3f7e3f7
 
Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   *  206848   117207039585000967  HPFS/NTFS/exFAT
 
 Why is dd saying no space left after copying 10MB when sdb1 is 65GB?

Not sure if the bs=10M is too large?

You can try finding the optimum size of the bs= value by creating a partition 
on the new disk, formating it and then run something like:

dd if=/dev/zero bs=1024 count=100 of=/1G_test.file
dd if=/dev/zero bs=2048 count=50 of=/1G_test.file
dd if=/dev/zero bs=4096 count=25 of=/1G_test.file
dd if=/dev/zero bs=8192 count=125000 of=/1G_test.file

and compare the results that dd reports.  bs=4096 often gives best performance 
(on my drives at least) but with the new 1T+ drives you may find that another 
block size does the job better.

Then zero the drive first using dd:

dd if=/dev/zero of=/dev/sdb bs=4096 oflag=direct conv=notrunc

and try repeating your restoring from back up with a more suitable block size.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Neil Bothwick
On Sun, 15 May 2011 16:36:10 +0100, Graham Murray wrote:

  I updated my kernel and had to reboot.  I usually boot to single
  user mode and rebuild my video drivers.  
 
  Why not rebuild them before you reboot? It's far more convenient.  
 
 I do not know about the particular video drivers, but I have used some
 'out-of-tree' drivers[1] which only build against the running kernel not
 the (built but not yet booted) one in /usr/src/linux.

The Nvidia drivers build against /usr/src/linux, or any alternative
location you set.


-- 
Neil Bothwick

To the optimist, the glass is half full. To the pessimist, the glass is
half empty. To the engineer, the glass is twice as big as it needs to be.


signature.asc
Description: PGP signature


Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Neil Bothwick
On Sat, 14 May 2011 22:55:49 +0200, Alan McKinnon wrote:

  Except when 260+ packages need updating as it happened with the last
  KDE upgrade.  I had a cursory look, but I missed some USE flag changes
  (scanner,  rdesktop and vnc I think) which started removing packages
  and libraries. Other flag changes may well have added packages that I
  didn't need, but didn't have the time to go through the lot at the
  time.  
 
 Is your emerge output colorized?
 
 USE flag changes show up in green and the status indicators inside
 [ebuild   ] at the start of lines are in yellow. It's a huge gain being
 able to pick out the few new things that really stand out that way.

It also helps if you don't use -v, as then the only USE flags shown are
changes.


-- 
Neil Bothwick

-Come, come, why they couldn't hit an elephant from this dist-


signature.asc
Description: PGP signature


Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Daniel da Veiga wrote:
I have a similar entry, but have never used the softlevel= flag, I 
simply append single at the end of the kernel call and it boots in 
single user (root password or ctrl+d to continue).




May try that next.  I don't need this right now but I do want to figure 
this out before I do.


Dale

:-)  :-)



Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Volker Armin Hemmann
On Sunday 15 May 2011 18:52:21 Mick wrote:
 On Sunday 15 May 2011 08:45:05 Adam Carter wrote:
  I'm cloning a windows disk using gentoo;
  
  On the old 66GB disk;
  # dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
  # dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz
  
  Then after swapping in the new 500GB disk;
  dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
  # gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
  dd: writing `/dev/sdb1': No space left on device
  0+306 records in
  0+305 records out
  10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
  # fdisk -l /dev/sdb
  
  Disk /dev/sdb: 500.1 GB, 500107862016 bytes
  255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0xe3f7e3f7
  
 Device Boot  Start End  Blocks   Id  System
  
  /dev/sdb1   *  206848   117207039585000967  HPFS/NTFS/exFAT
  
  Why is dd saying no space left after copying 10MB when sdb1 is 65GB?
 
 Not sure if the bs=10M is too large?
 
 You can try finding the optimum size of the bs= value by creating a
 partition on the new disk, formating it and then run something like:
 
 dd if=/dev/zero bs=1024 count=100 of=/1G_test.file
 dd if=/dev/zero bs=2048 count=50 of=/1G_test.file
 dd if=/dev/zero bs=4096 count=25 of=/1G_test.file
 dd if=/dev/zero bs=8192 count=125000 of=/1G_test.file
 
 and compare the results that dd reports.  bs=4096 often gives best
 performance (on my drives at least) but with the new 1T+ drives you may
 find that another block size does the job better.
 
 Then zero the drive first using dd:
 
 dd if=/dev/zero of=/dev/sdb bs=4096 oflag=direct conv=notrunc
 
 and try repeating your restoring from back up with a more suitable block
 size.

a) sector sizes are mentioned in the docu
b) compeletly unrelated.



Re: [gentoo-user] KDE4.6 runaway process after wake up

2011-05-15 Thread Dale

Mick wrote:

I've noticed this problem twice so far:

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
14928 michael   21   1  340m  22m  15m R  100  0.6   2:24.84 kdeinit4: kded4
[kdeinit]
14658 michael   21   1  980m  35m  24m R  100  0.9   2:24.83 /usr/bin/knotify4

On both occassions it happened when I woke up the machine from sleep (suspend
on ram).  Any idea what might be causing it?
   


If those are the only ones you have, you are lucky.  This is one reason 
I switch to single user sometimes.  I log out of KDE and have a BUNCH of 
KDE processes still running.  This is a desktop and no suspend stuff 
being used.  I usually go to single user, kill them off then switch back 
and login.


I don't recall having this issue with KDE3 so maybe it is something they 
are working on.  I did notice the other day that I had only a couple 
after the openrc upgrade.  I don't know if one has anything to do with 
the other tho.  I also did some KDE updates as well.


Dale

:-)  :-)



Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Mick
On Sunday 15 May 2011 19:15:16 Volker Armin Hemmann wrote:
 On Sunday 15 May 2011 18:52:21 Mick wrote:
  On Sunday 15 May 2011 08:45:05 Adam Carter wrote:
   I'm cloning a windows disk using gentoo;
   
   On the old 66GB disk;
   # dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
   # dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz
   
   Then after swapping in the new 500GB disk;
   dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
   # gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
   dd: writing `/dev/sdb1': No space left on device
   0+306 records in
   0+305 records out
   10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
   # fdisk -l /dev/sdb
   
   Disk /dev/sdb: 500.1 GB, 500107862016 bytes
   255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
   Units = sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disk identifier: 0xe3f7e3f7
   
  Device Boot  Start End  Blocks   Id  System
   
   /dev/sdb1   *  206848   117207039585000967  HPFS/NTFS/exFAT
   
   Why is dd saying no space left after copying 10MB when sdb1 is 65GB?
  
  Not sure if the bs=10M is too large?
  
  You can try finding the optimum size of the bs= value by creating a
  partition on the new disk, formating it and then run something like:
  
  dd if=/dev/zero bs=1024 count=100 of=/1G_test.file
  dd if=/dev/zero bs=2048 count=50 of=/1G_test.file
  dd if=/dev/zero bs=4096 count=25 of=/1G_test.file
  dd if=/dev/zero bs=8192 count=125000 of=/1G_test.file
  
  and compare the results that dd reports.  bs=4096 often gives best
  performance (on my drives at least) but with the new 1T+ drives you may
  find that another block size does the job better.
  
  Then zero the drive first using dd:
  
  dd if=/dev/zero of=/dev/sdb bs=4096 oflag=direct conv=notrunc
  
  and try repeating your restoring from back up with a more suitable block
  size.
 
 a) sector sizes are mentioned in the docu
 b) compeletly unrelated.

You're right, but why is it stopping after the first 10M is transferred then?
-- 
Regards,
Mick


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


Re: [gentoo-user] KDE4.6 runaway process after wake up

2011-05-15 Thread Mick
On Sunday 15 May 2011 19:19:38 Dale wrote:
 Mick wrote:
  I've noticed this problem twice so far:
 PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  
  14928 michael   21   1  340m  22m  15m R  100  0.6   2:24.84 kdeinit4:
  kded4 [kdeinit]
  14658 michael   21   1  980m  35m  24m R  100  0.9   2:24.83
  /usr/bin/knotify4
  
  On both occassions it happened when I woke up the machine from sleep
  (suspend on ram).  Any idea what might be causing it?
 
 If those are the only ones you have, you are lucky.  This is one reason
 I switch to single user sometimes.  I log out of KDE and have a BUNCH of
 KDE processes still running.  This is a desktop and no suspend stuff
 being used.  I usually go to single user, kill them off then switch back
 and login.
 
 I don't recall having this issue with KDE3 so maybe it is something they
 are working on.  I did notice the other day that I had only a couple
 after the openrc upgrade.  I don't know if one has anything to do with
 the other tho.  I also did some KDE updates as well.

Sorry I should have been clearer:

I woke up the machine and noticed the fan was racing.  Top showed these two 
being the culprits.  I logged out of X and back on a console they were still 
running wild.  I had to kill them manually to calm things down.

When out of X in the console I seem to recall all other KDE processes had 
terminated.

-- 
Regards,
Mick


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


Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Mick
On Sunday 15 May 2011 19:14:26 Neil Bothwick wrote:
 On Sat, 14 May 2011 22:55:49 +0200, Alan McKinnon wrote:
   Except when 260+ packages need updating as it happened with the last
   KDE upgrade.  I had a cursory look, but I missed some USE flag changes
   (scanner,  rdesktop and vnc I think) which started removing packages
   and libraries. Other flag changes may well have added packages that I
   didn't need, but didn't have the time to go through the lot at the
   time.
  
  Is your emerge output colorized?
  
  USE flag changes show up in green and the status indicators inside
  [ebuild   ] at the start of lines are in yellow. It's a huge gain being
  able to pick out the few new things that really stand out that way.
 
 It also helps if you don't use -v, as then the only USE flags shown are
 changes.

Of course!  Been using -v out of habit and had forgotten about this.  :)
-- 
Regards,
Mick


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


[gentoo-user] Re: grub menu and the new openrc

2011-05-15 Thread Nikos Chantziaras

On 05/15/2011 01:34 PM, Dale wrote:

Hi,

I updated my kernel and had to reboot. I usually boot to single user
mode and rebuild my video drivers. Since I have this in my grub list, I
just select single user and it boots to single user mode. Well, not any
more. This is my current settings:


No need for single user in this case.  In the grub bootscreen, just 
append nox in the command line.  You don't even need an entry in 
grub.conf for this.  This will boot normally, but without starting X.





[gentoo-user] docutils will not emerge

2011-05-15 Thread covici
Hi.  On my latest update dev-python/docutils-0.8_pre7034 will not
emerge.  I am using python2.7.

Here is the relevant portion of the build log:
copying docutils/writers/odf_odt/__init__.py - 
build-3.2/lib/docutils/writers/odf_odt
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
warning: copy_build_py_2to3: byte-compiling is disabled, skipping.

copying aux dirs
running build_scripts
creating build-3.2/scripts-3.2
copying and adjusting tools/rst2html.py - build-3.2/scripts-3.2
copying and adjusting tools/rst2s5.py - build-3.2/scripts-3.2
copying and adjusting tools/rst2latex.py - build-3.2/scripts-3.2
Traceback (most recent call last):
  File setup.py, line 223, in module
do_setup()
  File setup.py, line 103, in do_setup
dist = setup(**kwargs)
  File /usr/lib64/python3.2/distutils/core.py, line 149, in setup
dist.run_commands()
  File /usr/lib64/python3.2/distutils/dist.py, line 919, in run_commands
self.run_command(cmd)
  File /usr/lib64/python3.2/distutils/dist.py, line 938, in run_command
cmd_obj.run()
  File /usr/lib64/python3.2/distutils/command/build.py, line 128, in run
self.run_command(cmd_name)
  File /usr/lib64/python3.2/distutils/cmd.py, line 315, in run_command
self.distribution.run_command(command)
  File /usr/lib64/python3.2/distutils/dist.py, line 938, in run_command
cmd_obj.run()
  File /usr/lib64/python3.2/distutils/command/build_scripts.py, line 51, in 
run
self.copy_scripts()
  File /usr/lib64/python3.2/distutils/command/build_scripts.py, line 83, in 
copy_scripts
first_line = f.readline()
  File /usr/lib64/python3.2/encodings/ascii.py, line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 106: 
ordinal not in range(128)
 * ERROR: dev-python/docutils-0.8_pre7034 failed (compile phase):
 *   Building failed with CPython 3.2 in distutils_building() function
 * 
 * Call stack:
 * ebuild.sh, line   56:  Called src_compile
 *   environment, line 4853:  Called distutils_src_compile
 *   environment, line 1230:  Called python_execute_function 
'distutils_building'
 *   environment, line 3422:  Called die
 * The specific snippet of code:
 *   die ${failure_message};
 * 
 * If you need support, post the output of 'emerge --info 
=dev-python/docutils-0.8_pre7034',
 * the complete build log and the output of 'emerge -pqv 
=dev-python/docutils-0.8_pre7034'.
 * The complete build log is located at 
'/var/log/portage/dev-python:docutils-0.8_pre7034:20110515-183512.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-python/docutils-0.8_pre7034/temp/environment'.
 * S: 
'/var/tmp/portage/dev-python/docutils-0.8_pre7034/work/docutils-0.8_pre7034'

Any assistance would be appreciated.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: docutils will not emerge

2011-05-15 Thread Remy Blank
cov...@ccs.covici.com wrote:
 I am using python2.7.

No, you're not.

  *   Building failed with CPython 3.2 in distutils_building() function
^^^

Check what eselect python list shows you, and what USE_PYTHON is set
to in make.conf.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Volker Armin Hemmann
On Sunday 15 May 2011 19:40:30 Mick wrote:
 On Sunday 15 May 2011 19:15:16 Volker Armin Hemmann wrote:
  On Sunday 15 May 2011 18:52:21 Mick wrote:
   On Sunday 15 May 2011 08:45:05 Adam Carter wrote:
I'm cloning a windows disk using gentoo;

On the old 66GB disk;
# dd if=/dev/sdb of=/root/winmbr.bin bs=512 count=1
# dd if=/dev/sdb1 bs=10M | gzip -v  winpartition.gz

Then after swapping in the new 500GB disk;
dd if=/root/winmbr.bin of=/dev/sdb bs=512 count=1
# gunzip -c winpartition.gz | dd of=/dev/sdb1 bs=10M
dd: writing `/dev/sdb1': No space left on device
0+306 records in
0+305 records out
10137600 bytes (10 MB) copied, 0.109885 s, 92.3 MB/s
# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168
sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe3f7e3f7

   Device Boot  Start End  Blocks   Id 
   System

/dev/sdb1   *  206848   117207039585000967 
HPFS/NTFS/exFAT

Why is dd saying no space left after copying 10MB when sdb1 is
65GB?
   
   Not sure if the bs=10M is too large?
   
   You can try finding the optimum size of the bs= value by creating a
   partition on the new disk, formating it and then run something like:
   
   dd if=/dev/zero bs=1024 count=100 of=/1G_test.file
   dd if=/dev/zero bs=2048 count=50 of=/1G_test.file
   dd if=/dev/zero bs=4096 count=25 of=/1G_test.file
   dd if=/dev/zero bs=8192 count=125000 of=/1G_test.file
   
   and compare the results that dd reports.  bs=4096 often gives best
   performance (on my drives at least) but with the new 1T+ drives you
   may
   find that another block size does the job better.
   
   Then zero the drive first using dd:
   
   dd if=/dev/zero of=/dev/sdb bs=4096 oflag=direct conv=notrunc
   
   and try repeating your restoring from back up with a more suitable
   block size.
  
  a) sector sizes are mentioned in the docu
  b) compeletly unrelated.
 
 You're right, but why is it stopping after the first 10M is transferred
 then?

not sure - but I would unpack the file first. Just in case.



Re: [gentoo-user] KDE4.6 runaway process after wake up

2011-05-15 Thread Alan McKinnon
Apparently, though unproven, at 20:43 on Sunday 15 May 2011, Mick did opine 
thusly:

  I don't recall having this issue with KDE3 so maybe it is something they
  are working on.  I did notice the other day that I had only a couple
  after the openrc upgrade.  I don't know if one has anything to do with
  the other tho.  I also did some KDE updates as well.
 
 Sorry I should have been clearer:
 
 I woke up the machine and noticed the fan was racing.  Top showed these
 two  being the culprits.  I logged out of X and back on a console they
 were still running wild.  I had to kill them manually to calm things down.
 
 When out of X in the console I seem to recall all other KDE processes had 
 terminated.

FWIW, I have the same thing occasionally, also on wake-up after suspend to 
RAM. In my case, something in the kdepim/akonadi/nepomuk/virtuoso stack seems 
to be the underlying culprit - one of those apps is hogging cpu time and 
kdeinit4/knotify are the ones that block the most hence they show up in top.

I tried various things involving re-merging stuffs, none of which helped. Then 
I figured maybe the mail indexer really wanted to do something valid, so I let 
it be and let it do whatever it wanted overnight. Since then the runaway 
process problem hasn't happened again. Perhaps coincidence, perhaps not.

Maybe you could try the same?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Alan McKinnon
Apparently, though unproven, at 20:14 on Sunday 15 May 2011, Neil Bothwick did 
opine thusly:

 On Sat, 14 May 2011 22:55:49 +0200, Alan McKinnon wrote:
   Except when 260+ packages need updating as it happened with the last
   KDE upgrade.  I had a cursory look, but I missed some USE flag changes
   (scanner,  rdesktop and vnc I think) which started removing packages
   and libraries. Other flag changes may well have added packages that I
   didn't need, but didn't have the time to go through the lot at the
   time.
  
  Is your emerge output colorized?
  
  USE flag changes show up in green and the status indicators inside
  [ebuild   ] at the start of lines are in yellow. It's a huge gain being
  able to pick out the few new things that really stand out that way.
 
 It also helps if you don't use -v, as then the only USE flags shown are
 changes.

I got out of that habit as I found without -v I'd more often than not ask 
myself I wonder what other flags are used for this package, and do I need to 
tweak them?

I call it prudence. My gf says it's me being bloody OCD again :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: docutils will not emerge

2011-05-15 Thread covici

Remy Blank remy.bl...@pobox.com wrote:

 cov...@ccs.covici.com wrote:
  I am using python2.7.
 
 No, you're not.
 
   *   Building failed with CPython 3.2 in distutils_building() function
 ^^^
 
 Check what eselect python list shows you, and what USE_PYTHON is set
 to in make.conf.
 
Here is eselect python list
  [1]   python2.7 *
  [2]   python3.2

I have no USE_PYTHON in make.conf.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Mick
On Sunday 15 May 2011 20:53:04 Alan McKinnon wrote:
 Apparently, though unproven, at 20:14 on Sunday 15 May 2011, Neil Bothwick
 did
 
 opine thusly:
  On Sat, 14 May 2011 22:55:49 +0200, Alan McKinnon wrote:
Except when 260+ packages need updating as it happened with the last
KDE upgrade.  I had a cursory look, but I missed some USE flag
changes (scanner,  rdesktop and vnc I think) which started removing
packages and libraries. Other flag changes may well have added
packages that I didn't need, but didn't have the time to go through
the lot at the time.
   
   Is your emerge output colorized?
   
   USE flag changes show up in green and the status indicators inside
   [ebuild   ] at the start of lines are in yellow. It's a huge gain being
   able to pick out the few new things that really stand out that way.
  
  It also helps if you don't use -v, as then the only USE flags shown are
  changes.
 
 I got out of that habit as I found without -v I'd more often than not ask
 myself I wonder what other flags are used for this package, and do I need
 to tweak them?
 
 I call it prudence. My gf says it's me being bloody OCD again :-)

I was planning to run it twice anyway, without  with ...  ;-)

-- 
Regards,
Mick


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


[gentoo-user] Re: docutils will not emerge

2011-05-15 Thread Remy Blank
cov...@ccs.covici.com wrote:
 Here is eselect python list
   [1]   python2.7 *
   [2]   python3.2
 
 I have no USE_PYTHON in make.conf.

Everything seems to be in order, then. The symptoms look very much like:

  http://bugs.gentoo.org/show_bug.cgi?id=366879

(Look at the duplicates for the symptoms.)

FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: docutils will not emerge

2011-05-15 Thread covici
Remy Blank remy.bl...@pobox.com wrote:

 cov...@ccs.covici.com wrote:
  Here is eselect python list
[1]   python2.7 *
[2]   python3.2
  
  I have no USE_PYTHON in make.conf.
 
 Everything seems to be in order, then. The symptoms look very much like:
 
   http://bugs.gentoo.org/show_bug.cgi?id=366879
 
 (Look at the duplicates for the symptoms.)
 
 FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

I have the following in my /etc/locale.gen

en_US ISO-8859-1
en_US.UTF-8 UTF-8

I also have unicode=yes in /etc/conf.d/rc.conf -- is there anything
else I need to do?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Neil Bothwick
On Sun, 15 May 2011 21:53:04 +0200, Alan McKinnon wrote:

  It also helps if you don't use -v, as then the only USE flags shown
  are changes.  
 
 I got out of that habit as I found without -v I'd more often than not
 ask myself I wonder what other flags are used for this package, and do
 I need to tweak them?
 
 I call it prudence. My gf says it's me being bloody OCD again :-)

Of course you're OCD - you use Gentoo, don't you? ;-)


-- 
Neil Bothwick

Time is the best teacher., unfortunately it kills all the students


signature.asc
Description: PGP signature


[gentoo-user] Re: docutils will not emerge

2011-05-15 Thread Hartmut Figge
Remy Blank:

 FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

Just for curiosity i have now tested. Normally i am using  docutils-0.7.
No problems with emerging docutils-0.8_pre7034.

hafi@i5 ~ $ eselect python list
Available Python interpreters:
  [1]   python2.4
  [2]   python2.7 *
  [3]   python3.1

hafi@i5 ~ $ locale
LANG=de_DE@euro
LC_CTYPE=de_DE@euro
LC_NUMERIC=de_DE@euro
LC_TIME=de_DE@euro
LC_COLLATE=de_DE@euro
LC_MONETARY=de_DE@euro
LC_MESSAGES=en_US
LC_PAPER=de_DE@euro
LC_NAME=de_DE@euro
LC_ADDRESS=de_DE@euro
LC_TELEPHONE=de_DE@euro
LC_MEASUREMENT=de_DE@euro
LC_IDENTIFICATION=de_DE@euro
LC_ALL=

Now back to docutils-0.7. :)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] Re: docutils will not emerge

2011-05-15 Thread covici
Remy Blank remy.bl...@pobox.com wrote:

 cov...@ccs.covici.com wrote:
  Here is eselect python list
[1]   python2.7 *
[2]   python3.2
  
  I have no USE_PYTHON in make.conf.
 
 Everything seems to be in order, then. The symptoms look very much like:
 
   http://bugs.gentoo.org/show_bug.cgi?id=366879
 
 (Look at the duplicates for the symptoms.)
 
 FWIW, docutils emerges fine here, but I do have a UTF-8 locale.

OK, I did not have LANG= in the environment, so I put it and that made
docutils emerge properly -- thanks for the hint.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Felix Miata
http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
my 7th attempt to install from the beginning, using 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.


Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
kernel, networking, and mc working on the first try, because I've been unable 
to get anything except kernel sources to emerge since the first attempt. 
Every other emerge attempt has generated either ERROR:...(compile phase)... 
or ERROR:...(configure phase)..., plus 'die econf failed'.


At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
than mistakes following instructions. I've put in most of the past 5 days 
trying, and have to quit real soon unless I get a whole lot better help. I'm 
sure I've used up my quota of better efficiency just trying to get started, 
and need to get back to normal life soon.

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Daniel da Veiga wrote:
I have a similar entry, but have never used the softlevel= flag, I 
simply append single at the end of the kernel call and it boots in 
single user (root password or ctrl+d to continue).




I did get this to work:

title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single

So, all I need now is to figure out how to get this work:

title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

It appears the softlevel= is no longer working with the new openrc.  It 
looks like the docs need to be updated.  I also tried init= and it 
doesn't work either.


Time to go farther up the food chain I guess. The docs need to be 
changed at least.


Dale

:-)  :-)



[gentoo-user] Re: chicken -- egg (NFS tty video)

2011-05-15 Thread walt
On 05/14/2011 06:20 AM, Felix Miata wrote:

 My #1 problem to solve is NFS not working yet (nfs-utils aka
 libevent, portmap, rpc emerge failures), but it would also be very
 nice to get Grub to emerge. Logs: http://fm.no-ip.com/Tmp/Linux/G/

Looking at the config for libevent, the script can't find ccache.
Do you have dev-util/ccache installed?  Did you enable the 'ccache'
FEATURE in /etc/make.conf?





Re: [gentoo-user] leafnode and xinetd?

2011-05-15 Thread Adam Carter
On Mon, May 16, 2011 at 12:29 AM, Indi thebeelzebubtrig...@gmail.comwrote:

 Anyone here have leafnode running successfully?
 I seem to be stuck, and for some reason google appears to be stuck as
 well on this one. Apparently users who want leafnode are about as rare
 as hen's teeth...



 snip
 11/5/15@10:24:49: ERROR: 3486 {activate_normal} bind failed (Permission
 denied (errno = 13)). service = nntp
 11/5/15@10:24:49: ERROR: 3486 {cnf_start_services} Service nntp failed to
 start and is deactivated.
 11/5/15@10:24:49: DEBUG: 3486 {cnf_start_services} mask_max = 0,
 services_started = 0
 11/5/15@10:24:49: CRITICAL: 3486 {init_services} no services. Exiting...


Have you checked there's nothing listening on the port already with netstat?
Are you starting as root?

As a dumb test you could just try nc -l -p 119 if you have netcat, or just
/usr/sbin/sshd -p 119 to see if they can open the port. AFAIK SELinux will
need a config tweak to allow the port open if you're using that.


Re: [gentoo-user] dd says no space left on device

2011-05-15 Thread Adam Carter
WRT why it stopped after 10MB, if i specified a smaller size it would just
stop after whatever was specified, so its just doing a single chunk equal to
whatever bs has been specified as.

I think the re-read of the partition table is probably the problem - so
thanks for that suggestion.

To check my understanding - would it be correct to say that;
1. Using dd to copy the first 512 bytes (MBR) is ALL that is needed to setup
the partitions - that is i wont need to run fdisk etc afterward.
2. Using dd in this way of course will not update the kernel's knowledge of
the partition table so a partprobe is necessary
3. When using fdisk to write a partition table and exit, it calls a re-read
of the partition table by the kernel so any changes should be ready straight
away. (there's a message about calling ioctl when it exits - so i guess that
is the update)


Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Michael Orlitzky
On 05/15/2011 06:29 PM, Felix Miata wrote:
 http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
 my 7th attempt to install from the beginning, using 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle 
 plan.
 
 Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
 portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
 kernel, networking, and mc working on the first try, because I've been unable 
 to get anything except kernel sources to emerge since the first attempt. 
 Every other emerge attempt has generated either ERROR:...(compile phase)... 
 or ERROR:...(configure phase)..., plus 'die econf failed'.
 
 At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
 than mistakes following instructions. I've put in most of the past 5 days 
 trying, and have to quit real soon unless I get a whole lot better help. I'm 
 sure I've used up my quota of better efficiency just trying to get started, 
 and need to get back to normal life soon.

Purge ccache entirely from your system, it's bad news. Then `source
/etc/profile  env-update`.



Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Adam Carter
 Purge ccache entirely from your system, it's bad news. Then `source
 /etc/profile  env-update`.


AFAIK i've never had a problem with ccache. I've been using it for years on
two different systems.

The OP's probably appears to be that he has ccache in FEATURES but its not
installedas Mick stated 16 hours ago.


Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Willie Wong
On Sun, May 15, 2011 at 09:14:55PM -0400, Michael Orlitzky wrote:
 On 05/15/2011 06:29 PM, Felix Miata wrote:
  http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs 
  from 
  my 7th attempt to install from the beginning, using 
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle 
  plan.
  
  Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
  portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
  kernel, networking, and mc working on the first try, because I've been 
  unable 
  to get anything except kernel sources to emerge since the first attempt. 
  Every other emerge attempt has generated either ERROR:...(compile 
  phase)... 
  or ERROR:...(configure phase)..., plus 'die econf failed'.
  
  At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
  than mistakes following instructions. I've put in most of the past 5 days 
  trying, and have to quit real soon unless I get a whole lot better help. 
  I'm 
  sure I've used up my quota of better efficiency just trying to get started, 
  and need to get back to normal life soon.
 
 Purge ccache entirely from your system, it's bad news. Then `source
 /etc/profile  env-update`.

What's strange is that the emerge --info Felix linked to does not have
ccache in Features. But it is timestamped earlier than the other
logs...

Is ccache installed? (emerge --search ccache) if yes unmerge it
(emerge --unmerge ccache). And you may want to use gcc-config to reset
the links to gcc. 

W

-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Daniel da Veiga
On Sun, May 15, 2011 at 20:12, Dale rdalek1...@gmail.com wrote:

 Daniel da Veiga wrote:

 I have a similar entry, but have never used the softlevel= flag, I simply
 append single at the end of the kernel call and it boots in single user
 (root password or ctrl+d to continue).


 I did get this to work:

 title Gentoo single user
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single

 So, all I need now is to figure out how to get this work:


 title Gentoo boot level
 kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

 It appears the softlevel= is no longer working with the new openrc.  It
 looks like the docs need to be updated.  I also tried init= and it doesn't
 work either.

 Time to go farther up the food chain I guess. The docs need to be changed
 at least.


Updated docs are always good, but I wonder why do you need this.
If I need single user I simply press e, edit the line and add single,
followed by a b to boot. That is a for maintenance only so I really don't
see a need for it at grub menu, same wth the other runlevels, all you gotta
do is append nox or use Interactive (again, this is only if something is
broken, I can't see myself doing this twice in a week)...

-- 
Daniel da Veiga


Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Michael Orlitzky
On 05/15/2011 09:25 PM, Adam Carter wrote:
 
 Purge ccache entirely from your system, it's bad news. Then `source
 /etc/profile  env-update`.
 
 
 AFAIK i've never had a problem with ccache. I've been using it for years
 on two different systems.
 
 The OP's probably appears to be that he has ccache in FEATURES but its
 not installedas Mick stated 16 hours ago.

I meant that like when I tell my friends with the crippling alcoholism,
get rid of the motorcycle, it's bad news.

ccache is installed, judging by his bash history. It doesn't appear to
be in FEATURES. It's easier to solve this one with a chainsaw than with
a scalpel.



Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Michael Orlitzky
On 05/15/2011 06:29 PM, Felix Miata wrote:
 http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
 my 7th attempt to install from the beginning, using 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle 
 plan.
 
 Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
 portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
 kernel, networking, and mc working on the first try, because I've been unable 
 to get anything except kernel sources to emerge since the first attempt. 
 Every other emerge attempt has generated either ERROR:...(compile phase)... 
 or ERROR:...(configure phase)..., plus 'die econf failed'.
 
 At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
 than mistakes following instructions. I've put in most of the past 5 days 
 trying, and have to quit real soon unless I get a whole lot better help. I'm 
 sure I've used up my quota of better efficiency just trying to get started, 
 and need to get back to normal life soon.


Ugh:

  http://fm.no-ip.com/Tmp/Linux/G/bash_profile

I'm guessing you forgot to `source ~/.bash_profile` after you commented
out the line,

  #export CC=ccache gcc



Re: [gentoo-user] grub menu and the new openrc

2011-05-15 Thread Dale

Daniel da Veiga wrote:
On Sun, May 15, 2011 at 20:12, Dale rdalek1...@gmail.com 
mailto:rdalek1...@gmail.com wrote:


Daniel da Veiga wrote:

I have a similar entry, but have never used the softlevel=
flag, I simply append single at the end of the kernel call
and it boots in single user (root password or ctrl+d to continue).


I did get this to work:

title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single

So, all I need now is to figure out how to get this work:


title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot

It appears the softlevel= is no longer working with the new
openrc.  It looks like the docs need to be updated.  I also tried
init= and it doesn't work either.

Time to go farther up the food chain I guess. The docs need to be
changed at least.


Updated docs are always good, but I wonder why do you need this.
If I need single user I simply press e, edit the line and add 
single, followed by a b to boot. That is a for maintenance only so I 
really don't see a need for it at grub menu, same wth the other 
runlevels, all you gotta do is append nox or use Interactive (again, 
this is only if something is broken, I can't see myself doing this 
twice in a week)...


--
Daniel da Veiga


The thing is, I do use them which is why I went to the trouble of 
setting them up to begin with.  I actually use them pretty regular.  
Just because others don't use them doesn't mean that I don't or shouldn't.


I tried to use them is how I figured out it didn't work anymore.  That 
alone shows that I use them for various reasons.  This update is less 
than a week old and I already found out that this doesn't work anymore.  
I just want to figure out how it works with openrc which it appears no 
one has a answer and the docs are wrong as well.


Thanks.

Dale

:-)  :-)


Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed

2011-05-15 Thread Michael Orlitzky
On 05/15/2011 09:43 PM, Michael Orlitzky wrote:
 On 05/15/2011 06:29 PM, Felix Miata wrote:
 http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs 
 from 
 my 7th attempt to install from the beginning, using 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle 
 plan.

 Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
 portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
 kernel, networking, and mc working on the first try, because I've been 
 unable 
 to get anything except kernel sources to emerge since the first attempt. 
 Every other emerge attempt has generated either ERROR:...(compile 
 phase)... 
 or ERROR:...(configure phase)..., plus 'die econf failed'.

 At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
 than mistakes following instructions. I've put in most of the past 5 days 
 trying, and have to quit real soon unless I get a whole lot better help. I'm 
 sure I've used up my quota of better efficiency just trying to get started, 
 and need to get back to normal life soon.
 
 
 Ugh:
 
   http://fm.no-ip.com/Tmp/Linux/G/bash_profile
 
 I'm guessing you forgot to `source ~/.bash_profile` after you commented
 out the line,
 
   #export CC=ccache gcc
 

In fact, re-sourcing won't even help unless you set CC=something else.

Try `unset CC`.




Re: [gentoo-user] site:www.gentoo.org (compile phase)...die econf failed^H^H^H^H^H^H^H Success!!!

2011-05-15 Thread Felix Miata

On 2011/05/16 11:25 (GMT+1000) Adam Carter composed:


 Purge ccache entirely from your system, it's bad news. Then `source
 /etc/profile  env-update`.



AFAIK i've never had a problem with ccache. I've been using it for years on
two different systems.



The OP's probably appears to be that he has ccache in FEATURES but its not
installedas Mick stated 16 hours ago.


Mick's pointer nagged me enough to keep on keepin' on. Looking at 
.bash_history[1], IIRC here's the sequence that got me over the hump (on 
fresh start #8):


...
1-Installed up through emerge kernel-sources (success, still in chroot)
2-emerge nfs-utils (failed, still in chroot, no new kernel built yet, since I 
had saved a good one)

3-shutdown
4-wrote my previous thread post
5-took a break for about two hours
6-restarted via (openSUSE) chroot
7-make  make modules_install (success)
8-emerge sysklogd (failed, twice)
9-emerge ccache (failed)
10-booted into new Gentoo kernel
11-emerge ccache (success!!!, along with about 4 deps)
12-emerge app-misc/mc (success, along with 13 deps)
13-emerge nfs-utils (no apparent errors...; plus more deps)
14-emerge grub (no apparent errors, but error 13 invalid executable format 
trying to use it)


I have no idea what made everything except kernel and ccache fail until 
ccache was emerged, or why ccache would not emerge via chroot, but at least 
now I'm over the ccache hump, and I'm going to leave it installed/enabled at 
least for this installation for at least the time being.


http://fm.no-ip.com/Tmp/Linux/G/ has the latest system info, including 
portage's summary.log, and make.conf as last modified prior to successful 
emerges.


[1] http://fm.no-ip.com/Tmp/Linux/G/bash_history.05
--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] chicken -- egg (NFS tty video)

2011-05-15 Thread Felix Miata

On 2011/05/14 09:20 (GMT-0400) Felix Miata composed:


My #1 problem to solve is NFS not working yet (nfs-utils aka libevent,
portmap, rpc emerge failures), but it would also be very nice to get Grub to
emerge. Logs: http://fm.no-ip.com/Tmp/Linux/G/


Now as noted in the econf failed thread I've succeeded in emerging nfs-utils 
and grub, but neither work right.


I have two Gentoo stanzas in my primary bootloader, one to load the kernel, 
another to chainload Gentoo's Grub. Loading the kernel works, but chainload 
gives error 13 invalid executable format. I named the bzImage copied to /boot 
kernel-2.6.37-r4f, and symlinked it a vmlinuz. vmlinuz is the name I use in 
the Grub stanzas. Is Gentoo's Grub expecting the kernel to have a particular 
name, and I picked a wrong one? Or maybe what it doesn't like is that I 
uncommented splashimage=(hd0,6)/boot/grub/splash.xpm.gz in menu.lst?


The errors from NFS are different than I originally encountered, and indicate 
that neither portmap nor rpcbind are running. Which of the two did nfs-utils 
actually install (or both?), and what exactly is its name I need to use with 
rc-update or start one or the other manually to get my server's exports 
mounted locally?

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] chicken -- egg (NFS tty video) (part solved)

2011-05-15 Thread Felix Miata

On 2011/05/15 22:18 (GMT-0400) Felix Miata composed:


The errors from NFS are different than I originally encountered, and indicate
that neither portmap nor rpcbind are running. Which of the two did nfs-utils
actually install (or both?), and what exactly is its name I need to use with
rc-update or start one or the other manually to get my server's exports
mounted locally?


This one is solved. I looked in /etc/init.d/ and saw rpcbind, got it working 
manually, then set it automatic on boot with 'rc-update add rpcbind default'. :-)

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: [gentoo-user] chicken -- egg (NFS tty video) (Fixed!)

2011-05-15 Thread Felix Miata

On 2011/05/15 22:18 (GMT-0400) Felix Miata composed:


I have two Gentoo stanzas in my primary bootloader, one to load the kernel,
another to chainload Gentoo's Grub. Loading the kernel works, but chainload
gives error 13 invalid executable format. I named the bzImage copied to /boot
kernel-2.6.37-r4f, and symlinked it a vmlinuz. vmlinuz is the name I use in
the Grub stanzas. Is Gentoo's Grub expecting the kernel to have a particular
name, and I picked a wrong one? Or maybe what it doesn't like is that I
uncommented splashimage=(hd0,6)/boot/grub/splash.xpm.gz in menu.lst?


I got this to work too:

# grub
grub find /boot/grub/stage1
grub root (hd0,6)
grub setup (hd0,6)
grub quit
#

Why setup didn't get this right via emerge I have no idea, unless it didn't 
actually do anything toward actually setting Grub up. If so, it could be 
there was already some mismatched Grub code there already from a previous use 
of the sectors there that didn't like the file format.

--
The wise are known for their understanding, and pleasant
words are persuasive. Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/