[gentoo-user] How to veiw absolute latest on partage without syncing

2009-06-12 Thread Harry Putnam
Is there a way to veiw the very latest packages on portage without
syncing my OS?




[gentoo-user] About procmail and getline

2009-06-12 Thread Harry Putnam
Trying to install procmail I hit a known bug:

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

And from emerge:
  [...]
  In file included from formail.c:25:
  formisc.h:20: error: conflicting types for 'getline'
  /usr/include/stdio.h:651: error: previous declaration of 'getline'
  was here
  make[1]: *** [formail.o] Error 1
  make[1]: Leaving directory
  `/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'

What I'm not understanding is why the current procmail is not flagged
in some way... or why its still not fixed and is buggy to install with
most recent OS and most recent tools.

Its not, apparently a local phenomina, if its a known bug.  Or are
there people who have been able to install procmail with no problems
using current tools?

Even downloading the tar ball and building outside of emerge I hit the
getline problem, so apparently something incompatible there.

There is a patch offered but still one would think using standard
emerge on a package that is outside the `~' daredevil stage and is not
masked, it should `just work' [tm]. 




[gentoo-user] Re: {OT} make uninstall with no rule

2009-06-12 Thread Harry Putnam
Grant emailgr...@gmail.com writes:

 I'm just now learning how to compile and install manually.  I
 installed makemkv-1.4.1 manually and now I found an ebuild so I'd like
 to install the latest version via the ebuild, but I get:

 # make uninstall
 make: *** No rule to make target `uninstall'.  Stop.

 The makefile doesn't mention uninstall.  Should I just install over
 the current installation via the ebuild?  Is there any way to do this
 cleanly?

When I've wanted to remove manually built packages... I've rerun
make install like this:

 make install ../package_install.log 21

Then from the install log you can see what has been installed and
remove it by hand.




[gentoo-user] Re: How to veiw absolute latest on partage without syncing

2009-06-12 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 It's not really clear why you're asking, or why you're unable to sync.
 If the PC has no internet connection, for instance, security updates
 are unimportant.

Thanks for the tips... no it was something totally mundane.

I wanted to see if anything had been done to mail-filter/procmail
about the install bug involving getline.

I can sync fine... just didn't want to do an update world just now as
my sources are quite new, but still didn't want to get sources too far
ahead of installed packages.

The handy urls given in this thread allowed me to see all I wanted.
Thanks for the URLS posters...




[gentoo-user] Re: How to veiw absolute latest on partage without syncing

2009-06-12 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 You could always sync then do a emerge -uv procmail. then it would only
 upgrade procmail and any friends that need to be updated.  That would
 mostly likely miss most of the other updates that you are wanting to
 skip for the moment.

yeah... its a thought... but why emerge world then procmail again when
I know it won't emerge unless something is done about the getline bug?

I wanted to check in most recent portage to see if any changes were
made to procmail.





[gentoo-user] Introduce Manual manipulation during an emerge

2009-06-12 Thread Harry Putnam
I'm really sorry to keep beating on this portage stuff and I guess I
must be something of a dimwit since I find just about anything to do
with portage and emerge that is outside `emerge -flags whatever'
to be really hard to catch on to, even though (and shouldn't admit
this) I've been running gentoo for at least 5 yrs and probably more.

I read up on the parts I need at times when I run into trouble and get
much coaching and pointers here.   But then in a few mnths, with no
problems I've forgotten the vast bulk of whatever I picked up.  And I
mean even when I've made notes...

Anyway cutting to the chase:

I want to do some manual manipulation to a failing emerge of procmail.

emerge -v procmail 
  (details here were posted elsewhere but involves somekind missnaming
  of getline in the ebuild)

It fails but has a simple enough fix. It needs to have a sed exchange
take place in the unpacked source.

Running  `sed -i -e 's/getline/get_line/g' src/*.c src/*.h'
In top level of the upacked source will allow it to compile fine.
So once all instances of getline are changed to get_line... it works.

Now how do I go about doing that right during the emerge?

For something like this it seems way overkill to have a separate
custom /usr/local/portage where I build my own.  Especially since I
find that whole process difficult and way overkill for this problem.

Further its something that will almost certainly be fixed soon and
won't be something I have to attend to again.

I'm pretty sure there is some way to introduce custom action during
emerge and remember doing something like that before to fix cvs so
root could commit.  It envolved either a ./configure or make flag that
portage didn't employ... somehow, with coaching here... I was able to
introduce a non-default flag.

Isn't there a simple way to introduce the sed run in procmail sources
during emerge?

Oh, and to fix cvs again too... with this new install I've started from
scratch after nursing one original install and upating over yrs. 




[gentoo-user] Re: Introduce Manual manipulation during an emerge

2009-06-12 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 But if you consider it a hassle, just mask the buggy version of
 procmail  forget about the problem.

Thanks... I thought of something like that but then noticed there's only
one version available in portage.

At that point I downloaded the previous version *21* tar ball and
attempted to build it just manually but hit the same getline problem.
(this was outside emerge)

The next version back behind 21 is quite old.
(I then built an installed version 22* by hand using the sed tools
... more below about that)

But can't I do something when the emerge breaks and tells me where the
sources are in /var/tmp... can't I go there and finish the build
somehow?  First the sed run, then ebuild (I know those ebuild
commands) and have the finished product installed with emerge?

And similarly with CVS.  I remember there being some way I could tell
emerge to let me set a ./configure flag by hand... then finish the
install (with emerge).  May have been some flag set right at the
emerge cmd like:

   # SOMEFLAG=something emerge -v cvs

Just for information... I have built procmail *22* by hand using the
afore mentioned sed command then symlinked /usr/local/bin/procmail to
/usr/bin/procmail, where sendmail expects it to be, and so am able to
run it fine and get mail working.  So not really a big problem... just
seems there'd be a fairly easy way to get this done with emerge short
of going the personal overlay route.

To me... the personal overlay just does not fall under `fairly easy'.




[gentoo-user] Re: Introduce Manual manipulation during an emerge

2009-06-12 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

 On Fri, 12 Jun 2009 14:59:53 -0500
 Harry Putnam rea...@newsguy.com wrote:

 Isn't there a simple way to introduce the sed run in procmail sources
 during emerge?

   man 1 ebuild
   ebuild /usr/portage/mail-filter/procmail configure
   (do-some-sed-in-/var/tmp)
   ebuild /usr/portage/mail-filter/procmail merge

 Ta da! ;)

Yess indeed... Ta Da.. thank you... I new there was a simple way.




[gentoo-user] Re: Introduce Manual manipulation during an emerge

2009-06-12 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

   man 1 ebuild
   ebuild /usr/portage/mail-filter/procmail configure
   (do-some-sed-in-/var/tmp)
   ebuild /usr/portage/mail-filter/procmail merge

Many thanks for the tips... and hugely usefull.

But:
Yikes I may have jumped the gun thinking I was good to go but at least
I now have the commands to get a little further... unfortunately the
build breaks for a different reason now.

 ebuild \
 /usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild configure

  cd to source:
 /var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22

  sed -i -e 's/getline/get_line/g' src/*.c src/*.h

(all good so far)

 ebuild \
 /usr/portage/mail-filter/procmail/procmail-3.22-r10.ebuild merge

 [...] tail of error below:

Whoeaaa!  There's something fishy going on here.
You have a look and see if you detect anything uncanny:
***
i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 
-pipe -fno-inline-functions _autotst.c -o _autotst -Wl,-O1
cc1: error: unrecognized command line option -fno-inline-functions2

cc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe 
-fno-inline-functions _autotst.c -o _autotst -Wl,-O1
cc1: error: unrecognized command line option -fno-inline-functions2

gcc -O2 -march=i486 -pipe -fno-inline-functions2 -march=i486 -pipe 
-fno-inline-functions _autotst.c -o _autotst -Wl,-O1
cc1: error: unrecognized command line option -fno-inline-functions2

***
I suggest you take a look at the definition of CFLAGS* and CC
in the Makefile before you try make again.
make[1]: *** [init] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22'
make: *** [src/Makefile] Error 2
 *
 * ERROR: mail-filter/procmail-3.22-r10 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2531:  Called die
 * The specific snippet of code:
 *   emake CC=$(tc-getCC) || die
 *  The die message:
 *   (no error message)




[gentoo-user] Re: How to veiw absolute latest on partage without syncing

2009-06-12 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 I was thinking about NOT doing the emerge -u world part.  That would
 skip updating everything that has updates applied on your system.  Doing
 just a emerge -u procmail would only update procmail and the
 dependencies if any are needed. 

 Keep in mind, you can upgrade packages as needed without updating the
 whole system.  I wouldn't recommend this long term tho.  Those upgrades
 can add up pretty quick and come back to bite you later.  Going longer
 than a month or two on a Gentoo system without a update is not
 recommended. 

Sorry I failed to mention a world upgrade at this point involved 1
file, but I take your point still mine also holds.  

Why keep banging on procmail when by looking up the newest ebuild
online I can see it is not any different... hence the bug will
remain. 

I still say its handy to be able to look at the latest portage pkgs
when you feel the urge.   Nicer and less labor intensive than
upgrading anyghing really.




[gentoo-user] Re: Introduce Manual manipulation during an emerge

2009-06-12 Thread Harry Putnam
Arttu V. arttu...@gmail.com writes:

 On Fri, 2009-06-12 at 16:22 -0500, Harry Putnam wrote:

 i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions2
 -march=i486 -pipe -fno-inline-functions _autotst.c -o _autotst
 -Wl,-O1 cc1: error: unrecognized command line option
 -fno-inline-functions2

 What do put in your CFLAGS (e.g., in /etc/make.conf)? Typos there?

Here is what is in there right now.. apparently from the stage3
pulled down during install a few days ago.

  CFLAGS=-O2 -march=i486 -pipe
  CXXFLAGS=-O2 -march=i486 -pipe
  CHOST=i486-pc-linux-gnu

Looking at make.conf from an old backup I see:

  CFLAGS=-O2 -march=i686 -pipe
  CHOST=i686-pc-linux-gnu
  CXXFLAGS=${CFLAGS}

So trying that now.

Haa  finished up smoothly with those flags changed.

Do you think I do something like `emerge -vuDN world' since everthing
was compiled up to now with the old flags shown above?




[gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

[...]

Harry wrote:
 So if I could identify what it is in the kernel that allowes it to
 work at the point where the kernel takes over (login prompt), then
 maybe I could enable that aspect somehow inside an initramfs, and be
 able to have the KVM recognized at the grub prompt by booting with an
 initrd.

Mike answered:
 But it's the grub that loads initrd and linux kernel is actually the one
 using it, not the grub, so you won't get it until you drop out from
 grub already.

Gack... I can't seem to get it straight how it all loads but I see
immediately what you are saying...

 You can try updating grub itself though, 0.X tree ebuilds are accessible
 for both stable and unstable gentoo arch, but there's 1.X and even live
 ebuild masked in the portage tree, prehaps they would be able to work
 with newer hardware?

I'll look into this.

 I also wonder, does BIOS recognize this KVM, can you access it?

How would I access it?




[gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-10 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 If you can't access the BIOS using the KVM then the problem is
 hardware, not with Linux software.

You mean if my keyboard through kvm can't get to bios... yea I see
your point.

I'll try that shortly... currently compiling an older gcc




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

 Okay, the syslog is probably not one of them, so /var/log shouldn't be
 too populated, except for rc.log, which should be enabled specifically
 in /etc/rc.conf (w/ baselayout-2) or /etc/conf.d/rc - look for
 rc_logger line or something similar with older baselayout.

[...]

Thanks for the large array of possible ways to proceed.  Nice tips to
keep handy.

I'm not spending any time on that problem now since its disappeared
when I downgraded kernel version to 2.6.29-r2 instead of -r5.

But these tips look very useful.




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Tue, 09 Jun 2009 19:50:23 -0500, Harry Putnam wrote:

 Mounted the new root and emerged a few things while still chrooted.
 
 It'd be difficult to list quickly since I can't boot it, but the
 highlights are:

 You can find this from /var/log/emerge.log, if the install system has
 genlop installed, you can get a list with

 genlop -l -f /chroot/path/var/log/emerge.log

Yeah thanks... I knew that... what I meant by `difficult to list
quickly' was having to boot from install media remount several
partitions onto /mnt/gentoo, then chroot etc etc.

But the problem has disappeared now since downgrading to 2.6.29-r2
kernel and building by hand instead of genkernel.




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-10 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Wed, 10 Jun 2009 10:03:37 -0500, Harry Putnam wrote:

  You can find this from /var/log/emerge.log, if the install system has
  genlop installed, you can get a list with
 
  genlop -l -f /chroot/path/var/log/emerge.log  
 
 Yeah thanks... I knew that... what I meant by `difficult to list
 quickly' was having to boot from install media remount several
 partitions onto /mnt/gentoo, then chroot etc etc.

 You only need to mount the partition containing /var and you don't need
 to chroot.

Yeah unless I want to use tools that are not available on (minimal)
install media but are available on my installed os.

But anyway... just rebooting with install media and getting to the
partitions is most of it... but done now and need no more comment.




[gentoo-user] emerging procmail failure

2009-06-10 Thread Harry Putnam
setup:
  kernel-2.6.29-r2
  gcc-4.3.2-r3
procmail is one tool that is absolutely robust and I expected no
trouble whatever emerging it... however the emerge is failing like
as shown below.  I'm not sure what to do about getline.

The only useflags that come up are one I set 
 `mbox' 
and one other
 `-selenix'

[...]
ln ../src/procmail ../new/procmail
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   
lockfile.c
i486-pc-linux-gnu-gcc -O2 -march=i486 -pipe -fno-inline-functions   lockfile.o 
exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile 
-Wl,-z,now -Wl,-O1   -lm -lnsl -ldl -lc
ln ../src/lockfile ../new/lockfile
i486-pc-linux-gnu-gcc -c -O2 -march=i486 -pipe -fno-inline-functions   formail.c
In file included from formail.c:25:
formisc.h:20: error: conflicting types for 'getline'
/usr/include/stdio.h:651: error: previous declaration of 'getline' was here
make[1]: *** [formail.o] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/mail-filter/procmail-3.22-r10/work/procmail-3.22/src'
make: *** [bins] Error 2
 *
 * ERROR: mail-filter/procmail-3.22-r10 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2527:  Called die
 * The specific snippet of code:
 *   emake CC=$(tc-getCC) || die
 *  The die message:
 *   (no error message)
 *

 * If you need support, post the topmost build error, and the call
   stack if relevant.

 * A complete build log is located at
   '/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/build.log'.

 * The ebuild environment file is located at
 *'/var/tmp/portage/mail-filter/procmail-3.22-r10/temp/environment'.




[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
galiza.ce...@gmail.com (Johám-Luís Miguéns Vila) writes:

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

 HTH

Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
had to add a patch into the emerge process manually.

Or dink around with sed inside as another poster on the bug
did... also manually.

Any URL where I can beef up on that a bit?




[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnamrea...@newsguy.com wrote:

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

 man ebuild

 HTH :)

Doesn't any manual patching have to be done in an overlay?  My own
portage setup.  Then stepped thru with ebuild to get it accepted by
emerge?

I see no hits at all on either `overlay' or `layman' in man ebuild.
There must be more to the story than just running ebuild commands. And
expect the modified ebuild to be accepted by emerge.




[gentoo-user] Re: emerging procmail failure

2009-06-10 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnamrea...@newsguy.com wrote:

 Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
 had to add a patch into the emerge process manually.

 man ebuild

Just in case another intellectually challenged gentoo user happens to
be searching for nuts and bolts of creating a custom ebuild.  I looked
up a previous thread I started here in Nov 2008, with 

  Subject: Nots and bolts of creating an ebuild

where some brief outlines of how to do it are provided by David R and
Daniel P.

See it on gmane here:
http://thread.gmane.org/gmane.linux.gentoo.user/205481/focus=205483





[gentoo-user] KVM and no keyboard at start of boot

2009-06-09 Thread Harry Putnam
Summary:

 What can I do to get my keyboard recognized (through a kvm switch)
 right at bootup.  I mean like when the grub prompt comes up.

Details:

I've had this curious problem for some time now.  Over at least several
kernels but I think beginning with changing from one KVM to another a
few mnths ago.

Now using an IOMEGA 4prt `symphany'. All usb.  I guess `Symphany'
because you can switch speaker connections too.

I rarely use sound so that isn't even a factor here.

My keyboard (through kvm) is not recognized until bootup gets to the
login prompt.  Once there... no problems with keyboard.

If I want to do anything early in boot process, like at grub prompt, I
must keep a keyboard plugged in direct to machine.

Its been a while since I've messed with it, but in the process of a
new install and decided to take some time with that problem now.

I've forgotten all the options I've tried enabling in the kernel but
most recently just used the massive enablement of `genkernel all'
thinking surely with all that junk enabled what ever is missing would
be there.  But it turned out not to be true.

So how can I figure out what gets enabled by the time bootup reaches
login prompt that is not enabled when grub screen comes up?

Something finally allows the kvm pass through to be recognized but not
until I've reached the login prompt.




[gentoo-user] Fresh install on reboot endless scrolling text

2009-06-09 Thread Harry Putnam
I've just completed first part of a fresh install.

Mounted the new root and emerged a few things while still chrooted.

It'd be difficult to list quickly since I can't boot it, but the
highlights are:

eix
genkernel
gentoolkit
gentoolkit-dev
gentoo-sources
grub
lynx
ntp
reiserfsprogs
rsyslog
vim
vixie-cron

And a number of dependancies pulled in from my use flags.

I didn't want to start from scratch dinking around with kernel params
so elected to go the `genkernel all' route, hoping that with that much
junk being compiled... surely I'd get whatever I needed to start the
process of building up this installation.

I realize there are many who have lots of rants against genkernel but
unless you think that is the core of the problem... please hold off on
advice to build my own kenel.

kernel = 2.6.29-r5

What I see on reboot:

Normal booting appears to be going along then moments after dev is
mounted followed by filesystems... a massive screen full of text
begins scrolling by and never stops.

Impossible to read any of the text and neither pause/break or
scroll/lock keys have any effect.

Appears to be a continuous wrapping line repeated.

But it completely kills the boot process, and no further progress is
possible. 

I really have no idea what to change when I boot off the install media.




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-09 Thread Harry Putnam
Mark Knecht markkne...@gmail.com writes:

 I really have no idea what to change when I boot off the install media.

 You emerged reiserfsprogs before the machine was up and running. Does
 this somehow imply that you are trying to boot from a Reiser partition
 and could that be part of the problem?

Yes, as advised in the quick install guide.  And yes I am booting off
of a reiserfs and have been doing so for at least 2 yrs.  I haven't
seen this problem in that time.

 Does the machine have a serial port and do you have access to a second
 machine that you could capture and save the early boot messages? That
 might be helpful. I know many machine now don't support that. There
 may be ways to do something similar over the network or USB if the
 boot gets that far.

No serial port




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-09 Thread Harry Putnam
Roy Wright r...@wright.org writes:

[...]

 I really have no idea what to change when I boot off the install
 media.

 So you have grub installed, the grub menu appears, you select a boot
 option, boot starts, the usual kernel messages flash by, you get to the
 second part of the boot where the lines look like:

  blah...   [OK]

 Then something goes crazy.

Yes,  just the first few `blah   [ok]' lines... maybe 3.

 Assuming that's the scenario, boot with your install media, enter the
 chroot, then take a peek at the logs in /var/log.  Hopefully you can
 find
 a hint.


In progress on you suggestion now. 
But no syslog is running in the chroot.(is it?)  But still looking
around. 

And just incase its something related to the newest kernel I've
downgraded to 2.6.29-r2 and building from an old .config of 2.6.28.
(not genkernel on this one)




[gentoo-user] Re: KVM and no keyboard at start of boot

2009-06-09 Thread Harry Putnam
Mike Kazantsev mk.frag...@gmail.com writes:

 Something finally allows the kvm pass through to be recognized but not
 until I've reached the login prompt.

 But linux kernel isn't loaded or used in any way when grub screen comes
 up - grub is loading it as a last step of it's execution, so any kernel
 configuration settings should be completely irrelevant here.

Ha... now I remember someone saying that when I posted about this
quite some time ago.

Here is the thing though.

There was a time when my KVM switch was recognized at the grub boot
prompt.  So something has changed.

Are you suggesting something inside grub can be tweaked?

I've mentioned that I changed KVM switches, but with the new one, it
does work by the time the login prompt comes up.

So if I could identify what it is in the kernel that allowes it to
work at the point where the kernel takes over (login prompt), then
maybe I could enable that aspect somehow inside an initramfs, and be
able to have the KVM recognized at the grub prompt by booting with an
initrd.




[gentoo-user] Re: Fresh install on reboot endless scrolling text

2009-06-09 Thread Harry Putnam
Mark Knecht markkne...@gmail.com writes:

 And just incase its something related to the newest kernel I've
 downgraded to 2.6.29-r2 and building from an old .config of 2.6.28.
 (not genkernel on this one)

 I think he was hoping that you would find something in your
 chroot/var/log/messages file or something like that. boot from the CD,
 mount the hard drive like you were doing an install, and then poke
 around and see if anything got written and is still there. Just
 hunting for clues.

 Do you have a digital camera? If so maybe it's fast enough to capture
 the screen while it's scrolling and make the message semi-readable
 even though they aren't to your eyes?

Just reporting some kind of fix here.

I downgraded to 2.6.29-r2 kernel from `r5' and built it from my old
.config from a different system.  (with a few changes in accord with
the difference in the kernels [ 2.6.28 to 2.6.29-r2 ].

On reboot it just worked no endlessly scrolling text.

So maybe its someting related to 2.6.29-r5 kernel or related to
building that kernel with genkernel.

At any rate, it seems a bit too opaque of a problem to continue trying to
sort out, now that I got something working.

Thanks for the tips posters.




[gentoo-user] Re: Another Jacked up mess on update - hal daemon

2009-04-05 Thread Harry Putnam
ABCD en.a...@gmail.com writes:

 Is it related to hal daemon problem?
 emerge -vuD glibc
  [...]
usr/lib/libc_nonshared.a
 Completed installing glibc-2.9_p20081201-r2 into 
 /var/tmp/portage/sys-libs/glibc-2.9_p20081201-r2/image/
 
 [snip sandbox error]

 That actually is completely separate, and is due to a bad version of
 sandbox (if I'm not mistaken) - you probably need to either upgrade or
 downgrade sys-apps/sandbox to 1.6-r2 (1.7 appears to be broken in this
 regard). If I'm right, then this probably is bug 264399.

Thanks for the tip.. I'm  now running a downgrade of both sandbox and hal
from latest to immediately prior versions:

  sandbox-7.1= sandbox-1.6-r1
  hal-0.5.12_rc1 = hal-0.5.11-r8

Then I'll see if glibc will compile AND hal troubles go away.
= * = * = * =
 
.. Soon as the downgrading finished, I restarted hald and YIPPEE hal
started up and my console login has a keyboard now.

There was a suggestion that I remove the `input' section of xorg.conf
and migrate it to some kind of file under:
   /etc/hal/fdi/

From emerge of hal
[...] 
 * X Input Hotplugging (if you build xorg-server with the HAL useflag)
 * reads user specific configuration from /etc/hal/fdi/policy/.

 * You should remove the Input sections from your xorg.conf once you have
 * migrated the rules to a HAL fdi file.


Anyone here that has done that, who can offer some guidance?

What filenames .. what format, for example.

I guess I'll be chicken of ~86 on hal and sandbox for now.

 Haa... glibc installed without a hitch.

  off and running thanks




[gentoo-user] Re: Another Jacked up mess on update - hal daemon

2009-04-04 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 Since you can ssh into the system, could you remove hald from the
 default runlevel and reboot?  I'm not sure about the keyboard and mouse
 after that tho.  At least maybe you can get to a console.

As reported in OP, I sshed in and stopped the start of hald.. that
allowed boot to continue to login prompt but no mouse and keyboard.

So a login shell won't be useful for now.

 Did you run etc-update, or whatever config update tool you prefer, after
 the updates?  You may also want to emerge the old version of hal and try
 that.  Since you can get in, that may help.  Of course, if it was me,
 I'd mask that version and skip that one in the future.  O_O  Maybe the
 next version will work better.


No I didn't do the update... As reported in OP, I actually wasn't done
with the follup chores to an update, and shutdown from a remote due to
absentminded pea brainedness.

I'm doing that now via ssh.  Maybe things will improve...




[gentoo-user] Re: Another Jacked up mess on update - hal daemon

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

 But I can ssh into the box.  

 What should I supply here to allow someone to help diagnose the
 problem?

 Recent info on hal from `qlop --list|grep hal'

 Sun Feb 15 10:52:16 2009  app-misc/hal-info-20090202
 Sun Feb 15 10:54:45 2009  sys-apps/hal-0.5.11-r8
 Fri Apr  3 09:23:58 2009  sys-apps/hal-0.5.12_rc1
 Fri Apr  3 09:24:12 2009  app-misc/hal-info-20090330

I found this in the syslog:
Apr  4 18:26:22 reader /etc/init.d/hald[1448]: status: starting
Apr  4 18:26:30 reader /etc/init.d/hald[1332]: WARNING: hald not 
  under our control, aborting

Not very helpful but its all I found about hal.





[gentoo-user] Another Jacked up mess on update - hal daemon

2009-04-04 Thread Harry Putnam
Once again I find myself with a big mess following an update world.
This time I was probably out of date by more than 1 mnth, probably
less than 2.

On first reboot the bootup proceeds well into level 3, right up to
starting hal daemon.

There is sets forever.

Since its past the point where sshd is started I can ssh into the
machine. 

I thought to maybe stop hald then attempt a restart.  It appears
halting hald did allow the boot to continue, but it will not start.

Consequently I have no mouse or keyboard at the login prompt.

But I can ssh into the box.  

What should I supply here to allow someone to help diagnose the
problem?

Recent info on hal from `qlop --list|grep hal'

Sun Feb 15 10:52:16 2009  app-misc/hal-info-20090202
Sun Feb 15 10:54:45 2009  sys-apps/hal-0.5.11-r8
Fri Apr  3 09:23:58 2009  sys-apps/hal-0.5.12_rc1
Fri Apr  3 09:24:12 2009  app-misc/hal-info-20090330

Running  2.6.28-r1 kernel for currently.

I wasn't sure what to look for in in dmesg but saw nothing that
appeared related.

There was trouble during the update with glibc.

When I added --skip-first --keep-going to the command line:

  emerge -vuD --skip-first --keep-going world

Then the update completed.

I actually didn't really intend to reboot when I did, I was working on
a different machine and forgot I'd just completed an update so
shutdown by ssh from a remote when I quit for the day.  I do know the
update had finished since I did look in on it from time to time.

On next boot, the problem with hal daemon reported above started.




[gentoo-user] Re: Another Jacked up mess on update - hal daemon

2009-04-04 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:


 On next boot, the problem with hal daemon reported above started.

 and you did etc-update/cfg-update after the update? Have you read the 
 messages 
 with elogv? Same hal versions here - no problems at all.

I've completed the cfg-update -u and there was only one file really
changed.  sshd_config which I left alone.


However I did remember to make sure the package I had trouble with
`glibc' did get installed.  It did not and will not.

Ending with this stuff below... I'm not at all sure what to make of
it.
Is it related to hal daemon problem?
emerge -vuD glibc
 [...]
   usr/lib/libc_nonshared.a
 Completed installing glibc-2.9_p20081201-r2 into 
 /var/tmp/portage/sys-libs/glibc-2.9_p20081201-r2/image/

--- ACCESS VIOLATION SUMMARY ---
LOG FILE /var/log/sandbox/sandbox-15179.log

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /etc/ld.so.cache~
A: /etc/ld.so.cache~
R: /etc/ld.so.cache~
C: 
/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ldconfig
 -r /var/tmp/portage/sys-libs/glibc-2.9_p20081201-r2/image  /lib /usr/lib 


 Failed to emerge sys-libs/glibc-2.9_p20081201-r2, Log file:

  '/var/tmp/portage/sys-libs/glibc-2.9_p20081201-r2/temp/build.log'




[gentoo-user] Re: Another Jacked up mess on update - hal daemon

2009-04-04 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

 Harry Putnam wrote:
 No I didn't do the update... As reported in OP, I actually wasn't done
 with the follup chores to an update, and shutdown from a remote due to
 absentminded pea brainedness.

 I'm doing that now via ssh.  Maybe things will improve...


   

 Well, if you will cross your fingers that I can get my car fixed, I'll
 cross mine for your puter.  Deal?

 Let's hope we both have some good luck.

Too late... hehe... already flaked out some other baloney (glibc) not
installing..




[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-29 Thread Harry Putnam

[...]

Harry wrote:

 Also I don't see any evidence this upgrade would make the card work
 with those 750 drives.

Paul replied:

 You could perhaps try giving Adaptec a call or e-mail and see if
 anyone there can tell you what that controller supports, since their
 website doesn't really say.

Yeah, but not all that likely.  I did write to them when I was trying
to research before buying that card and was told its been out of
production for some time

Doesn't mean I wouldn't get some old hand who'd just know though.

 Even worse, I'd have to install the card on a different machine since
 the one I needed it for has no floppy.  And it appears I'd either need
 to install it on a windows machine or install a little free dos
 application that allows user to create a bootable floppy to get the
 job done.

 If you can manage to get a floppy disk image via dosbox or wine or
 something, or by making the disk on a machine that does have a floppy
 drive, it should be possible to burn it to a CD or bootable USB
 device. This page has some instructions on how to burn a floppy image
 to CD:

Well that's good to know and maybe I'll try that.  But the server has
no cdrom either.  I took floppy and cdrom off to allow for more hdd.
So that leaves usb.

Actually seems like it would be about as much work as just braving
up and installing the card in my wifes' machine and doing the flash
there ... just to find out if will then recognize sataII or not.

That would be a really foolish move except that she is gone for
several hours... otherwise the fight would be on... hehe.

However, in the mean time I already went ahead and bought a Sil 3114
off ebay for $20 + $10 shipping.  And I've learned from some people on
an Australian `overclocker' forum that it will definitely work with
large new sata II drives.  Although it is a card from the sata I era.

They say if it doesn't just work out of the box, it definitely will
with a flash to newest bios.  That's the part no one has said about
Sil 3112a.  So I'll wait for it to arrive and try flashing them both.


 One last random idea; several years ago on my old 266MHz Pentium II,

That's an interesting story.. makes me want to think there would be
some way to trick the machine in this case too.

Of course the stumbling block is that the recognition happens during
bootup. 

But maybe if I'm brave enough to connect the satas while the machine
is running... it might have some chance of working.

And PROBABLY (famous last words) the worst that might happen is the
controller would get fried. (Hopefully not brand new 750 drives or
even worse.. the motherboard). er... I think I chickened out
already. 

Actually I've already connected and disconnected sata drives with the
machine running...

It came about trying to go back to using that 1205sa as I was before
attempting to move up to 750s.  I'd had 2 200gb sataI drives on it.

I put just one back on still trying to learn more about how the 1205sa
worked, but there was some error message I've forgotten now, but it
said enough to make me think I'd put it on the wrong channel.  So I
pulled the data port and plugged it into the other one which was not
on a power plug and then plugged in the power plug.  Seemed to work,
and apparently did no harm..

Probably a dumb move though.  And I got lucky.

Anyway... I don't think I'll do it with a brand new almost $90 wd750.




[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-29 Thread Harry Putnam
Paul, you will be relieved to know that I braved up and installed the
1205sa card on a windows machine... updated driver which may have been
a waste of time and flashed both Base BIOS and SATA_raid BIOS.

Apparently this card has a BIOS that is in 2 parts or maybe each on it
own chip. Their are 2 on the card.

I didn't hold out much hope but it worked just fine with that done.

No need for jumpers ... it just works.

Some might think its a waste to go with the 1.5GB of `sata I' but the
card is PCI anyway.  I'm not sure how much of a bottleneck that is but
I suspect that would get in the way before 1.5gb does.

This server is on a home lan so not going to get an industrial
workout anyway.

I'm a happy camper even though I jumped the gun and ordered a Sil3114
off ebay, I'm pretty sure I'll use it sooner or later.

You have been very patient and helpful ... I really do appreciate
that.  Thanks.





[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-28 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Fri, Mar 27, 2009 at 1:17 PM, Harry Putnam rea...@newsguy.com wrote:
 Boot partition is not involved here.  Its on a a different (IDE) disk.

 Its not on a partition actually but in the MBR of Master drive on
 first IDE controller.  The newly added disk is sata and is on a PCI
 sata controller (Adeptec 1205sa).

 After re-reading your first post, my guess would be: your new drives
 are SATA II but your Adapter controller does not support that,
 according to http://www.adaptec.com/en-US/support/sata/sata_host/ASH-1205SA/

 Most drives have a jumper to put them into 1.5gbps mode (rather than
 3gbps mode). See if your new drives have one of those jumpers.

There are pins (no actual jumper was supplied) but the only thing mentioned
on the drive about using pins is this:

  Jumpered pins 3 and 4 enables PUIS (Power Up In Standby) 

I think I found what you are referring to but there is no mention of
changing 3gb to 1.5gb... at least not in those terms.  Or maybe this
is something else.

They call it:

  Enable or disable the spread spectrum clocking feature. 
  Default setting is disable

Here:
  http://www.wdc.com/en/products/products.asp?driveid=487language=en

Which has this further link on the Specification tab/Left hand column
Quick Installation Guide

  http://www.wdc.com/en/library/sata/2079-001042.pdf





[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-28 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 Most drives have a jumper to put them into 1.5gbps mode (rather than
 3gbps mode). See if your new drives have one of those jumpers.

 There are pins (no actual jumper was supplied) but the only thing mentioned
 on the drive about using pins is this:

   Jumpered pins 3 and 4 enables PUIS (Power Up In Standby) 

 I think I found what you are referring to but there is no mention of
 changing 3gb to 1.5gb... at least not in those terms.  Or maybe this
 is something else.

 They call it:

   Enable or disable the spread spectrum clocking feature. 
   Default setting is disable

 Here:
   http://www.wdc.com/en/products/products.asp?driveid=487language=en

 Which has this further link on the Specification tab/Left hand column
 Quick Installation Guide

   http://www.wdc.com/en/library/sata/2079-001042.pdf

I found a little more about this.  Something suggesting to use pins
5-6.  (Figure 4 in the pdf at below URL)

http://www.google.com/search?hl=enrlz=1G1GGLQ_ENUS273q=WD+Sata+II+jumpersbtnG=Search

The top one on the list.  (it has such a massive direct url I've given
the search page containing the hit (at the top))

So installed jumper on 5-6  and booted up.  I still get the same kind of
hang at the point where the adaptec PCI card throws up a screen.

   Press F3 to enter configuration utility
Primary channel: WDC WD200-blah   19082 MB = old 200gb drive
 Secondary channerl: WDC WD750-blah   

No size given on the new drive, like it cannot read the drive size.
And no further progress seems possible.  Pressing F3 has no effect.




[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-28 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 So installed jumper on 5-6  and booted up.  I still get the same kind of
 hang at the point where the adaptec PCI card throws up a screen.

   Press F3 to enter configuration utility
Primary channel: WDC WD200-blah   19082 MB = old 200gb drive
  Secondary channerl: WDC WD750-blah

 No size given on the new drive, like it cannot read the drive size.
 And no further progress seems possible.  Pressing F3 has no effect.

 I found the following page which would agree with pins 5-6 meaning
 what I was suggesting:
 http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=2534

 I also found this page which mentions your Adaptec card does not work
 with 750GB Seagate drives -- so maybe that card is the source of your
 problems. http://www.sun.com/bigadmin/hcl/data/components/details/801.html

That is kind of a drag because I bought this card due to having found
it on that very HCL... It was only 1 user who reported it and on
specific hardware... I don't remember what now but do remember that it
didn't match mine very well ... but I tried it anyway since its very
difficult to find a sata controller for my hardware there. 

 Are you using the latest BIOS for the Adaptec card? It looks like the
 chipset is Silicon Image 3112A and the latest BIOS on SI's website is
 4.2.84. http://www.siliconimage.com/support/

You sure do excellent research!  And fast.

I don't know about the bios and don't really have a clue how to find
out but maybe investigating the support page you cited will get me
started down that route.  

But the Seagate thing sounds pretty bad... and likely to mean its a
nogo.




[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-28 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 Are you using the latest BIOS for the Adaptec card? It looks like the
 chipset is Silicon Image 3112A and the latest BIOS on SI's website is
 4.2.84. http://www.siliconimage.com/support/

After downloading the bios upgrade and trying to figure out how to use
it from the instructions... One thing is not clear to me, does the
procedure write something to the chip on the card or to the system
(pc) bios.  

Also I don't see any evidence this upgrade would make the card work
with those 750 drives.

Even worse, I'd have to install the card on a different machine since
the one I needed it for has no floppy.  And it appears I'd either need
to install it on a windows machine or install a little free dos
application that allows user to create a bootable floppy to get the
job done.

I'm starting to wonder if this is really worth the effort when I may
find it still doesn't work for newer 750s.

I think I'd almost have to hear from someone who has used it with
newer drives to keep on with it.  

It cost $42 which I hate to just throw away, but there is some chance
the Digiconepts that I bought it from will give me some kind of
exchange for something known to work in the situation I need it in. 

You've helped me an awful lot.  I wish I new your tricks for turning
up information... it always seems to take me forever to find what I
need on the internet.




[gentoo-user] Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-27 Thread Harry Putnam
Setup: 
  amd Athlon64 +3400 architecture

I'm attempting to replace 2 200gb sata drives with 2 750 gb drives.

All drives concerned are WD.

And the 2 200gb are attached to a:
Adeptec 1205sa PCI sata card (non-raid)

The two existing drives have been  working fine but need more room so
replacing with 2 750gb.

I thought I'd try replacing one first and see how it went.

I hit a snag on the first swap.  Pulled out the 200gb and inserted a
750 but it turns out that the new drive, unlike my older 200gb drives
does not have the old 4pin power connector that I expected.

I see some other connectors in the wiring harness that look like they
go to the larger (non-data) fitting on these new sata drives.  Its
about twice as wide as the data plug but has the same little 90 degree
hook on one end.

The matching plugs on the wiring harness appear to be made for this so
I go ahead and plug it in, and fire up the machine.

As boot up proceeds it gets by the brief memory check then comes a
screen saying:

  Press F3 to enter configuration utility
  Primary channel: WDC WD750-blah-bah   = my new 750gb drive

So I guess this is coming from the Adeptec 1205sa card and press
F3... but nothing happens, and no further progress appears possible.

Rebooting and ignoring the `Press F3' screen doesn't allow boot to
proceed either.

So I appear to be stuck and unable to boot up.

The boot disk is not on sata and is not involved in the swap.

Anyone see anthing similar or have a suggestion.




[gentoo-user] Re: Yikes, replacing sata 200gb with Sata 750gb .. no bootsky.

2009-03-27 Thread Harry Putnam
Anthony Metcalf ne...@anferny.me.uk writes:

 Harry Putnam wrote:

[...]

   
 Sounds like the bios is seeing the drives in a different order now to
 before, and so is trying to boot from the wrong disk

 Can you manually alter the order it tries disks?

I can, and it is set directly to boot from master on first IDE
controller.  I haven't changed or messed with that in the course of
this swap.  So seems unlikely the bios has confused between IDE
controller where the boot disk is, and PCI sata controller where the
swap is taking place.

It looked to me like the message would becoming from that PCI sata
controller. 


  Press F3 to enter configuration utility
  Primary channel: WDC WD750-blah-bah   = my new 750gb drive

That doesn't look like something coming from the normal bios does it?
The disk referred to is the new added one, of 2 on a PCI sata
controller.  And I've seen this message without a disk reference,
every time I boot. 
  
  Press F3 to enter configuration utility

I've just ignored it and booting was fine.  But now there is a disk
reference and bootup stops there.

Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Fri, Mar 27, 2009 at 10:09 AM, Harry Putnam rea...@newsguy.com wrote:
 Setup:
  amd Athlon64 +3400 architecture

 I'm attempting to replace 2 200gb sata drives with 2 750 gb drives.

 Make sure your boot partition is not too far from the beginning of the disk.

Boot partition is not involved here.  Its on a a different (IDE) disk.

Its not on a partition actually but in the MBR of Master drive on
first IDE controller.  The newly added disk is sata and is on a PCI
sata controller (Adeptec 1205sa).




[gentoo-user] Gentoo nfs server:Opensolaris client; error `security mode does not match'

2009-03-17 Thread Harry Putnam
I'm having a problem mounting a nfs share exported by my gentoo
server.  The client problem occurs on an opensolaris box running
2008-11 build 109. 

I have an ancient /etc/exports that may be way out of date... I
rarely use nfs.  But I've begun setting up a NAS that consists of an
OpenSolaris server with ZFS file sytem.

I hoped to use NFS to handle backs ups and other work between linux
boxes and solaris NAS, with windows boxes using CIFS.

It doesn't really make sense to mount the other way round, like
serving from OpenSol and client at gentoo host since a general backup
plan will be running from the Solaris box and effecting all lan
machines.

At least that was my first thought.  But really would like to
understand what is needed in either direction.

Here is the line from /etc/exports (on gentoo server):
  /pub192.168.0.0/22(rw,insecure,o_root_squash,subtree_check)

This is the command [and result] from Opensolaris client:

   mount -F nfs -o ro reader:/pub /pub 
  nfs mount: security mode does not match the server exporting reader:/pub

I think it is some basic problem between the two NFS implementations
and even found a redhat bug saying as much here:
  https://bugzilla.redhat.com/show_bug.cgi?format=multipleid=467613

Those export lines (in the bug report) are vastly different than
mine.. I know next to nothing about what `should' be on those
lines I probably copy/pasted the one I'm using years ago from
somewhere.

So, there is some chance, probably even a good chance that its just
some dopey error of mine causing the problem.




[gentoo-user] Re: Grep question

2009-03-05 Thread Harry Putnam
Etaoin Shrdlu shr...@unlimitedmail.org writes:

 On Tuesday 3 March 2009, 03:10, Harry Putnam wrote:

 cat a | awk '/^foo/{FLAG=1}\
  FLAG{print} \
  /^bar/{FLAG=}'

 awk '/^foo/,/^bar/' a 

 does the same :)

Nice...




[gentoo-user] Re: Grep question

2009-03-02 Thread Harry Putnam
James wirel...@tampabay.rr.com writes:

 Adam Carter Adam.Carter at optus.com.au writes:


 I need to select all 
 the lines between string1 and string2 in a file. String1 exists on 
 an entire 
 line by itself and string2 will be at the start of a line. What's 
 the syntax? I 
 cant use -A as there is a variable number of lines.

 AWK

 is my vote. Old, *SIMPLE* and used by most other packages when
 pattern matching is involved. Often AWK and SED go together. As
 do Perl and AWK

Yup and using Steves' example:

$ cat a
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
foo -- /foo/ true here
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
bar -- /bar/ true here
fdsa
fdsa
fdsa

cat a | awk '/^foo/{FLAG=1}\
 FLAG{print} \
 /^bar/{FLAG=}'
foo
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
asdf
bar




[gentoo-user] [OT hardware ?] Can ram spec be tracked to different mobos

2009-03-01 Thread Harry Putnam
Anyone know if the ram sticks installed in one mobo can be tracked to
see what other mobo's it will work in.

I'm thinking switching out a mobo and hate to loose the 3GB ram
installed in it.  I don't have the spec to hand due to one machine
being shut down but do have record of it on that machine when I boot
it.

You'd think some kind of cross reference like that would be around
since ram is one of the more expensive parts of a setup.




[gentoo-user] Re: [OT hardware ?] Can ram spec be tracked to different mobos

2009-03-01 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 On Sonntag 01 März 2009, Harry Putnam wrote:
 Anyone know if the ram sticks installed in one mobo can be tracked to
 see what other mobo's it will work in.

 I'm thinking switching out a mobo and hate to loose the 3GB ram
 installed in it.  I don't have the spec to hand due to one machine
 being shut down but do have record of it on that machine when I boot
 it.

 You'd think some kind of cross reference like that would be around
 since ram is one of the more expensive parts of a setup.


 a) vendors website
 b) vendors website

So, are you thinking the vendor website will have some kind of cross
reference showing all the motherboards a particular stick of ram will
work on?   I'm not finding anything like that, of course had prowled
the vendors website before posting (http://www.corsair.com/)

 c) modprobe i2c-dev, eeprom, ./decode-dimms.pl

This will require a recompile.  And in fact the memory sticks on a
solaris OS, so not useful there anyway.  But useful on my linux
boxes.   thanks.




[gentoo-user] Re: virtualBox and Gcc

2009-02-21 Thread Harry Putnam
Paul Hartman paul.hartman+gen...@gmail.com writes:

 On Fri, Feb 20, 2009 at 12:56 PM, Harry Putnam rea...@newsguy.com wrote:
 Can anyone tell me if there is some way to tell emerge to use a
 specific compiler during an emerge?

[...]

 I guess you can just use gcc-config to change versions, compile it,
 then gcc-config back to normal... Maybe there's a way to define it at
 the package level (so you don't have to do that every time there's an
 update) but I don't know it off the top of my head.

Thanks...

Any other opinions?




[gentoo-user] virtualBox and Gcc

2009-02-20 Thread Harry Putnam
Can anyone tell me if there is some way to tell emerge to use a
specific compiler during an emerge?

I get this output during emerge of virutalbox-ose.  Note that it says
to use a version of gcc earlier than 4.3.  Is there some way to do
that without causing grief somewhere else?

[...]
 VirtualBox-2.0.6-OSE.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * checking ebuild checksums ;-) ... [ ok ]
 * checking auxfile checksums ;-) ...[ ok ]
 * checking miscfile checksums ;-) ...   [ ok ]
 cfg-update-1.8.2-r1: Creating checksum index...
 * there are known problems with gcc 4.3 and the virtualbox
 * recompiler stuff. Please use at least a version of gcc  4.3
 * 
 * ERROR: app-emulation/virtualbox-ose-2.0.6 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called pkg_setup
 *   virtualbox-ose-2.0.6.ebuild, line   54:  Called die
 * The specific snippet of code:
 *  die gcc 4.3 cannot build the virtualbox recompiler
 *  The die message:
 *   gcc 4.3 cannot build the virtualbox recompiler
[...]




[gentoo-user] Re: spontaneous reboots.. what to look for

2009-02-16 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 Do the easy thing first. Clean your case, reseat all cards and
 memory modules and check all caps while doing so. Any of them
 deformed? The 'head' going up?  Strange stuff around its feet?
 Congratulation, you need new hardware.

Sorry to be a numb skull here but what do you mean by `caps'




[gentoo-user] spontaneous reboots.. what to look for

2009-02-15 Thread Harry Putnam
I've been experiencing spontaneous reboots on one gentoo machine
lately.  Looking thru /var/log/messages... I see the restarts but
looking above that... I'm not seeing anything I recognize as being a
culprit. 

Its been happening for a few weeks... but I've been busy and only now
digging into it ( The machine is no kind of server ).

It appears to only happen in X (I'm using xfce4) and I've only noticed
it since I started running 2.6.28 kernels.  Although I couldn't say
that it seemed to be directly related.

I mean I didn't boot into 2.6.28 and suddenly notice spontaneous
rebooting. 

It does not appear to be heat realated... but I am only now using
lm_sensors to keep an accurate record and see if there appears to be a
relationship. 

I've had two today so either its happening more often or I'm just
spending more time on that machine.

It may also be on the first or second time its happened while I as
actually right at the keyboard.

I'm sorry to be so vague about it, but in truth, I've been pretty lazy
about it... since no real harm comes of an unexpected reboot on that
machine (so far anyway).  But clearly something that has to be figured
out. 

The only things I've checked so far... 
1) browsing thru /var/log/messages (Having trouble recognizing any
   thing that looks suspicious.

   I have noticed what appears to be a time/date anomaly where the
   progression of time is suddenly irregular.  That is, an earlier
   time shows up amongst some later times.

   It appears to have been me sudoing to visudo.  And apparently
   having /etc/sudoers open long enough for the closing of it to be
   earlier than other events taking place.
   
   Again ... I'm not real sure exactly what happened there but it
   does not appear to coincide with a reboot anyway.
 
2) checking how hot the cpu is getting (Doesn't appear to be a
   problem) But now running a cron job recording temperatures every 10
   minutes. So that may turn up something.

3) checking for overfilled disks.  (none show in df -h)




[gentoo-user] Re: spontaneous reboots.. what to look for

2009-02-15 Thread Harry Putnam
Mark Knecht markkne...@gmail.com writes:

 Reseat memory and PCI cards, etc. Consider removing for a period of
 time any hardware not absolutely necessary to debug the problem. (I.e.
 - second video card, extra disk drives, extra network adapters, etc.)
 Run memtest86 for a few days if you can spare the machine. Run
 spinrite, etc., to look for drive problems. Open the box up and place
 a fan blowing extra air for additional cooling.

That all sound fairly drastic... wouldn't any or all of those problems
leave some kind of track?  Something I can look for short of tearing
up the whole machine?

I have had the experience of breaking something in the hardware by
handling it when I really didn't need to.  An expensive video card I
had ( a few yrs ago) comes to mind  The fit was so close that dicking
around with it I broke off a small piece with some bit of circuitry in
it.

Of course I had problems with getting a viewable screen so ended up
soldering it back in... (the piece, not card to pci slot.. hehe) That
fell apart again in the same place later on and I ended up using a
piece of bailing wire to wire it in place.

Surprisingly it worked for a long time that way.

Another time... I took my wifes' computer apart (bad idea), ostensibly
adding memory and somehow broke one of the clamps holding the heatsink and
fan onto the cpu.  It could flop around quite a bit... but it actually
worked like that. 

Eventually I wired it down too...  Lasted a year or so.

But in both cases it was quite a bit of grief.

Before I retired.. I was a field construction boilermaker (weldor and
rigger).   For most of my time in that trade, anything less than 1/2
steel plate was viewed as sheet metal.. Most of the work was 1 and up.

I didn't develop a nice light touch .. needless to say.




[gentoo-user] Re: Eeek: Apache2 lost it's CGI ability

2009-02-15 Thread Harry Putnam
Kevin O'Gorman kogor...@gmail.com writes:

 I don't get much help from the logs.  The access log shows that the
 request got an error code,
 64.166.164.49 - - [15/Feb/2009:15:46:32 -0800] GET /hex-bin/board
 HTTP/1.1 500 542

  and all that the error log says is:
 [Sun Feb 15 15:46:32 2009] [error] [client 64.166.164.49] Premature
 end of script headers: board


 Any idea how to debug this, or any intuitions about what I neglected to do?

Well a few things come to mind.  Test the script by hand first.
Check the permissions are 755 or the like.

Test a very simple cgi that is known to work.

Here is a simple one... make sure it has chmod 755
--- 8 snip  --- 8 snip  
#!/usr/bin/perl
print Content-type: text/html\n\n;

print REMOTE_ADDR = $ENV{REMOTE_ADDR}BR \n;




[gentoo-user] Re: [OT] Sendmail and Comcast

2009-02-08 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 Hi All,

 If any of you guys has a working sendmail configuration with Comcast I would 
 be grateful if you could share off list.  Although I have followed the 
 instructions detailed here (except for the masquerade options) I cannot get 
 it to work:

 http://www.linuxha.com/other/sendmail/

 After a long day trying to get it to run I have now grown blind to it.  The 
 error I get is:

I'm including this on the list since I think there will be others who
may find it useful.
Mine is setup like this:
(I'm going to assume you know to use m4 to compile sendmail.cf)

1) In sendmail.mc

( Some of this may not be necessary... I've placed asterisks around
 those I think are critical )

(I masquerade as the host that supplies my email pop service
(newsguy), I don't use comcast email much. you may be able to ignore
masquerading)


divert(-1)
divert(0) dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.17 2008/05/19 14:28:16 root Exp $')dnl
OSTYPE(linux)dnl
define(`confDONT_EXPAND_CNAMES'.`True')dnl

***
FEATURE(`authinfo') dnl
define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl
define(`SMART_HOST',`smtp.comcast.net')dnl
***

dnl # [HP 05/16/08 17:22 define(`RELAY_MAILER_ARGS', `TCP $h 587') ]dnl
dnl Per H Message-ID: g0kmsb$2dd...@hedeland.org comp.mail.sendmail dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
MASQUERADE_AS(`newsguy.com')dnl
MASQUERADE_DOMAIN(`local.lan')dnl
FEATURE(masquerade_entire_domain)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(relay_hosts_only) dnl relay exact hosts in /etc/mail/relay-hosts dnl
FEATURE(`always_add_domain') dnl
GENERICS_DOMAIN(`local.lan')dnl
define(`confTRUSTED_USERS',`reader defang apache bacula mysql')dnl
MAILER(procmail)dnl
MAILER(smtp)dnl


2) using authinfo is somewhat explained in the README at
   /usr/share/sendmail-cf/

Mine looks like this [with some things disguised with MYUSER, MYPASSWD]
(Should be all on one line... in case mail formatting breaks the line)

cat /etc/mail/authinfo
# [HP 02/04/06 23:14  NOTE make sure to makemap hash authinfo  authinfo]
AuthInfo:smtp.comcast.net  U:MYUSER I:myu...@comcast.net P:MYPASSWD M: 
LOGIN PLAIN
# end authinfo

Heed the comment about makemap or authinfo won't work.

I'm not sure this is necessary anymore but you should probably restart
sendmail after using makemap.. and definitely restart anytime you
recompile sendmail.cf

With those asterisked things in place my mail works fine.

I can relay mail from any of my home machines thru my gentoo host with
the sendmail.mc shown as well.  So the other machines are pointed as
my gentoo box as smart host.




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Harry Putnam
Jesús Guerrero i92gu...@terra.es writes:

 El Vie, 6 de Febrero de 2009, 22:00, Harry Putnam escribió:
 Grant Edwards gra...@visi.com writes:


 The cynic in me says that it's because Tim Berners-Lee
 invented HTML, not Richard M Stallman.

 Info has been around a lot longer than HTML, but I think you're
 largely correct.

 [...]
 I recommend that people use emacs to read `info'.  They work really well
 together and the vast arsenal of search and other tools in emacs are
 brought to bare in `info' reading.  Once you used emacs for `info' reading
 the standalone `Info' reader will seem pretty primitive.

 Well, I'd first need to use info to use emacs to use info,
 you get the point :p

Ahh no.  You'd first need to pay attention to the thread.

Then if you want to learn about emacs you might consider using emacs
to learn about emacs rather than info.  Emacs is thoroughly documented
on board.

So wrong on both counts. ; )

 A manual system should be simple enough that a newbie can
 start to use it without knowing anything about emacs. Hell,
 even less is a hard thing to use on man pages for a newcomer,
 let alone emacs or vi.

Your first requirement is not true of info OR THE MANUAL SYSTSEM.
... again... pay attention.
Newbies are saying the manual system is basically worthless to them.

Far as I know... no one but newbies think the manuals are written for
newbies.  They are not.

Neither is the info system.  But it does have considerably more detail
in some manuals and usually a hypertexted index and tables of
contents.  That alone (in many cases) renders it more usable.

That may be why documentary books are usually not just a flat sheet 27
feet long with headings and text with cryptic notations..  They
usually have some sensible format for digesting the information.  Like
indexes and tables of contents.

 Once you are proficient with emacs, then info vs. man is
 probably a non-issue for you anyway, so I don't get your
 point there.

Please... if you paid attention you'd know that the emacs thing was
offered as an advanced method of using info.  Note the keyword
advanced.  That already precludes newbies.  Further, how is that
being proficient in emacs renders man or info a non-issue?

Once more for those who are unwilling to read the thread before
posting.

The first line of inquiry is the man pages.. If that is not
satisfactory I move to info for possibly a fuller treatment. Some
man pages even direct the user to info for a fuller treatment.

If I want to get fancy, like reading the bash documentation... I'd
break out emacs for an easier learning experience.

There should be no posts beyond this point proclaiming how tuff it is
to use emacs if you have no network on a fresh install... Or having to
suffer through learning info to learn emacs to ah but who knows.




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 where? Because of the 'xemacs is even better'? Well, you are stating all the 
 time that info is perfect for big things like bash - and then you are 
 critizing me for stating unsupportable hard facts? Pretty ironic, don't you 
 think?

Hehe... maybe so.  You'll note though that my argument is based on
learning `info'... and I did bring in some hard facts.  Info has
indexes and tables of contents, it really isn't so terribly hard as
you portray.  Apparently you got disgusted after a few quick
attempts...(I did too at first) and didn't bother to rtfm at 
`info info'.  Where the first page has these hyperlinks you find
so difficult to navigate.

* Help-Small-Screen::   Starting Info on a Small Screen.
* Help::How to use Info.
* Help-P::  Returning to the Previous node.
* Help-^L:: The Space, DEL, B and ^L commands.
* Help-Inv::Invisible text in Emacs Info.
* Help-M::  Menus.
* Help-Xref::   Following cross-references.
* Help-Int::Some intermediate Info commands.
* Help-Q::  Quitting Info.
 




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-07 Thread Harry Putnam
Jesús Guerrero i92gu...@terra.es writes:

 There should be no posts beyond this point proclaiming how tuff it is
 to use emacs if you have no network on a fresh install... Or having to
 suffer through learning info to learn emacs to ah but who knows.

 So you word is definitive and infallible.

Where did that come from?  I'm saying the mumbo jumbo about some kind
of catch22 with emacs and info is non-sense.  The item has been
cleared up. 

Using emacs to read info was only proposed as an advanced way to read
info.  That's all nothing more.




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Harry Putnam
Grant Edwards gra...@visi.com writes:

 The cynic in me says that it's because Tim Berners-Lee
 invented HTML, not Richard M Stallman.

 Info has been around a lot longer than HTML, but I think you're
 largely correct.

There is entirely to much made of RMS.  I don't know him personally
and just a tiny bit from direct correspondence (beginning on an
emacs.help list) on several occasions.

I found Richard to be responsive and helpful.  He cuts right to the
chase and lays out the problem.  On the other hand, I'm no emacs
developer or even a very skilled user.   But yrs of emacs use has
taught me that the tools RMS has participated in are serious tools and
well developed always heavy on documentation.

Emacs has very good documentation in a variety of places and formats.

But getting to the point about `info'.  The texinfo format is an
excellent one for handling text only documentation.  The hyperlinking
makes it easy to jump around in large documents.

I recommend that people use emacs to read `info'.  They work really well
together and the vast arsenal of search and other tools in emacs are
brought to bare in `info' reading.  Once you used emacs for `info'
reading the standalone `Info' reader will seem pretty primitive.

One of the major advantages of `info' is that things like the bash
manual are indexed allowing an `i'  index search for most things.

Inside emacs you press `C-h i' to get to the base list of `info'
documentation... then press:
   `m' (which prompts you for a menu item),
type in `bash enter' (to get to the bash table of contents)
(replace bash with NAME as needed, of course).

Once inside the bash documentation you have a variety of tools at your
disposal including emacs bookmarks.

The `i' index search that finds things in the index and takes you to
the concomitant sections is accompanied by the `s' search which
searches the entire bash document for a regex.  As well as the always
useful `incremental search' for searching individual pages.

Once you've mastered the navigation commands it is (almost) a pleasure
to read documentation in `info' using emacs.

Any subject referred to in the documentation is usually hyperlinked so
you can review it instantly... then press `l' to return to the main
documentation (or last place you were reading)

There is also a whole mode for editing `info' documents... probably
not so useful for reading up on a command but can be really helpful if
you want to leave your own notes in there somewhere.  Possibly the
examples you've figured out.




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 and what do I, if I need to read info to be able to install emacs to read 
 info?

You appear to be taking a potshot, not really adding to the
discussion.

I know you are not incapable of installing emacs and we both know you
can read info without it quite well.  So I'm left wondering why you
add this combative post.

People are discussing HTML, which of course needs some reader... I'm
pointing out a more advanced way to use info that may appeal to some.

And of course you can install emacs... for lots of reasons as I do.
Its an excellent editor in console or X. Reading info with it is just
one more of its excellent capabilities.




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Harry Putnam
Dirk Heinrichs dirk.heinri...@online.de writes:

 Am Freitag, 6. Februar 2009 22:27:12 schrieb Sebastian Günther:

 Did you ever read anything the Windows Installer

 What the heck is a Windows Installer?

 *SCNR*


Thirty five reboots and several hours




[gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?

2009-02-06 Thread Harry Putnam
Volker Armin Hemmann volkerar...@googlemail.com writes:

 On Freitag 06 Februar 2009, Harry Putnam wrote:
 Volker Armin Hemmann volkerar...@googlemail.com writes:
  and what do I, if I need to read info to be able to install emacs to read
  info?

 You appear to be taking a potshot, not really adding to the
 discussion.

 I know you are not incapable of installing emacs and we both know you
 can read info without it quite well.  So I'm left wondering why you
 add this combative post.

 easy - what if you need info to get networking working - and without 
 networking you can not download emacs?

Once more: 
  users can read info with the stand alone info reader just fine.
(No need to install anything)

Users who want a more advanced way to read info may consider using
emacs.  It is worth installing for many other reasons as well.

Similar to using `less' for man pages instead of the default `more'.
At least on many OS's

Emacs is not for when you don't yet have a network.  Then its not an
option.  Why do you continue to repeat that?

 man is easy to read. Always. Info? Not.

I respect your experience, talent and especially many contributions to
this list.  But, you present your opinions as if they are acts of
nature.  Its good to remember its only your opinion not a law of
physics or some other indisputable fact.

Further more its actually wrong too.  The bash manual is not easier to
read in `man' as opposed to `info'.  Unless you don't know how to use
info. 

If you do then an indexed document with a table of contents, is going
to be `easier', in the sense that you will be able to navigate it
better and pull in relevant comments on related matters easily.
Therefore you will learn more, quicker.

If all you need is a quick search for something minor you've forgotten
then man will be the way to go.  You will already have a good idea
what to search for.

 People are discussing HTML, which of course needs some reader... I'm
 pointing out a more advanced way to use info that may appeal to some.

 less can do html just fine.

None the less, a second application is required.  If I recall
correctly less is not part of a stage[23] install and therefore must
be installed.  But even if I'm wrong, and it is, and you don't have to
install something, we aren't necessarily talking here about the barest
bone case.  You keep raising that but I've seen no one argue against
man in that event.  At least not me.

Because man is available without a network does not mean it is always
better or that one should use it exclusively with or without a
network. 

In a `no network' situation:
Once I've tried `man' and still have trouble, I use the stand alone info
reader..  In other words, man is my first choice.  I agree that for
many things man can't be beat, but for something like the bash
documentation info is vastly superior.  And if you have the
opportunity to use emacs to read the info documents.. that's all the
better.

[...]

 I used xemacs in the past - which is even better. But today kate and nano 
 replaced it for me.

Once again your opinion is presented as hard fact.

My opinion is that Xemacs is NOT better and in fact is inferior in
many ways, but that is for another thread... and probably not worth
the effort anyway since that argument will take on religious overtones
very quickly.





[gentoo-user] Re: Gack... cups docu

2009-02-03 Thread Harry Putnam
Dale rdalek1...@gmail.com writes:

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

   
 Anyone else have trouble accessing cups documentation?

 Here using http://localhost:631  just fails with standard message
 unable to connect to server at 631.

 The html stuff under /usr/share/cups/html/
 appears to have the href links setup so that they point to somewhere
 on the file system that doesn't contain the hoped for file.

 Anyway.. trying to decipher how to get to some handy setup help
 appears to be a non-starter here at least.

 And all that is happening before getting to anything useful to read.
 

 Errr... nevermind /etc/init.d/cupsd  solved that problem.

 Seems it would be wise to say a word about that in the cups README.



   

 I was curious about that because I clicked on the link and it opened up
 cups here.  I just thought I was the only one that could do that.  o_O

 Don't forget to add it to the default runlevel. 

Probably would have but it happens, I don't want it running for the
most part.




[gentoo-user] Gack... cups docu

2009-02-02 Thread Harry Putnam
Anyone else have trouble accessing cups documentation?

Here using http://localhost:631  just fails with standard message
unable to connect to server at 631.

The html stuff under /usr/share/cups/html/
appears to have the href links setup so that they point to somewhere
on the file system that doesn't contain the hoped for file.

Anyway.. trying to decipher how to get to some handy setup help
appears to be a non-starter here at least.

And all that is happening before getting to anything useful to read.




[gentoo-user] Re: Gack... cups docu

2009-02-02 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 Anyone else have trouble accessing cups documentation?

 Here using http://localhost:631  just fails with standard message
 unable to connect to server at 631.

 The html stuff under /usr/share/cups/html/
 appears to have the href links setup so that they point to somewhere
 on the file system that doesn't contain the hoped for file.

 Anyway.. trying to decipher how to get to some handy setup help
 appears to be a non-starter here at least.

 And all that is happening before getting to anything useful to read.

Errr... nevermind /etc/init.d/cupsd  solved that problem.

Seems it would be wise to say a word about that in the cups README.




[gentoo-user] Re: When did bzImage move?

2009-02-02 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 cd /usr/src/linux
 echo $(hostname)- localversion1
 ln -s .version localversion2

 will give each kernel a name with the hostname and version
 added. .version is automatically incremented each time you run make.

I'm sorry for being so dense but that isn't clear to my pea brain
either.

The idea from above is to end up with:

localversion1
localversion2 - .version
.version

Where:
   localversion1 contains HOSTNAME
   .version contains number `N' (current build)
   localversion2 is symlinked to .version

All under /usr/src/linux ?

If you're sick of trying to explain it to me... maybe a pointer to the
documentation? 




[gentoo-user] Re: When did bzImage move?

2009-02-01 Thread Harry Putnam
Neil Bothwick n...@digimed.co.uk writes:

 On Sat, 31 Jan 2009 23:38:48 -0500, ABCD wrote:

 To be precise, the config option CONFIG_LOCALVERSION appends a string to
 the end of the kernel version, which installkernel uses to place the
 kernel image.

 You can get the same effect by creating a file called localversion
 containing the string to add, which saves altering the kernel config. If
 you make this a symlink to .version, you even get it incremented
 automatically.

 If /boot/vmlinuz exists, then it is moved to /boot/vmlinuz.old, and a
 *symlink* from /boot/vmlinuz is created to vmlinuz-${VERSION}.  If
 /boot/vmlinuz did *not* exist before installation, then no symlink is
 created.

 Instead, vmlinuz-${VERSION} is copied to vmlinuz.

I'm a little confused here... what exactly is in .version?  Say if I
wanted to identify the kernel as belonging to a specific machine.
HOST is vm23.  Now if I wanted to have an incrementing version string
that included that host name what would I need in .version and how
does the incrementing work?

Do you mean 1 is added to string each time you call make?  Can you
show an example of this?

Does .version need to reside in same level as .config?  Will a 
`make clean' or `make mrproper'... destroy it? 




[gentoo-user] Re: homemade nas setup

2009-01-31 Thread Harry Putnam
Matt Harrison iwasinnamuk...@genestate.com writes:
 Are you backing up any windows boxes onto the ZFS? Is it just a matter
 of making it available by way of samba/cifs?

I'm using it for both attached storage via ISCSI, and standard sharing
on a domain via cifs. I've got backups running from linux and windows
boxes onto it.

Ahh sounds like what I'd be doing.  Although I'm not really sure what
you mean by `via ISCSI' (a scsi transport?)

 Your list email address looks like it might be a phony (I didn't try
 it) but mine isn't so if you don't mind the personal contact please
 let me know and I'll write direct.

 Well I didn't realise my address looked fake :P It is real and I'd be
 happy to try and answer your questions to the best of my ability.

Hehe... no slam intended... some people do obfuscate there email on
lists such as this, and yours is somewhat unusual looking.

I've had people say the same thing about mine... `newsguy' sounds kind
of made up. (True story =) It used to be `zippo.com' some yrs ago but
they were sued by the famous `Zippo' lighter people and had to change
the name. They picked the silly name `newsguy'.




[gentoo-user] hwinfo build error

2009-01-31 Thread Harry Putnam
Trying to emerge hwinfo I get the error output inlined below.
I see a list of warnings about undeclared this and that coming from
the src files but not sure what it means.

Anyone here that can recognize what the problem is?

(tail of output)

[...]

DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude sys.c
a - x86emu_debug.o
a - x86emu_decode.o
a - x86emu_fpu.o
a - x86emu_ops.o
a - x86emu_ops2.o
a - x86emu_prim_ops.o
a - x86emu_sys.o
make[2]: Leaving directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/x86emu'
make[2]: Entering directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[2]: Leaving directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[2]: Entering directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd emu_vm86.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_int.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_io.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_pci.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd 
-fno-strict-aliasing i10_v86.c
i10_v86.c: In function 'setup_vm86':
i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:104: error: (Each undeclared identifier is reported only once
i10_v86.c:104: error: for each function it appears in.)
i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
i10_v86.c: In function 'run_bios_int':
i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
make[2]: *** [i10_v86.o] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make: *** [subdirs] Error 2
 * 
 * ERROR: sys-apps/hwinfo-14.19 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2108:  Called die
 * The specific snippet of code:
 *   emake -j1 EXTRA_FLAGS=${CFLAGS} || die emake failed
 *  The die message:
 *   emake failed





[gentoo-user] [OT] Panning desktop on windows

2009-01-31 Thread Harry Putnam
This list may be too good for its own good... hehe.

Sorry to bring this up here but in fact the behavior I'll describe in
a moment is something I've learned to love from yrs of linux us with
this enabled.  Including the last few yrs on gentoo.

I add this into xorg.conf in one of the display subsections 
(at the asterisks):

   Subsection Display
Depth   24
Modes   1280x1024 #1024x768 800x600 640x480
**  Virtual 2048 1536 
ViewPort0 0
EndSubsection

I'm using a 17 inch monitor so that (in X) gives me a 2048x1536
virtual resolution in each of my virtual desktops.  Bigger than my
monitor a fair bit so I'm able to pan around this monster by mousing
to the screen edges which pans the rest into view.  Essentially the
limits of the hardware desktop are only a port hole into the bigger
virtual desktop.

It can be very disconcerting to the uninitiated... which is a side
benefit in that it keeps people off my machine.

I use  windowsXP a fair bit for video editing (I'm a semi-pro editor
and produce quite a few videos of events) and I find the tools on
linux are too labor and time intensive compared to the adobe tools
available on windows. Even those tools and others like Vegas are hard
to learn and require a lot of time spent in usage to get at all fast
with them.  (Please don't bring up one or another of the
available emulations as that still introduces another layer of
complexity)

Anyway cutting to the chase here... given that I need to spend a good
bit of time on windows... I sorely miss my huge virtual desktop.

So wondering if any of you fellow part time windows users know of or
have heard of any kind of application for windows that would allow
such behavior? 

ps- I've also asked this question on the main
microsoft.public.windowsXP.bla.bla   group. (in case you were thinking
of suggesting that)




[gentoo-user] Re: hwinfo build error

2009-01-31 Thread Harry Putnam
Willie Wong ww...@princeton.edu writes:

 i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
 i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)

 see bug 236449 on b.g.o.

 recent kernel headers renamed some things and breaks the code. 

 a patched ebuild is available. 

I'm not sure where to look for such a thing.  I'm running `~86' and that
apparently wasn't enough to catch it

Oh... I liked you sig a lot
-- 
What do you call a fly with no wings?
a drag




[gentoo-user] Re: homemade nas setup

2009-01-30 Thread Harry Putnam
Peter Humphrey pe...@humphrey.ukfsn.org writes:

 On Friday 30 January 2009 00:06:05 Harry Putnam wrote:

 I've been looking into setting up or getting somekind of nas
 storage/backup capability lately so thought I'd ask about it here
 since I'm sure some of you will be using something or will have built
 your own.

 I just bought a USB hard disk and plug it into whichever box I want to back 
 up. Each box has a small rescue system, which I boot into to make the 
 backup to ensure that all files are copied. Just a simple tar command, 
 without compression for speed.

Well, that isn't even close to nas... but thanks.




[gentoo-user] Re: homemade nas setup

2009-01-30 Thread Harry Putnam
Norman Rieß nor...@smash-net.org writes:

 The system only runs nfs, samba and a cups server. I do not use some
 fancy guis or anything like that. So settings have to be made in the
 config files manualy, except the cupsd which brings a web gui. Maybe
 that is something some people would miss. But i do not think a gentoo
 user would care.

Have you timed any thing like write speeds across the network to this
box? 

Is it connected into 10/100 or 1000 (gigabit) setup?




[gentoo-user] Ext4 another thread

2009-01-30 Thread Harry Putnam
I didn't want to derail the existing thread discussing ext4 with this
angle ... I'm guessing there may be comments that will not be helpful
to that OP.

I'm wondering what people running ext4 are seeing in practice that
makes it better than ext3 or reiserfs? Is it safer journalling? Faster
read/write? ...

I've thought about switching over too... especially every time I
`rm -rf' something big and it seems to take way longer than I'd like.

(I run all reiserfs except ext2 for /boot)




[gentoo-user] Re: Ext4 another thread

2009-01-30 Thread Harry Putnam
Albert Hopkins mar...@letterboxes.org writes:

 Depending on your usage you might see significant improvements or hardly
 any at all.  Best way to know for sure is to try it out.  Note however
 that on ext4 journal checksums are *on* by default (and off on ext3
 iirc). So when you are comparing performance you should make that value
 the same for both for a fair comparison.

What about comparisons to reiserfs... any comments on that.  Far as
I've experienced it with reiserfs... it puts ext3 in the shade in most
ways. 




[gentoo-user] Re: Ext4 another thread

2009-01-30 Thread Harry Putnam
Dirk Heinrichs dirk.heinri...@online.de writes:

 sense. The one that really brings something new to the Linux
 filesystem world will be btrfs. I've already tried some older
 versions of it and it looks very promising. Volumes, RAID, data
 integrity, etc, all integrated into the filesystem, similar to Suns
 ZFS.

Ahh would that be:
   Bristol Television Film Service Ltd
or the band:
  Beneath The Frozen Soil

(just kidding... hehe)




[gentoo-user] Re: homemade nas setup

2009-01-30 Thread Harry Putnam
Norman Rieß nor...@smash-net.org writes:

  Is it connected into 10/100 or 1000 (gigabit) setup?

   
 It is a gigabit setup. NFS read is about 30-34MB/s, writing is
 considerably slower with 15MB/s. So writing is a bit slow. But as i do
 not need fast storage i did not investigate. And it must be mentioned,
 that the whole data is in AES.

Being AES should have a pretty dramatic impact right? or is it not
decrypted and just bounced from one place to another?

 I use this share like a local harddisk. There is nothing like Oh, this
 is on remote storage, i will do random thing differently. I do
 everything i do on a local disk, and i did not find anything that would
 not work due to lack of performance. Admitted i do not do much
 performancecritical stuff.

Thanks for very good input.  What you report beats the snot out of the
WD `My Book World Edition' I'm testing out.  I only tried a few tests
and they weren't done rigorously like someone benchmarking would have
to do.  I made no attempt to control what else might be running, other
than not purposely starting anything.
 
I tried copying 950MB of graphic files across gigabit lan (winXP to
the Book) ... it took 3 min 40 seconds. (about 4mb sec)

Whereas copying the same data from one machine to another (windowsXP)
took 40 seconds.
(Incidently.. that appears to be a bit faster than what you report at 
23mb sec)  Might have something to do with the fact that it is
identical filesystem to identical filesystem (ntfs)

Copying the same data from a winXP to my gentoo box across 10/100 lan
took 1 min 10 seconds. (A little less than what you see at 13mb sec)

So even in a case where the measurement should have been skewed in
favor of the Book, it was over 300% slower.

And in the case that should have been comparable it was over 500%
slower.

Unless I've made some horrible error in the math, which is not
unlikely, I think my test shows 4mb per second.  (I just divided the
MB by the seconds), that is so far under what you see, that alone
tells me to return this dog and spend the money ($229) building up my
own.




[gentoo-user] Re: homemade nas setup

2009-01-30 Thread Harry Putnam
Matt Harrison iwasinnamuk...@genestate.com writes:

 I know its a little OT, but I have to mention ZFS. It'll mean running
 Solaris or FreeBSD in order to get the best out of it, but it's worth
 it.

 I changed my fileserver from a gentoo box with software raid and lvm
 over to ZFS on OpenSolaris and I haven't looked back. Gentoo is still
 my main OS but I think you just can't beat ZFS for a filer.

Matt, I'm interested in quizzing you further on this so will ask the
main question here.  But, if you don't mind I'd like to talk to you
off list at more length.  Maybe a few pointer getting Opensolaris
setup with the ZFS or the like.

Are you backing up any windows boxes onto the ZFS? Is it just a matter
of making it available by way of samba/cifs?

Your list email address looks like it might be a phony (I didn't try
it) but mine isn't so if you don't mind the personal contact please
let me know and I'll write direct.




[gentoo-user] homemade nas setup

2009-01-29 Thread Harry Putnam
I've been looking into setting up or getting somekind of nas
storage/backup capability lately so thought I'd ask about it here
since I'm sure some of you will be using something or will have built
your own.

After looking at a few on google .. I'm a little surprised at the high
end pricetags and even the midranges for a factory made setup.

Makes me wonder what if anything I'd be missing, functionality wise,
if I were to build it up myself.

I see these storebought things are mostly running a small embedded
linux os.

The lowend stuff like WD `mybook 1tb world Edition II' advertises
gigabit throughput but I see many reviews that report way less in
practice.  In fact it started to look like that particular one is way
below its advertised capability.  I ran across many complaints about
dreadfully low write speads.  Also apparently has some sorry thing
called Mionet for (secure) remote access.

I'm thinking of doing something like a semi-minimal regular (not
embedded) install on a P4 I have with asus P4C800 mobo and some 2 gigs
ram.  Maybe add an extra sata controller (the mobo has one) so I can
put up to 6 or so sata disks on it along with one small IDE disk for
the OS (just to head of any problems related to installing on sata)

Maybe start with 2 500 sata disks and build up as I need it.  Or more
likely `if I need it'... I kind of doubt I'd need more than 4 anytime
soon so maybe wait on the controller part too.

I guess I'd connect to it mostly thru samba/cifs for windows XP
machines that have lots of biggish graphics and video type stuff to
backup/store.  And nfs for my main gentoo desktop.

I wondered what the downsides are compared to a medium range
storebought rig?

A few I can think of are space and noise.. but having never been
around our run a nas setup... I'm not sure if that is really true.

Anyway, a few thoughts on what I might be running into doing it myself,
or missing compared to storebought.  Maybe maintenance
considerations.. or whatever, would be welcome.




[gentoo-user] Re: Append string on Kernel builds

2009-01-18 Thread Harry Putnam
David Relson rel...@osagesoftware.com writes:

 How about an external tool?  I use sed to fill in LOCALVERSION, e.g.

   V=$( date +%m%d.%H%M )
   cp -p .config .config.old
   sed s/LOCALVERSION.*/LOCALVERSION=\$V\/  .config.old  .config

   make vmlinux modules modules_install

Ahaa ... that looks just like what I'm after... I didn't know about
the env variable LOCALVERSION.

I haven't actually tried this yet but it looks like what I'm after..
Thanks




[gentoo-user] Re: Append string on Kernel builds

2009-01-17 Thread Harry Putnam
Robert Bridge rob...@robbieab.com writes:

 On Fri, 16 Jan 2009 19:36:42 -0600
 rea...@newsguy.com wrote:
 What I asked was if there is some tricky syntax I could use on that
 kernel setting that would do:  linux-2.6.26-gentoo-$HOST-N
 Where N is an incremented number every time I build the kernel without
 running `mrproper'.

 Not quite what you are asking, but would appending a timestamp to the
 name work instead? It would pretty much guarantee a different name for
 every build.

A timestamp would be fine.  What syntax would I use on the kernel
config item:

  inside menuconfig = General Setup/Local Version [...]  

to get a timestamp?




[gentoo-user] Re: uvesafb - does it require use of initramfs/initrd?

2009-01-17 Thread Harry Putnam
Nikos Chantziaras rea...@arcor.de writes:

 rea...@newsguy.com wrote:
 Paul Hartman paul.hartman+gen...@gmail.com writes:

 I'm ashamed to admit I made the most basic mistake. I compiled uvesafb
 as a module. Oops! Compiled it as Y instead of M and now I have a
 pair of Tux sitting atop my kernel boot screen and no more 80x25
 horror. :)

 Is there some difference in uvesafb and vesafb?  I've always just ignored
 the uvesafb choice and used plain vesafb.

 I just assumed from the name of it and the menuconfig help on it that
 it was something only usable in `userspace'.  I took that to mean
 after bootup.. something you'd do from the command line.

 Anyone here that can explain what the difference is.

 uvesafb also works on non-x86 system.  It has one drawback though: it
 doesn't switch to graphical mode right from the start like vesafb
 does. Instead, you get the initial kernel messages in text mode and
 need to wait for graphics to kick-in.  With vesafb, you're in graphics
 mode right from the start.  That pretty much makes uvesafb a poor
 choice for bootsplash configurations.

If you select both will that lead to problems?
Could you invoke uvesafb from console session one you've booted?





[gentoo-user] More on /sys files

2009-01-17 Thread Harry Putnam
I'm in the process of rsyncing an OS to a remote file system.

when rsyncing /sys to remote /sys... I get piles of errors of the
form:
  WARNING: devices/LNXSYSTM:00/device:00/ACPI_CPU:00/power/wakeup failed
  verification -- update discarded (will try again).

This is after a session failed so I'm re rsyncing directory by directory
to make sure all is copied over.

du -sh /sys on both remote and local shows:
  0


But find shows something else:
 find /sys -type f|wc   (on remote host)
  5850

find  /sys -type f|wc -l (on local host)
   6915

What do I need to do to get remote /sys  to mirror local /sys
Will booting the remote... once the transfer is done cure the problem?




[gentoo-user] Re: More on /sys files

2009-01-17 Thread Harry Putnam
Vladimir Rusinov vladi...@greenmice.info writes:

 On Sat, Jan 17, 2009 at 6:13 PM, Harry Putnam rea...@newsguy.com wrote:

 What do I need to do to get remote /sys  to mirror local /sys
 Will booting the remote... once the transfer is done cure the problem?


 Why do you need to sync /sys? It's completely useless - kernel creates all
 files in /sys automatically.

Good... thanks




[gentoo-user] Re: Restricting Firefox website access

2009-01-17 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 But I had expected Squid + module to be the answer, and no-one
 mentioned it. A couple of clowns mentioned OpenDNS, and DansGuardian
 was the only serious reply I got, so you might want to look at that,
 too.
 http://www.gossamer-threads.com/lists/gentoo/user/175114

 I really should be implementing this internet filtering this weekend.

Did privoxy go out of business... or just not suitable for the need?

I used to use it a few yrs ago but haven't had the need for quite a
while now.




[gentoo-user] Re: Restricting Firefox website access

2009-01-17 Thread Harry Putnam
Grant emailgr...@gmail.com writes:

 But I had expected Squid + module to be the answer, and no-one
 mentioned it. A couple of clowns mentioned OpenDNS, and DansGuardian
 was the only serious reply I got, so you might want to look at that,
 too.
 http://www.gossamer-threads.com/lists/gentoo/user/175114

 I really should be implementing this internet filtering this weekend.

 Did privoxy go out of business... or just not suitable for the need?

 I used to use it a few yrs ago but haven't had the need for quite a
 while now.

 What is the advantage of privoxy over squid?  Maybe simplicity?

Not sure there is one.  I ran privoxy through squid.  Privoxy talked
direct to squid.




[gentoo-user] Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
I've run into a problem I've never experienced.  I'll try to describe
the setup first, then the phenomena:

Gateway laptop core due whatever???
gentoo 2008.0 kernel-2.6.26-r1 running in a vmware app on vista home.

Let me say here that This app has run well for sometime but left alone
for quite awhile.  I'm not sure where the problem first occurred and
it appears that at least on occasion a reboot cures it... but not
always.

This particular time around I can't shake it with a reboot.

The phenomena:

Certain keys are dead in console mode... not sure about X since I
don't have it working currently.  But an ssh console also sees
this problem.

Key `e' and `/' when pressed just do nothing whatever.  I think there
way be a bell since I see a flash when ssh'd in from and Xterm in a X
session on another machine.  I may not have sound enabled... not sure
right now.

Those two appear to be the only keys effected.  Upper case E works
fine and the uppercase char (?) above `/' works fine.

If I press Ctrl-v and then the `e' if works... ditto for `/'.

A search on gmane with `dead' `key' as strings didn't dredge up what I
need.  Mostly X related stuff in that search.

Anyone recognize this behavior or have a clue what might cause it?

Restart of udev and consolefont does not help.




[gentoo-user] Re: Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
Willie Wong ww...@princeton.edu writes:

 On Wed, Jan 14, 2009 at 03:59:17PM -0600, Penguin Lover Harry Putnam
 squawked:

 Key `e' and `/' when pressed just do nothing whatever.  I think
 there way be a bell since I see a flash when ssh'd in from and
 Xterm in a X session on another machine.  I may not have sound
 enabled... not sure right now.

[...]

 Sounds to me like a problem with readline. Is your /etc/inputrc or
 ~/.inputrc per chance corrupted? 

 You can try re-installing readline and/or baselayout (baselayout
 is responsible for /etc/inputrc). 

I think you're on to something... moving ~/.inputrc  and /etc/inputrc to 
...inputrcX  Stopped the problem.

Then I put /etc/inputrc back and left ~/.inputrcX renamed.

That also works... examining .inputrcX, I had a multi-line entry
involving back slashing quite a few double quotes in the
entry... (A lengthy rsync command with a number of command line
exclusions). 

Apparently some error there with the newlines or back slashing
double quotes.

I couldn't really identify the error but deleting the entry has made
the problem go away... thanks... good call.

I'm curious how'd you know it was readline related? 




[gentoo-user] Re: Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
Willie Wong ww...@princeton.edu writes:

 As to how I know C-v is verbatim? That came from trying to create
 ASCII art by hand ... :)

He he... yeah thats the way thinking works... bouncing around like
that.

I've used C-v for years as a way to see what is actually being sent
from the keyboard.. I never knew it meant `verbatim' but in fact that
is how I've used it... to show verbatim what is sent...
Thanks again.




[gentoo-user] Re: nfs failing to start

2009-01-12 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 I've apparently forgotten whatever little I may have know about
 setting up nfs from having used it long ago.

[...]

 After setting all nfs related kernel items and booting the kernel.
 Checking that mods appears to be installed and running.  Making sure
 portmapper is running.

 Then when I try to start nfs service if it fails.

 Producing these messages in syslogd:
 Jan [...] nfsd[29077]: nfssvc: Protocol not supported
 Jan [...' : RPC: failed to contact local rpcbind server (errno 5).

[...]

 kernel:
 # grep 'NFS\|RPC' .config

   # CONFIG_AF_RXRPC is not set
   CONFIG_NFS_FS=m
   CONFIG_NFS_V3=y
   CONFIG_NFS_V3_ACL=y
   CONFIG_NFS_V4=y
   CONFIG_NFSD=m
   CONFIG_NFSD_V2_ACL=y
   CONFIG_NFSD_V3=y
   CONFIG_NFSD_V3_ACL=y
   CONFIG_NFSD_V4=y
   CONFIG_NFS_ACL_SUPPORT=m
   CONFIG_NFS_COMMON=y
   CONFIG_SUNRPC=m
   CONFIG_SUNRPC_GSS=m
   CONFIG_SUNRPC_REGISTER_V4=y
   CONFIG_RPCSEC_GSS_KRB5=m
   # CONFIG_RPCSEC_GSS_SPKM3 is not set

[...]

Answering my own question for the sake of any searches for nfs here

It appears I've compiled too many versions of rpc stuff, and maybe nfs
too.  Anyway commenting out all reference in the above list to version
4 of either nfs or rpc items... recompile reboot.
nfs starts nicely as expected.




[gentoo-user] Re: how to extract driver info from genkernel

2009-01-12 Thread Harry Putnam
Denis denis@gmail.com writes:

 You can use the lspci command, its in the pciutils package (if I'm
 not mistaken) to get your system hardware information.

 Just like magic :-)  Thank you so much!

If you liked lspci you will really like lspci -v.
Pointed out to me recently here:

  From: Dale rdalek1...@gmail.com
  Subject: Re: Re: kernel config hell
  Message-ID: 4956dfa4.5050...@gmail.com

The last thing in each listing is the actual name of the kernel module.
(if required)





[gentoo-user] Re: [cifs] permissions of mounted share

2009-01-11 Thread Harry Putnam
Arttu V. arttu...@gmail.com writes:

 On 1/11/09, Harry Putnam rea...@newsguy.com wrote:
 Any regular files I create on the mounted share end up 744.

 Can I set a umask in the mount syntax or what do I need to do here to
 have the files keep the standard permissions?

 force create mode = 644
 force directory mode = 755

 Wouldn't that do it on the server so you wouldn't have to worry about
 the clients? Or have you already tried and it still fudges the access
 permissions?

I didn't know about those parameters but looking them up in man
smb.conf it appears it would not effect anything done by the clients.
Far as I understand it the servers smb.conf doesn't come into play when
a client mounts a share.  

I've already set 644 and 755 on the existing files... by hand as
reported in OP.

But let me try it out before nay saying too much.

I added those params to smb.conf  then restarted samba.

Went to a client... mounted a share and attempted to copy a directory
into the share from clients file system..

Remember now that user and group are the same for both server and
client on these particular files.

The change in server smb.conf appears to have changed nothing.  Still
when I copy or create files they have 744 instead of 644 permissions.




[gentoo-user] nfs failing to start

2009-01-10 Thread Harry Putnam
I've apparently forgotten whatever little I may have know about
setting up nfs from having used it long ago.

I found a brief help page on google that I used to get this far along
at:
http://linux-bsd-sharing.blogspot.com/2008/09/howto-setup-nfs-server-on-gentoo.html

Its very brief and has no debugging info.  

Also I see nothing about debugging in /etc/conf.d/nfs either.

After setting all nfs related kernel items and booting the kernel.
Checking that mods appears to be installed and running.  Making sure
portmapper is running.

Then when I try to start nfs service if it fails.

Producing these messages in syslogd:
Jan [...] nfsd[29077]: nfssvc: Protocol not supported
Jan [...' : RPC: failed to contact local rpcbind server (errno 5).

Only one of the nfssvc lines appear but the RPC line appears several
times. 

I got the impression from google that nfssvc was related to nfs4 so
may not mean too much ... but not sure.

I don't really know what info would be helpfull but have included
output from emerge, rpcinfo, lsmod and related kernel settings:

qlop
 [...]
Sat Jan 10 18:30:11 2009  net-libs/libnfsidmap-0.21-r1
Sat Jan 10 18:30:30 2009  net-nds/portmap-6.0
Sat Jan 10 18:31:20 2009  dev-libs/libevent-1.4.9
Sat Jan 10 18:32:39 2009  net-fs/nfs-utils-1.1.4

= * = * = * =

kernel:
# grep 'NFS\|RPC' .config

  # CONFIG_AF_RXRPC is not set
  CONFIG_NFS_FS=m
  CONFIG_NFS_V3=y
  CONFIG_NFS_V3_ACL=y
  CONFIG_NFS_V4=y
  CONFIG_NFSD=m
  CONFIG_NFSD_V2_ACL=y
  CONFIG_NFSD_V3=y
  CONFIG_NFSD_V3_ACL=y
  CONFIG_NFSD_V4=y
  CONFIG_NFS_ACL_SUPPORT=m
  CONFIG_NFS_COMMON=y
  CONFIG_SUNRPC=m
  CONFIG_SUNRPC_GSS=m
  CONFIG_SUNRPC_REGISTER_V4=y
  CONFIG_RPCSEC_GSS_KRB5=m
  # CONFIG_RPCSEC_GSS_SPKM3 is not set

= * = * = * =
 
rpcinfo -p localhost

# rpcinfo -p localhost
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp  34971  status
1000241   tcp  43460  status
151   udp  34365  mountd
151   tcp  44349  mountd
152   udp  34365  mountd
152   tcp  44349  mountd
153   udp  34365  mountd
153   tcp  44349  mountd

= * = * = * =
 
lsmod

Module  Size  Used by
nfs   206772  0 
nfsd  185008  9 
lockd  55160  2 nfs,nfsd
nfs_acl 2688  2 nfs,nfsd
auth_rpcgss28548  1 nfsd
sunrpc144584  9 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
exportfs3456  1 nfsd
fuse   42268  0 
usbhid 13588  0 
usbmouse3712  0 
usbkbd  4992  0 
floppy 45348  0 
pcspkr  2176  0 
i2c_i8017952  0 
r8169  26500  0 
i2c_core   17680  1 i2c_i801
mii 4224  1 r8169
snd_intel8x0   25500  0 
snd_ac97_codec 88352  1 snd_intel8x0
ehci_hcd   28684  0 
uhci_hcd   18444  0 
ac97_bus1536  1 snd_ac97_codec
snd_pcm48008  2 snd_intel8x0,snd_ac97_codec
snd_timer  15364  1 snd_pcm
snd34788  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
usbcore   104760  6 usbhid,usbmouse,usbkbd,ehci_hcd,uhci_hcd
snd_page_alloc  7304  2 snd_intel8x0,snd_pcm
intel_agp  22588  1 
agpgart25520  1 intel_agp
button  5904  0 




[gentoo-user] [cifs] permissions of mounted share

2009-01-10 Thread Harry Putnam
Note this is a cross post here and debian.user.. the server is gentoo
the client is debian.

It's kind of a phony cross post though since I didn't think to do this
until I'd already posted on debian user... So its really a second post
with the same content.   Some consider that a phaux paux(?)... So
please forgive with my explanation.

Content:

I'm using samba and cifs to mount a certain directory on a linux
(gentoo) machine (Which will also be accessed by windows machines [but
not yet]).

On the server machine I've created the directory `projects'.  With
permissions 755 and ownership reader:wheel

This is mounted from a machine runnning debian lenny like this in
fstab:
(wrapped for mail at the `\')
(Note the host name is reader .. not to be confused with user reader)

 //reader/smProjects   /projects  cifs noauto,username=reader,\
 credentials=/etc/samba/CifsCredentials,uid=reader,gid=wheel

OK, with /projects share mounted on the deb machine, I attempt to copy
a directory (oneA) of files into it with `cp -a oneA /projects'

Note that the same user reader in group wheel exists on both server
and client machines.

The permissions on oneA (on client)  are 755 and the files inside are 644.

When I attempt to carry out the copy action I get a slew of warnings
like this:
  cp: setting permissions for `./oneA/...': Permission denied

The cp  is still carried out but all the files now have 744
permissions.

If I drop the -a[rchive] flag and do the cp with `cp -R' its done
silently but the permissions still end up 744 on what are regular files
(that were 644)

Any regular files I create on the mounted share end up 744.

Can I set a umask in the mount syntax or what do I need to do here to
have the files keep the standard permissions? Why are they being changed?




[gentoo-user] Re: weird cron mail problem

2009-01-06 Thread Harry Putnam
Philip Webb purs...@ca.inter.net writes:

 090106 Willie Wong wrote:
 you may want to change the root line to root=purslow,
 so the mail gets sent to purslow instead of postmaster
 (which according to /etc/mail/aliases becomes root again).

 That doesn't work, but adding ' /dev/null' or '-s' in  crontab  does.
 The latter seems simpler, so that's what I've done.

 It doesn't explain why the problem suddenly arose last Sunday
 after I made a simple editing change in  .fetchmailrc
  nothing like this had happened before
 with the same  crontabssmtp.conf : perhaps there's an obscure bug,
 but the irritating problem has been resolved  I have other jobs today.

 Thanks for the helpful advice (smile).

Looking back thru the thread I don't see the actual change made to
fetchmailrc.   Maybe just blind.

From my experience fetchmail is a very robust (non buggy) and easily
configured tool.  At least for my simple usage.  It's the only config
I can think of that is edited much like you might talk to friend while
walking along.

Something that happens from time to time is introducing an unprintable
CHAR into a *.rc file and not being able to see it.  I'm not sure if
fetchmail would respond poorly to that.

If there is any chance of that; you might want to use vim to check
each line. You can hit the el (l) lowercase, on each line to expose
most kinds of unprintable char.

It takes 3 key strokes to show the line.

1) :
2) l
3) enter

Then the line appears in the command area along with any unprintable
chars, 

As Willie mentioned the mail mta is capable of rewriting stuff in its
configurations.

Do you control this machine? Sorry if you've already covered that.

Another unlikely thing that can catch you ... happened to me on a
remote account I didn't control.  

The machine underwent some kind of mishap that required serious backup
effort replacing all us users files from backups.   Turned out the
backups were pretty old and further I missed the notification about
the mishap... the next thing I knew lots of strange things began to
happen.

Some of my older configurations were re-introduced in place of things
I had changed due to new circumstances.




[gentoo-user] Re: update brings no recognition of tty hence no login

2009-01-05 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

[...]

 Does anyone recognize this problem without further diagnostics?  If
 not then I will be back to the problem machine later tonight and
 supply more information.  Ideas about what info would be most useful
 would be appreciate
 What packages did you update?  It sounds like a udev problem, although
 I'm admittedly grasping at straws.  Knowing what packages you updated
 will really help.

 Gackk yes, sorry.  Fortunately I got your message on my way out the
 door:

 There may be some repetition here but this appears to be the most
 complete list:
 Its quite a hefty list:

 Sat Jan  3 17:51:28 2009  app-admin/rsyslog-3.21.9
 Sat Jan  3 17:54:24 2009  net-misc/rsync-3.0.5

[...]

This problem was solved by jumping ahead a few packages in a world
update.   After successful installs of newest udev and openrc.  (Done
from an livecd chrooted to the troubled OS

With that done and a reboot, all fell into place.




[gentoo-user] Re: udept dead upstream

2009-01-05 Thread Harry Putnam
Willie Wong ww...@princeton.edu writes:

 As to the question of why that is... I guess the author got bored?
 The link to the package catmur.co.uk/gentoo/udept is a dead link now
 (404s) I am not even sure if the original author can be reached at the
 e-mail address given by Dirk. 

For the record I have written to both e...@catmur.co.uk mentioned in the
dep script and Paul Varner fuzzy...@gentoo.org mentioned in
/usr/portage/profiles/package.mask

 And besides, I am not sure if the tool is still useful. Worldfile
 pruning can be accomplished with a 5 line bash script (though I
 strongly suggest user intervention rather than automating the
 process), and --depclean has gotten so smart that I don't really think
 udept can out-perform it. For files not maintained by portage, I can
 use findcruft.  Whatever else functionality it includes I have never
 found the use of. I don't think I will miss it too much when it is

I don't doubt all can be done in other ways, but that one tool
combines a lot of functionality... though I'll admit I mostly use it
for checking dependencies and reverse dependencies (q doesn't do
reverse I don't think) and just querying packages like you do with
equery and q.

I'd be tempted to try to bring it up to speed with latest portage but
that level of shell scripting is pretty much well over my head.

I'm afraid I'd cause more trouble by having to bug everybody about how
to do parts of it.  I do wish someone would take it on though.




[gentoo-user] Re: udept dead upstream

2009-01-05 Thread Harry Putnam
Willie Wong ww...@princeton.edu writes:

 So it's not perfect. equery works better, but slowly. 

 I agree with you about the tools: it is hard to change one's habit and
 use new tools. I keep telling myself to learn eix but just never got
 around to doing it. 

dep outputs several kinds of trick symbols with output that I think
tells you specific things (like emerge output) I wish there was a
manual about what any of it means.. the existing manual is pretty
skimpy.

Just skim down the list of dep options and flags... it can do a lot.




[gentoo-user] Re: weird cron mail problem

2009-01-05 Thread Harry Putnam
Philip Webb purs...@ca.inter.net writes:

 Also, have you updated either cron or fetchmail recently?

 The problem originated 090104 c0520 ,
 when I edited  ~/.fetchmailrc  to delete the reference to a logfile.
 However, attempts to restore the STATVS QVO ANTE have failed:
 I've restored the previous version of  .fetchmailrc  without success
  I've remerged Fetchmail, rebooted  then run  fetchmailconf ,
 but the crazy mails continue to appear every  5 min  in my inbox.

I think that looks like normal cron mail...

Looks like you may have once had a redirect to `/dev/null' in the
crontab line and inadvertently removed it.


My fetchmail line in crontab:
 
  */15 * * * *   /usr/bin/fetchmail -f /home/reader/.fetchmailrc   /dev/null 
21

Note the difference with yours:
  */5 * * * * /usr/bin/fetchmail

Not redirect in yours but note that I dump any output to /dev/null

You may first want to just say `cmd /dev/null'

So that any errors are still send to you but once its working smoothly
you can add 21 like  `cmd /dev/null 21' so that both stderr and
stdout go to dev/null

I think you can also do the same thing like this  `cmd  /dev/null




[gentoo-user] Re: udept dead upstream

2009-01-04 Thread Harry Putnam
Dirk Heinrichs dirk.heinri...@online.de writes:

 Am Sonntag, 4. Januar 2009 03:01:12 schrieb Harry Putnam:
 The reason given is `Dead upstream'.

 Anyone know why that is.

 It means it's not developed anymore.

Good god Dirk... give me a break... 

Uhhh yeah... not developed anymore... anyone know why that is?





[gentoo-user] update brings no recognition of tty hence no login

2009-01-04 Thread Harry Putnam
After updating today (from only a few days ago) I'm getting a
situation that makes it impossible to login.

 unable to determine your tty name

The login prompt is there but after typing in the name and hitting
enter I only get the above comment.

Googling on this I find a gentoo bug (245370) Dec 13 that looks like
it is similar.. but the fix mentioned there... backing up to an earlier
version of ncurses (5.6-r2) did not clear my problem.

It may actually be a different bug since I don't see some of the the
other stuff mentioned in that thread.

I haven't ran revdep-rebuild yet... that was my next move but had to
go to a different part of town where I can't really access that
machine.

Does anyone recognize this problem without further diagnostics?  If
not then I will be back to the problem machine later tonight and
supply more information.  Ideas about what info would be most useful
would be appreciated




[gentoo-user] Re: update brings no recognition of tty hence no login

2009-01-04 Thread Harry Putnam
Eric Martin freak4u...@gmail.com writes:

 Does anyone recognize this problem without further diagnostics?  If
 not then I will be back to the problem machine later tonight and
 supply more information.  Ideas about what info would be most useful
 would be appreciate
 What packages did you update?  It sounds like a udev problem, although
 I'm admittedly grasping at straws.  Knowing what packages you updated
 will really help.

Gackk yes, sorry.  Fortunately I got your message on my way out the
door:

There may be some repetition here but this appears to be the most
complete list:
Its quite a hefty list:

Sat Jan  3 17:51:28 2009  app-admin/rsyslog-3.21.9
Sat Jan  3 17:54:24 2009  net-misc/rsync-3.0.5
Sat Jan  3 17:58:24 2009  app-admin/logrotate-3.7.7
Sat Jan  3 18:36:25 2009  app-portage/eix-0.15.2
Sat Jan  3 18:54:19 2009  dev-util/pkgconfig-0.23
Sat Jan  3 18:57:02 2009  app-arch/lzma-utils-4.32.7
Sat Jan  3 18:59:59 2009  sys-kernel/gentoo-sources-2.6.28
Sat Jan  3 19:04:57 2009  dev-libs/expat-2.0.1-r1
Sat Jan  3 19:05:40 2009  sys-devel/gnuconfig-20080928
Sat Jan  3 19:06:20 2009  dev-util/xfce4-dev-tools-4.4.0.1
Sat Jan  3 19:07:37 2009  app-arch/bzip2-1.0.5-r1
Sat Jan  3 19:08:01 2009  app-text/build-docbook-catalog-1.4
Sat Jan  3 19:12:21 2009  app-arch/cpio-2.9-r2
Sat Jan  3 19:12:46 2009  sys-devel/autoconf-wrapper-6
Sat Jan  3 19:14:02 2009  dev-util/gperf-3.0.3
Sat Jan  3 19:18:08 2009  dev-db/sqlite-3.6.6.2
Sat Jan  3 19:34:03 2009  dev-libs/gmp-4.2.4
Sat Jan  3 19:34:25 2009  sys-apps/dmidecode-2.10
Sat Jan  3 19:35:34 2009  sys-fs/device-mapper-1.02.28
Sat Jan  3 19:36:18 2009  app-arch/cabextract-1.2
Sat Jan  3 19:37:07 2009  sys-libs/timezone-data-2008i
Sat Jan  3 19:37:31 2009  media-libs/win32codecs-20071007-r4
Sat Jan  3 19:37:48 2009  media-sound/alsa-headers-1.0.18
Sat Jan  3 19:45:11 2009  media-libs/libmp4v2-1.5.0.1-r1
Sat Jan  3 19:47:07 2009  net-print/foomatic-db-ppds-3.0.20080507
Sat Jan  3 19:47:36 2009  media-libs/openjpeg-1.3
Sat Jan  3 19:47:57 2009  app-text/poppler-data-0.2.1
Sat Jan  3 19:50:47 2009  x11-themes/xfwm4-themes-4.4.3
Sat Jan  3 20:03:26 2009  app-arch/p7zip-4.58
Sat Jan  3 20:04:40 2009  sys-apps/which-2.20
Sat Jan  3 20:06:58 2009  sys-devel/patch-2.5.9-r1
Sat Jan  3 20:07:47 2009  net-misc/dhcpcd-4.0.7
Sat Jan  3 20:08:38 2009  net-analyzer/traceroute-2.0.12
Sat Jan  3 20:11:21 2009  dev-libs/nspr-4.7.3
Sat Jan  3 20:24:07 2009  dev-libs/nss-3.12.2_rc1
Sat Jan  3 20:27:22 2009  media-libs/libpng-1.2.34
Sat Jan  3 20:29:02 2009  sys-kernel/linux-headers-2.6.28-r1
Sat Jan  3 20:34:02 2009  dev-libs/libpcre-7.8
Sat Jan  3 20:35:04 2009  sys-apps/pciutils-3.0.2
Sat Jan  3 20:35:36 2009  app-arch/rpm2targz-9.0.0.3g
Sat Jan  3 20:37:03 2009  app-arch/zip-3.0
Sat Jan  3 20:39:55 2009  sys-apps/sandbox-1.3.2
Sat Jan  3 20:46:52 2009  dev-libs/mpfr-2.3.2
Sat Jan  3 20:47:25 2009  sys-apps/sysvinit-2.86-r12
Sat Jan  3 20:47:58 2009  net-misc/iputils-20071127-r2
Sat Jan  3 20:48:29 2009  sys-apps/debianutils-2.30
Sat Jan  3 20:48:50 2009  sys-auth/pambase-20081028-r1
Sat Jan  3 20:49:12 2009  app-admin/eselect-opengl-1.0.6-r1
Sat Jan  3 20:49:30 2009  app-admin/eselect-vi-1.1.6
Sat Jan  3 20:49:44 2009  app-admin/eselect-ctags-1.8
Sat Jan  3 20:50:02 2009  app-admin/python-updater-0.6-r1
Sat Jan  3 20:50:15 2009  app-admin/eselect-xvmc-0.2
Sat Jan  3 20:51:22 2009  sys-apps/xinetd-2.3.14
Sat Jan  3 20:51:48 2009  x11-misc/xdg-utils-1.0.2-r2
Sat Jan  3 20:53:38 2009  net-print/foomatic-filters-ppds-20080507
Sat Jan  3 20:53:54 2009  app-admin/eselect-emacs-1.8
Sat Jan  3 20:54:10 2009  app-emacs/autoconf-mode-2.63
Sat Jan  3 20:54:46 2009  sys-devel/autoconf-2.63
Sat Jan  3 20:57:20 2009  sys-devel/libtool-2.2.6a
Sat Jan  3 21:01:27 2009  media-libs/tiff-3.8.2-r5
Sat Jan  3 21:02:04 2009  sys-devel/automake-1.10.2
Sat Jan  3 21:04:12 2009  dev-libs/libusb-0.1.12-r4
Sat Jan  3 21:06:30 2009  media-libs/audiofile-0.2.6-r4
Sat Jan  3 21:08:47 2009  dev-libs/check-0.9.5-r1
Sat Jan  3 21:10:32 2009  media-libs/faac-1.26-r1
Sat Jan  3 21:11:59 2009  media-libs/libmad-0.15.1b-r5
Sat Jan  3 21:14:11 2009  media-libs/libvorbis-1.2.1_rc1-r2
Sat Jan  3 21:15:12 2009  sys-apps/usbutils-0.73
Sat Jan  3 21:17:14 2009  media-libs/libtheora-1.0
Sat Jan  3 21:28:32 2009  sys-devel/binutils-2.19
Sat Jan  3 21:39:03 2009  sys-libs/db-4.6.21_p3-r1
Sat Jan  3 21:48:44 2009  sys-libs/db-4.5.20_p2-r1
Sat Jan  3 21:49:56 2009  sys-libs/gdbm-1.8.3-r4
Sat Jan  3 21:55:00 2009  sys-devel/libperl-5.8.8-r2
Sat Jan  3 21:55:32 2009  dev-perl/XML-Parser-2.36
Sat Jan  3 21:56:02 2009  perl-core/Test-Harness-3.14
Sat Jan  3 21:56:30 2009  dev-perl/URI-1.37
Sat Jan  3 21:57:38 2009  dev-lang/nasm-2.05.01
Sat Jan  3 21:58:09 2009  dev-util/intltool-0.40.5
Sat Jan  3 22:00:16 2009  sys-devel/m4-1.4.12
Sat Jan  3 22:00:40 2009  x11-misc/util-macros-1.2.0
Sat Jan  3 22:01:17 2009  x11-proto/xproto-7.0.13
Sat Jan  3 22:01:40 2009  x11-proto/inputproto-1.5.0
Sat Jan  3 22:02:09 2009  

[gentoo-user] Re: Question about the Live CD

2009-01-03 Thread Harry Putnam
Christian christian8...@gmail.com writes:

 Hi all,
 The 2008 Live CD, does that include Gnome 2.24? Or is KDE being used?
 Many thanks for any info!

The desktop started is xfce4




<    2   3   4   5   6   7   8   9   10   11   >