Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Mick
On Wednesday 09 Nov 2011 02:43:43 Mike Edenfield wrote:
> On 11/6/2011 8:54 PM, Dale wrote:
> > Mine is like this:
> > 
> > -rw-r--r-- 1 root root 4547936 Aug 22 03:53
> > /boot/bzImage-3.0.3-1
> > -rw-r--r-- 1 root root 4548640 Sep  1 07:19
> > /boot/bzImage-3.0.4-1
> > -rw-r--r-- 1 root root 5162752 Oct 12 21:49
> > /boot/bzImage-3.0.4-2
> > -rw-r--r-- 1 root root 5167840 Oct 13 00:05
> > /boot/bzImage-3.0.6-1
> > -rw-r--r-- 1 root root 5167776 Oct 19 02:14
> > /boot/bzImage-3.0.7-1
> > 
> > 
> > The last number is how many times it took to get a stable
> > one.  Sometimes it is one, sometimes two.  I would also like
> > to see how make install does it nowadays.  Maybe worth
> > another try.
> > 
> > Oh, I name the config files the same as the kernel too.  Am
> > I OCD?  o_O
> 
> Nope, that's also how `make install` does it:
> 
> basement boot # ls -l
> total 7060
> lrwxrwxrwx. 1 root root  41 Aug 18 15:35 System.map ->
> System.map-2.6.39-hardened-r10-basement-1
> -rw-r--r--. 1 root root 1484083 Aug 18 15:26
> System.map-2.6.39-hardened-r10-basement-0
> -rw-r--r--. 1 root root 1484083 Aug 18 15:35
> System.map-2.6.39-hardened-r10-basement-1
> lrwxrwxrwx. 1 root root  41 Aug 18 15:26 System.map.old
> -> System.map-2.6.39-hardened-r10-basement-0
> lrwxrwxrwx. 1 root root   1 Oct  3  2009 boot -> .
> lrwxrwxrwx. 1 root root  37 Aug 18 15:35 config ->
> config-2.6.39-hardened-r10-basement-1
> -rw-r--r--. 1 root root   51983 Aug 18 15:26
> config-2.6.39-hardened-r10-basement-0
> -rw-r--r--. 1 root root   51983 Aug 18 15:35
> config-2.6.39-hardened-r10-basement-1
> lrwxrwxrwx. 1 root root  37 Aug 18 15:26 config.old ->
> config-2.6.39-hardened-r10-basement-0
> drwxr-xr-x. 2 root root4096 Aug 18 15:37 grub
> drwx--. 2 root root   16384 Oct  3  2009 lost+found
> lrwxrwxrwx. 1 root root  38 Aug 18 15:35 vmlinuz ->
> vmlinuz-2.6.39-hardened-r10-basement-1
> -rw-r--r--. 1 root root 2027168 Aug 18 15:26
> vmlinuz-2.6.39-hardened-r10-basement-0
> -rw-r--r--. 1 root root 2026816 Aug 18 15:35
> vmlinuz-2.6.39-hardened-r10-basement-1
> lrwxrwxrwx. 1 root root  38 Aug 18 15:26 vmlinuz.old ->
> vmlinuz-2.6.39-hardened-r10-basement-0
> 
> Note that, to get the name/number scheme, I also have:
> 
> basement linux # cd /usr/src/linux
> basement linux # cat localversion1
> -basement-
> basement linux # cat localversion2
> 2
> basement linux # ls -l localversion*
> -rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
> lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 ->
> .version

Are you saying then that every time you download new source files you have to 
create or cp new localversion* files in /usr/src/linux/ for this auto-numbering 
to work? 
-- 
Regards,
Mick


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


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Wed, Nov 9, 2011 at 12:22,   wrote:
>> I call it "pepo's kernel factory". pfk, for short :-}
>>
> (and it's obvious that not yet having my first cup of coffee for the day
> does wonders to my spelling ability)
>
> But, for some reason, I like pfk much better than pkf. Maybe because it
> types a little faster! Or maybe your first coffee wasn't coffee and you
> called it pepo's fernel kactoryI'm not as think as you drunk I am.
>

Maybe because "pfk" sounds very much like "PFY" of "BOFH" fame?

:-P

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

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



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread bill.longman
> I call it "pepo's kernel factory". pfk, for short :-}>(and it's obvious that not yet having my first cup of coffee for the day does wonders to my spelling ability)But, for some reason, I like pfk much better than pkf. Maybe because it types a little faster! Or maybe your first coffee wasn't coffee and you called it pepo's fernel kactoryI'm not as think as you drunk I am.



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Nov 9, 2011 11:16 AM, "Pandu Poluan"  wrote:
>
>
> On Nov 9, 2011 11:02 AM,  wrote:
> >
> > I have a script that does the menuconfig + diff .config + make +
> > install (including kernel copying to /boot, automagically mounting
> > /boot if needed), so I can get away with noauto ;-)
> > Oh, and it also auto-modifies grub.cfg for me :-D
> >
> >
> > Oh, you use genkernel, too?
> >
> > :-}
>
> LOL no...
>
> I call it "pepo's kernel factory". pfk, for short :-}
>

(and it's obvious that not yet having my first cup of coffee for the day
does wonders to my spelling ability)

Rgds,


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Nov 9, 2011 11:02 AM,  wrote:
>
> I have a script that does the menuconfig + diff .config + make +
> install (including kernel copying to /boot, automagically mounting
> /boot if needed), so I can get away with noauto ;-)
> Oh, and it also auto-modifies grub.cfg for me :-D
>
>
> Oh, you use genkernel, too?
>
> :-}

LOL no...

I call it "pepo's kernel factory". pfk, for short :-}

Rgds,


[gentoo-user] Re: [OT] Simh port to ARM platform

2011-11-08 Thread James
  gmx.de> writes:


> For my embedded Linux system (www.centipad.org) based on a ATmel AT91SAM9260
> cpu I am looking for a port of SIMH to ARM.



http://gpo.zugaina.org/app-emulation/simh

hth,

James




Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread bill.longman
I have a script that does the menuconfig + diff .config + make + install (including kernel copying to /boot, automagically mounting /boot if needed), so I can get away with noauto ;-) Oh, and it also auto-modifies grub.cfg for me :-D Oh, you use genkernel, too?:-} 

[gentoo-user] Re: [OT] Simh port to ARM platform

2011-11-08 Thread James
  gmx.de> writes:


> For my embedded Linux system (www.centipad.com) based on a ATmel AT91SAM9260
> cpu I am looking for a port of SIMH to ARM.

Not all embedded Linux systems are created equal.

> Does anyone know of something I can start with?

http://www.gentoo.org/proj/en/base/embedded/handbook/

You may want to join the embedded-gentoo discussion
group and seek guidance and help therein.


There are also other good embedded groups, such as open-embedded.
Study the chipset and then find documents about similar
efforts on compatible boards.

The easiest thing might be to purchase a panda board and follow
the gentoo handbook.

http://pandaboard.org/content/platform


hth,
James








Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Nov 9, 2011 6:03 AM, "Paul Hartman" 
wrote:
>
> On Tue, Nov 8, 2011 at 3:59 PM, Sebastian Beßler
>  wrote:
> > Am 08.11.2011 14:11, schrieb Pandu Poluan:
> >
> >> Oh, and it also auto-modifies grub.cfg for me :-D
> >
> >
> > Why modify grub.cfg?
> >
> > I have symlinks in /boot
> >
> > vmlinuz -> vmlinuz-3.1.0-gentoo
> > and
> > vmlinuz.old -> vmlinuz-3.1.0-rc6-00105-g279b1e0
> >
> > who automagic get updated when ever I run make install.
> >
> > The corresponding part of grub.conf is
> >
> > title Gentoo Linux (OpenRC)
> >root (hd0,1)
> >kernel /vmlinuz root=/dev/sda3 radeon.agpmode=-1
> > video=radeon:1440x900 zcache
> >
> > and
> >
> > title Gentoo Linux.old (OpenRC)
> >root (hd0,1)
> >kernel /vmlinuz.old root=/dev/sda3 radeon.agpmode=-1
> > video=radeon:1440x900 zcache
> >
> > That is all, no changing grub.conf and always the latest kernel.
>
> I've used the same method as you "forever" and it works great, and
> always easy fail-safe to boot previous kernel in case I got something
> wrong on the new one.
>

Hmm... my email server's seem to be getting flaky... I never received
Sebastian's...

Anyways, back to topic: I experiment a lot with the kernels, so I timestamp
them all, and my grub menu lists all kernels found in /boot, complete with
their respective timestamps. That way,if a .config change I did on K-1
(current is K-0, K-1 is the one before current) only now proved to be
flaky, I can 'roll back' to K-2 or earlier.

Rgds,


Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Mike Edenfield

On 11/6/2011 8:54 PM, Dale wrote:


Mine is like this:

-rw-r--r-- 1 root root 4547936 Aug 22 03:53
/boot/bzImage-3.0.3-1
-rw-r--r-- 1 root root 4548640 Sep  1 07:19
/boot/bzImage-3.0.4-1
-rw-r--r-- 1 root root 5162752 Oct 12 21:49
/boot/bzImage-3.0.4-2
-rw-r--r-- 1 root root 5167840 Oct 13 00:05
/boot/bzImage-3.0.6-1
-rw-r--r-- 1 root root 5167776 Oct 19 02:14
/boot/bzImage-3.0.7-1


The last number is how many times it took to get a stable
one.  Sometimes it is one, sometimes two.  I would also like
to see how make install does it nowadays.  Maybe worth
another try.

Oh, I name the config files the same as the kernel too.  Am
I OCD?  o_O


Nope, that's also how `make install` does it:

basement boot # ls -l
total 7060
lrwxrwxrwx. 1 root root  41 Aug 18 15:35 System.map -> 
System.map-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 1484083 Aug 18 15:26 
System.map-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 1484083 Aug 18 15:35 
System.map-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  41 Aug 18 15:26 System.map.old 
-> System.map-2.6.39-hardened-r10-basement-0

lrwxrwxrwx. 1 root root   1 Oct  3  2009 boot -> .
lrwxrwxrwx. 1 root root  37 Aug 18 15:35 config -> 
config-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root   51983 Aug 18 15:26 
config-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root   51983 Aug 18 15:35 
config-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  37 Aug 18 15:26 config.old -> 
config-2.6.39-hardened-r10-basement-0

drwxr-xr-x. 2 root root4096 Aug 18 15:37 grub
drwx--. 2 root root   16384 Oct  3  2009 lost+found
lrwxrwxrwx. 1 root root  38 Aug 18 15:35 vmlinuz -> 
vmlinuz-2.6.39-hardened-r10-basement-1
-rw-r--r--. 1 root root 2027168 Aug 18 15:26 
vmlinuz-2.6.39-hardened-r10-basement-0
-rw-r--r--. 1 root root 2026816 Aug 18 15:35 
vmlinuz-2.6.39-hardened-r10-basement-1
lrwxrwxrwx. 1 root root  38 Aug 18 15:26 vmlinuz.old -> 
vmlinuz-2.6.39-hardened-r10-basement-0


Note that, to get the name/number scheme, I also have:

basement linux # cd /usr/src/linux
basement linux # cat localversion1
-basement-
basement linux # cat localversion2
2
basement linux # ls -l localversion*
-rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1
lrwxrwxrwx. 1 root root  8 Aug 18 15:34 localversion2 -> 
.version




Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread J.Marcos Sitorus
On Tue, Nov 8, 2011 at 7:35 PM, Neil Bothwick  wrote:
>Leaving /boot unmounted invites the inevitable error of forgetting to
>mount it before installing a new kernel. I prefer to mount it ro, that
>way its contents are available, protected from accidental overwriting and
>it shouts at you if you forget to remount it before installing a kernel
>or updating GRUB.

Nice tips. It is very useful if you often compile kernel


-- 
Salam,

J.Marcos S.
Sent from X1™


Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-08 Thread Pandu Poluan
On Nov 9, 2011 4:02 AM, "Mick"  wrote:
>
> On Tuesday 08 Nov 2011 16:13:17 Srdjan Rakic wrote:
> > Actually I didn't lose colors.  It seems like colordiff is not needed if
> > you use vimpager as vimpager itself colorize output.
> >
>
> I'm using colordiff like so:
>
> diff="colordiff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"
>
> I don't have your problem with ASCII characters (using urxvt) and of
course I
> have colors.

Yes that was how my box was originally set up. Then I switch to vimpager,
and the last worldwide emerge (my term for 'emerge -avuND @world') produced
a lot of ANSI gobbledegook...

Rgds,


Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-08 Thread Pandu Poluan
> On Nov 8, 2011 3:47 AM, "Scott Stevenson"  wrote:
>>
>> On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
>> > That said, reverting to plain diff will cause me to lose colorization,
no?
>> > Hmmm... time to whup up some vim syntax script, then...
>>
>> I don't use vimpager, but is it not possible to just issue set
>> filetype=diff from within for syntax highlighting? Also upon further
>> inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
>> you may want to update if you're running an older version.
>>
>> [1] http://www.vim.org/scripts/script.php?script_id=1723
>>
On Nov 9, 2011 12:02 AM, "Srdjan Rakic"  wrote:
>
> Actually I didn't lose colors.  It seems like colordiff is not needed if
you use vimpager as vimpager itself colorize output.
>

Ah, thanks for the info! I'm going to revert to plain old diff then :-)

Rgds,


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Paul Hartman
On Tue, Nov 8, 2011 at 3:59 PM, Sebastian Beßler
 wrote:
> Am 08.11.2011 14:11, schrieb Pandu Poluan:
>
>> Oh, and it also auto-modifies grub.cfg for me :-D
>
>
> Why modify grub.cfg?
>
> I have symlinks in /boot
>
> vmlinuz -> vmlinuz-3.1.0-gentoo
> and
> vmlinuz.old -> vmlinuz-3.1.0-rc6-00105-g279b1e0
>
> who automagic get updated when ever I run make install.
>
> The corresponding part of grub.conf is
>
> title Gentoo Linux (OpenRC)
>        root (hd0,1)
>        kernel /vmlinuz root=/dev/sda3 radeon.agpmode=-1
> video=radeon:1440x900 zcache
>
> and
>
> title Gentoo Linux.old (OpenRC)
>        root (hd0,1)
>        kernel /vmlinuz.old root=/dev/sda3 radeon.agpmode=-1
> video=radeon:1440x900 zcache
>
> That is all, no changing grub.conf and always the latest kernel.

I've used the same method as you "forever" and it works great, and
always easy fail-safe to boot previous kernel in case I got something
wrong on the new one.



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Sebastian Beßler
Am 08.11.2011 14:11, schrieb Pandu Poluan:

> Oh, and it also auto-modifies grub.cfg for me :-D


Why modify grub.cfg?

I have symlinks in /boot

vmlinuz -> vmlinuz-3.1.0-gentoo
and
vmlinuz.old -> vmlinuz-3.1.0-rc6-00105-g279b1e0

who automagic get updated when ever I run make install.

The corresponding part of grub.conf is

title Gentoo Linux (OpenRC)
root (hd0,1)
kernel /vmlinuz root=/dev/sda3 radeon.agpmode=-1
video=radeon:1440x900 zcache

and

title Gentoo Linux.old (OpenRC)
root (hd0,1)
kernel /vmlinuz.old root=/dev/sda3 radeon.agpmode=-1
video=radeon:1440x900 zcache

That is all, no changing grub.conf and always the latest kernel.

Greetings

Sebastian



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread Érico Porto
yes indeed =]

One thing, as the world of internet is really big, are you talking of the
Computer History Simulator? Whats happening when you try to build it from
sources?



Érico V. Porto


On Tue, Nov 8, 2011 at 5:16 PM, Michael Schreckenbauer wrote:

> Am Dienstag, 8. November 2011, 20:00:36 schrieb meino.cra...@gmx.de:
> > Érico Porto  [11-11-08 19:56]:
> > > your website do not load
> > >
> > > this is no gentoo I see..
> > >
> > > Érico V. Porto
> > >
> > > On Tue, Nov 8, 2011 at 3:59 PM,  wrote:
> > > > Hi,
> > > >
> > > > while googling for this I didn't find something applicable...
> > > >
> > > > For my embedded Linux system (www.centipad.org) based on a ATmel
> > > > AT91SAM9260
> > > > cpu I am looking for a port of SIMH to ARM.
> > > >
> > > > Does anyone know of something I can start with?
> > > >
> > > > Thank you very much in advance for any help!
> > > > Best regards,
> > > > mcc
> >
> >  ?
>
> www.centipad.org does not exist.
> Correct URL is
> www.centipad.com
>
> Erico made a joke. Site does not load -> does not run gentoo.
> At least that's how I read it.
>
> >  mcc
>
> Best,
> Michael
>
>
>


Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-11-08 Thread Grant
>> Over the years I've found that the time I spend on the computer has a
>> negative affect on my mental/emotional health.  It seems to suck the
>> life out of life and impair my ability to function in the real world.
>> I've tried various things to counteract the problem, but the only
>> thing that really works is not getting on the computer, and that works
>> really well.  I think part of the problem is caused by my processing
>> information, but I think part is due to radiation/glare from the
>> laptop screen.  Has anyone dealt with this successfully?  I'd love to
>> know how you did it.
>>
>> - Grant
>
> I'm very late to this thread so I'll only offer one thing I don't
> think showed up elsewhere. My dog. Spending 5 minutes every hour
> laying on the floor with a Yellow Lab getting licked in the face
> always makes me feel better. I work at home so this is practical for
> me. Might not work for others.
>
> - Mark

This pretty much did it for me.  Mick mentioned taking breaks too and
maybe others.  I installed xfce4-time-out-plugin and left it on the
default settings of a 5 minute break every 30 minutes and I do believe
that's what I was missing.  I never really took breaks before.  Thanks
to all.

- Grant



Re: [gentoo-user] how can I set up domainname?

2011-11-08 Thread Stéphane Guedon
On Tuesday 08 November 2011 20:07:42 Jarry wrote:
> On 08-Nov-11 19:34, Stéphane Guedon wrote:
> >>> This is.unknown_domain (Linux x86_64...
> >>> While  is correct, I wonder why is there that
> >>> "unknown_domain"?
> > 
> > you should look in /etc/conf.d/net but also in /etc/hosts !
> > 
> > your computer should have
> > ip-adresshostname.dsdomain.com (net, other)… alias
> 
> Thank you, this has fixed the problem! I skipped /etc/hosts
> editing as I'm going to use own dn-server but apparently
> at least host's own IP/FQDN/alias must be there...
> 
> Jarry

I also have my own dns server on the machine, but actually, it seems the 
machine speaks to itself and need all functionnal concerning network BEFORE to 
launch any service.
This is the same on kde (for example) : it will be OO slow when the 
network is bad configurated, whether you use the net or not, whether you are 
connected or not !

To have more info about this, I recommand you speak with some network linux 
guru.

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-08 Thread Mick
On Tuesday 08 Nov 2011 16:13:17 Srdjan Rakic wrote:
> Actually I didn't lose colors.  It seems like colordiff is not needed if
> you use vimpager as vimpager itself colorize output.
>

I'm using colordiff like so:

diff="colordiff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"

I don't have your problem with ASCII characters (using urxvt) and of course I 
have colors.

-- 
Regards,
Mick


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


[gentoo-user] Re: udev with separate /usr and no initramfs

2011-11-08 Thread Steven J Long
>> This is on stable udev (164-r2.) I'm not running unstable, so be careful
>> if you are, and let us know if there are any changes needed. You can get
>> in touch on IRC, or via the forum post.
-- or ofc this list.

Michael Schreckenbauer wrote:
> 
> I am running ~amd64 and I'll try this, when I have some spare time. I'll
> let you know, how it works for me.
Great, thanks :)

Regards,
Steve.
-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)





Re: [gentoo-user] udev with separate /usr and no initramfs

2011-11-08 Thread Michael Schreckenbauer
Hi,

Am Dienstag, 8. November 2011, 19:24:11 schrieb Steven J Long:
> Hi,
> 
>  Following the debates over the summer, about plans to require an initramfs
> for udev, I put together a slightly different approach using the dependency
> tracking in openrc. It's outlined (in Unsupported Software) at:
> http://forums.gentoo.org/viewtopic-p-6866484.html
> and consists of a couple of simple patches to the initscripts for udev and
> udev-mount, supporting a new initramfs option (defaults to "yes") in
> udev.conf. I've been using it on my desktop at home for a couple of months
> now and it works like a charm here. As ever, YMMV.

interesting approach.

> As I state in the post:
> This is only for people who know they have all the modules built-in the
> kernel to mount local filesystems, have a separate /usr and/or /var, and are
> happy with their current setups, apart from possible future issues with
> udev starting before localmount, and find the requirement for an initramfs
> sufficiently annoying to tweak their setups, *and* are willing to deal with
> keeping the lines in the initscripts during etc-updates.
> 
> This is on stable udev (164-r2.) I'm not running unstable, so be careful if
> you are, and let us know if there are any changes needed. You can get in
> touch on IRC, or via the forum post.

I am running ~amd64 and I'll try this, when I have some spare time. I'll let 
you know, how it works for me. Thanks a lot for this.

> HTH,
> igli.

Best,
Michael




[gentoo-user] udev with separate /usr and no initramfs

2011-11-08 Thread Steven J Long
Hi,

 Following the debates over the summer, about plans to require an initramfs
for udev, I put together a slightly different approach using the dependency
tracking in openrc. It's outlined (in Unsupported Software) at:
http://forums.gentoo.org/viewtopic-p-6866484.html
and consists of a couple of simple patches to the initscripts for udev and
udev-mount, supporting a new initramfs option (defaults to "yes") in 
udev.conf. I've been using it on my desktop at home for a couple of months
now and it works like a charm here. As ever, YMMV.

As I state in the post:
This is only for people who know they have all the modules built-in the 
kernel to mount local filesystems, have a separate /usr and/or /var, and are 
happy with their current setups, apart from possible future issues with udev 
starting before localmount, and find the requirement for an initramfs 
sufficiently annoying to tweak their setups, *and* are willing to deal with 
keeping the lines in the initscripts during etc-updates. 

This is on stable udev (164-r2.) I'm not running unstable, so be careful if
you are, and let us know if there are any changes needed. You can get in 
touch on IRC, or via the forum post.

HTH,
igli.
-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)





Re: [gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread Michael Schreckenbauer
Am Dienstag, 8. November 2011, 20:00:36 schrieb meino.cra...@gmx.de:
> Érico Porto  [11-11-08 19:56]:
> > your website do not load
> > 
> > this is no gentoo I see..
> > 
> > Érico V. Porto
> > 
> > On Tue, Nov 8, 2011 at 3:59 PM,  wrote:
> > > Hi,
> > > 
> > > while googling for this I didn't find something applicable...
> > > 
> > > For my embedded Linux system (www.centipad.org) based on a ATmel
> > > AT91SAM9260
> > > cpu I am looking for a port of SIMH to ARM.
> > > 
> > > Does anyone know of something I can start with?
> > > 
> > > Thank you very much in advance for any help!
> > > Best regards,
> > > mcc
> 
>  ?

www.centipad.org does not exist.
Correct URL is
www.centipad.com

Erico made a joke. Site does not load -> does not run gentoo.
At least that's how I read it.

>  mcc

Best,
Michael




Re: [gentoo-user] how can I set up domainname?

2011-11-08 Thread Jarry

On 08-Nov-11 19:34, Stéphane Guedon wrote:


This is.unknown_domain (Linux x86_64...
While  is correct, I wonder why is there that
"unknown_domain"?


you should look in /etc/conf.d/net but also in /etc/hosts !

your computer should have
ip-adresshostname.dsdomain.com (net, other)… alias


Thank you, this has fixed the problem! I skipped /etc/hosts
editing as I'm going to use own dn-server but apparently
at least host's own IP/FQDN/alias must be there...

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread meino . cramer
Érico Porto  [11-11-08 19:56]:
> your website do not load
> 
> this is no gentoo I see..
> 
> Érico V. Porto
> 
> 
> On Tue, Nov 8, 2011 at 3:59 PM,  wrote:
> 
> > Hi,
> >
> > while googling for this I didn't find something applicable...
> >
> > For my embedded Linux system (www.centipad.org) based on a ATmel
> > AT91SAM9260
> > cpu I am looking for a port of SIMH to ARM.
> >
> > Does anyone know of something I can start with?
> >
> > Thank you very much in advance for any help!
> > Best regards,
> > mcc
> >
> >
> >

 ?

 mcc




Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread David Guillermo
Hi Jarry, ext2 abd don't auto mount boot in boot :)


-- 
-:-
*David Guillermo* 

*Blog  *:  j0d3 

*Twitter   *:  j0d3 

*CPU** * :  AMD Phenom(tm) II X2 555 Processor 2 Cores

OS*   :   Gentoo Base System GNU/Linux *

*Kernel   :*
3.1.0-gentoo

*Linux user :   *#408522 

*Entre todos podemos poner fin a los ficheros adjuntos en formato Microsoft
Word. *
-:-


Re: [gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread Érico Porto
your website do not load

this is no gentoo I see..

Érico V. Porto


On Tue, Nov 8, 2011 at 3:59 PM,  wrote:

> Hi,
>
> while googling for this I didn't find something applicable...
>
> For my embedded Linux system (www.centipad.org) based on a ATmel
> AT91SAM9260
> cpu I am looking for a port of SIMH to ARM.
>
> Does anyone know of something I can start with?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>


Re: [gentoo-user] how can I set up domainname?

2011-11-08 Thread Jarry

On 08-Nov-11 19:11, Paul Hartman wrote:

On Tue, Nov 8, 2011 at 11:57 AM, Jarry  wrote:

This is.unknown_domain (Linux x86_64...

While  is correct, I wonder why is there that
"unknown_domain"? In /etc/conf.d/net I have:

dns_domain_lo=""

So why is this  not used in login prompt?


What's in your /etc/conf.d/hostname?


hostname="obelix"

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] how can I set up domainname?

2011-11-08 Thread Stéphane Guedon
On Tuesday 08 November 2011 19:11:57 Paul Hartman wrote:
> On Tue, Nov 8, 2011 at 11:57 AM, Jarry  wrote:
> > Hi,
> > after finishing installation, I see this prompt:
> > 
> > This is .unknown_domain (Linux x86_64...
> > 
> > While  is correct, I wonder why is there that
> > "unknown_domain"? In /etc/conf.d/net I have:
> > 
> > dns_domain_lo=""
> > 
> > So why is this  not used in login prompt?
> > Funny thing is, on other machine which I installed
> > a few years ago I see it correctly displayed as
> > .. And I can not find any
> > difference (except baselayout1 vs baselayout2)...
> 
> What's in your /etc/conf.d/hostname?
you should look in /etc/conf.d/net but also in /etc/hosts !

your computer should have 
ip-adress   hostname.dsdomain.com (net, other)… alias one two …

you need it !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] how can I set up domainname?

2011-11-08 Thread Paul Hartman
On Tue, Nov 8, 2011 at 11:57 AM, Jarry  wrote:
> Hi,
> after finishing installation, I see this prompt:
>
> This is .unknown_domain (Linux x86_64...
>
> While  is correct, I wonder why is there that
> "unknown_domain"? In /etc/conf.d/net I have:
>
> dns_domain_lo=""
>
> So why is this  not used in login prompt?
> Funny thing is, on other machine which I installed
> a few years ago I see it correctly displayed as
> .. And I can not find any
> difference (except baselayout1 vs baselayout2)...

What's in your /etc/conf.d/hostname?



[gentoo-user] [OT] Simh port to ARM platform

2011-11-08 Thread meino . cramer
Hi,

while googling for this I didn't find something applicable...

For my embedded Linux system (www.centipad.org) based on a ATmel AT91SAM9260
cpu I am looking for a port of SIMH to ARM.

Does anyone know of something I can start with?

Thank you very much in advance for any help!
Best regards,
mcc




[gentoo-user] how can I set up domainname?

2011-11-08 Thread Jarry

Hi,
after finishing installation, I see this prompt:

This is .unknown_domain (Linux x86_64...

While  is correct, I wonder why is there that
"unknown_domain"? In /etc/conf.d/net I have:

dns_domain_lo=""

So why is this  not used in login prompt?
Funny thing is, on other machine which I installed
a few years ago I see it correctly displayed as
.. And I can not find any
difference (except baselayout1 vs baselayout2)...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-08 Thread Srdjan Rakic
Actually I didn't lose colors.  It seems like colordiff is not needed if
you use vimpager as vimpager itself colorize output.
On Nov 8, 2011 3:47 AM, "Scott Stevenson"  wrote:

> On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
> > That said, reverting to plain diff will cause me to lose colorization,
> no?
> > Hmmm... time to whup up some vim syntax script, then...
>
> I don't use vimpager, but is it not possible to just issue set
> filetype=diff from within for syntax highlighting? Also upon further
> inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
> you may want to update if you're running an older version.
>
> [1] http://www.vim.org/scripts/script.php?script_id=1723
>
> --
> Scott Stevenson
>


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Neil Bothwick
On Tue, 8 Nov 2011 15:52:54 +, Stroller wrote:

> I've never used sleep / hibernate on Linux, but if it requires /boot
> then mount it read-only, as suggested by Neil Bothwick for other
> reasons.

Sleep doesn't need access to /boot, the bootloader loads the kernel from
the boot partition in the usual way, but there is no need to mount the
filesystem.


-- 
Neil Bothwick

(A)bort (R)etry (S)ell it


signature.asc
Description: PGP signature


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Stroller

On 8 November 2011, at 08:37, Alan Mackenzie wrote:
> ...
>> The benefits of ext3/4 are irrelevant for /boot anyway - that
>> filesystem is write-seldom, read ever so slightly more often.
> 
> Really?  I put my PC into power saving mode before going to bed each
> evening.  The PC needs to read /boot to return to normal operation.

But in this case you're only reading from it. The writes are still very seldom, 
so journalling &c is unneeded. 

I've never used sleep / hibernate on Linux, but if it requires /boot then mount 
it read-only, as suggested by Neil Bothwick for other reasons.

Stroller.




Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Dale

Pandu Poluan wrote:
I have a script that does the menuconfig + diff .config + make + 
install (including kernel copying to /boot, automagically mounting 
/boot if needed), so I can get away with noauto ;-) Oh, and it also 
auto-modifies grub.cfg for me :-D Rgds, 


Smarty pants.  :-P

Dale

:-)  :-)



Re: [gentoo-user] Xen 4.1.1 trouble

2011-11-08 Thread victor romanchuk
Konstantinos Agouros wrote, at 11/08/2011 02:14 PM:
> Hi,
>
> I upgraded one system from Xen 3.4.2 to 4.1.1. Now when I start a guest
> the whole machine instantly reboots. Are there any changes necessary so
> that this works? I didn't touch the configuration of the guest.
> It's a PV gentoo running either xen-sources-2.6.34 or .38.
>
> Konstantin
>

if you're running pure pv domUs (with no real hardware support), this should be
completely transparent for the hypervisor

i'm running x86_64 xen-sources-2.6.34-r5 on both dom0 and domUs on Xen 4.1.2
(still using xend/xm interface): everything works stable enough. i have already
switched to new hardware, upgraded xen, kernel configuration and versions whilst
domU configs did not change for years

the only significant improvement of recent xen (for small configurations: i dont
have experience with more than 2 cpu sockets systems) is an enhanced support of
vt-d (iommu); turn it off and re-try - there are many incompatibilities there
probably causing xen to hang

victor



Re: [gentoo-user] Xen 4.1.1 trouble

2011-11-08 Thread Michael Mol
On Tue, Nov 8, 2011 at 5:14 AM, Konstantinos Agouros  wrote:
> Hi,
>
> I upgraded one system from Xen 3.4.2 to 4.1.1. Now when I start a guest
> the whole machine instantly reboots. Are there any changes necessary so
> that this works? I didn't touch the configuration of the guest.
> It's a PV gentoo running either xen-sources-2.6.34 or .38.
>
> Konstantin

Just starting out with xen myself, and I haven't gotten around to
setting up any pv domUs--I don't know how much help I can be, but I'll
try.

What kernel version is the dom0 running? Is this x86 or amd64? I've
got an amd64 3.0.6 dom0, and I'm running 4.1.2 for the hypervisor.

-- 
:wq



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Tue, Nov 8, 2011 at 19:35, Neil Bothwick  wrote:
> On Tue, 8 Nov 2011 18:15:06 +0700, Pandu Poluan wrote:
>
>> > Me, I have always put ext2 on /boot.  I just don't see much need in
>> > anything fancy for something that is used so seldom plus everything is
>> > likely stored somewhere else anyway.  The kernel should be in the
>> > kernel source directory and a emerge of grub would restore everything
>> > else except the config.  Not much to lose there.
>
> One of the benefits of GRUB2 is that the information used to create the
> config file is in /etc. If /boot is toasted, you can recreate all you
> need with
>
> grub2-install
> grub2-mkconfig
> cd /usr/src/linux
> make install
>
>> Not to mention that /boot usually has a noauto option, so it's very
>> unlikely that a wayward prog can somehow bollix up the filesystem.
>
> Leaving /boot unmounted invites the inevitable error of forgetting to
> mount it before installing a new kernel. I prefer to mount it ro, that
> way its contents are available, protected from accidental overwriting and
> it shouts at you if you forget to remount it before installing a kernel
> or updating GRUB.
>

I have a script that does the menuconfig + diff .config + make +
install (including kernel copying to /boot, automagically mounting
/boot if needed), so I can get away with noauto ;-)

Oh, and it also auto-modifies grub.cfg for me :-D

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

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



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Neil Bothwick
On Tue, 8 Nov 2011 18:15:06 +0700, Pandu Poluan wrote:

> > Me, I have always put ext2 on /boot.  I just don't see much need in  
> > anything fancy for something that is used so seldom plus everything is
> > likely stored somewhere else anyway.  The kernel should be in the
> > kernel source directory and a emerge of grub would restore everything
> > else except the config.  Not much to lose there.

One of the benefits of GRUB2 is that the information used to create the
config file is in /etc. If /boot is toasted, you can recreate all you
need with

grub2-install
grub2-mkconfig
cd /usr/src/linux
make install

> Not to mention that /boot usually has a noauto option, so it's very
> unlikely that a wayward prog can somehow bollix up the filesystem.

Leaving /boot unmounted invites the inevitable error of forgetting to
mount it before installing a new kernel. I prefer to mount it ro, that
way its contents are available, protected from accidental overwriting and
it shouts at you if you forget to remount it before installing a kernel
or updating GRUB.


-- 
Neil Bothwick

But I thought YOU did the backups...


signature.asc
Description: PGP signature


Re: [gentoo-user] gentoo forgets DATE adjust

2011-11-08 Thread Érico Porto
it works! I had set only clock_hctosys before.

Thanks

Érico V. Porto


On Tue, Nov 8, 2011 at 4:53 AM, Florian Philipp wrote:

> Am 08.11.2011 02:48, schrieb Érico Porto:
> > When I was installing my system I typed the date and hour wrong , and
> > didn't noticed, and as far my computer knows, today is tomorrow, two
> > hours wrong...
> >
> > I thought it was ok to change later, but actually, I can't. If I type
> > the date command to change time, it changes ok, but when I boot, my
> > system forgets it, and it's tomorrow again.. I've tried some ideas from
> > the web, but nothing worked..
> >
> > Is this a known bug?
> >
> > Érico V. Porto
>
> Edit /etc/conf.d/hwclock and set clock_systohc="YES". Make sure hwclock
> is in runlevel boot.
>
> If you have an internet connection during boot-up, you should also
> emerge net-misc/ntp and add ntp-client and ntpd to runlevel default.
>
> Hope this helps,
> Florian Philipp
>
>


Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Pandu Poluan
On Nov 8, 2011 5:03 PM, "Dale"  wrote:
>
> Alan Mackenzie wrote:
>>
>> On Mon, Nov 07, 2011 at 09:26:50PM +0200, Alan McKinnon wrote:
>>
>>> ext2/3/4 are all backwards compatible. ext4 does have a certain feature
>>> (I forget what) that once used breaks this compatibility but you are
>>> highly, highly unlikely to ever do that on /boot.
>>> The benefits of ext3/4 are irrelevant for /boot anyway - that
>>> filesystem is write-seldom, read ever so slightly more often.
>>
>> Really?  I put my PC into power saving mode before going to bed each
>> evening.  The PC needs to read /boot to return to normal operation.
>>
>>> --
>>> Alan McKinnnon
>>> alan.mckin...@gmail.com
>
>
> Really.  It takes maybe 1/4 of a second for it to load the kernel from
/boot.  After that, it may not read /boot again until you boot back up the
next day.  So, 1/4 of a second per boot is very little.  The only other
time /boot is used is when you update grub or your kernel.  That is maybe a
1 or 2 second write, if that much.  Even if you hibernate/sleep/reboot a
few times a day, it is still read very little.  That is pretty much
irrelevant.
>
> Me, I have always put ext2 on /boot.  I just don't see much need in
anything fancy for something that is used so seldom plus everything is
likely stored somewhere else anyway.  The kernel should be in the kernel
source directory and a emerge of grub would restore everything else except
the config.  Not much to lose there.
>

Not to mention that /boot usually has a noauto option, so it's very
unlikely that a wayward prog can somehow bollix up the filesystem.

In addition, if one's using ext4, the in-kernel ext4 fs driver performs
perfectly well as an ext2/3 driver.

Rgds,


[gentoo-user] Xen 4.1.1 trouble

2011-11-08 Thread Konstantinos Agouros
Hi,

I upgraded one system from Xen 3.4.2 to 4.1.1. Now when I start a guest
the whole machine instantly reboots. Are there any changes necessary so
that this works? I didn't touch the configuration of the guest.
It's a PV gentoo running either xen-sources-2.6.34 or .38.

Konstantin

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

"Captain, this ship will not survive the forming of the cosmos." B'Elana Torres



Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Dale

Alan Mackenzie wrote:

On Mon, Nov 07, 2011 at 09:26:50PM +0200, Alan McKinnon wrote:


ext2/3/4 are all backwards compatible. ext4 does have a certain feature
(I forget what) that once used breaks this compatibility but you are
highly, highly unlikely to ever do that on /boot.
The benefits of ext3/4 are irrelevant for /boot anyway - that
filesystem is write-seldom, read ever so slightly more often.

Really?  I put my PC into power saving mode before going to bed each
evening.  The PC needs to read /boot to return to normal operation.


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


Really.  It takes maybe 1/4 of a second for it to load the kernel from 
/boot.  After that, it may not read /boot again until you boot back up 
the next day.  So, 1/4 of a second per boot is very little.  The only 
other time /boot is used is when you update grub or your kernel.  That 
is maybe a 1 or 2 second write, if that much.  Even if you 
hibernate/sleep/reboot a few times a day, it is still read very little.  
That is pretty much irrelevant.


Me, I have always put ext2 on /boot.  I just don't see much need in 
anything fancy for something that is used so seldom plus everything is 
likely stored somewhere else anyway.  The kernel should be in the kernel 
source directory and a emerge of grub would restore everything else 
except the config.  Not much to lose there.


< shrugs >

Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread Dale

J. Roeleveld wrote:

On Mon, November 7, 2011 1:32 pm, Dale wrote:



I looked for such a option but I can't find it anywhere.  It may be
there but I can't find it.  Since it is working and the AHCI controller
sees the drives, I'm going to leave well enough alone.

I checked my desktop at home last night and the disks are only shown for
AHCI. The BIOS doesn't see anything. (All connected to SATA)


Then I guess it is working as it should.  Whew !




I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It
displayed all the drive partitions and other info just like it should.
I guess there was something off with cfdisk on the stick.

Probably :)


All this from a raccoon knocking out power.  Pesky critter.

Raccoons are doing some behaviour studies in your area, didn't you get the
memo? :)

--
Joost



The only report that raccoon will give is a bright flash of light.  
Shorting out 250,000 volts sort of puts a period on the end of the 
briefest report there has ever been.  Those lines are the TVA lines that 
come from a few hundred miles away.  There is no telling how much power 
comes through those lines either.  Heck, even one amp is a lot.


That raccoon better get a new plan.  The current one is shockingly the 
wrong way to do it.  lol   Plus I hate when the lights go out.  Winter 
is about here and we have electric heat.  :/


Dale

:-)  :-)



Re: [gentoo-user] Something weird and I'm confused. BIOS and SATA is empty

2011-11-08 Thread J. Roeleveld
On Mon, November 7, 2011 1:32 pm, Dale wrote:


> I looked for such a option but I can't find it anywhere.  It may be
> there but I can't find it.  Since it is working and the AHCI controller
> sees the drives, I'm going to leave well enough alone.

I checked my desktop at home last night and the disks are only shown for
AHCI. The BIOS doesn't see anything. (All connected to SATA)

> I also rebooted to the NEW sysrescue stick and cfdisk worked fine.  It
> displayed all the drive partitions and other info just like it should.
> I guess there was something off with cfdisk on the stick.

Probably :)

> All this from a raccoon knocking out power.  Pesky critter.

Raccoons are doing some behaviour studies in your area, didn't you get the
memo? :)

--
Joost




Re: [gentoo-user] ext4/ext3 for /boot?

2011-11-08 Thread Alan Mackenzie
On Mon, Nov 07, 2011 at 09:26:50PM +0200, Alan McKinnon wrote:

> ext2/3/4 are all backwards compatible. ext4 does have a certain feature
> (I forget what) that once used breaks this compatibility but you are
> highly, highly unlikely to ever do that on /boot.

> The benefits of ext3/4 are irrelevant for /boot anyway - that
> filesystem is write-seldom, read ever so slightly more often.

Really?  I put my PC into power saving mode before going to bed each
evening.  The PC needs to read /boot to return to normal operation.

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

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] dispatch-conf not showing correctly

2011-11-08 Thread Scott Stevenson
On 08/11/11 at 08:19 AM, Pandu Poluan wrote:
> That said, reverting to plain diff will cause me to lose colorization, no?
> Hmmm... time to whup up some vim syntax script, then...

I don't use vimpager, but is it not possible to just issue set
filetype=diff from within for syntax highlighting? Also upon further
inspection, vimpager >= 1.4.2 should filter out escape sequences [1] so
you may want to update if you're running an older version.

[1] http://www.vim.org/scripts/script.php?script_id=1723

-- 
Scott Stevenson


signature.asc
Description: Digital signature