[gentoo-user] net-fs/samba 4.5.16 compile fail

2018-07-16 Thread Jim Burwell
Hi,

Discovered an issue when trying to compile net-fs/samba-4.5.16.  Looks
like it involves the WAF package configuration process and/or rpcgen. 

Problem is with the source files trying to "#include "
(sm_notify.c is the first the fail), the location of the glibc SunRPC
headers when it doesn't exist.  Those headers actually live in
"" but for whatever reason the build wasn't including
it, or including "-I /usr/include/tiprc" during the build.

Curiously, WAF shows that it didn't find the rpc headers (at least form
my quick perusal through the build logs), but the build is still doing
the "#include". 

Quick fix is:  $ CFLAGS "-I/usr/include/tirpc -Wl,-ltirpc" emerge -1v samba

BTW, no thanks to the a particular scold and martinet in #gentoo named
"kurly" who seemed to be itching to kick/silence for asking simple
questions (which he of course did).  People like that shouldn't have
ops, IMHO.

- Jim




Re: [gentoo-user] Systemd upower

2014-06-03 Thread Jim Burwell
On 6/3/2014 16:13, Canek Peláez Valdés wrote:
 On Tue, Jun 3, 2014 at 5:06 PM, Alon Bar-Lev alo...@gentoo.org wrote:
 On Wed, Jun 4, 2014 at 12:59 AM, Canek Peláez Valdés can...@gmail.com 
 wrote:
 On Tue, Jun 3, 2014 at 4:40 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 [...]
 Incidentally, what exactly is wrong with systemd writing a dhcp server 
 client, and an ntp client? Is that project prohibited from writing such
 software? Are they not allowed to do it? Does it break legal laws? Is
 there an NDA or non-compete clause in the mix that I'm not aware of?
 Because they are the only things that could stop systemd from writing
 such code; without such prohibitions they are free to spend their time
 doing whatever they damn well please and if that means yet another dhcp
 implementation, so be it.
 Alan, thanks for succinctly putting why is absurd to complain about
 someone else's desire to write whatever code she desires to write. And
 to sharing it to the world! The HORROR!

 How *DARE* they to release their code? For free!

 Once again, you do not understand the claim.
 It is you who does not understand how software workds. See Alan response.

 If a user of Gentoo chooses to use non systemd profile, it means that
 we need to make sure systemd will not be a valid option, ever.
 Again, you don't understand how software works: this has nothing to do
 with profiles, it has to do with the fact that UPower now relies on
 systemd, and therefore people who has UPower installed now, *by
 default*, require systemd. If they don't want systemd, there is a way
 to do it, but it requires manual intervention since they now need to
 first uninstall UPower.

 In this case, if it is to disable the upower USE flag, or to provide
 alternative, block newer version, whatever make it possible to have a
 system working without systemd.
 It is provided:

 emerge -C upower
 emerge -1v upower-pm-utils

 It has to be done manually, though; otherwise you step on systemd users.

 systemd should not be visible at any time, nor its implications.
 Nobody is here to deal with other people's OCD.

 Regards.
FWIW, on my system, I had to mask sys-apps/gentoo-systemd-integration
for it to merge the udev update w/o trying to pull in systemd, et al.  i
didn't deep dive on what was trying to pull that in, but masking it
(plus a ton of other stuff I have masked) prevented portage from trying
to build a systemd based system.





Re: [gentoo-user] How's the openrc update going for everyone?

2011-05-10 Thread Jim Burwell
On 5/10/2011 18:25, Indi wrote:
 On Wed, May 11, 2011 at 12:20:02AM +0200, Paul Hartman wrote:
 On Tue, May 10, 2011 at 4:55 PM, Dale rdalek1...@gmail.com wrote:
 Hi folks,

 I was curious, what's the results of the openrc update for people that have
 done theirs?  Is it pretty simple and just works or are there issues?  I'm
 mostly interested in x86 and amd64 since that is what I have.  Just a simple
 works here and I'm X86 or amd64 would be nice.  List issues if you had any.
 I'm using ~amd64 and upgraded long, long, long ago. No problems at all
 during or after the upgrade. I would expect it to be even smoother
 process now than it was then.

 IIRC the biggest deal with the baselayout/openrc upgrade was that you
 must update a bunch of config files, which are not necessarily all
 blind/trivial updates. Failing to update them could make rebooting a
 sad experience.
 Same here, on x86 and ppc. Most of it was handled automatically and 
 the rest via dispatch-conf. Works just fine.

Went pretty smoothly for me following the upgrade guide.  I have a
gentoo based iptables firewall with a fairly complicated network setup
with postup()  functions.  I made the mistake of taking out the BASH
syntax (the surrounding parens, etc) on my postup() function based on
the guide, wondering if it'd work or not, and sure enough it wanted the
old BASH style syntax for those functions, but the new style (w/o
parens, and quoted blocks with CRs) on the normal sections.

They should probably make a note of this in the config guide.

It's good to see they added in support for iproute2 rules natively
instead of requiring a postup() function.  I'd like to see them add a
similar functionality for adding static ARP entries too (right now using
my own postup() for that).

-Jim




smime.p7s
Description: S/MIME Cryptographic Signature


[SOLVED] Re: [gentoo-user] Thunderbird and IMAP folders

2010-09-02 Thread Jim Cunning

 On 09/01/2010 10:44 AM, Andrea Conti wrote:

Hi,

I routinely use thunderbird to access mail on a cyrus IMAP server with
very large folders (thousands of archived messages).

IMAP support in the 3.1 series seems quite stable to me (whereas 2.x had
frequent problems with folder indexes and 3.0.x tended to hang randomly
while performing server operations)

The only problem I can think of is that if you have used the default
settings for the message search feature, thunderbird will attempt to
build a full-text search index by downloading every message on the
server (body included) when it is first run. Thunderbird will try
downloading messages from multiple folders in parallel, which might
cause a hign load on the server resulting in substantial delays when
listing folder contents.

If thunderbird is indexing messages (look at the progress indicator on
the status bar), try leaving it alone until it is done -- it's a
one-time process.

If, on the other hand, everything is idle, I'm sorry but I have no idea.

HTH,

andrea
The problem turned out not to be with Thunderbird at all, but with the 
courier-imap configuration.  I found in /var/log/messages some instances 
of this:

imapd-ssl: Maximum connection limit reached for :::10.0.0.1

It appears that the default configuration for MAXPERIP (maximum number 
of connections to accept from the same IP address) was set to 4. (I 
assume it's the default, since I never changed it myself.)  Changing the 
value to 10 eliminated the Thunderbird problem entirely.  I don't know 
if some other value between 4 and 10 would work as well.  I'm happy with 
it as it is now.

--
Jim




[gentoo-user] Thunderbird and IMAP folders

2010-08-31 Thread Jim Cunning
I decided to give thunderbird (and its integrated calendar, lightning) a try 
after having some troubles with kontact corrupting and deleting events on a 
webdav calendar.  I initially tried thunderbird 3.0.4 (which I think didn't 
actually have the calendar integrated--not really significant), and had 
trouble getting TB to display the contents of my email folders on an IMAP 
server.  Most folders showed up empty.  I have about 180 folders with about 
14,000 messages total--the correct folders were shown, just nothing shown in 
them.

After a bit of googling, I found a reference to a bug resembling my problem 
that supposedly was fixed in 3.1.2.  I tried that version without change to 
the problem, and today 3.1.2-r1 with the same result.

My IMAP server is net-mail/courier-imap 4.5.0 on the same host as my 
workstation.  I have no trouble reading folders and their contents with 
kontact 4.4.5/kmail 1.13.5 

I've tried more googling and searching at the mozilla.org site for clues.  
Anyone have any experience with this problem--and perhaps a solution?

TIA,
-- 
Jim


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


[gentoo-user] Kontact folder and memory issues

2010-06-16 Thread Jim Cunning
I have recently started to experience two annoying issues with
kontact/kmail.  Sometime after an emerge world update in the last couple
of weeks, kontact has started consuming huge amounts of RAM and swap. 
Currently ps for kontact shows:

USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
jcunning 10190  1.7 23.3 1753588 480292 ?  Sl   10:56   2:37
/usr/bin/kontact

The second annoying issue is that when I restart kontact, it shortly
begins reloading all the messages from all the email folders on my imaps
server, even though virtually all the mailboxes are unchanged.  The
process takes several minutes, and while underway, kontact puts up a blue
window with the message that it's reading the contents of the mailbox.

I've tried setting kmail configuration options to minimize the reading and
checking of mailboxes, but nothing seems to have any effect.

Any ideas anybody?
Thanks,
-- 
Jim




[SOLVED] Re: [gentoo-user] Cannot emerge x11-libs/qt-webkit-4.6.2-r1

2010-05-08 Thread Jim Cunning
On Friday 07 May 2010 17:04:22 William Kenworthy wrote:
 
  For the last week or perhaps more, I have been unable to complete an
  emerge update of world because x11-libs/qt-webkit-4.6.2-r1 fails.  I now
  have just the following ebuilds that cannot finish because of qt-webkit:
  
[...]
  
  Near the end of the emerge, the following error occurs:
  
  compiling .rcc/release-shared/qrc_WebKit.cpp
  rm -f libQtWebKit.so.4.6.2 libQtWebKit.so libQtWebKit.so.4
  libQtWebKit.so.4.6 linking ../../../../lib/libQtWebKit.so.4.6.2
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
  gnu/bin/ld:obj/release/HTMLParser.o: file format not recognized; treating
  as linker script
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
  gnu/bin/ld:obj/release/HTMLParser.o:1: syntax error
  collect2: ld returned 1 exit status
  make: *** [../../../../lib/libQtWebKit.so.4.6.2] Error 1
 
   * ERROR: x11-libs/qt-webkit-4.6.2-r1 failed:
   *emake failed
 
  There was a thread on gentoo forums with this very error listed as solved
  (https://forums.gentoo.org/viewtopic.php?p=6262495), but the ccache
  solution suggested there has no effect on my experience of the problem. 
  Anyone have a suggestion on how to proceed?
  
  Thanks,

 FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
 
 Worked for me on multiple systems
 
 BillK

Thanks for the tip. It seems to have done the trick, because emerge is running 
far longer beyond the point it originally failed with the error above.
-- 
Jim


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


[gentoo-user] Cannot emerge x11-libs/qt-webkit-4.6.2-r1

2010-05-07 Thread Jim Cunning
For the last week or perhaps more, I have been unable to complete an emerge 
update of world because x11-libs/qt-webkit-4.6.2-r1 fails.  I now have just 
the following ebuilds that cannot finish because of qt-webkit:

Calculating dependencies... done!
[ebuild U ] x11-libs/qt-webkit-4.6.2-r1 [4.6.2] USE=dbus%* exceptions kde 
(-aqua) -debug -pch 0 kB
[ebuild U ] kde-base/ksplash-4.4.2-r1 [4.4.2] USE=mmx sse sse2 -3dnow (-
altivec) (-aqua) -debug (-kdeenablefinal) (-kdeprefix) -xinerama 0 kB
[ebuild   R   ] kde-base/libplasmagenericshell-4.4.2  USE=(-aqua) -debug (-
kdeenablefinal) (-kdeprefix) -test% 0 kB   

[ebuild U ] kde-base/systemsettings-4.4.2-r1 [4.4.2] USE=handbook opengl 
usb (-aqua) -debug (-kdeenablefinal) (-kdeprefix) -xinerama 0 kB   
  
[ebuild U ] app-cdr/k3b-1.91.0_rc2 [1.70.0_beta1] USE=dvd encode flac 
handbook%* mad vorbis wav (-aqua) -debug -emovix -ffmpeg (-kdeenablefinal) -
lame -musepack -musicbrainz -sndfile -sox -taglib -vcd LINGUAS=fr%* -ast% -
be% -bg% -ca% -...@valencia% -cs% -csb% -da% -de% -el% -en_GB% -eo% -es% -et% -
eu% -fi% -ga% -gl% -he% -hi% -hne% -hr% -hu% -is% -it% -ja% -km% -ko% -ku% -
lt% -mai% -nb% -nds% -nl% -nn% -oc% -pa% -pl% -pt% -pt_BR% -ro% -ru% -se% -sk% 
-sl% -sv% -th% -tr% -uk% -zh_CN% -zh_TW% 0 kB

Total: 5 packages (4 upgrades, 1 reinstall), Size of downloads: 0 kB

Near the end of the emerge, the following error occurs:

compiling .rcc/release-shared/qrc_WebKit.cpp
rm -f libQtWebKit.so.4.6.2 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.6
linking ../../../../lib/libQtWebKit.so.4.6.2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
gnu/bin/ld:obj/release/HTMLParser.o: file format not recognized; treating as 
linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
gnu/bin/ld:obj/release/HTMLParser.o:1: syntax error
collect2: ld returned 1 exit status
make: *** [../../../../lib/libQtWebKit.so.4.6.2] Error 1
 * ERROR: x11-libs/qt-webkit-4.6.2-r1 failed:
 *   emake failed

There was a thread on gentoo forums with this very error listed as solved 
(https://forums.gentoo.org/viewtopic.php?p=6262495), but the ccache solution 
suggested there has no effect on my experience of the problem.  Anyone have a 
suggestion on how to proceed?

Thanks,
-- 
Jim


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


Re: [gentoo-user] Nepomuk can't find database backend

2010-04-16 Thread Jim Cunning
On Thursday 15 April 2010 14:01:02 Jim Cunning wrote:
 I have KDE 4.4.2 installed on an AMD64 system.  On login, I get the popup
 Nepomuk was not able to find the configured database backend 'sesame2'.
 Existing data can thus not be
 
 I have installed:
 jlc64 ~ # eix -I nepomuk
 [D] kde-base/nepomuk
  Available versions:  (4.2) ~4.2.4
 {debug kdeprefix}
  Installed versions:  4.4.2(4.4)(12:08:59 AM 04/13/2010)(handbook -aqua
 - debug -kdeenablefinal -kdeprefix)
 [D] dev-libs/soprano
  Available versions:  ~2.0.2!t ~2.1.1 ~2.2 ~2.2.1 ~2.2.1-r1 ~2.2.2
 {clucene dbus debug doc elibc_FreeBSD java raptor redland sesame2}
  Installed versions:  2.4.1(09:20:36 PM 04/12/2010)(dbus raptor redland
 virtuoso -clucene -debug -doc -elibc_FreeBSD -java)
 
 The config file .kde4/share/config/nepomukserverrc contains the line:
 
 Used Soprano Backend=sesame2
 
 There doesn't appear to be a sesame2 backend plugin installed for soprano,
 only redland and virtuoso, but changing the sesame2 in the config file to
 virtuoso only changes the name of the backend in the failure message, not
 the failure.
 
 A search of the list archive shows several posts regarding this sort of
 error message, but apparently relating to nepomuk 4.4 on a KDE 4.3 system.
 My situation seems different and the solutions suggested don't apply.
 
 Any advice would be appreciated.

Apparently, no one has any advice, so I'll ask a different question:

Where does one find documentation on the database backends supported by 
Nepomuk, and how to configure it/them?

Thanks,
-- 
Jim


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


Re: [gentoo-user][SOLVED] Nepomuk can't find database backend

2010-04-16 Thread Jim Cunning
On Friday 16 April 2010 12:42:44 Mark Knecht wrote:
[...]
 
 So if I'm clear about this, you have a stable AMD64 system with ~AMD64 KDE?
 
 If you upgraded from KDE 4.3 did you try deleting all the old KDE
 configuration stuff and starting new? I've not had your problems with
 nepomuk but I run either AMD64 with just a couple of ~AMD64 packages,
 or full ~AMD64. I haven't seen this problem on either system. However
 I do run ~AMD64 portage, sandbox, gentoolkit, eix and a few other
 installation things on all my systems so possibly that's part of it.
 
 Good luck,
 Mark

I had upgraded from KDE 4.3, but it turns out there was some old 3.5 stuff 
still around, too.  I deleted the .kde/share/config/nepomukrc file and logged 
out and back in, and the error no longer appeared.

Thanks for the suggestion.
-- 
Jim


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


Re: [gentoo-user] kmail/kontact display anomaly [SOLVED]

2010-01-20 Thread Jim Cunning
On Wednesday 20 January 2010 02:57:30 Frank Steinmetzger wrote:
 Am Mittwoch, 20. Januar 2010 schrieb Neil Bothwick:
  For Konqueror, you turn it of in the Web Browsing section of the
  settings, the last item. I don't use KMail but I expect this will affect
  KMail too, or KMail will have a similar setting.
 
 I guess that’s because - similar to Outl**k using the IE engine - KMail
  seems to use the KHTML engine to display messages. That’s why it also has
  this feature.
 
The control is indeed in konqueror settings. Kmail does honor it, but only 
after a restart of kontact or kmail.  Kmail does not appear to have its own 
setting for Enable/disable Access Key activation with Ctrl key

Thanks to all who provided answers and guidance on this prob^H^H^H^Hfeature.
-- 
Jim


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


[gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Jim Cunning
I have noticed for a long time, and continuing with KDE 4.4, that 
kmail/kontact shows a bunch of small popup window boxes, each containing a 
single letter, whenever it's displaying a message and the control key is 
pressed and released.  Another depression/release of the control key removes 
the boxes.

I first noticed this with KDE 3.4 on OpenSUSE 10.3, and it has continued on 
gentoo with KDE 3.5 and now 4.4. An example of what I'm describing can be seen 
at http://cunning.ods.org/kmail-boxes.jpg

I couldn't get any useful hits on Google with the keywords I came up with.  
Has anyone seen this and/or know how to eliminate it?

Thanks,
-- 
Jim


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


Re: [gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Jim Cunning
On Tuesday 19 January 2010 12:50:32 Neil Bothwick wrote:
 On Tue, 19 Jan 2010 22:22:39 +0200, Alan McKinnon wrote:
  Those are quick-link thingys that highlight clickable text in the mail.
  IIRC the intent is so you can type Ctrl-D and the browser will take you
  to the link labelled D
 
  I used to have it, then I did something in System Settings or kmail's
  config and it went away. Go through both looking for options that
  mention Ctrl. I forget what it was, but do remember it was distinctly
  not obvious at the time.
 
 I had the same problem turning it off on KDE3. It's a system setting,
 Konqueror does the same. ISTR it's in the Accessibility section of
 systemsettings.
 
OK, thanks for the guidance.

Alan, I was at first confused by your response, and as a test tried, for 
example, to enter Ctrl-letter for whatever lettered link I wanted to follow. 
Didn't work--when I pressed Ctrl the first time to display the letter boxes, 
then pressed Ctrl-H (when an H box was displayed), the boxes disappeared as 
soon as I depressed Ctrl, and with that still pressed, pressing H did 
nothing.  Butif I press and release Ctrl to display the letter boxes, and 
then press one of the letters (upper/lower case didn't matter), the nearby 
text link was activated.  In kmail I was able to select mailto:, http:, and 
https: links to open a compose window in kmail or a new web page my firefox 
browser.

Firefox does not exhibit this behavior, but konqueror does in the same way as 
kmail.  I couldn't find any other kxxx utilities with the same behavior, 
though.

At least now I know how to use this feature, but unfortunately, I can find 
nothing in the KDE menu System Settings under the General or Advanced tab 
that appears to enable or even modify this behavior.  Any other suggested 
places to look?
-- 
Jim


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


Re: [gentoo-user][SOLVED] How to build vmware-modules for kernel 2.6.30

2009-10-20 Thread Jim Cunning
On Tuesday 20 October 2009 07:15:45 Paul Hartman wrote:
 On Tue, Oct 20, 2009 at 12:21 AM, Jim Cunning jcunn...@cunning.ods.org 
wrote:
[...]
  vmware-workstation-5.5.9 seems to require *only* vmware-modules-1.0.0.15.
   Is there a way I can change this and rebuild both vmware and its kernel
  modules?
 
 You could perhaps emerge the newer modules with --nodeps and see if it
 works. You might have to put the old vmware-modules package into
 package.provided so emerge doesn't complain about it.
This worked so far as to get the modules built and loaded.  Then vmware 5.5.9 
complained about mismatched interface version numbers.
 
 There are patches to supposedly make it work (it requires patching
 your kernel as well as your vmware-module sources):
 http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2
 629
More involved than I want to undertake, and also would require repeating each 
time the kernel were updated.

 Other possible actions would be to go back to older kernel or upgrade
 to newer vmware-workstation. :)
I bit the bullet and upgraded to vmware-workstation-6.5.3.  Much easier.  It 
just drops in and works.
-- 
Jim


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


[gentoo-user] How to build vmware-modules for kernel 2.6.30

2009-10-19 Thread Jim Cunning
I upgraded to kernel 2.6.30 and now cannot build the vmware kernel-
modules-1.0.0.15-r2 that I need for vmware-workstation-5.5.9.  I've seen 
references on google searches that kernel-modules-1.0.0.25 will work for 
vmware-5.3 up to vmware-6.something.  

vmware-workstation-5.5.9 seems to require *only* vmware-modules-1.0.0.15.  Is 
there a way I can change this and rebuild both vmware and its kernel modules?
-- 
Jim


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


[gentoo-user] Strange sunbird segfault

2009-10-18 Thread Jim Cunning
I normally keep mozilla-sunbird calendar running on my desktop.  Occasionally, 
I find that it has disappeared and when I attempt to restart it, it fails with 
a segfault.  It has happened twice now that I have been unable to restart 
sunbird for a matter of several hours, and then with no other change to the 
system and otherwise normal activity continuing, sunbird starts up fine.

The information on a konsole when starting and failing is:

jcunn...@jlc64 ~ $ sunbird
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
/usr/libexec/mozilla-launcher: line 119: 25986 Segmentation fault  $(type 
-P aoss) $mozbin $xulparams $@
sunbird-bin exited with non-zero status (139)

When it finally starts OK the Generic Event Extension errors also appear, 
but the ap seems to run without problems.  The event extension problem is 
something else I need to resolve, but I don't think it's related to sunbird, 
as gvim and other applications starting also get them.

Anyone have any suggestions where to look when sunbird segfaults again?
-- 
Jim


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


Re: [gentoo-user] How to suppress starting kmail with KDE 4.3.2

2009-10-13 Thread Jim Cunning
On Monday 12 October 2009 23:12:25 Volker Armin Hemmann wrote:
 On Dienstag 13 Oktober 2009, Jim Cunning wrote:
  I recently upgraded to KDE 4.3.x, now at 4.3.2.  With KDE 3.5.10 I could
   have kontact running on logout and it would be restarted the next time I
   logged in. With KDE 4.3.x, kontact is started, but so is kmail in a
   separate window.  I changed my default mail application to kontact,
  but I cannot find where kmail is mentioned to start on login, so I can
  remove it.
 
 you have probably saved a session with kmail running. IMHO worth a try
  saving a session without kmail running.
 
I presume saving a session is done by logging out.  I have already done 
that, leaving KDE without any mail client running.  On logging in again, kmail 
is started.  

The KDE session manager doesn't appear to have any option to save 
a session, but it does have a way to exclude applications from saved sessions.  
I'll try excluding kmail and then logging out.

No change--KDE starts kmail even when logging out with neither kmail or 
kontact running.
-- 
Jim


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


[gentoo-user] mozilla-sunbird segfaults

2009-10-13 Thread Jim Cunning
I had sunbird running while doing an emerge update world.  After logging out 
and back in, sunbird didn't start.  Manually starting it produced:

jcunn...@jlc64 ~ $ sunbird 
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
/usr/libexec/mozilla-launcher: line 119: 30349 Segmentation fault  $(type 
-P aoss) $mozbin $xulparams $@
sunbird-bin exited with non-zero status (139)
===
After re-emerging mozilla-sunbird, starting it produces:

jcunn...@jlc64 ~ $ sunbird
Removing /home/jcunning/.mozilla/sunbird/naf79q2v.default/compreg.dat leftover 
from older sunbird
Removing /home/jcunning/.mozilla/sunbird/naf79q2v.default/XUL.mfasl leftover 
from older sunbird
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0.
/usr/libexec/mozilla-launcher: line 119: 29262 Segmentation fault  $(type 
-P aoss) $mozbin $xulparams $@
sunbird-bin exited with non-zero status (139)
jcunn...@jlc64 ~ $

I didn't see any recent complaints of segfaults for version 0.9 in a google 
search.  Anyone have suggestions?
-- 
Jim


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


Re: [gentoo-user] How to suppress starting kmail with KDE 4.3.2

2009-10-13 Thread Jim Cunning
On Tuesday 13 October 2009 10:10:40 Volker Armin Hemmann wrote:
 On Dienstag 13 Oktober 2009, you wrote:
  On Monday 12 October 2009 23:12:25 Volker Armin Hemmann wrote:
   On Dienstag 13 Oktober 2009, Jim Cunning wrote:
I recently upgraded to KDE 4.3.x, now at 4.3.2.  With KDE 3.5.10 I
could have kontact running on logout and it would be restarted the
next time I logged in. With KDE 4.3.x, kontact is started, but so is
kmail in a separate window.  I changed my default mail application to
kontact, but I cannot find where kmail is mentioned to start on
login, so I can remove it.
  
   you have probably saved a session with kmail running. IMHO worth a try
saving a session without kmail running.
 
  I presume saving a session is done by logging out.
 
 no, you presume wrong. Open the menu, go to the logout tab, there is a
  'Save Session' option, click that.

Hmmm.  KDE 4.3.2 menu shows tabs for: Favorites, Applications, Computer, 
Recently Used, Leave.  No logout tab.  
The Leave tab shows: Logout, Lock, Switch User, Suspend to disk, Restart, 
Shutdown.  No Save Session option
-- 
Jim


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


Re: [gentoo-user] [FIXED] mozilla-sunbird segfaults

2009-10-13 Thread Jim Cunning
On Tuesday 13 October 2009 12:52:51 Alan McKinnon wrote:
 On Tuesday 13 October 2009 19:12:45 Jim Cunning wrote:
  I had sunbird running while doing an emerge update world.  After logging
   out and back in, sunbird didn't start.  Manually starting it produced:
 
  jcunn...@jlc64 ~ $ sunbird
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  /usr/libexec/mozilla-launcher: line 119: 30349 Segmentation fault
   $(type -P aoss) $mozbin $xulparams $@
  sunbird-bin exited with non-zero status (139)
  ===
  After re-emerging mozilla-sunbird, starting it produces:
 
  jcunn...@jlc64 ~ $ sunbird
  Removing /home/jcunning/.mozilla/sunbird/naf79q2v.default/compreg.dat
   leftover from older sunbird
  Removing /home/jcunning/.mozilla/sunbird/naf79q2v.default/XUL.mfasl
   leftover from older sunbird
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  Xlib:  extension Generic Event Extension missing on display :0.0.
  /usr/libexec/mozilla-launcher: line 119: 29262 Segmentation fault
   $(type -P aoss) $mozbin $xulparams $@
  sunbird-bin exited with non-zero status (139)
  jcunn...@jlc64 ~ $
 
  I didn't see any recent complaints of segfaults for version 0.9 in a
  google search.  Anyone have suggestions?
 
 Rebuild sunbird?
 
 Stuff it links do has likely changed.
 
I did that--shown above--with no change in final result.  I did a 'revdep-
rebuild' (twice), and both times only app-emulation/emul-linux-x86-
soundlibs-20080418 was rebuilt.  Still no difference.  

Now--three hours later--sunbird starts fine.  I didn't deliberately do 
anything more after the revdep-build's.  Anyway, it works now.
-- 
Jim


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


[gentoo-user] How to suppress starting kmail with KDE 4.3.2

2009-10-12 Thread Jim Cunning
I recently upgraded to KDE 4.3.x, now at 4.3.2.  With KDE 3.5.10 I could have 
kontact running on logout and it would be restarted the next time I logged in.  
With KDE 4.3.x, kontact is started, but so is kmail in a separate window.  I 
changed my default mail application to kontact, but I cannot find where 
kmail is mentioned to start on login, so I can remove it.
-- 
Jim


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


[gentoo-user] Emerge gramps-3.1.2 fails

2009-09-18 Thread Jim Cunning
Trying to emerge gramps-3.1.2 fails with the following error:
===
checking for sh... /bin/sh  
 
checking Python bindings for gtk 2.10 (pygtk2=2.10.0)... configure: error: 
 

 The python bindings for gtk 2.10 (pygtk2=2.10.0) could not be found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-misc/gramps-3.1.2/work/gramps-3.1.2/config.log
 * 
 * ERROR: app-misc/gramps-3.1.2 failed.
 * Call stack: 
 *   ebuild.sh, line   49:  Called src_configure   
 * environment, line 3604:  Called gnome2_src_configure
 * environment, line 2451:  Called econf '--disable-mime-install'
 *   ebuild.sh, line  534:  Called die   
 * The specific snippet of code: 
 *  die econf failed   
 *  The die message: 
 *   econf failed
 *   
 * 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/app-
misc/gramps-3.1.2/temp/build.log'.  
  
 * The ebuild environment file is located at '/var/tmp/portage/app-
misc/gramps-3.1.2/temp/environment'.
   
 *

 Failed to emerge app-misc/gramps-3.1.2, Log file:

  '/var/tmp/portage/app-misc/gramps-3.1.2/temp/build.log'
=

and yet, pygtk seems to be installed:

jlc64 ~ # eix -I pygtk
[D] dev-python/pygtk
 Available versions:  (2)  2.12.1-r2 2.14.1
{X doc examples}
 Installed versions:  2.14.1-r1(2)(23:46:21 09/17/09)(X -doc -examples)
 Homepage:http://www.pygtk.org/
 Description: GTK+2 bindings for Python

Any suggestions how to resolve this?
-- 
Jim


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


Re: [gentoo-user] Emerge gramps-3.1.2 fails SOLVED

2009-09-18 Thread Jim Cunning
On Friday 18 September 2009 02:50:03 Arttu V. wrote:
 On 9/18/09, Jim Cunning jcunn...@cunning.ods.org wrote:
  Trying to emerge gramps-3.1.2 fails with the following error:
  ===
  checking for sh... /bin/sh
  checking Python bindings for gtk 2.10 (pygtk2=2.10.0)... configure:
  error:
 
   The python bindings for gtk 2.10 (pygtk2=2.10.0) could not be
  found.
 
  !!! Please attach the following file when seeking support:
  !!! /var/tmp/portage/app-misc/gramps-3.1.2/work/gramps-3.1.2/config.log
 
 You should attach config.log, or at a minimum the spot in there where
 configure tries to find gtk and pygtk. Without that info it's very
 hard to limit the things that could be broken.
 
I looked at the configure script for gramps and discovered it was creating a 
python test for the gtk bindings.  dev-python/pygtk-2.14.1 was already 
installed, and re-emerging produced this:

 * Messages for package dev-python/pygtk-2.14.1:

 * Unable to establish /usr/lib64/python2.6/site-packages/pygtk.py symlink
 * Unable to establish /usr/lib64/python2.6/site-packages/pygtk.pth symlink

In gentoo forums, I found a discussion about pygobject and pygtk both needing 
to be re-emerged.  I did emerge -1 -av pygobject pygtk successfully and then 
the emerge for gramps is now proceeding past the point of earlier failure.
-- 
Jim


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


[gentoo-user] KDE4.x installation blocks

2009-09-04 Thread Jim Cunning
I am trying to install KDE 4.2 or 4.3 on a stable KDE 3.5.10 system, following 
the guidelines in http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml, 
and the emerge fails with the following blocks:
---
[blocks B ] net-wireless/bluez-libs (net-wireless/bluez-libs is blocking 
net-wireless/bluez-4.39)
[blocks B ] net-wireless/bluez (net-wireless/bluez is blocking 
net-wireless/bluez-libs-3.36)

Total: 294 packages (3 upgrades, 145 new, 141 in new slots, 5 reinstalls), 
Size of downloads: 347,708 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'net-wireless/bluez-libs-3.36', 'nomerge') pulled in by
=net-wireless/bluez-libs-3.12 required by 
('installed', '/', 'gnome-base/gvfs-1.0.3-r2', 'nomerge')

  ('ebuild', '/', 'net-wireless/bluez-4.39', 'merge') pulled in by
net-wireless/bluez required by 
('ebuild', '/', 'kde-base/solid-4.2.4', 'merge')
---

I don't use gnome, but it appears that gnome-base/gvfs is ultimately pulled in 
by net-im/pidgin, which I do use.  Does this mean I can't continue using 
pidgin with KDE4?  Are there good alternatives to pidgin, including OTR (the 
encrypted plug-in)?

-- 
Jim


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


[gentoo-user] How to get an old ebuild

2009-09-04 Thread Jim Cunning
I am currently running kernel 2.6.25-r7 and have an emerge that fails because 
it can't find a Makefile for the kernel.  I somehow no longer can run 
genkernel, or emerge sys-kernel/gentoo-sources-2.6.25-r7.  I would rather not 
upgrade my kernel at this point--how can I find/emerge this slightly older 
kernel?
-- 
Jim


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


Re: [gentoo-user] Cannot figure out emerge blocks

2009-06-17 Thread Jim Cunning
On Wednesday 17 June 2009 14:07:01 Volker Armin Hemmann wrote:
 please consider searching the email archives for this list in the future.
 The phonon mess has been explained only a few days ago.

 as a kde user you want media-sound/phonon
 all you need to know:
 http://ben.liveforge.org/2009/06/03/preventing-the-qt-phonon-vs-phonon-bloc
k

Looking through http://archives.gentoo.org/gentoo-user didn't give me any more 
information than I already had, namely the problem with kde 3.5.9 vs 3.5.10 
blocking issues, and monolithic vs -meta ebuilds.  

I  didn't know about the phonon issues, and going back to the archive, I still 
didn't see any reference to it.

Sorry to have offended you.
-- 
Jim


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


[gentoo-user] Cursor keys stopped working in VMware workstation

2009-05-07 Thread Jim Cunning
I have been using VMware workstation V. 5.5.9 and a Logitech wireless keyboard 
for some time.  Today I somehow mistyped a Ctrl-something sequence while in 
the VM window, meaning to enter it elsewhere instead of the VM.  Now, the 
cursor keys between the main keys and the keypad have stopped working 
correctly.  Most do nothing, but the down arrow key causes Windows to raise 
the Start menu, as if I had pressed the windows key near left-alt.

The cursor movement keys on the keypad still work, with numlock off.  I have 
tried restarting windows, restarting VMware workstation, restarting the X 
(KDE) session, and rebooting the computer.  The only thing I haven't done is 
a complete power off/on.

All cursor keys work fine in non-VMware applications, so I suspect VMware 
and/or Windows, but I've been wrong blaming MS or VM before, so..

Does anyone have a clue what might be wrong, and how to fix this?
Thanks,
-- 
Jim


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


Re: [gentoo-user] OpenOffice 3.0.0 with dead keys

2009-05-07 Thread Jim Cunning
On Monday 04 May 2009 18:10:50 Saphirus Sage wrote:
 Jim Cunning wrote:
  I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented
  characters (e.g., ´   + e or ^ + a , etc.) I´ve set up KDE keyboard
  layouts and can get the proper characters displayed on console, xterm,
  kmail and other windows, but the dead key combinations in OpenOffice are
  simply dead--no characters produced at all.  When switching back to the
  US layout without dead keys, the same key presses to OpenOffice produce
  two characters, as one would expect.
 
  I do this all the time with OpenOffice on my laptop with openSUSE 10.3. 
  Is there something I´ve not setup correctly on my gentoo system?

 Did you remember to compile OpenOffice with LINGUAS=fr? May be
 something to consider adding to your make.conf to get around
 language/localization issues.

I'm not sure that's what I need.  I would like OpenOffice to be in English, 
not French, but do want to be able to enter accented characters as used in 
French, German, etc., when I select the us-intl keyboard layout.  

Where can I get documentation on the environment variables OpenOffice build 
uses, and how OpenOffice uses alternate keyboard layouts?  I've googled, but 
nothing I've encountered describes how to avoid my situation.
-- 
Jim


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


[gentoo-user] OpenOffice 3.0.0 with dead keys

2009-05-04 Thread Jim Cunning
I´m trying to get OpenOffice 3.0.0 to recognize and enter French accented 
characters (e.g., ´   + e or ^ + a , etc.) I´ve set up KDE keyboard layouts 
and can get the proper characters displayed on console, xterm, kmail and 
other windows, but the dead key combinations in OpenOffice are simply 
dead--no characters produced at all.  When switching back to the US layout 
without dead keys, the same key presses to OpenOffice produce two characters, 
as one would expect.

I do this all the time with OpenOffice on my laptop with openSUSE 10.3.  Is 
there something I´ve not setup correctly on my gentoo system?
-- 
Jim


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


[gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Jim Cunning
I have a well-running AMD64 system running on a 250G disk that is beginning to 
show some SMART errors.  I have purchased and partitioned two 1T disks into 
RAID10 arrays and would like to move everything to the new arrays, make them 
bootable and abandon booting from the 250G disk.  

I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other 
files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am 
concerned whether my current kernel will recognize the /dev/md{1,2,3,4} 
arrays on booting, and before switching from the initrd root disk.  How can I 
check the parameters and contents of the initrd I'm currently using and/or 
generate a new one to permit booting from the RAID disks?
-- 
Jim


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


Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Jim Cunning
On Saturday 02 May 2009 13:43:27 Volker Armin Hemmann wrote:
 On Samstag 02 Mai 2009, Jim Cunning wrote:
  I have a well-running AMD64 system running on a 250G disk that is
  beginning to show some SMART errors.  I have purchased and partitioned
  two 1T disks into RAID10 arrays and would like to move everything to the
  new arrays, make them bootable and abandon booting from the 250G disk.
 
  I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other
  files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am
  concerned whether my current kernel will recognize the /dev/md{1,2,3,4}
  arrays on booting, and before switching from the initrd root disk.  How
  can I check the parameters and contents of the initrd I'm currently using
  and/or generate a new one to permit booting from the RAID disks?

 how do you do 10 with only two disks? You need four!
 the kernel is able to autoassemble - so you don't need an initrd - me I
 hate initrds.

RAID10 = RAID1+0. It works fine with 2 disks.  I was able to create it first 
with one drive missing and then add the second, which sync'ed without 
problems.

I'm glad I don't need any special initrd.
-- 
Jim


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


Re: [gentoo-user] Re: LVM : pros cons

2007-10-08 Thread Jim Burwell
Dale wrote:
 Philip Webb wrote:
 071008 Alan McKinnon wrote:
   
 This question Is LVM a good idea? keeps cropping up on mailing lists.
 I find this a bit strange as I find huge benefits
 and have yet to find a valid downside for general use.
 

 If you haven't used it, it looks like a questionable extra complexity,
 which could bite your fingers unexpectedly for little real gain.
 However, I am grateful for all the replies  may decide to use it,
 the comments being generally reassuring as to its stability.
 There is a Gentoo doc re how to fit it into the install process.

   


 That's me too.  I checked into it but just have not got the nerve up
 to switch.  I have had to redo my partitions a couple times though so
 I could use it for sure. 

 Maybe one of these days.

 Dale

 :-)  :-)  :-)
I must be one of the 'crazy' ones.  I run LVM2 for / under linux RAID. 
Even /boot is on a RAID1.  I use genkernel for the proper initramfs. 
You just need to use dolvm2 and lvmraid=/dev/mdX ... on your boot line.




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] {OT} Webmail in portage without PHP?

2006-12-06 Thread Jim Burwell
kashani wrote:
 Grant wrote:
  Is there a decent webmail package in portage (or a layman overlay)
  that doesn't depend on PHP?
 

 what is the problem with php? Every webmail is going to need to
 depend on
 some kind of server side scripting.

 Nangus

 I am using perl and I'd rather not install and maintain PHP just so I
 can use Squirrelmail.  It sounds like I may need to though.  Does
 anyone prefer another webmail client to Squirrelmail?

 - Grant

 I've run squirrel, horde, and roundcube. I like roundcube best. It's
 probably the simplest to setup and the cleanest interface.

I've set up squirrel and Horde IMP to check them out.  Squirrel was
relatively easy to set up compared to Horde, and via plugins, has pretty
much every feature I want.  Horde was a pain to set up, is big and slow,
but looks a bit nicer than squirrel (haven't experimented with any skins
on squirrel). 

I also installed ingo and turba on top of horde too, and I'm a bit
disappointed.  Unless there's a misconfiguration, turba doesn't seem to
allow you to simply add a contact from an email message in Imp.  And
turba's mail filters seem fairly limited.  I was expecting something
more on the lines of Tbird's mail filter capabilities.  I suppose you
could get that if you ran procmail or maildrop, or perhaps seive (which
I know nothing about, and apparently requires the cyrus imap server).

Roundcube looks very promising.  Looks like the project is going for a
web based T-bird style client.  :-)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Streaming Audio: source - server - clients.. What to use for source to send to server?

2006-09-01 Thread Jim Ramsay
fire-eyes wrote:
 I'm out of ideas now, and pretty frustrated. I am looking for ideas.
 This would preferably be a console application so I don't have to
 depend on a GUI. Again, it needs to support both mp3 and ogg at the
 same time, yet have the ability to take the oggs, re-encode to mp3 on
 the fly and stream them as mp3 to the icecast server.

I'm pretty sure media-sound/mpd can do this.

-- 
Jim Ramsay
Me fail English?  That's unpossible!


signature.asc
Description: PGP signature


[gentoo-user] Re: Enabling Mutt with SSL for IMAP

2006-08-25 Thread Jim Ramsay
Anthony Roy wrote:
 More generally, how do I find out the relationship between the portage
 use flags and a packages compile options?

Short answer is: Read the ebuild.  Look for things like:

econf $(use_enable ssl)

if use ssl; then
  # Do many things
fi

use ssl  epatch some_file.patch

-- 
Jim Ramsay
Me fail English?  That's unpossible!


signature.asc
Description: PGP signature


[gentoo-user] Re: Exchange compatibility with MTAs (not evolution)

2006-08-18 Thread Jim Ramsay
Alan Mckinnon wrote:
 I'd like to ask for some user feedback on how well other MTAs manage
 to talk to Exchange. It's the calendar function I'd like to have -
 other people at work like to send me invites. I can always pop my
 mail from exchange, and I can get imap if I ask the admin nicely so
 the mail stuff is not important. The exchange web front end is
 enabled so I always have the browser as a fall back, but I'd really
 like everything in the MTA if possible.

Sylpheed-claws has a 'vcalendar' plugin which reports to be compatible
with Exchange calendar events.  I've never tried it, though. 

'emerge sylpheed-claws-vcalendar'

-- 
Jim Ramsay
Me fail English?  That's unpossible!


signature.asc
Description: PGP signature


[gentoo-user] Re: Network connection repeatedly failing!

2006-08-16 Thread Jim Ramsay
Samuel Baldwin wrote:

 When I run ifconfig, I get this:
 lo Link encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 UP LOOPBACK RUNNING  MTU:16436 Metric:1
 RX Packets:28 errors:0 dropped:0 overruns:0 frame:0
 TX Packets:28 errors:0 dropped:2 overruns:0 carrier:0
 collisions: 0 txqueuelen: 0
 RX bytes: 3080 (3.0 KB) TX bytes:3080 (3.0kb)

This is just the inernal loopback device, not eth0.  Try 'ifconfig -a'
and see if your system even knows about your eth0 interface.

If it's not listed by 'ifconfig -a', you need to load the right kernel
module to get it there.

If it's listed but not up, a command like 'ifconfig eth0 up 10.0.0.100'
and 'route add default 10.0.0.1' may do for now.

 Also, does anyone know of a tool that allows you to play audio from a
 terminal? Basically, sending audio to standard audio out? I'd like to
 be able to listen to music (all .ogg and .mp3, if it makes a
 difference), while in runlevel 3. This is a side comment, and do not
 waste time answering this/looking it up if you don't know off hand.

I use 'media-sound/mpd' which is a mp3/ogg playing daemon (server), then
one of the front-ends (media-sound/ncmpc is a good console client) to
set up your playlist.  http://www.musicpd.org for more info and a list
of other frontends.

-- 
Jim Ramsay
Me fail English?  That's unpossible!


signature.asc
Description: PGP signature


[gentoo-user] Re: world favorites: pros and cons

2006-07-28 Thread Jim Ramsay
Enrico Weigelt wrote:
 * Daniel da Veiga [EMAIL PROTECTED] wrote:
  Also, the world file is a simple way to keep a package version (by
  removing it from world), for instance, I don't wanna upgrade mysql
  with my nightly emerge -uDN world, so, its not in my world file.
 
 Isn't there any way for nailing it down to some specific version ?

Sure, mask anything higher than the version you want in
your /etc/portage/package.mask file:

 dev-db/mysql-4.1.20

-- 
Jim Ramsay
Me fail English?  That's unpossible!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: world favorites: pros and cons

2006-07-28 Thread Jim Ramsay
Enrico Weigelt wrote:
 Yeah, but this would also prevent fixes in this ebuild. 
 (ie. if there's a typo or broken dependency)

Then you could do:

 =dev-db/mysql-4.2

This would allow any mysql-4.1.*, including 4.1.20-r1 and 4.1.99

Though you do raise a good point... it would be nice to specify a real
upstream version number differently from the Gentoo interim release
number such as -r2.  Can you think of a sane way to do that?

My suggestion would be to use a '+' character to represent all
possible gentoo interim releases, as follows:

Masking
 dev-db/mysql-4.1.20+
should allow mysql-4.1.20-r1 but not mysql-4.1.21

-- 
Jim Ramsay
Me fail English?  That's unpossible!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: world favorites: pros and cons

2006-07-28 Thread Jim Ramsay
Daniel da Veiga wrote:
 Take a look at the ~ operator...

That's what I get for not RTFM first!

From 'man ebuild':

~ means match any revision of the base version specified.  So in the
above example (~net-libs/libnet-1.0.2a), we would match versions
'1.0.2a', '1.0.2a-r1', '1.0.2a-r2', etc...

So the correct answer(?) would be to mask:

 ~dev-db/mysql-4.1.20

Then you get bugfixes but no new versions.

-- 
Jim Ramsay
Me fail English?  That's unpossible!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to get source of emerge to patch?

2006-07-11 Thread Jim John
Hi. I want to patch cyrus-imapd. I have the diff file, but no source because I emerged from the repository. How do I get the source and ebuild it? Thanks. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

[gentoo-user] Console vanishes after X server is run

2006-07-08 Thread Jim Burwell




Hi,

I'm having an issue with text console of one of my gentoo boxes not
coming back after the X server exits. The console is there and works
fine up to the point when the X server starts (for instance, when gdm
comes up). After this, using the key sequences to call up the text
vtys, shutting down gdm, etc, results in a black screen. 

I've tried the various key combos, etc, and the screen just stays black
until the system is rebooted (it stays black until the system warm
boots and the BIOS screen pops up), or until an X server is started up
again (gdm will start up and display the login screen normally). It's
as if the whatever is responsible for switching the video mode and/or
FB address back to the console settings is not doing its job.

I run gensplash and the vesa-tng frame buffer drivers. The graphics
card I have is an old Nvidia GeForce 3, and I run the Nvidia binary
drivers (x11-drivers/nvidia-drivers) under Xorg 7.0. Here is my boot
line:

kernel (hd0,0)/kernel-genkernel-x86-2.6.16-gentoo-r12
root=/dev/ram0 init=/linuxrc real_root=/dev/vg00/root dolvm2
lvmraid=/dev/md0 lvmraid=/dev/md1 video=vesafb:[EMAIL PROTECTED]
splash=verbose,fadein,mtrr,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
initrd (hd0,0)/initramfs-genkernel-x86-2.6.16-gentoo-r12
  
(1280x1024-16 mode is listed in the /proc/fb0/modes file, so it's a
valid BIOS mode)

Any ideas ? Suggestions ?

- Jim





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] booting with an lvm2 root. How do I make a working initrd?

2006-06-23 Thread Jim Burwell

Sascha Lucas wrote:

On Fri, 23 Jun 2006, Javier Ubillos wrote:


I don't want to use genkernel, but I still want it to work.


you realy should use genkernel it's much easier.


mkinitrd --preload md_mod --with=md_mod initrd-2.6.16-gentoo-r9


well you should not use mkinitrd, if you refuse genkernel :-).
btw: md-mod is RAID (multiple devs), LVM is dm-mod (dev mapper).


In conclusion:
how do I get/make a working initrd so I can boot with my lvm2 root?


that's much work to do it your self start building ext2 images or 
cpio's with static busybox  lvm2 and write your own linuxrc (here you 
may cheat by looking into linuxrc from genkernel :-)). Don't forget to 
create dev-files and to include some modules.


Sascha.



Yes.  What Sascha said.  I've had many a user (in #gentoo IRC) sneer at 
me for using Genkernel to produce a kernel + initramfs archive to boot 
up my RAID + LVM2 based system.  But it's far simpler than reinventing 
the wheel by creating all that is needed to bootstrap the RAID/LVM2 
setup (static bins, linuxrc script to start everything up, create device 
nodes, etc, etc).  I don't see much value in doing it myself when 
Genkernel already does it for me.


Also, you can do all the kernel customization you wish (within reason) 
even if you use Genkernel by using one of the --menu|x|g|config flags, 
and/or --oldconfig. 


--
+---+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| I never let my schooling get in the way of my education. - Mark Twain   |
| UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things. - Doug Gwyn  |
| Cool is only three letters away from Fool - Mike Muir, Suicyco  |
| ..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.. - Thomas Paine, Common Sense (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089
 |
+---+

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Join plain text paragraphs

2006-06-13 Thread Jim
* on the Tue, Jun 13, 2006 at 07:28:17AM +0100, David Morgan said:
 On 22:46 Mon 12 Jun , JimD wrote:
  David Morgan wrote:
   On 18:53 Mon 12 Jun , JimD wrote:
   Sweet.  Thanks for the tips.  I need to start using OOo more ;-)
   
   No need.
   
   sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename
  
  Close.  It is removing the first character of every paragraph.  I am
  trying to digitize my book collection.  For example, here is a test
  output from Narnia - The Magician's Nephew:
 
 Indeed - didn't my corrected version get through? I received it before I
 received your reply anyway.
 
 sed -e :a -e '$!N;s/\n\([^$]\)/\1/;ta' -e 'p;D' filename

Almost perfect.  It now joins the lines without removing the first
character.  However, There is now no space between the joined lines.
For example:


CHAPTER ONE
THE WRONG DOOR

becomes

CHAPTER ONETHE WRONG DOOR

I added space to the end of all lines, except blank lines and now it
gets me pretty much what I was looking for.

Thanks,

Jim
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Flash and Xorg 7.1?

2006-06-09 Thread Jim
* on the Fri, Jun 09, 2006 at 12:39:40AM -0400, Willie Wong said:
 I am not quite sure what went wrong. 
 
 The result: http://www.math.princeton.edu/~wwong/20061600026.png
 whenever I try to access a website with flash content on it, the
 weird bands of messed-up stuff appear across the screen. It does go
 away after I close the offending tab, and performs some action that
 forces X to redraw. 
 
 This started happening after I did a largish update after being away
 for 2.5 weeks. I think the problem is either with X, firefox, or
 flash, though it might go as far as the video driver. Any ideas?
 (Or, can anyone reproduce the behaviour?)
 
 
 And so I use the built-in radeon drivers. 
 
 Thanks, 
 
   Willie

I have the same issue.  I upgraded gcc to 4.1.x and that has been a mess
since I rebooted.  I need to rebuild world :-)

I get the same flash issue.  Simple flash sites work, flash sites with
video mostly puke now.  I also get display issues with gnome-terminal
where all/most of the text becomes invisible until I hit enter and then
it is redrawn.

I use the binary NVidia driver and thought it was releated to that.
However I am currently downgrading x11-libs/libX11, x11-base/xorg-server
and x11-base/xorg-x11 and all the installed drivers I have under
x11-drivers/*.

I hope this will fix me up because right now I cannot get into Gnome.

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You roll an 18 in Dex and see if you
don't end up with a girlfriend
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
JimD
Central FL, USA, Earth, Sol
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge error with sys-apps/apmd

2006-05-19 Thread Jim
On Fri, 2006-05-19 at 19:31 -0400, Allan Gottlieb wrote:

 I think you need to re-emerge libtool
 and then run
 
 fix_libtool_files.sh 3.4.4
 
 allan

Ahh, thanks for the tip.  I never knew about fix_libtool_files.sh.

Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VMware not running well

2006-05-18 Thread Jim Hatfield

Kevin O'Gorman wrote:

When I run as root, things seem better, but it complains that it was
unable to extablish an IP number for the simulated ethernet card
(networking is set up for NAT).


I had lots of problems initially with running the perl script which
configures the network, but eventually after trying about four times
it just worked.

I'm still having timer problems, vmware complains on startup about
/dev/rtc not being available (though it is, and the module is
compiled into the kernel). A FreeBSD guest keeps complaining that
time is running backwards. Playing Gnometris on a Ubuntu guest is
really really easy since the blocks take a minute to descend :-)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -unicode USE flag

2006-05-13 Thread Jim

Mark Knecht wrote:

On 5/13/06, Richard Fish [EMAIL PROTECTED] wrote:

On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote:
 Hi,
I wonder if anyone could explain the USE flag 'unicode' better than
 the Gentoo description located here:

 http://www.gentoo.org/dyn/use-index.xml

 unicode Adds support for Unicode

I think the person who wrote this knows too much. ;-)

Or figured the reader would know how to use google... :-)

http://www.unicode.org/standard/WhatIsUnicode.html

-Richard


That much I did before writing. There are lots of similar sites. Thanks.

However, being a musican and not a computer scientist all of that is
mostly gibberish to lower life forms such as myself. The unicode flag
possibility shows up on some new emerges for fonts. I suppose they are
then fonts that use 16-bits instead of whatever they use when I don't
include the unicaode flag. All that stated, then question still
arises, why would I want these on my system?


Do you speak languages other then English?  If so, that is where Unicode 
can come in.  It can handle a lot more characters then just the English 
alphabet.


I only speak and read English and have no need for those funny 
characters so I built my systems with a global use flag of -unicode.


It won't hurt to include Unicode.  Basically if you want to work with 
any language other then English, just enable Unicode.



Thanks,
Mark


Jim
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - which X terminal do you use?

2006-05-11 Thread Jim

Nagatoro wrote:


Least:
Konsole + Gnome-terminal, slow, and in my opinion horrible color support.
Don't use the tabs since I like to be able to look at all (or many)
sessions at once, so tabs makes no sense to me.


The early versions of gnome-terminal were a little slow.  Have you tried 
gnome-terminal 2.14?  It is *really* fast now.  About 4x faster then 
xterm.  If you use antialiased fonts, xterm gets *real* slow.  xterm is 
more then 60x slower then gnome-terminal for scrolling a lot of 
antialiased text.


http://www.gnome.org/~davyd/gnome-2-14/

Jim
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-09 Thread Jim

Justin Findlay wrote:

On 5/8/06, JimD [EMAIL PROTECTED] wrote:


How would you recommend changing USE flags or making them better?  You
should post suggestions to the devs.  I think they need some fixing as
well.  However, I haven't really thought much about it and so have no
real useful suggestions, yet.


OK, let's think about this for a second.  I'm just shooting from the
hip here.  It may very well be that I don't have any substantial
improvements for USE flags.

but I think it would be easier and faster to set/unset use flags
if they were catergorized.


I like it.  Sounds like a good idea to me ;)

Jim
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Web mail

2006-05-02 Thread Jim
Can anyone recommend a webmail client?  I am looking for something more modern 
than
SquuirrelMal.  I have been using SquuirrelMal, however I find it the interface 
too old
and outdated.

I also looking into the code to see if I could freshen it up.  From a quick 
look, the
code is based on really outdated procedural-style PHP where the code and HMTL 
is all
mushed together resulting in a mess like this in compose.php:


if ($compose_new_win == '1') {
echo 'table align=center bgcolor='.$color[0].' width=100%
border=0'.\n .
'   trtd/td'.html_tag( 'td', '', 'right' ).
'input type=button name=Close onclick=return self.close() 
value='.
_(Close).' //td/tr'.\n;
} else {
echo 'table align=center cellspacing=0 border=0' . \n;
}
if ($location_of_buttons == 'top') {
showComposeButtonRow();

Does anyone know of a good *modern* webmail app?

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] x86 Install CD

2006-04-29 Thread Jim
Is there anyway to modify the x86 install CD?

Last night I tried to install Gentoo on my laptop and things just didn't
work out.

I know all the major devices work with Linux because I put in Ubuntu
6.06 - Dapper Drake and my Intel wireless ipw2200 and sound worked OTB.
The sound didn't work with the Gentoo install CD which is no biggie
since I can fix that after install.  However, the killer was that there
was no support for ipw2200!  I looked in /lib/firmware and there were
the firmware binaries for the 2100, but not the 2200.  I couldn't
download the firmware since Gentoo didn't have support for my wireless
card.  I tried to do an install without network but it failed.  Looking
at the log, emerge tried to get to the net.  I also noticed that there
was no stage-3 on the x86 liveCD installer so I picked to make the
packages from the CD itself.

I put in a pcmcia D-Link card and dmesg showed it, however iwconfig
didn't list it and Gentoo didn't do anything with it.  The docs on the
CD weren't much help for wireless.

I am going on vacation tomorrow and would really like to have Gentoo,
though I will deal with Ubuntu 6.06 if need be.

Has anyone gotten an Intel pro wireless 2200 (ipw2200) working with
Gentoo and more specifically with the installer?

Thanks,

Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I'm going crazy ;-)

2006-04-29 Thread Jim
On Sat, 2006-04-29 at 08:18 +0100, Qian Qiao wrote:

 That's exactly the reason we still use mysql 4.0 in our production 
 environment.
 
 The mysql charset thingy is basically a whole load of mess.
 
 A brief search on mysql's bug database shows some of the encoding bugs
 and unicode key length not correctly calculated are still not properly
 fixed yet they pushed their production version to 5.0.
 
 We might be switching to postgres, at least it supports views,
 triggers and handles encoding properly. The only thing preventing us
 from doing so is that we use Mantisbt, which only works with mysql.

Are you sure it is not an Gentoo thing?  I noticed this as well.  Gentoo
has utf8 in /etc/mysql/my.cnf.  I personally don't need/want utf8.

Some things I noticed with the Gentoo mysql install.

MySQL sucks up a bunch of memory just sitting there.  Looking in my.cnf
the Gentoo defaults are pretty big.  Lowering all the values got mysql
down from 100+ MB  to about 30MB.

Why is it using utf8?  Does mysql 5.x require that?  Couldn't the Gentoo
ebuild make it an option?

When I tried to replace the Gentoo my.cnf with the example 
my-small.cnf, things wouldn't work.  Maybe have the ebuild configure the
three example files so that they all work and then a user can just
symlink to the one they want?

I am not running a production MySQL at home, just a development MySQL so
I want it to have the smallest memory footprint possible.

I would like to stay with MySQL 5.x for the new features.  Switching to
PostgreSQL doesn't really seem like an option (yet).  A lot of the open
source apps out there only target MySQL.  This is especially true with
PHP 4.x apps since PHP Data Objects (PDO) was not available and PHP 4.x
required a slow DB wrapper class/script to target multiple databases and
a lot of code duplications with mysql_*(), PGSQL_*(), etc.  Once/If all
those great PHP-based apps get ported to PHP 5.x and PDO, then
PostgreSQL would be a true option.

Have you tried to just download the MySQL binary and install it in /opt
and see how that works?  I might give that a go.

Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x86 Packages CD image

2006-04-28 Thread Jim
On Fri, 2006-04-28 at 10:42 +0300, Rumen Yotov wrote:
 Hi,
 Can't find anything, too.
 As last resort, if your arch is at at least i686 you could use the
 liveCD-2006.0 directly (to install) or start it and using quickpkg
 make your own binary packages. Save them elsewhere, and use later.
 If arch  i686 can't help.
 BTW: check for Kuroraa-0.2 or better RR4-3.0b, the second is a half
 full DVD with many packages (may be even too many ;) - Gentoo derivates.
 HTH.Rumen

Speaking of quickpkg, does anyone know if one can run quickpkg on an AMD
and have it run on a pentium M?

I compiled my main desktop which is an ADM64 with:

-O3 -msse2 -msse3 -mfpmath=sse -march=athlon-xp -pipe

I am going away for 2 weeks and I am snagging my wife's laptop and
ditching WinXP.  I don't have time to build a fully functional Gentoo
system so I was hoping to be able to use my current one.

My only other option would be Ubuntu or bloated Fedora.

Thanks,

Jim

-- 
gentoo-user@gentoo.org mailing list



Re: [normal] [gentoo-user] OT: Application for video cutting ?

2006-04-03 Thread Jim
* on the Mon, Apr 03, 2006 at 07:08:37PM +0200, Marc Redmann said:
  Would you happen to have a link?  All I found was this guide on doom9:
 
  http://www.doom9.org/index.html?/DigiTV/projectx-fullguide.htm
 
 As Jeremy already mentioned it is in portage, anyway here is the link:
 
 http://sourceforge.net/projects/project-x
 
 brgds, Marc

Thanks for the link.  I found that site the other day, though based on
the description, I thought I had the wrong project:

Project X gives you a look behind the transmissions and tries its best
to handle  repair many stream types and shows what went wrong on
reception.

Jim
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier-imap won't start

2006-04-02 Thread Jim
On Sun, 2006-04-02 at 15:05 +0200, Bo Andresen wrote:

 This script does start it up successfully. Still the initscript doesn't. I 
 have tested that all the variables are set to the same things in the 
 initscript simply by printing them with echo and they are.
 
 /usr/lib/courier-imap/courier-imapd.indirect doesn't exist btw...
 
 I trying to use version 4.0.1
  # eix courier -I -c
 [I] net-libs/courier-authlib (0.58): courier authentication library
 [I] net-mail/courier-imap (4.0.1): An IMAP daemon designed specifically for 
 maildirs

I am using:

[EMAIL PROTECTED] eix -I -c courier
[I] net-libs/courier-authlib (0.58): courier authentication library
[I] net-mail/courier-imap (4.0.4): An IMAP daemon designed specifically
for maildirs

[EMAIL PROTECTED] equery belongs /usr/lib/courier-imap/courier-imapd.indirect
[ Searching for file(s) /usr/lib/courier-imap/courier-imapd.indirect in
*... ]
net-mail/courier-imap-4.0.4
(/usr/lib/courier-imap/courier-imapd.indirect)

Maybe try the newer version with the newer ebuild or just make your own
startup script?

Jim
-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally, the bell rings.

2006-04-02 Thread Jim
On Sun, 2006-04-02 at 17:17 +0200, [EMAIL PROTECTED] wrote:
 Alle 16:55, domenica 2 aprile 2006, david ha scritto:
  What brand and model # is your printer?
 
 HP PSC 1410

Then emerge hplip and they you need to start hplip and cups.

sudo /etc/init.d/hplip start
sudo /etc/init.d/cupsd start

sudo rc-update add hplip default
sudo rc-update add cupsd default

Now you should be able to go to:

http://localhost:631/

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] anyone having apache2 memory issues

2006-04-01 Thread Jim
On Fri, 2006-03-31 at 20:50 -0800, Alan Bailward wrote:
 Hey all.  I recently swapped my apache 1.3 site (personal blog, albums,
 etc) over to apache 2 (stable) and all seemed to go well.  However
 lately I've been having a lot of out of memory issues on the server.
 Even when memory is still available 
snip

What output do you get from: top -b -n 1

For example, here is my apache output:

[EMAIL PROTECTED] top -b -n 1
top - 11:48:06 up 2 days, 15:11,  2 users,  load average: 0.00, 0.03,
0.04
Tasks:  88 total,   2 running,  86 sleeping,   0 stopped,   0 zombie
Cpu(s):  7.4% us,  5.0% sy,  0.0% ni, 86.2% id,  0.8% wa,  0.0% hi,
0.5% si
Mem:   2010484k total,  1678576k used,   331908k free,   264884k buffers
Swap:   522104k total,  136k used,   521968k free,   945556k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
15536 root  16   0 56784  10m 4864 S  0.0  0.6   0:00.16 apache2
16374 apache16   0 57188 9816 3108 S  0.0  0.5   0:00.10 apache2
6481 apache15   0 57172 9780 3100 S  0.0  0.5   0:00.02 apache2

Go through top and see what is sucking up your memory.  Or you can use
gnome-system-monitor, which I like better.

Here is a little program I tossed together to free that cached memory.
Just run it and specify an amount of memory in MB.  Do not run this as
root, a normal user is fine.


I have 2 GB and after running VMWare I run:

mem 1200

Which frees all that cached memory that VMWare sucked up.  If you have 
1 GB, you should turn swap off before you run this, otherwise you might
just be allocating memory from swap and defeat the purpose.

Before you run the program, look at the output of free to see how much
you should try to free.  For example,

[EMAIL PROTECTED] free -m
total  used  free  shared  buffers  cached
Mem: 1963  1643   3190 258 923
-/+ buffers/cache:  461  1502
Swap: 509 0   509

I have 923 MB sitting in cache.  So if I run:

[EMAIL PROTECTED] mem 1200
allocating: 1200MB bytes of memory
allocated: 1258291200MB bytes of memory
freed 1258291200MB bytes of memory

I now have 1.2 GB free:

[EMAIL PROTECTED] free -m
total  used  free  shared  buffers  cached
Mem: 1963   715  1248   0   45 307
-/+ buffers/cache:  362  1600
Swap:509  0   509

To compile the program, just do:
You can replace $CFLAGS with whatever you like, for example -O3.

[EMAIL PROTECTED] gcc $CFLAGS -o mem mem.c
[EMAIL PROTECTED] sudo cp mem /usr/bin



 BEGIN CUT 
#include stdlib.h
#include stdio.h

int main(int argc, char* argv[])
{
  char* ptr  = 0;
  int   i= 0;
  int   size = 0;
  
  if (argc != 2)
  {
printf(Usage: %s SIZE\nwhere SIZE is the size of 
  memory to allocate in  MB\n, argv[0]);
return 1;
  }
  
  /* get the size in MB from the command line */
  size = atoi(argv[1]);
  
  printf(allocating: %iMB bytes of memory\n, size);
  ptr = (char*)malloc(1024 * 1024 * size);
  
  if (ptr)
  {
printf(allocated: %iMB bytes of memory\n, (1024 * 1024 * size));
for (i=0; i(1024 * 1024 * size); i++)
{
  ptr[i]=1;
}
free(ptr);
printf(freed %iMB bytes of memory\n, (1024 * 1024 * size));
  }
  else
printf(failed to allocate %iMB bytes of memory\n,
  (1024 * 1024 * size));
  
  return 0;
}
 END CUT 

You might want to try:

# mem 225

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Modular X

2006-04-01 Thread Jim
Would this be a problem with the EBuild or with the app?  I am try to
install tightvnc and get the following error.

 Source unpacked.
 Compiling source
in /var/tmp/portage/tightvnc-1.2.9-r1/work/vnc_unixsrc ...
/usr/portage/net-misc/tightvnc/tightvnc-1.2.9-r1.ebuild: line 41: xmkmf:
command not found

!!! ERROR: net-misc/tightvnc-1.2.9-r1 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  tightvnc-1.2.9-r1.ebuild, line 41:   Called die

I take it xmkmf is no longer used in xorg 7.0?

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X

2006-04-01 Thread Jim
On Sat, 2006-04-01 at 22:29 +0200, Alexander Skwar wrote:
 [EMAIL PROTECTED] /var/db/pkg $ epm -qf `which xmkmf `
 imake-1.0.1-r1
 
 Please file a bug against tightvnc, as it's missing
 a dependency.

Will do.

 BTW: Why use tightvnc at all? Realvnc 4 is as fast in
 my experience and there's still somebody workign on it -
 seeing that the last update to tightvnc is dated
 July 2005, I doubt that anybody maintains it anymore.

I am testing out the different vnc versions along with freeNX to see
what will give me the fastest remote desktop.

 Alexander Skwar

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] anyone having apache2 memory issues

2006-04-01 Thread Jim
On Sat, 2006-04-01 at 22:24 +0200, Alexander Skwar wrote:
 Jim wrote:
 
  Here is a little program I tossed together to free that cached memory.
 
 Hm. Why do this? Do you actually get any performance benefits
 after having freed the memory occupied by the cache?
 
 In theory, you shouldn't see any benefits, as the system
 should throw away memory pages occupied by cache stuff,
 as soon as there are more important requests (like
 any malloc).
 
 Or am I wrong?

That is how it should be.  However I noticed when I only had 512 MB of
memory that most of my memory would be used and I would see a lot of
cache.  Instead of that cache being freed or used, I would see a lot of
swap file usage which really kills performance.

I basically don't want to see swap touched unless I actually run out of
physical memory.

The best thing to do besides have a bunch of memory is to tune your
swappiness:

http://kerneltrap.org/node/3000

Now that I have 2 GB of memory, I don't worry about it any more.
However when I had 512MB it was an issues, especially when trying to run
apache, mysql, postfix, courier and a full desktop.

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting the time

2006-04-01 Thread Jim
On Sun, 2006-04-02 at 03:20 +0200, Daniel Waeber wrote:
 hi
 
 i have a problem with changing the time/date of my computer. I only can
 change it temporally till the next reboot. I tried date and ntptime to
 set it. after setting it the system shows the right time, but after a
 reboot i have the old time again. i have no other system running on the
 computer that could change the time, so it is a problem with
 linux/gentoo. do i somehow have to finalize the setting?
 
 thanks in advance !

Edit /etc/conf.d/clock and set CLOCK_SYSTOHC to yes.  This will sync
your hardware clock to your system time when you shutdown/reboot.

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gccmakedep

2006-04-01 Thread Jim
Does anyone know the path to this file?  I am trying to compile
net-misc/tightvnc and have run in to several issues.  I am trying to get
it to compile on xorg 7.0.  If I get it to compile I will submit a bug
report.

I cannot use the standard net-misc/vnc because it wants to merge an
older version of xorg.

I an trying to run x11-misc/vnc2swf to make a demo.  However I cannot
get it to with net-misc/vino or x11-misc/x11vnc.  When I connect to
local host, both of those apps go nuts and start a mirror effect.

So it looks like I need to run a separate xvncserver to do the vnc
recording.

Jim
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Florida, USA, Earth, Solar System, Milky Way

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VIA K8M890/K8M880 (VT8251) supported?

2006-03-25 Thread Jim
* on the Sat, Mar 25, 2006 at 10:59:05PM +0100, Jarry said:
 Norberto Bensa wrote:
 
 
 SATA VT8251 do not work on Linux. There are -very- experimental patches, 
 but I've not tried them myself. Return the board and buy anything else 
 that's not VIA based.
 
 I did. Bought nForce4-based board. Got stuck with sata-II drives
 (lock-ups, crushes, out-of-sync, both in linux and in windows).
 It is a buggy chipset, has problems with nearly all sata-II drives
 (tried Seagate and Samsung) and nvidia does not care a sh*t...
 
 Jarry

I have an ASRock 939NF4G-SATA2 nForce4 based motherboard.  I put a WDC
WD1600JS-22M SATA II hard drive in the system.  Everything has been
workinging perfectly.  The drive is very fast and everything onboard
works.  The system has been very stable.

The only issue I had with the board was that I couldn't get alsa to
work.  So I was stuck with NVidia's OSS based nvsound.  nvsound does
hardware mixing, though a lot of newer programs want alsa.  So I
recompiled everything to do oss.  Today I found a simple fix to get the
onboard audio to work by adding the ID to an alsa driver and recompile.
Now alsa is up and running.

I have had nothing but headaches with VIA and ALi in the past.

This ASRock board is a great value at  $75.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Anyone run Gentoo on a Dell PowerEdge SC430?

2006-03-15 Thread Jim Hatfield

They are so, so cheap right now.

Dell UK has them at £199+VAT for the entry level configuration,
with free delivery to the end of the month. I'm tempted.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Anyone run Gentoo on a Dell PowerEdge SC430?

2006-03-15 Thread Jim Hatfield

kashani wrote:

Jim Hatfield wrote:

They are so, so cheap right now.

Dell UK has them at £199+VAT for the entry level configuration,
with free delivery to the end of the month. I'm tempted.



I've got three of them running Gentoo in our dev environment. 2005.1 and 
2006.0 disks worked just fine and had no kernel or driver issues running 
them as servers without X.


Thanks. I can feel my credit card itching already...
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Memory speed/type

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 162934872 Jim [EMAIL PROTECTED] wrote:
 Are there any programs for Gentoo that can show what speed memory I
 have, i.e. PC2700?  I plan on ordering some memory but I cannot remember
 what speed I put in and I want to be lazy and not unhook everything and
 open it up.
snip
 
 Thanks,
 
 Jim

FYI:  I installed memtest and booted into that and it showed all I
needed to know about my memory.  It is DDR400 by the way ; )

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

iD8DBQFEFZNPeqJ5Vbm4CxYRAtrgAJ0alD8cGOqgvX5Emc3jMeUVa6XAGgCfckLl
FeLZjRfXezNSRBvJx6stQdM=
=m+cz
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Gnome menu editing

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a gnome menu editing app that I can emerge in gentoo?  There
was a menu editor for Gnome in the latest version of ubuntu, though I
can not remember the name of it.

Thanks,

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

iD8DBQFEFZR3eqJ5Vbm4CxYRAjMUAJ9qPTaz1Gl6Gra0N7D0V/GL9yTvfgCeITIz
sWkPJWl4lsdtB1svsvHAemM=
=21te
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mount permissions

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 163718720 Paul Stear [EMAIL PROTECTED] wrote:
 The root of all my rsync/network problems is a permissions problem
 The /mnt/network is
 drwxrwxrwx  3 root root  4096 Mar 13 13:24 test
 
 After I mount using
 mount -t smbfs -o 
 username=paul,password=pass //LKG7DDD5F/gentoobackup /mnt/network
 
 the /mnt/network permissions have change to
 
 drwxr-xr-x  1 root root 0 Mar 13 16:57 test
 
 How do I ensure the permissions stay the same after the mount
 
 Paul

type man mount or man mount.cifs.

Once in man, press / which will let you search.  Now type smbfs and hit
enter.  You should see the options for smbfs.  The interesting ones are:

uid
gid
umask
fmask/file_mode
dmask/dir_mode

uid will let you set a user id for all files

gid will let you set a group id for all files

umask remove umaks bits.  for example if you mount with umask=000,
everything will be 777 or rwx.

fmask/file_mode set the mas for files

dmask/dir_mode set the mask for directories

If you are mounting win2k or higher, you should use cifs.  This is how I
mount my C$ share on my WinXP laptop:

mount -t cifs -o
username=administrator,gid=100,file_mode=0660,dir_mode=0770
//laptop/C$ /mnt/laptop

The above is should be one line.  This will mount my laptops C$ share
and give permission for everyone in the users group to read/write/execute.

If you need to mount  win2k then you would change cifs to smbfs,
file_mode to fmask and dir_mode to dmask.

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

iD8DBQFEFbApeqJ5Vbm4CxYRAm0BAJsEgG+wLteEQ3ObxncyONuQyquOeACfdEDI
KE+BUBJTU1VpvmOEL09MthU=
=djHQ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mobo/proc combination

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 163692080 Hemmann, Volker Armin
[EMAIL PROTECTED] wrote:
snip
 There is no good reason to buy intel today.
 
 But... emm... I bought a Venive S939, 3200+ 1000MHZ HT for less than 130¤ or 
 so just 5Month ago.  so you should get a much better CPU than you wrote for 
 150$

Thanks for the tip.  I did see the Venice core on newegg.  Where did you
get your S939?

Did you do AMD64 for gentoo or just x86?  I just finished getting
everything compiled and setup where I like it.  I won't mind doing it
again if running gentoo in 64-bit on an AMD64 would be a noticeable
difference from running 32-bit on an AMD64.

Jim

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

iD8DBQFEFbqCeqJ5Vbm4CxYRAtG0AJ9B+ZNw9EC5/Pqhgdei3ib6rHnUTgCfft9L
29GXO8rFqf2cCcrz5uFcGkw=
=6M2I
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] -nls

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Does turning off nls break anything?  I did the livecd install and
everything in the base install was compiled with +nls.  Once I started
compiling my own stuff like X, Gnome etc, I change to -nls in my USE flags.

I only speak English so I don't need Native Language Support.  I flipped
the nls USE flag back on and update world/system would have to recompile
a *lot*.

I will probably have all the main software I want compiled in the next
day or two and then plan to do a backup.  I don't want to continue with
those plans if I am going to get burned down the road because I turned
of Native Language Support .  I would rather recompile now while I have
the time ; )

Has anyone gotten burned by turning off Native Language Support?

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

iD8DBQFEFbvgeqJ5Vbm4CxYRAhm5AJ4rWLRsKPumFQjiDxUxEXsId090zACfcveD
TirL03MgRxeJpdB/12pLkPE=
=97Dh
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wget won't concatenate(?)

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 163609048 maxim wexler [EMAIL PROTECTED] wrote:
 Hi group,
 
 I tried wget'ing this on dialup: 
 ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/releases/x86/2006.0/livecd/livecd-i686-installer-2006.0.iso
 
 Then, because I needed to use the phone, after
 downloading 150Megs or so, I ctrl-C'd outta there
 thinking I could pick up where I left off. Wrong!
 
 wget wants to start from the beginning. I gave it the
 -nc option and it reports 'already there, not
 retrieving'. 
 
 What did I do wrong? I've done this before with other
 files and this never happened. Maybe I used a
 different tool, can't remember.
 
 -Maxim

Use wget -c.

Example, you start to download http://www.microsoft.com/linux-kernel.iso
and your connection dies.  To continue you would use:

wget -c http://www.microsoft.com/linux-kernel.iso

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

iD8DBQFEFbJ4eqJ5Vbm4CxYRAlT7AJ9O1C9ozY+YnPwQ4Z83jRAe1H2BbQCeJ0om
uzQ/XGZfHEV0WCSu11eD19E=
=NRPy
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -nls

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 163381024 kashani [EMAIL PROTECTED] wrote:
 Jim wrote:

 Has anyone gotten burned by turning off Native Language Support?

 
 The only thing I've ever run into on the server side that wanted it was
 the Horde framework requiring PHP to have NLS... however I didn't look
 real hard for a workaround so that might not have been a hard requirement.
 
 kashani

Thanks kashani.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEFcaDeqJ5Vbm4CxYRApT8AJ9NTQb/e3AncLtfpQolLwvTdjzqDwCePrnL
TmvJSz39juvl9O1cVZItnpQ=
=i5FQ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mobo/proc combination

2006-03-13 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 164593240 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
 
 Better memory architecture and microcode, larger caches, etc.; you might 
 even get a Hz bump; in the near future, you'll get hw virtualization.  
 There are lot of reasons to choose a modern processor than just the 64-bit 
 mode.  That said, there's very little reason to have less than 1G of RAM 
 these days, and at that point you are well-served to put (at least) your 
 kernel in 64-bit mode.

Is there a how-to on going 64-bit with Gentoo?  Anything special to do
with/for the kernel to go 64-bit?

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

iD8DBQFEFd+UeqJ5Vbm4CxYRAi0xAJ4rvSEyExCXRsJFFA0FGtzsfyp+XwCeOtBJ
8jJMZOdaMktryZtOqkRBr7c=
=Qw+M
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mobo/proc combination

2006-03-13 Thread Jim
On 152923032 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
snip

 (I haven't validated this, but it *shouldn't* break your system.  If you 
 are using LVM and have a little extra space, it might just be better to do 
 a chroot install, then boot into it and remove your old install [don't 
 remove /home!])

Thanks for the details Boyd. ;)

I have plenty of space so I might try the chroot.  I take it I can find
chroot gentoo install instructions on the wiki?

Jim

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Google-Talk

2006-03-13 Thread Jim

Abhay Kedia wrote:

On Monday 13 March 2006 01:07, Mick wrote:

Is there way of setting up a VoIP talk session with another person who is
using Google Talk?  He is running the Google Talk Windoze application.
--

If you don't mind using beta stuff then I just saw this on gentoo forums
http://forums.gentoo.org/viewtopic-t-442920.html

Do tell us if it works.


Dang!!! Why does it have to be a kde app :K

Does anyone know if jingle support is in any gnome app?

Jim

--
gentoo-user@gentoo.org mailing list



[gentoo-user] slots

2006-03-13 Thread Jim

Hey group,

I have dev-db/mysql 5.0.18-r30 installed.  After a sync I get the 
following when I run:


emerge -avb dev-db/mysql-5.0.19

Calculating dependencies ...done!
[ebuild  NS   ] dev-db/mysql-5.0.19  +berkdb -big-tables -cluster -debug 
-embedded -extraengine -max-idx-128 -minimal +perl (-selinux) -srvdir 
+ssl -static 19,074 kB


Total size of downloads: 19,074 kB

I read about slots, however I didn't see anywhere to do an upgrade 
instead of a slot.  I don't want/need to versions of mysql on my system. 
 Is there an option to emerge to tell it to only use the latest version 
of mysql?  Or do I need to emerge -c the older mysql?


Jim
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache (paths not showing in url)

2006-03-12 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 157182712 Tito Valentin [EMAIL PROTECTED] wrote:
 Hans,
 
 It is showing a framset in my page when I view page source.  How would I
 be able to correct this?  If I hit the test site I can see all the paths
 but when I host it live I CANNOT see the paths in the url.
 Hans-Werner Hilse wrote:

Just put a frame break in your main page that you don't want to be in a
frame.  Here is an example script:

script language=javascript type=text/javascript
/* == *
': This forces the current document to the top of any
': frames.
': You MUST either remove it or comment it out if you
': want the page to be frameable in browsers supporting
': scripting.
'* == */
if (top.location != self.location)
{
top.location.replace(self.location);   // pop to top
}
/script


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

iD8DBQFEFDsheqJ5Vbm4CxYRAlctAJ4lpChgD+3GqsA3toEVJ3FcnvicVwCeNasE
GiNEzODFxCwEhHAvFYawbB4=
=OC+n
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem Installing a gentoo | cross compiling install ?

2006-03-12 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 161979872 Keats [EMAIL PROTECTED] wrote:
snip
 if i choose to boot a stage3-x86 and do my install wwith it... when
 i'll reboot, i ll not be able to make an upgrade to 64bit api cause
 my kernel will be in 32 bits...
 
 is there any solution ? thanx.

Why can't you do the stage3-x86 then reboot to a 32bit kernel.  Once you
do that you should be able to compile a 64-bit kernel and add a new grub
menu item for your new 64bit compiled kernel and make sure to set it as
the default.

So basically you will have to do the base system twice.  Once for 32bit.
 Once the 32bit is up and running, you then compile a 64bit kernel and
boot into that and then just recompile your system.

I am not sure if the above will work since I have never had to do it.
Just thought I throw out the suggestion :)

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

iD8DBQFEFFMFeqJ5Vbm4CxYRAv1wAJ9+e4RkIeBKBIulZ58jnRJcJX9l6ACffXQr
9k2j/7ZwglqqmTGq1inrdmA=
=PJYV
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Memory speed/type

2006-03-12 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 147007040 Jim [EMAIL PROTECTED] wrote:
snip
 
 I was thinking of maybe trying one of the freeware apps for windows
 under Wine if there is no app under linux.
 
 Thanks,
 
 Jim

FYI, this did not work :)

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

iD8DBQFEFFTNeqJ5Vbm4CxYRAql0AJ99VZrsGTSfU3qhNyKjuXYqPUeCegCfQNcA
WL4Uy5ONEuIbnc1jbERBIwc=
=11SG
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache security tips

2006-03-11 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 159610784 Willie Wong [EMAIL PROTECTED] wrote:
 On Fri, Mar 10, 2006 at 08:59:09PM -0500, Penguin Lover Jim squawked:
 I was wondering if anyone has some easy to do tips for checking the
 security of Apache.  I am running Apache/2.0.55.  Is apache good with
 handling bad URL's?  I remember with an IIS server I use to have I
 needed to install a url filter to help it out.  I noticed that I get
 requests like the following in my apache log:

 70.121.133.60 - - [07/Mar/2006:21:31:05 -0500] SEARCH
 /\x90\xc9\xc9\xc9\xc9\xc9\

 The above is one line and it is 30,000 characters long in the log file.

 
 Near the end of that line should be the HTTP return code Apache gave
 for that request. What is it? 
 
 On my box it always returns 414 (Request-URI too long), so I doubt it
 would be a problem, beyond a major annoyance when going through the
 logs with 'less'. 
 
 A URI string like that is almost certainly a client trying to exploit
 a buffer overflow. I've never seen it being a problem with my
 (limited) experience running apache. 
 
 HTH,
 
 W

I have not see it be a problem either, Apache returned the same code for
me.  I noticed it because I get errors from webalizer like:

Error: Skipping oversized log record

It is not a big deal.  I just wanted to make sure I have apache locked
down OK.

The long entries look like someone trying to hack into IIS with requests
for exe files.

Thanks for the info,

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

iD8DBQFEExSdeqJ5Vbm4CxYRAqgdAJ0YYDqFV8cAtf6IXGEOLMjuTLAH4QCcDyE4
/F0PCKAW/x6OB5O6foHYA6A=
=ukRJ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache security tips

2006-03-11 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 159600160 Michael Stewart (vericgar) [EMAIL PROTECTED] wrote:
 You may want to look into mod_security for apache as well. IIRC it is
 designed to protect from such attacks.

Thanks for the tip.  I will give mod_security a try.

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

iD8DBQFEEyeEeqJ5Vbm4CxYRAvvtAJ9YQ9cZYUW4VkVc9w55vHg166snhQCfUP1k
w7zGfSfyktK0Fj3vl+0JkYk=
=PaNp
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Memory speed/type

2006-03-11 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Are there any programs for Gentoo that can show what speed memory I
have, i.e. PC2700?  I plan on ordering some memory but I cannot remember
what speed I put in and I want to be lazy and not unhook everything and
open it up.

I tried dmidecode but that doesn't tell me what speed the memory is.
Here is the relevant stuff:

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: MICRO-STAR INTERNATIONAL CO., LTD
Product Name: MS-6570
Version:
Serial Number:

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A0
Bank Connections: None
Current Speed: 10 ns
Type: Other
Installed Size: Not Installed
Enabled Size: Not Installed
Error Status: OK

Handle 0x0007, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A1
Bank Connections: 2
Current Speed: 10 ns
Type: Other
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Error Status: OK

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: A2
Bank Connections: 4
Current Speed: 10 ns
Type: Other
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Error Status: OK

I was thinking of maybe trying one of the freeware apps for windows
under Wine if there is no app under linux.

Thanks,

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

iD8DBQFEE6W0eqJ5Vbm4CxYRAqkcAJ9/DdT7YqCOYS8LsqozhVCOYWs6uQCfZ3MO
yPKVlAACPDMwT4QEwXa24h8=
=g1sh
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache security tips

2006-03-10 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey group,

I was wondering if anyone has some easy to do tips for checking the
security of Apache.  I am running Apache/2.0.55.  Is apache good with
handling bad URL's?  I remember with an IIS server I use to have I
needed to install a url filter to help it out.  I noticed that I get
requests like the following in my apache log:

70.121.133.60 - - [07/Mar/2006:21:31:05 -0500] SEARCH
/\x90\xc9\xc9\xc9\xc9\xc9\

The above is one line and it is 30,000 characters long in the log file.

Thanks for any tips,

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

iD8DBQFEEi7teqJ5Vbm4CxYRAjt0AJ9tVjVWHQ2H9OzBVhxGkqbhL5vizQCfSVPo
B/IHirSOHB3Xr4izkO48Rug=
=ubVq
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Switching to Gentoo

2006-03-09 Thread Jim
Hey group,

I am a long time Linux user, however I am new to Gentoo.  I used Red
Hat/Fedora for many years, then my own Linux based on LFS and the last
year I have been using Ubuntu.

I really like Ubuntu because of apt, however I have had frustrations
with Ubuntu because it could be a pain to get newer versions of packages
installed.  For example Ubuntu defaulted to Apache 1.x for mod_mono.

I have now been using Gentoo for a few days and I am running into some
issues I hope this group can help with.  At first emerge was trying to
merge some really old packages.  For example I wanted mysql 5.x, php 5.x
and Apache 2.x and Gentoo was only going to install mysql 4.x.  I did
find out about ACCEPT_KEYWORDS=~x86 which has helped with getting more
recent versions of software installed.

I am looking for any good links, tips, suggestions of admin software to
emerge, etc to help me learn the ins-and-outs of Gentoo.  I have tons of
questions but don't know where to look.  Well, I can google but that
takes ages and I was hoping many of you on this list will have a nice
set of bookmarks on gentoo admin, handy gentoo software, tips etc.

Some tasks I could do in Fedora/Ubuntu that I want to know how to do on
Gentoo:

See list of all *installed* software.
Browse available software that can be installed.
See what version of a particular software package is installed.
See if any new versions of *installed* software are available.
...

Thanks,

Jim

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Switching to Gentoo

2006-03-09 Thread Jim




Mantas Povilaitis wrote:

  On 3/9/06, Jim [EMAIL PROTECTED] wrote:
  
  
Hey group,


  
  snip
  
  
Some tasks I could do in Fedora/Ubuntu that I want to know how to do on
Gentoo:

See list of all *installed* software.
Browse available software that can be installed.
See what version of a particular software package is installed.
See if any new versions of *installed* software are available.
...

  
  
For these tasks I use Kuroo (for KDE, http://tux.myftp.org/).
I know where is something similar for GNOME too.
  

What would be the Gnome equivalent? I use and prefer Gnome :)

Jim




Re: [gentoo-user] Switching to Gentoo

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bo Andresen wrote:

snip

 HtH

Thanks Bo, that what what I was looking for.  Thanks to everyone else
as well.  I will know have a long and fun night of playing in Gentoo : )

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

iD8DBQFEELNReqJ5Vbm4CxYRAiAAAJ97tMuUwyt7CLWZ4MmcriFmDxdoXACaA0XD
rxV+tE9COQuqPTWFqZNCWCY=
=I3rx
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
* on the Fri, Mar 10, 2006 at 12:24:58PM +1100, TN said:
snip

 The grub boot lines are:
 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
 initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

I think I read somewhere that JFS needs to be booted rw instead of ro.
Try to change your kernel= line to this:

kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 rw

*NOTE* the above should be ONE line.

P.S.  Why didn't you try ReiserFS or ext3?  I have always used reiserfs
without issue and find it to be very stable and very fast.

Jim
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim wrote:
 * on the Fri, Mar 10, 2006 at 12:24:58PM +1100, TN said:
 snip

 The grub boot lines are:
 root (hd0,1)
 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
 initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

 I think I read somewhere that JFS needs to be booted rw instead of ro.
 Try to change your kernel= line to this:

 kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
 init=/linuxrc ramdisk=8192 real_root=/dev/hda2 rw

 *NOTE* the above should be ONE line.

 P.S.  Why didn't you try ReiserFS or ext3?  I have always used reiserfs
 without issue and find it to be very stable and very fast.

 Jim
I got it backwards.  Change the rw to ro like so:

kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 ro

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

iD8DBQFEEN+feqJ5Vbm4CxYRAh1rAJwKHftjbW/HYTuPjP4o7XX79iqg9ACfcT6F
2vFpERIygQVKVcc2xNejTc8=
=ZU8Y
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] AA Fonts

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am wondering if I messed up something during my build of Xorg.  Some
fonts look real nice on my system while others look like junk.

Here is a page showing what is going on:
http://keeliegirl.com/temp/fonts.html

Courier looks like garbage until about 16px.

Courier New looks better, though it is faint and not well aliased/hinted.

Bitstream Vera Mono looks nice, along with all the other Bitstream fonts.

My problem is that there are a lot of web sites (coding) that have
code sections that use Courier as the font, for example the Gentoo
Forum here:
http://forums.gentoo.org/viewtopic.php?p=1398168

I also get a lot of MS Word and MS Excel documents from work that all
use MS Fonts like Arial, Times New Roman, etc.

Is there anything I can do to fix up these fonts?  I have the following
TTF fonts installed:

/usr/share/fonts/TTF/
/usr/share/fonts/dejavu/
/usr/share/fonts/corefonts/
/usr/share/fonts/ttf-bitstream-vera/

Thanks,

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

iD4DBQFEEOXBeqJ5Vbm4CxYRAm8QAJ43+9woiYSxURl8WJSIjRAWWEduTQCSA3Fj
QrP4mDOuE2gQpeE9k66JZw==
=Z5J/
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 I have tried both rw  ro since I had 2 different replies about this
 problem - unfortunately both failed with the same error as before.

 I use JFS since I find that it's fast  stable too like Reiser. I
 tended to use a scattering of filesystems in the past so that I had
 experience of them all, but I'm gravitating towards JFS mostly now
 on my servers. I've done extensive speed testing using IOZone
 (http://www.iozone.org/) and for our systems, our drives, our
 application I just liked jfs. Not a lot between them all though
 apart from speed of file creation/deletion.

 thanks
 Trevor.
Did you try to boot from the livecd, or another boot cd, and see if
you can even mount your JFS partition?

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

iD8DBQFEEOxeeqJ5Vbm4CxYRApsdAJ9VGwyvgFzd0UcVVP4H89Rm8YWizwCeJ67S
XapNTue457pE2cDqY3DrdOg=
=v5sW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fairwell for now

2006-03-09 Thread Jim
* on the Thu, Mar 09, 2006 at 07:06:14PM -0800, A.R.S. KA9QLQ Alvin Koffman 
said:
 Well I can't get the live cd to boot so I'll check back in a year to see
 if Gentoo has it's act togather yet. I do look forward to running Gentoo,
 someday.
 Alvin

The live cd is still pretty new and could have some bugs.  What issues
are you having?  Do you get any error messages?  What are the specs of
the box you are trying to boot it on?

Jim
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 Yes I have. It mounts fine when
using the livecd to boot from. I can
 read/write to it no problem, and all the file structure is there.
 I've had a look at the bootlog with dmesg, and I'm now thinking
that
 the installed kernel doesn't have JFS modules/support in
it..the
 boot identifies the partitions (hda1, hda2 etc), but then it
tries
 to mount hda2 with almost every fs APART from my beloved jfs.
It's
 tried Reiser, XFS, ext2, ext3, vfs - everything but jfs.

 OhI don't fancy another 6 hour install!!

 Send instant messages to your online friends
 http://au.messenger.yahoo.com -- gentoo-user@gentoo.org mailing
list 

Can you build a kernel? I could build a kernel for you with JFS
support and zip up the kernel image from /boot and everything under
/lib/modues.

Or see if you can use a boot CD to boot, then chroot to your JFS drive
and build your own kernel.

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

iD8DBQFEEQJaeqJ5Vbm4CxYRAnppAJ9qNlnsEhYZi9YMDfzOa1x88CdyEQCdF729
Byaw75q1y2+WTa8c+DmWMC0=
=Mm9v
-END PGP SIGNATURE-





Re: [FIXED] Re: [gentoo-user] newbie livecd installation dual boot problems

2006-03-09 Thread Jim




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

TN wrote:
 TN wrote:
 Jim wrote:

 Can you build a kernel? I could build a kernel for you
with JFS
 support and zip up the kernel image from /boot and
everything under
 /lib/modues.

 Or see if you can use a boot CD to boot, then chroot to
your JFS drive
 and build your own kernel.

 Jim

 Jim  Kirby:
 I haven't built a kernel in gentoo, but I have plenty of
times on
 other distros (suse/debian) in the past.

 thanks for your offer to build the kernel for me. I was just
 preparing when I've corrupted /dev/hda2 by my own dumb
 fault.I reset the machine while /dev/hda2 was still
mounted. It
 wont mount now. gah! I havent' any time left today, so I'll
leave
 it to tomorrow.

 thanks guys
 -Trevor.

 Well thanks again guys, I now have a booting gentoo system. The
 partition wasn't too damaged and I was able to build a jfs
enabled
 kernel.
 Now to sort out my kde probs :)

 cheers
 -Trevor
How long did it take you to build a kernel? It seemed pretty fast
since I emailed you.

An easy fix for your kde probs is to use Gome : )

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

iD8DBQFEERc9eqJ5Vbm4CxYRAuh5AJ9KZrIWofYUVt0Ondh4FB0ykHSNUwCeKKqL
F3zpQnUrY42RSi8Xz7sPAbI=
=SKo6
-END PGP SIGNATURE-





Re: [gentoo-user] vnc.so

2006-01-06 Thread Jim Burwell

Tom Smith wrote:


Hi all,

I installed vnc with the server USE flag enabled. I've been 
working on getting the vnc.so module loaded for X.org and now have it 
working. My question is, is this module a part of RealVNC or some 
other program? (I tried to locate a description of the use flags for 
VNC but was unable to.)


Thanks in advance for the help.



Yes the vnc.so X module is part of the VNC package.  AFAIK its purpose 
is to implement the shared display # 0 functionality, where you can 
start a VNC session and interact with the system's local :0 X 
display.  That is, say that you're logged into the target machine itself 
and have an X session running on it attached to the system's monitor/vid 
card/KB/mouse.  The vnc.so provides the functionality to attach to THAT 
session.  Note that not all VNC packages support this (notably TightVNC 
doesn't, but RealVNC seems to, although I havn't tried it.  There's also 
'xf4vnc' and 'x11vnc' which appear to provide the functionality).  
Perhaps the module is also used in the normal Xvnc session also, but 
TightVNC doesn't even include the module and it implements Xvnc.


Normally, vncserver starts up its own X server (Xvnc) which uses a new X 
display number which is completely independant of any X server which may 
be running on the target system.  Perhaps this is what you're really 
looking for ?  If so, it's very easy.  Just run something like 
'vncserver -depth 24 -geometry 1024x768' and you'll be able to attach a 
VNC viewer to the virtual X display by connecting the viewer to 
hostname or IP:1.


- Jim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-16 Thread Jim Burwell




[EMAIL PROTECTED] wrote:

  

  If a disk fails,
your system would likely crash (due to the swap device), but would
reboot in a degraded mode (no swap, slow performance, etc).
  

You could avoid that by not using RAID for swap. Instead, use four
separate swap partitions, one on each drive. As long as they all have
the same priority, the kernel will share swap duties between them
equally.

  
   
If you make more swap partitions on more physical drives with the same
priority, it is the same as swap on raid0: system strips swap across
drives. And if some drive crashes and swap partition on that drive has
been used, very probably system crashes too. But then reboots at least
with remaining swap partitions...
  


Yes, although there's a posibility of an 'endless crash/reboot'
scenereo here, if the errors are 'soft' (e.g. not drive just
vanishing). For instance, a few bad sectors develop on one of your
swap partitions, the kernel can't read them, and panic/reboots. The
system comes back up, the same swaps are used, and it happens again,
over and over until you edit the bad partition out of the fstab.

In a redundant RAID situation, I'm presuming that a bad sector or two
would result in the RAID driver detaching the bad drive, and chugging
along in degraded mode, where if this happened in a distrubuted swap
situation, it's already 'too late', since the sectors are lost and the
kernel would probably panic.


  
There's no real benefit to using RAID for swap, unless you are
limited on RAM and use swap a lot, when RAID0 may help.

  
  
There is some benefit, if you use raid1 for swap. In such a case
even drive failure does not cause system crash, because swap space
is mirrored too. But raid1 slightly degrades swap performance...
  


This is exactly why I'm doing RAID1 on swap. If one drive goes poof, my system stays up. Based on what this server is going to do, it should rarely use much swap, so swap performance isn't a priority for me. Plus, as you say, I believe the performance hit on swap writes (reads should actually be faster) should wind up being only a bit slower than if you were swapping to a single drive.


- Jim

-- 
+---+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco  |
| "..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089 |
+---+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---+




Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Jim Burwell




Richard Fish wrote:

  On 12/15/05, Ognjen Bezanov [EMAIL PROTECTED] wrote:
  
  
I have found Linux Software RAID very useful and reliable. While
probably being beaten in the performance  area by hardware
implementations,

  
  
I just want to point out that when we are talking hardware here, we
mean real hardware RAID...made by companies like 3-ware.  The
'hardware' RAID in the NForce4 chipset (like just about all MB chips,
and a lot of the cheap add-in cards) is just a BIOS helper...all of
the actual RAID functions are expected to be implemented by the driver
running on the CPU.

  

Don't you hate how the hardware and mobo manufacturers have muddied the
hardware RAID waters by marketing this sort of thing has hardware RAID
(or at least implying it) ?

Another thing to check out, seeing that he has a mobo with built in
ghetto-RAID (TM), is dmraid.
This is a device mapper implementation of RAID which makes use of
various fake hardware RAID metadata to support them under Linux.
Someone's also done up a Gentoo LiveCD
with dmraid support on it too (who knows, perhaps the latest liveCDs
have it also). The only advantage of using this I can see is the
ability to to make use of the BIOS RAID helpers to create and manage
your arrays, and deal with the inherent boot time issues. I'm not sure
about the stability or reliability of this though, as I havn't used it,
and the readme doesn't really give me courage :-). Anyone using this
successfuly ? It seems interesting.

I just put together a little home server which uses both Linux RAID
(md) and LVM2 on an old Abit KG7-RAID motherboard. Even though it has
a built in Highpoint HPT37X "RAID chip" (a ghetto-RAID BIOS helper), I
decided to go with good old "md". I've tested it by pulling power on
drives, and it even boots up when the 'primary' drive doesn't exist
(boot blocks on both mirrored drives of course). Seems to work very
well. I have /boot mirrored (md0), and root and swap on LVM2
partitions which live on another mirrored partition (md1). 

For any wanting to do similar, you just need to set up GRUB on both
drives, and make sure your have initramfs support for starting up md
and LVM2. Generkernel will produce a kernel with this if you compile
the md drivers into the kernel, and include --lvm2 in the genkernel
flags. Make sure you include "dovlm2" and lvmraid=/dev/mdX lines for
each of of your RAID devices on the boot line, which tells the linuxrc
scripts to start up your RAID devices in the initramfs so it can mount
your LVM2 root partition.

- Jim

-- 
+-------+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco  |
| "..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089 |
+---+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---+




Re: [gentoo-user] Knoppix Install Method

2005-12-11 Thread Jim Burwell
 though.



--
+---+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| I never let my schooling get in the way of my education. - Mark Twain   |
| UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things. - Doug Gwyn  |
| Cool is only three letters away from Fool - Mike Muir, Suicyco  |
| ..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.. - Thomas Paine, Common Sense (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089
 |
+---+
|  Reply problems ?  Turn off the sign function in email prog.  Blame MS. |
+---+

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] raid1 + lvm2

2005-12-10 Thread Jim Burwell




Jarry wrote:

  Hi,

I'm going to re-install gentoo on a small hobby-server and because
I need both redundancy and flexibility, I thought in addition to
raid1 (2x 160GB ata-disk) this time I would also use lvm2:

/dev/md0 /boot   (~50MB)
/dev/md1 /   (2GB)
/dev/md2 swap  (2GB)
/dev/md3 lvm2(rest for /var /tmp /usr /opt /chroot /home)

Is this generaly advisable solution (lvm2 over raid1), or is there
some risk in using raid1 together with lvm2 ?

One more question concerning partition type:
If I want to use raid1, I have to set all those 2x4 (hda+hdc) primary
partitions as type fd (raid autodetect). Is it not problem later for
lvm2 when preparing and creating volume-group? Because lvm-guide says
something about setting partition type to 8e (linux lvm), which I can
not do, if I want to use raid1...

Jarry
  


I recently set up a server like this. I have /boot, swap, and root
mirrored using linux RAID (md), and swap and root partition is an LVM2
partition.

There's no problem with setting the partition types of 0xfd. LVM2
doesn't have a problem with it.

One thing you need is a initrd or initramfs setup to get all this stuff
up and running during boot. I found the easiest way to do this was to
use genkernel. Here's are some quick notes on how I got this working
using the gentoo-sources-2.6.14-r2 kernel:


  Create your partitions using fdisk (/boot, and LVM2 partition for
swap and root) on both disks.
  Set up RAID1 mirroring for these partitons (/boot md0, LVM2
swap/root md2)
  
  
  Add the md1 device as a physical volume, and create a volume
group and logical volumes for swap and root inside it.
  
  
  Do high level formats on your new /boot partition and root
volume, and mkswap on your swap volume..
  
  
  Use genkernel to configure your kernel making sure to include
this option: --lvm2
  
  
  Make sure the linux RAID (md) stuff is compiled into the kernel.
The LVM2 (dm) stuff can be modules.
  
  
  Make sure you include these kernel flags in your grub.conf or
lilo.conf file: 
  


  
root=/dev/ram0 init=/linuxrc real_root=/dev/vg00/root dolvm2
lvmraid=/dev/md0 lvmraid=/dev/md1
  

(Those last two flags don't seem to be documented anywhere, but are
required for the genkernel produced linuxrc scripts in the initramfs to
start up the md devices before it scans for the LVM2 stuff)

All this is probably easier done, if possible, during the install from
a livecd. I did it backwards myself. I got a basic gentoo system
running on one drive with normal partitions, then transformed it into
the RAID/LVM system. I did this by creating the Linux RAID partitons
on the second drive with 'missing components' using mdadm (I use mdadm
instead of the traditional raidtools). This allows you to create your
RAID1 volumes with only one drive, the volumes coming up in degraded
mode. You can then do your LVM2 volume creation stuff and create your
filesystems, etc, get them mounted, and copy your basic system from the
non RAID drive to your new volumes. Then you can update your fstab,
set up your bootloader on the RAID drive, and test boot, etc, making
sure the system comes up using the RAID/LVM2 setup, while having the
original drive for backup in case things don't work. Once you're
confident things will come up on the RAID/LVM2 setup, you can
repartition the original drive, and "hotadd" the partitions to your
RAID volumes. Linux RAID will then sync the formerly missing
components, and voila, you now have a synced/clean RAID1 system.

Hopefully that all made sense. I banged my head against it for a while
getting this set up to boot up (the final key was the lvmraid= flags
which cause the linxrc to start up the md devices. I had to read
through the linuxrc scripts to figure this one out).

Good luck.

-- 
+---+
|     Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco  |
| "..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)|
+---+
|   Email:  jimb at jay ess bee cee dot com   ICQ UIN:  1695089 |
+---+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---+




[gentoo-user] Does the automounter support direct maps?

2005-11-29 Thread Jim Hatfield
The man page for auto.master(5) refers to direct maps, ie 
The mount-point for the direct map is always specified as /- in the
auto.master map.

My auto.master map looks like this:

speyburn ~ # ypcat -k auto.master
/home auto.home
/mp auto.mp
/- auto.direct

and my auto.direct map looks like this:

speyburn ~ # ypcat -k auto.direct
/users -rw,soft banff:/export/home/banff

So a reference to /users/username should result in 
banff:/export/home/banff being mounted on /users - but
this does not happen, I get no such file or directory.

Also I only have two automount daemons running, for the
two indirect maps. Can the Gentoo automounter handle direct
maps?

BTW while experimenting with this I found a funny in pam.
/etc/pam.d/xdm refers to pam_console.so, but there is
no such module in /lib/security. Is this provided by
a user package? I can't remember the incantation for searching
the whole package set for a single file, even if that
package isn't installed.

Also BTW is it worth reporting on errors in man pages?
The man page for autofs refers to /etc/autofs/init.d/autofs,
where it should be /etc/init.d/autofs.


-- 
gentoo-user@gentoo.org mailing list



  1   2   >