[gentoo-user] Re: Hard crash starting wifi in master mode (am desperate)

2008-04-12 Thread Grant
 I'm trying to move my network's router/AP functions to a different
  system.  Whenever I start the madwifi card in master mode in the new
  system the whole system locks up hard, although the CD tray still
  opens.  There is nothing in /var/log/*, the keyboard LEDs do not
  flash, and I've tried 2.6.23-hardened-r7 and 2.6.23-hardened-r9.  The
  old system works just fine with the card in master mode.  The old
  system is x86 and the new one is amd64.

  I've been working on this router move for about 8 hours straight.
  Does anyone have any ideas?

  - Grant

I also should have said that I've tried every version of madwifi-ng in
portage and a 'make mrproper' of my kernel to ensure a clean build.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] NAT alternatives (nf_conntrack kernel panics)

2008-04-13 Thread Grant
My Gentoo router kernel panics with an skb_over_panic message when
Netfilter connection tracking (nf_conntrack) is built into the kernel
or built as a module and I start net.ath0 (madwifi-ng) in master mode.
 I've tried hardened-2.6.23, hardened-2.6.24, madwifi-0.9.3.3, and
madwifi-0.9.4.

nf_conntrack seems to be required in order for NAT to work, so I've
been looking for alternatives.  I found mention of Fast NAT and
nf_nat, both of which are supposed to be alternatives to
nf_conntrack, but maybe they are no longer existent because I can not
Google specifics on either and I can't find them in the kernel.

I've put 16 or so hours into this so far so I'll head to Staples for a
temporary Linksys soon.  I sure would like to have Gentoo routing
though.  Please let me know if you have any ideas.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: NAT alternatives (nf_conntrack kernel panics)

2008-04-13 Thread Grant
 My Gentoo router kernel panics with an skb_over_panic message when
  Netfilter connection tracking (nf_conntrack) is built into the kernel
  or built as a module and I start net.ath0 (madwifi-ng) in master mode.
   I've tried hardened-2.6.23, hardened-2.6.24, madwifi-0.9.3.3, and
  madwifi-0.9.4.

  nf_conntrack seems to be required in order for NAT to work, so I've
  been looking for alternatives.  I found mention of Fast NAT and
  nf_nat, both of which are supposed to be alternatives to
  nf_conntrack, but maybe they are no longer existent because I can not
  Google specifics on either and I can't find them in the kernel.

  I've put 16 or so hours into this so far so I'll head to Staples for a
  temporary Linksys soon.  I sure would like to have Gentoo routing
  though.  Please let me know if you have any ideas.

  - Grant

FIXED!  I changed preemption support to voluntary and changed the CPU
settings in the kernel config to match my Sempron now that my X2 is
dead.  One or both of those fixed it.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] postup() syntax help

2008-04-13 Thread Grant
I'm having trouble getting an iwconfig command to execute after the
wlan0 interface has started.  The following executes after net.lo
starts but there is no message about it executing after net.wlan0
starts and the rate is not limited like it is when I execute the
command manually:

postup() {
 if [[ ${IFACE} = wlan0 ]]; then
 iwconfig wlan0 rate 1M
 fi
 return 0
}

Does anyone see where I'm going wrong here?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] VirtualBox libSDL segfault

2008-05-02 Thread Grant
When trying to install an XP guest on a Gentoo Linux host I get the
following in dmesg:

VirtualBox[31849]: segfault at 2d5b4ae0 ip 7fd12ddb9cf6 sp
7fff37a9ac60 error 4 in libSDL-1.2.so.0.11.0[7fd12dda4000+64000]

also:

VirtualBox[13373]: segfault at 2759ae0 ip 7ffa02f5ee56 sp 7fff0cc3fe00
error 4 in libSDL-1.2.so.0.11.2[7ffa02f49000+65000]

Does anyone know how to fix this?  I've tried ~amd64 versions of sdl
stuff to no avail.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: [wildly OT]advice for a wireless antenna?

2008-05-10 Thread Grant
 I'm talking about the USB wireless adapter (I don't think I can
 connect the antenna to my laptop directly),
 not the passphrase key...

 Ah. I've got a Hawking HWUG1 USB WiFi adapter that works fine
 with Gentoo (I had to download driver source from somewhere).
 It's got an R-SMA connector for use with external antennas.

I've had good luck using these together:

http://www.newegg.com/Product/Product.aspx?Item=N82E16833164015

http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

Use the rt2x00 driver included in 2.6.24 kernels.

I should mention though, I attached that antenna to a PCI madwifi card
and it works much better.  Obviously that won't work for a laptop or
if you want to move the antenna a distance from the computer via USB
cable as opposed to antenna extension cable.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: [wildly OT]advice for a wireless antenna?

2008-05-12 Thread Grant
   I'm talking about the USB wireless adapter (I don't think I can
   connect the antenna to my laptop directly),
   not the passphrase key...
  
   Ah. I've got a Hawking HWUG1 USB WiFi adapter that works fine
   with Gentoo (I had to download driver source from somewhere).
   It's got an R-SMA connector for use with external antennas.
  
   I've had good luck using these together:
  
   http://www.newegg.com/Product/Product.aspx?Item=N82E16833164015
  
   Yup, that's the one I have.  That's a good price on it, too.
  
   http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110
  
   I've also got one of those antennas and it's exellent.  It
   provides a little (1-2dB) more gain as my double-biquad
   reflector, but it's a lot cheaper (assuming your time is worth
   much), and a bit easier to use, since it will sit nicely on a
   table or windowsill.

  Seems a nice combo, indeed.
  A curiosity: by itself, the Hawking USB adapter has more or less
  sensitivity than the simple Airport glued to my Macbook motherboard?

I think it depends a lot on the maturity of the drivers.  As I said,
my Netgear PCI card uses the madwifi drivers and vastly outperforms
the Hawking adapter.  The Hawking's drivers are fairly new (rt2x00)
and madwifi has been around for quite a while now.

I do have another rt2x00 adapter that performs noticeably worse than
the Hawking.  It's a Linksys and it has no external antenna.

Also worth noting is that this item:

http://www.newegg.com/Product/Product.aspx?Item=N82E16833315075

uses rt2x00 but has some type of failure issue.  Possibly heat
related, possibly not.  I've experienced it firsthand.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: [wildly OT]advice for a wireless antenna?

2008-05-12 Thread Grant
   What do you mean by outperform?  I can see how drivers can
   affect throughput.  The Windows drivers for my Laptop's WiFi
   chipset (Intel Pro-something) only get about 1/4 of the
   bandwidth that the Linux drivers do.
  
   But, I don't understand how the driver can affect receiver
   sensitivity.  That's purely a function of the design of the RF
   frontend.
  
   As modified by the firmware in the device. OK, it's not the
   driver per se, but it's certainly not the hardware either

  Sorry, I don't see how firmware can affect sensitivity. I've
  been involved in writing firmware for RF data communications
  stuff for a long time, and I've certainly never been able to
  affect sensitivity.

I can say that I was really struggling to get a reliable wireless
connection with the rt2x00 device and Hawking external antenna
anywhere in my garage.  I tried the madwifi device attached to the
same Hawking antenna and the difference was ridiculous.  I got a
perfectly reliable signal from the back of the garage, the point
furthest from the signal's source.

Now that I think about it, I could have enabled outdoor mode for
madwifi, but I can't check it right now.  Could that account for the
difference?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: [wildly OT]advice for a wireless antenna?

2008-05-13 Thread Grant
Sorry, I don't see how firmware can affect sensitivity. I've
been involved in writing firmware for RF data communications
stuff for a long time, and I've certainly never been able to
affect sensitivity.
  
 
  I can say that I was really struggling to get a reliable wireless
  connection with the rt2x00 device and Hawking external antenna
  anywhere in my garage.  I tried the madwifi device attached to the
  same Hawking antenna and the difference was ridiculous.  I got a
  perfectly reliable signal from the back of the garage, the point
  furthest from the signal's source.
 
  Now that I think about it, I could have enabled outdoor mode for
  madwifi, but I can't check it right now.  Could that account for the
  difference?
 

  What's madwifi outdoor mode? I googled but I can't find some readable
 information.

The only info I have is from /etc/conf.d/ath_pci:

# outdoor:  Enable/disable outdoor use
# countrycode:  Override default country code
options ath_pci outdoor=1 countrycode=0

Now that I look at that, the sensitivity difference could also be due
to my unsetting the country code.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Should /boot be mounted to upgrade grub?

2008-06-01 Thread Grant
Should /boot be mounted to upgrade grub?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Should /boot be mounted to upgrade grub?

2008-06-01 Thread Grant
 Should /boot be mounted to upgrade grub?

 If /boot is not mounted by default, then yes.  The menu.lst
 and grub.conf files live in /boot/grub and these are updated
 when grub is upgraded,  although menu.lst is usually a symlink
 to grub.conf.

 If you're upgrading grub through the emerge process, then /boot
 will be mounted for you, IIRC.

 --
 Ian Hilt

Awesome thanks guys.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] /boot keeps mounting itself

2008-06-02 Thread Grant
I've been noticing this for awhile and it's time I ask you guys about it:

# mount /boot
# umount /boot
# mount /boot
mount: /dev/hda1 already mounted or /boot busy
mount: according to mtab, /dev/hda1 is already mounted on /boot

A few hours elapsed after the second command was issued, but these
commands were issued sequentially.  I guess something in the system is
mounting /boot?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] /boot keeps mounting itself

2008-06-02 Thread Grant
 I've been noticing this for awhile and it's time I ask you guys about it:

 # mount /boot
 # umount /boot
 # mount /boot
 mount: /dev/hda1 already mounted or /boot busy
 mount: according to mtab, /dev/hda1 is already mounted on /boot

 A few hours elapsed after the second command was issued, but these
 commands were issued sequentially.  I guess something in the system is
 mounting /boot?

 If you run mount without parameters, it tells you list of mounted
 filesystem. So you can have a look, if it is really mounted.

That's what worries me, it really is mounted.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] WARNING: mod_perl-2.0.4

2008-06-06 Thread Grant
I upgraded from mod_perl-2.0.3-r2 to 2.0.4, restarted apache2, and the
website broke.  It turns out I needed to move
apache2-mod_perl-startup.pl from:

/etc/apache2/conf/modules.d

to:

/etc/apache2/modules.d

and use a newer version of the file that didn't use 'use Apache2 ();'
as well as a bunch of 'Apache::' stuff that should have been
'Apache2::'.  It's confusing because I remember that API change was a
while ago and things have been running just fine with the 'Apache::'
stuff in the file until now.

Should I remove '/etc/apache2/conf/'?  I still have some webalizer
stuff in there.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Weird SMP problem

2008-06-08 Thread Grant
I swapped out my Sempron for an Athlon X2 4000+, but when I have
Symmetric multi-processing support enabled in the 2.6.24-hardened-r2
kernel, the system freezes as soon as the madwifi wireless interface
starts in master mode.  Weird.  Any ideas?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Weird SMP problem

2008-06-09 Thread Grant
 I swapped out my Sempron for an Athlon X2 4000+, but when I have
 Symmetric multi-processing support enabled in the
 2.6.24-hardened-r2 kernel, the system freezes as soon as the madwifi
 wireless interface starts in master mode.  Weird.  Any ideas?



 http://madwifi.org/ticket/1903

 has the solution. Apparently it's a kernel bug, hitting a lot of people
 and a workaround is to downgrade to madwifi-0.9.3.3

Thanks Alan.  Compiling madwifi-ng-0.9.3.3 I get:

ARCH mismatch: supplied x86, determined x86_64.

It's covered here:

https://bugs.gentoo.org/show_bug.cgi?id=205116

and the solution seems to be upgrade to 0.9.4.  Hmmm.  I think my only
option is to disable SMP support until this is fixed.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Weird SMP problem

2008-06-09 Thread Grant
 and the solution seems to be upgrade to 0.9.4.  Hmmm.  I think my
 only option is to disable SMP support until this is fixed.

 'Tis indeed a sad state of affairs.

 I'm also out of my depth here (never used madwifi), but what happens is
 you downgrade to a version lower than 0.9.3.3?

 Unless 0.9.4 is the first version to support amd64, in which case I'd
 agree that you are out of luck.

That's a good idea and it might work but I've got a critical system
picking up the wireless signal a fair distance away.  I'd rather not
jeopardize it and just let core #2 sleep for now.  I guess I should
try again with another release of the kernel or madwifi.

Thanks again.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] esound

2008-06-10 Thread Grant
I'm trying to remove all digital alteration of the sound on my music
server before it hits the USB DAC.  I have no jack, no pulseaudio, and
I think I should remove esound.  There doesn't seem to be an
/etc/init.d script for it though.  I've removed it from my USE flags,
and un-emerged it, but now I'm curious.  Has it been running on the
system even without an /etc/init.d script?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] esound

2008-06-10 Thread Grant
 I'm trying to remove all digital alteration of the sound on my
 music server before it hits the USB DAC.  I have no jack, no
 pulseaudio, and I think I should remove esound.  There doesn't
 seem to be an /etc/init.d script for it though.

 At my site it's called /etc/init.d/esound.
 Perhaps you'd someday removed it accidently ?

 I've removed it from my USE flags, and un-emerged it, but now
 I'm curious.

 That useflag (IMHO) only affects other applications which might
 be able to feed their audio to esd. So if you disable this useflag
 (and dont forget to rebuild ;-p), the app won't try to connect
 to esd anymore. So, if nobody uses esd, you can remove it.

I see it now.  Thanks a lot.

- Grant

 BTW: (OT) I'm currently writing an tiny and network agnostic
 (9P based) audio server which should be capable of being the
 only application interface (making app-internal driver layers
 obsolete) and optionally can support other protocols (eg. esound).
 If anyone's interested in it, just let me know :)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Gentoo + Asus Eee

2008-06-11 Thread Grant
I'm thinking of buying the Asus Eee for my girlfriend for her
birthday.  Has anyone put Linux on one of those?  It looks do-able:

http://gentoo-wiki.com/Asus_Eee_PC_701

but I'm wondering if anyone here has tried it.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Gentoo + Asus Eee

2008-06-11 Thread Grant
 I'm thinking of buying the Asus Eee for my girlfriend for her
 birthday.  Has anyone put Linux on one of those?  It looks do-able:

 http://gentoo-wiki.com/Asus_Eee_PC_701

 but I'm wondering if anyone here has tried it.

 - Grant

 There a whole user modding community grown up around the Eee. Apparently
 the favoured hack is to rip the existing OS off and stick Ubuntu on, so
 there is no reason in the world you won't be able to get Gentoo on it.
 And it has no hardware inside that does not have Linux support somehow
 somewhere

 Compilation might take a while though :-) perhaps you should cross-build
 from an existing beefier machine

Yeah how is the thing to use?  How long does a firefox compile take?
How is xfce on there?  Is the screen and keyboard too small?  Anybody
work on it?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] ALSA plug device

2008-06-13 Thread Grant
I'm trying to make sure any audio sent to my USB DAC sound card
(snd-usb-audio driver) is 16-bit/44.1khz.  I plan to test with this
syntax:

# cat /root/.asoundrc
pcm.usb_audio {
type hw
card 0
}
pcm.usb_audio_44 {
type plug
slave {
pcm usb_audio
rate 44100
}
}

But I get a problems opening audio device error when writing
mpd.conf like this:

audio_output {
typealsa
nameUSB Monica
deviceusb_audio
}

That is, I can't get it to work even if specifying the hw card, so I
must have a syntax problem.  I do think it's with .asoundrc.  Can
anyone help me out here?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Grant
I've tried a lot of stuff but I can't seem to get the postup syntax right:

postup() {
   set -xv
   if [[ ${IFACE} == ath0 ]] ; then
   iwconfig ath0 rate 2M
   fi
   return 0
}

Can anybody help with this?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] /etc/conf.d/net postup help

2008-06-16 Thread Grant
 I've tried a lot of stuff but I can't seem to get the postup syntax
 right:

 postup() {
set -xv
if [[ ${IFACE} == ath0 ]] ; then
iwconfig ath0 rate 2M
fi
return 0
 }

 What is wrong, the syntax looks fine. Does running the iwconfig manually
 after connection work?

I can't test the computer that's having the issue right now, but it
outputs some strange stuff like:

/a/t/h/0/

during boot and the rate isn't locked down.  Running the command
manually definitely works.  I can get more specific info on the output
tomorrow, but please let me know if anything pops into your head.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Downgrading glib

2008-06-17 Thread Grant
I downgraded from glib-2.17.2 to glib-2.14.6 and had problems so I
went back to 2.17.2.  How can I make this downgrade successfully?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Downgrading glib

2008-06-17 Thread Grant
 I downgraded from glib-2.17.2 to glib-2.14.6 and had problems so I
 went back to 2.17.2.  How can I make this downgrade successfully?

 - Grant

 revdep-rebuilt afterwards?

Yeah revdep-rebuild only comes up with transmission (which could have
needed a rebuild before messing with glib), and transmission fails to
build.  The main problem is with gdm.  It won't load with an
unresolved symbol error (I think) and won't rebuild either.

Would more specific errors be helpful here or should this be
approached a different way?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] {OT} Portable wireless router?

2008-06-23 Thread Grant
Has anyone found anything really compact that turns a wired router
into a wireless router?  I'm looking for something as small as
possible for traveling.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] DVD drive firmware version

2008-06-25 Thread Grant
Does anyone know how I can find the firmware version in my Lite-On DVD
drive?  I have an .exe file with the latest version.  Impossible to
use it?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] DVD drive firmware version

2008-06-25 Thread Grant
 Does anyone know how I can find the firmware version in my Lite-On DVD
 drive?  I have an .exe file with the latest version.  Impossible to
 use it?

 cdrecord -inq

 Jörg

Thank you, that works great.  How would you upgrade the firmware?
Maybe boot to a DOS disc?

- Grant
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Quick script request

2008-06-25 Thread Grant
Feel free to ignore me here, but if anyone could whip out a quick
script for this I would really appreciate it.

I need to move any files from dir1 to dir2 if they don't already exist
in dir2 with a slightly different filename.  The dir1 files are named
like a-1.jpg and the dir2 files are named like a-1_original.jpg.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Quick script request

2008-06-25 Thread Grant
 Feel free to ignore me here, but if anyone could whip out a quick
 script for this I would really appreciate it.

 I need to move any files from dir1 to dir2 if they don't already
 exist in dir2 with a slightly different filename.  The dir1 files are
 named like a-1.jpg and the dir2 files are named like
 a-1_original.jpg.

 - Grant

 rough and ready, off the top of my head:

 cd dir1
 for i in *jpg
 do
  j = basename $i .jpg
  cp -u ${j}.jpg dir2/${j}_original.jpg
 done

 'cp -u' works around the messy problem of checking if the destination
 file exists

Thanks guys, can you tell me how to execute this?  Put it in a file
and './file' I think?  Should I have special stuff at the top of the
file?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Quick script request

2008-06-25 Thread Grant
  Feel free to ignore me here, but if anyone could whip out a quick
  script for this I would really appreciate it.
 
  I need to move any files from dir1 to dir2 if they don't already
  exist in dir2 with a slightly different filename.  The dir1 files
  are named like a-1.jpg and the dir2 files are named like
  a-1_original.jpg.
 
  - Grant
 
  rough and ready, off the top of my head:
 
  cd dir1
  for i in *jpg
  do
   j = basename $i .jpg
   cp -u ${j}.jpg dir2/${j}_original.jpg
  done
 
  'cp -u' works around the messy problem of checking if the
  destination file exists

 Thanks guys, can you tell me how to execute this?  Put it in a file

 yes

 and './file' I think?

 Either that or chmod a+x file and execute it directly

 Should I have special stuff at the top of the
 file?

 #!/bin/bash

I put the above script in a file, added the appropriate header, issued
chmod, and when I execute with ./file I get a bunch of these:

./script: line 6: j: command not found
cp: cannot stat `.jpg': No such file or directory

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Quick script request

2008-06-25 Thread Grant
   cd dir1
   for i in *jpg
   do
j = basename $i .jpg
cp -u ${j}.jpg dir2/${j}_original.jpg
   done
  
   'cp -u' works around the messy problem of checking if the
   destination file exists
 [...]
 I put the above script in a file, added the appropriate header, issued
 chmod, and when I execute with ./file I get a bunch of these:

 ./script: line 6: j: command not found
 cp: cannot stat `.jpg': No such file or directory

 This:
j = basename $i .jpg
 should be more like this:
j=$( basename $i .jpg )

 Or: j=${i%.jpg}

 That is, there must be no whitespace around the '='. And in order to set j
 to the result of a command, use $( command ) or ` command `.

Worked perfectly, thanks a lot everyone.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Anyone else's Gentoo unruly lately?

2008-06-27 Thread Grant
Lately it seems like a new problem pops up every day and every time I
try to do something new it doesn't work.  Anybody else experiencing
that lately?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Anyone else's Gentoo unruly lately?

2008-06-27 Thread Grant
 Grant,

 I've had a lot of problems lately upgrading ~arch and masked packages. This
 is expected (obviously) but 99% of the time I am able to fix them myself
 without going through support resources.

 If you're using any that are ~arch and in packages.mask perhaps that is why
 you're having problems too!

 - Brian

I think you're right Brian.  Of course, this is nobody's fault but
mine for using ~amd64 packages, but I only pull those in if I feel I
have to.  Quite a few of them now though.  Does it seem like ~arch
packages have been more difficult lately?

- Grant


 Lately it seems like a new problem pops up every day and every time I
 try to do something new it doesn't work.  Anybody else experiencing
 that lately?

 - Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Anyone else's Gentoo unruly lately?

2008-06-27 Thread Grant
 | I think it could be the pick-and-mix approach to keywording, I use pure
 | ~amd64 on my desktop and laptop and the only problems I've had recently
 | turned out to be a corrupt root filesystem.
 |
 | yeah, mixing isn't good. Pure systems are way more stable.

Now that's an interesting idea.  Makes sense.  It sounds like I should
either learn to live with stable packages only, or go all out testing.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] {OT} Overheated, which part is damaged?

2007-08-07 Thread Grant
My power supply's fan died and ended up really elevating the
temperature in the case during a qt compile.  Now I'm seeing all kinds
of strange and colorful artifacts on the screen, even after the system
was powered off for several hours with an external fan blowing on it.

Is that definitely the video card?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Overheated, which part is damaged?

2007-08-08 Thread Grant
 My power supply's fan died and ended up really elevating the
 temperature in the case during a qt compile.  Now I'm seeing all kinds
 of strange and colorful artifacts on the screen, even after the system
 was powered off for several hours with an external fan blowing on it.

 Is that definitely the video card?
   
Sounds like it.  Just in case it has not been totalled you may want to
open the case, remove the video card and use a soft brush and vacuum
cleaner to clean its cooling fan and heatsink.  This may be underneath
the card and difficult to reach without taking it out.  While you're at
it, repeat the exercise on the CPU.
  
   Or maybe it's the thermal grease paste, it usually doesn't like being
   roasted. Replace it, if possible.
  
   I'm not an expert on this kind of stuff but I had similar artifacts while
   overclocking my video RAM so maybe the chips didn't make it.
 
  http://www.arcticsilver.com/
 
  I have used Arctic Silver 5 and have been very happy with it (on an
  overclocked PIII).

 It's also quite possible its the PSU if your still using the same one,
 have you replaced it?

Really, the power supply itself could be causing the video problems?
I am still using the same one with the case open for ventilation.  I'm
about to order some stuff from New Egg.  Not sure if I should include
a video card now.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Overheated, which part is damaged?

2007-08-08 Thread Grant
   My power supply's fan died and ended up really elevating the
   temperature in the case during a qt compile.  Now I'm seeing all 
   kinds
   of strange and colorful artifacts on the screen, even after the 
   system
   was powered off for several hours with an external fan blowing on 
   it.
  
   Is that definitely the video card?
 
  Sounds like it.  Just in case it has not been totalled you may want 
  to
  open the case, remove the video card and use a soft brush and vacuum
  cleaner to clean its cooling fan and heatsink.  This may be 
  underneath
  the card and difficult to reach without taking it out.  While 
  you're at
  it, repeat the exercise on the CPU.

 Or maybe it's the thermal grease paste, it usually doesn't like being
 roasted. Replace it, if possible.

 I'm not an expert on this kind of stuff but I had similar artifacts 
 while
 overclocking my video RAM so maybe the chips didn't make it.
   
http://www.arcticsilver.com/
   
I have used Arctic Silver 5 and have been very happy with it (on an
overclocked PIII).
  
   It's also quite possible its the PSU if your still using the same one,
   have you replaced it?
 
  Really, the power supply itself could be causing the video problems?
  I am still using the same one with the case open for ventilation.  I'm
  about to order some stuff from New Egg.  Not sure if I should include
  a video card now.
 
  - Grant

 try another power supply first if you can, it would not surprise me if
 its unstable power from an overheated supply causing the problem

Thanks everyone.  Check out the new gear:

power supply:
http://www.newegg.com/Product/Product.asp?Item=N82E16817171007

video card:
http://www.newegg.com/Product/Product.asp?Item=N82E16814130067

CPU:
http://www.newegg.com/Product/Product.asp?Item=N82E16819103774

This system plays music, movies, and browses the web.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Flashing BIOS trouble

2007-08-09 Thread Grant
I just installed an AMD64 Athlon X2 cpu on my motherboard which was
previously running an AMD64 Sempron.  Now I get an error about an
unknown processor from the BIOS.  I can't even boot to a CD or run the
BIOS setup.  How can I flash the BIOS from this position?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Flashing BIOS trouble

2007-08-09 Thread Grant
   I just installed an AMD64 Athlon X2 cpu on my motherboard which was
   previously running an AMD64 Sempron.  Now I get an error about an
   unknown processor from the BIOS.  I can't even boot to a CD or run the
   BIOS setup.  How can I flash the BIOS from this position?
  
   - Grant
 
  First what the relation with Gentoo ? So i made this thread OT...
  And so, are you sure that your M/B is compatible with Athlon X2 ?
  I think you have to make your checks before trying to flash your BIOS, 
  despite
  of I think that this work will be very hard because to flash your BIOS need 
  to
  run some instruction, and without a processor it will be hard !
 
  But you can try to flash it with your old processor but i don't really think
  this will help...
 
 IIRC, as long as a CPU fits into the socket on your motherboard, it
 should just work.  If it doesn't I wouldn't look to the bios for
 answers, but the handling of the component.  Is it possible you may
 have touched some of the contacts on the chip?  If so, your CPU may be
 fried.

This motherboard does support Athlon X2:

http://www.hardwarezone.com/articles/view.php?cid=6id=1975

When I try to start the system, I get:

Warning: Unknown Processor Revision
The processor installed in your system are of an unknown revision.
Please contact your BIOS vendor for appropriate updates.

But that motherboard doesn't appear here:

http://www.msicomputer.com/support/TechSupport.asp

I'll keep looking.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Flashing BIOS trouble

2007-08-09 Thread Grant
  But that motherboard doesn't appear here:
 
  http://www.msicomputer.com/support/TechSupport.asp


 Perhaps there's no need for an update or there's no one available
 right now. Try contacting MSI directly. They use to be very friendly
 (just don't mention you run Linux)

I found the update I need on:

http://global.msi.com.tw

Now I guess I need to burn a bootable DOS CD to run the .exe file.
Working on that

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Flashing BIOS trouble

2007-08-09 Thread Grant
   But that motherboard doesn't appear here:
  
   http://www.msicomputer.com/support/TechSupport.asp
 
 
  Perhaps there's no need for an update or there's no one available
  right now. Try contacting MSI directly. They use to be very friendly
  (just don't mention you run Linux)

 I found the update I need on:

 http://global.msi.com.tw

 Now I guess I need to burn a bootable DOS CD to run the .exe file.
 Working on that

I followed the instructions here:

http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_E1405#Firmware_Upgrade_from_DELL

Here's what I did:

# emerge -u mtools syslinux
# echo 'drive a: file=/boot/freedos.img'  /etc/mtools/mtools.conf
# echo 'mtools_lower_case=1'  /etc/mtools/mtools.conf
# mount /boot
# cp /usr/lib/syslinux/memdisk /boot
# mcopy Afud408.exe a:
# mcopy A7270UMS.160 a:

and added this to grub.conf:

title FreeDOS
kernel /memdisk
initrd /freedos.img

I can boot into FreeDOS just fine, but when I try to run the
following, it just hangs:

AFUD408 A7270UMS.160

I can't say that I really understand the process I went through above.
 Can anyone who does understand it tell me if there could be anything
about this FreeDOS environment that is preventing the BIOS utility
from functioning?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] New CPU, what needs to be done?

2007-08-10 Thread Grant
I just upgraded from an AMD64 Sempron to an AMD64 Athlon X2.  What do
I need to do in software to accommodate the new CPU?  Do I need to
enable something in the kernel to get the dual cores working?  I've
read something about support for AMD's Cool and Quiet technology
too.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Flashing BIOS trouble

2007-08-10 Thread Grant
But that motherboard doesn't appear here:
   
http://www.msicomputer.com/support/TechSupport.asp
  
  
   Perhaps there's no need for an update or there's no one available
   right now. Try contacting MSI directly. They use to be very friendly
   (just don't mention you run Linux)
 
  I found the update I need on:
 
  http://global.msi.com.tw
 
  Now I guess I need to burn a bootable DOS CD to run the .exe file.
  Working on that

 I followed the instructions here:

 http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_E1405#Firmware_Upgrade_from_DELL

 Here's what I did:

 # emerge -u mtools syslinux
 # echo 'drive a: file=/boot/freedos.img'  /etc/mtools/mtools.conf
 # echo 'mtools_lower_case=1'  /etc/mtools/mtools.conf
 # mount /boot
 # cp /usr/lib/syslinux/memdisk /boot
 # mcopy Afud408.exe a:
 # mcopy A7270UMS.160 a:

 and added this to grub.conf:

 title FreeDOS
 kernel /memdisk
 initrd /freedos.img

 I can boot into FreeDOS just fine, but when I try to run the
 following, it just hangs:

 AFUD408 A7270UMS.160

 I can't say that I really understand the process I went through above.
  Can anyone who does understand it tell me if there could be anything
 about this FreeDOS environment that is preventing the BIOS utility
 from functioning?

 - Grant

Finally got the BIOS updated and the new CPU recognized.  This did the trick:

http://ubuntuforums.org/showthread.php?t=318789

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New CPU, what needs to be done?

2007-08-10 Thread Grant
  The reason I asked is that I have been running this on my AMDX2
  systems since it has been available with no noticeable degradation,
  and possibly a little better responsiveness.  I thought maybe you had
  some experience with it that would contradict my experiences.
 
  I always assumed that the If unsure say no/yes in the kernel was
  related to being unfamiliar with the hardware you where configuring
  the kernel for.
 
  That said, all I can really say is that it works for me.

 I had it 'in' once too.

 And yes, it worked. But I did not see any improvements, so I took it out.
 I deactivate everything I do not need ...

  The big improvements came, when I started using Ingo Molnar's cfs ;)

Thanks for the info.  Running great.

CFS sounds interesting.  I'm reading that will be in the main kernel
for 2.6.23.  Still with hardened-sources-2.6.20 here, but looking
forward to it.  Big difference?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New CPU, what needs to be done?

2007-08-10 Thread Grant
The reason I asked is that I have been running this on my AMDX2
systems since it has been available with no noticeable degradation,
and possibly a little better responsiveness.  I thought maybe you had
some experience with it that would contradict my experiences.
   
I always assumed that the If unsure say no/yes in the kernel was
related to being unfamiliar with the hardware you where configuring
the kernel for.
   
That said, all I can really say is that it works for me.
  
   I had it 'in' once too.
  
   And yes, it worked. But I did not see any improvements, so I took it out.
   I deactivate everything I do not need ...
  
The big improvements came, when I started using Ingo Molnar's cfs ;)
 
  Thanks for the info.  Running great.
 
  CFS sounds interesting.  I'm reading that will be in the main kernel
  for 2.6.23.  Still with hardened-sources-2.6.20 here, but looking
  forward to it.  Big difference?

 short: yes

 long answer: not in gaming (the difference in ut2004 is not very big. Maximum
 FPS are a little bit lower, minimum FPS a bit higher ... )  but everywhere
 else is. Desktop is snappier than the 'old' scheduler. Compiling stuff in the
 background? Even with PORTAGE_NICENESS=19 it was very obvious that something
 was happening. with cfs I did an emerge -e world (after switching to gcc 4.2)
 some days ago - emerge running with a niceness of 0 and most of the time I
 did not even realize that something was happening. I needed to switch to the
 vt (or use htop) to check that everything was working as it should.
  Really, from my POV cfs is just great. It does not help with
 slow-as-hell-swap but that is a completly different story.

Nice.  I game not at all so that's no problem.

This new CPU has (I think) really revealed how slow my hard disk is.
It's a 320GB Seagate SATA2 (3GB/s) so it's not slow as HDs go, but it
can't keep up with the CPU and memory (2GB DDR800).  Whenever a video
stutters or something takes a little longer than it should, the xfce4
CPU graph shows it wasn't even close to maxed out, and the memory
usage is at like 300MB.  I'm sure neither of those are incredibly
accurate, but I think they do reveal something.

Does that sounds like an IO problem to you?  I could get another HD
and set up RAID at some point I guess.  Hopefully the CFS scheduler
you're talking about will help.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Portage annoyances

2007-08-13 Thread Grant
Three of my systems are having package management trouble.  One of the
systems does this after revdep-rebuild:

All ebuilds that could satisfy =sys-devel/gcc-4.1.1 have been masked.

but I don't know why it wants a masked version of gcc.  Another system
wants to unmerge a bunch of crucial stuff with --depclean, including:

x11-base/xorg-x11
selected: 7.1
protected: none
omitted: none

x11-apps/xdm
selected: 1.0.5
protected: none
omitted: none

If I do a pretend emerge of xorg-x11 and xdm, it want to upgrade a
bunch of packages but 'emerge -pDuN world' find nothing.  I have this:

# equery depends xorg-x11
[ Searching for packages depending on xorg-x11... ]
virtual/x11-7.0-r2 (=x11-base/xorg-x11-7)

The other system outputs a bunch of libtiff.la stuff about ImageMagick like:

broken /usr/lib/ImageMagick-6.2.2/modules-Q16/filters/analyze.la
(requires /usr/lib/libtiff.la)

but then says there is nothing to rebuild.  Can anyone help with
fixing these problems?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-13 Thread Grant
  Three of my systems are having package management trouble.  One of the
  systems does this after revdep-rebuild:
 
  All ebuilds that could satisfy =sys-devel/gcc-4.1.1 have been masked.
 
 Please post the output of: eix sys-devel/gcc

# eix sys-devel/gcc
[D] sys-devel/gcc
 Available versions:
(2.95)  2.95.3-r9 ~2.95.3-r10
(3.1)   3.1.1-r2
(3.2)   **3.2.2 3.2.3-r4
(3.3)   3.3.2-r7 3.3.5-r1 3.3.5.20050130-r1 3.3.6 3.3.6-r1
(3.4)   ~3.4.1-r3 3.4.4-r1 3.4.5 3.4.5-r1 ~3.4.6 3.4.6-r1 3.4.6-r2
(4.0)   [M]~*4.0.3 [M]~*4.0.4
(4.1)   [M]~4.1.0-r1 [M]4.1.1 [M]4.1.1-r1 [M]4.1.1-r3 [M]4.1.2
(4.2)   [M]~4.2.0
{X altivec bootstrap boundschecking build d doc fortran gcj
gtk hardened ip28 ip32r10k java mudflap multilib multislot n32 n64 nls
nocxx nopie nossp objc objc++ objc-gc openmp static test vanilla}
 Installed versions:  3.3.6-r1(3.3)(14:15:16 02/23/07)(-altivec
-bootstrap -boundschecking -build -doc -fortran -gcj -gtk hardened
-ip28 -ip32r10k -multilib -multislot -n32 -n64 -nls -nocxx -nopie
-nossp -objc -test -vanilla)
  3.4.6-r2(3.4)(18:12:38 03/15/07)(-altivec
-bootstrap -boundschecking -build -d -doc -fortran -gcj -gtk hardened
-ip28 -ip32r10k -multilib -multislot -n32 -n64 -nls -nocxx -nopie
-nossp -objc -test -vanilla)
  4.1.1(4.1)(04:58:00 09/06/06)(-altivec
-bootstrap -build -doc -fortran gcj gtk hardened -ip28 -ip32r10k
-mudflap -multilib -multislot -n32 -n64 -nls -nocxx -objc -objc++
-objc-gc -test -vanilla)
 Homepage:http://gcc.gnu.org/
 Description: The GNU Compiler Collection. Includes C/C++,
java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds
checking

[I] sys-devel/gcc-config
 Available versions:  1.3.13-r4 1.3.14 1.3.15-r1 1.3.16 **1.4.0
[M]~2.0.0_rc1
 Installed versions:  1.3.16(09:14:29 05/05/07)
 Homepage:http://www.gentoo.org/
 Description: Utility to configure the active toolchain compiler

* sys-devel/gcc-nios2
 Available versions:  (nios2-elf-3.4)  ~5.1
{multislot test}
 Homepage:http://gcc.gnu.org/
 Description: Compiler for Nios2 targets

Found 3 matches.

 and: ls -ld /etc/make.profile

# ls -ld /etc/make.profile
lrwxrwxrwx 1 root root 56 Oct  1  2006 /etc/make.profile -
/usr/portage/profiles/default-linux/amd64/2006.1/desktop

  but I don't know why it wants a masked version of gcc.  Another system
  wants to unmerge a bunch of crucial stuff with --depclean, including:
 
  x11-base/xorg-x11
  selected: 7.1
  protected: none
  omitted: none
 
  x11-apps/xdm
  selected: 1.0.5
  protected: none
  omitted: none
 
 Manually put both in: /var/lib/portage/world file (backup it, just in
 case).
 Seems you had virtual/x11 which pulled all dependencies, but not
 anymore.

I don't understand why they weren't depended on by gdm and (for
example) firefox which are in my world file.

  If I do a pretend emerge of xorg-x11 and xdm, it want to upgrade a
  bunch of packages but 'emerge -pDuN world' find nothing.  I have this:
 
  # equery depends xorg-x11
  [ Searching for packages depending on xorg-x11... ]
  virtual/x11-7.0-r2 (=x11-base/xorg-x11-7)
 
  The other system outputs a bunch of libtiff.la stuff about ImageMagick like:
 
  broken /usr/lib/ImageMagick-6.2.2/modules-Q16/filters/analyze.la
  (requires /usr/lib/libtiff.la)
 
 Do you have a tiff USE-flag set ?

# eix imagemagick
[I] media-gfx/imagemagick
 Available versions:  6.3.0.5 6.3.0.5-r1 6.3.3 ~6.3.4 6.3.4-r1 {X
bzip2 doc fpx graphviz gs hdri jbig jpeg jpeg2k lcms mpeg nocxx
openexr perl png q32 q8 tiff truetype wmf xml zlib}
 Installed versions:  6.3.4-r1(16:38:20 06/25/07)(-X bzip2 -doc
-fpx -graphviz -gs -hdri -jbig jpeg -jpeg2k lcms -mpeg -nocxx -openexr
perl png -q32 -q8 -tiff truetype -wmf xml zlib)
 Homepage:http://www.imagemagick.org/
 Description: A collection of tools and libraries for many
image formats

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
Three of my systems are having package management trouble.  One of the
systems does this after revdep-rebuild:
   
All ebuilds that could satisfy =sys-devel/gcc-4.1.1 have been masked.
 
  # ls -ld /etc/make.profile
  lrwxrwxrwx 1 root root 56 Oct  1  2006 /etc/make.profile -
  /usr/portage/profiles/default-linux/amd64/2006.1/desktop
 
 Change to latest stable profile 2007.0/Desktop:
 rm /etc/make.profile
 #ln -s /usr/portage/profiles/default-linux/amd64/2007.0/desktop 
 /etc/make.profile

My mistake.  That system used this profile:

/usr/portage/profiles/hardened/x86/2.6

although I just changed it to:

/usr/portage/profiles/hardened/x86/2.6/minimal

because that sounds cooler.  Does the hardened profile have something
to do with it wanting the masked gcc?

 Try reinstalling 'imagemagick'check if 'media-libs/tiff' is installed.

Re-emerging imagemagick doesn't seem to fix it, and media-libs/tiff is
not installed.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
Another system wants to unmerge a bunch of crucial stuff
with --depclean, including:
   
x11-base/xorg-x11
selected: 7.1
protected: none
omitted: none
   
x11-apps/xdm
selected: 1.0.5
protected: none
omitted: none
   
   Manually put both in: /var/lib/portage/world file (backup it, just
   in case).  Seems you had virtual/x11 which pulled all
   dependencies, but not anymore.
 
  I don't understand why they weren't depended on by gdm and (for
  example) firefox which are in my world file.

 X applications doesn't need to depend on X server. You can run them
 remotely from machine where X server is installed.

Shouldn't gdm depend on xdm though?

Do I need xorg-x11 on a typical desktop system?  My laptop doesn't
seem to think it is installed at all:

[ebuild  N] x11-base/xorg-x11-7.2

broken /usr/lib/ImageMagick-6.2.2/modules-Q16/filters/analyze.la
(requires /usr/lib/libtiff.la)

 I think these files does not belong to ImageMagick anymore. They are
 some leftovers from previous version (however I don't understand why
 they were not deleted). I had same issue with k3b. Check them with

 equery belongs /usr/lib/ImageMagick-6.2.2/modules-Q16/filters/analyze.la

Ok, that's what I'll do there.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
  Shouldn't gdm depend on xdm though?

 In the same way that vim depends on emacs. gdm and xdm (also kdm) are
 different programs to fdo the same basic job, there's no reason for one
 to depend on the other.

I didn't know that, thanks.

  Do I need xorg-x11 on a typical desktop system?  My laptop doesn't
  seem to think it is installed at all:

 Probably because it isn't, because you don't need it.

Ok, what does xorg-x11 do?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
Do I need xorg-x11 on a typical desktop system?  My laptop doesn't
seem to think it is installed at all:
  
   Probably because it isn't, because you don't need it.
 
  Ok, what does xorg-x11 do?

 It's meta package that installs xorg-server and some basic X11
 stuff. Look into the ebuild and you'll understand. I think it is good
 to have it installed on a typical desktop system.

Thanks Robert.

Here's another one I just ran into.  --depclean wants to remove
madwifi-ng, but I also get this:

# equery depends madwifi-ng
[ Searching for packages depending on madwifi-ng... ]
net-wireless/wpa_supplicant-0.5.7 (kernel_linux  madwifi?
net-wireless/madwifi-ng)

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
  Three of my systems are having package management trouble.  One of
  the systems does this after revdep-rebuild:
 
  All ebuilds that could satisfy =sys-devel/gcc-4.1.1 have been
  masked.
   
# ls -ld /etc/make.profile
lrwxrwxrwx 1 root root 56 Oct  1  2006 /etc/make.profile -
/usr/portage/profiles/default-linux/amd64/2006.1/desktop
  
   Change to latest stable profile 2007.0/Desktop:
   rm /etc/make.profile
   #ln -s /usr/portage/profiles/default-linux/amd64/2007.0/desktop
   /etc/make.profile
 
  My mistake.  That system used this profile:
 
  /usr/portage/profiles/hardened/x86/2.6
 
  although I just changed it to:
 
  /usr/portage/profiles/hardened/x86/2.6/minimal
 
  because that sounds cooler.  Does the hardened profile have something
  to do with it wanting the masked gcc?

 Quite the contrary. The hardened is incompatible with gcc 4.x. Thus
 =sys-devel/gcc-4* is masked in all profiles under hardened. Since you have
 4.1.1 installed and no versions in that slot are unmasked it's complaining.

 I think there's a hardened handbook that you should probably read if you want
 to use a hardened profile. Switching from non-hardened to hardened is a lot
 more involved than changing the symlink.

I think this system (firewall/router) has been on the hardened profile
from day 1.  Maybe that gcc wasn't always masked in the profile.

Should I 'emerge -C =gcc-4.1.1'?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage annoyances

2007-08-14 Thread Grant
   ('kernel_linux' is some internal USE flag which is probably automatically
   set if you are using linux kernel).

 It's set by your profile via USE_EXPAND (KERNEL=linux).

Then why does --depclean want to remove madwifi-ng?

# equery depends madwifi-ng
[ Searching for packages depending on madwifi-ng... ]
net-wireless/wpa_supplicant-0.5.7 (kernel_linux  madwifi?
net-wireless/madwifi-ng)

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Video stutters until system restarted

2007-08-21 Thread Grant
I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video playback
stutters if I try to play a video after the system has been running
for awhile, even after closing all programs.  Restarting always fixes
it.  How would you track this down?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-21 Thread Grant
   I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video playback
   stutters if I try to play a video after the system has been running
   for awhile, even after closing all programs.  Restarting always fixes
   it.  How would you track this down?
  
   - Grant
 
  Look at your RAM usage with free -m (the second line is interesting).
 
  Look at your log files (especially dmesg) for anything suspicious. Maybe
  your graphic card's driver fell back to a compatibility mode or something
  like that.

 or (in case of NVIDIA) it has thrown a 'Xid' error - after that you can be
 called lucky if video works at all ...

I do use the nvidia driver.  The Xid error would  be in dmesg?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
 I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video playback
 stutters if I try to play a video after the system has been running
 for awhile, even after closing all programs.  Restarting always fixes
 it.  How would you track this down?

 - Grant
   
Look at your RAM usage with free -m (the second line is interesting).
   
Look at your log files (especially dmesg) for anything suspicious.
Maybe your graphic card's driver fell back to a compatibility mode or
something like that.
  
   or (in case of NVIDIA) it has thrown a 'Xid' error - after that you can
   be called lucky if video works at all ...

No Xid error.  I did have this:

warning: many lost ticks
Your time source seems to be instable or some driver is hogging interrupts

and then a whole bunch of these:

TCP: Treason uncloaked!

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
  I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video 
  playback
  stutters if I try to play a video after the system has been running
  for awhile, even after closing all programs.  Restarting always 
  fixes
  it.  How would you track this down?
 
  - Grant

 Look at your RAM usage with free -m (the second line is 
 interesting).

 Look at your log files (especially dmesg) for anything suspicious.
 Maybe your graphic card's driver fell back to a compatibility mode or
 something like that.
   
or (in case of NVIDIA) it has thrown a 'Xid' error - after that you can
be called lucky if video works at all ...

 No Xid error.  I did have this:

 warning: many lost ticks
 Your time source seems to be instable or some driver is hogging interrupts

This issue is discussed here:

http://forums.gentoo.org/viewtopic.php?t=191716

 and then a whole bunch of these:

 TCP: Treason uncloaked!

This issue is discussed here:

http://forums.gentoo.org/viewtopic.php?t=354939

I'm going to start a new thread about that.  Hopefully one or both of
these problems is causing my video/sound stuttering issue.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
   and then a whole bunch of these:
  
   TCP: Treason uncloaked!
 
  Hmm, are you running a server?  This sounds like a DOS attack (someone
  probably spoofing an address and then reducing their window size to 0, so
  that your machine keeps trying to send them the packet over  over again).
  You should be able to tweak your IP tables to identify such phony addresses
  and block them.
 
  Someone more clued up on server attacks ought to help out here.

 This guy looks as if he has looked into it  . . . and then some!

 http://www.informedbanking.com/acc/nxwiki/view/TCP-Treason-Uncloaked.html

Nice find.  Very thorough, but he concludes with this:

Still happening. Happened this morning at 6:00AM on eth2, when there
was no traffic control running, ruling out the possibility that it
could be caused by that.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Treason uncloaked! solution?

2007-08-22 Thread Grant
Sometimes I get Treason uncloaked! in dmesg when running bittorrent.
 The solution here:

http://www.linuxquestions.org/questions/showthread.php?t=127984

is:

You'd best set iptables to block all packets from BOGON networks (nets
that shouldn't exist) so you can avoid this type of attack. You may
find a list of bogon nets here. Note: unallocated nets change from
time to time! Just in November IANA allocated two more blocks to RIPE,
so you really need to pay attention if you're blocking all bogon IPs.

Which doesn't sound great.  What would you guys recommend I do?  I use
a Gentoo router.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
   I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video
   playback stutters if I try to play a video after the system has
   been running for awhile, even after closing all programs.
   Restarting always fixes it.  How would you track this down?
  
   - Grant
 
  Look at your RAM usage with free -m (the second line is
  interesting).
 
  Look at your log files (especially dmesg) for anything suspicious.
  Maybe your graphic card's driver fell back to a compatibility mode
  or something like that.

 or (in case of NVIDIA) it has thrown a 'Xid' error - after that you
 can be called lucky if video works at all ...
 
  No Xid error.  I did have this:
 
  warning: many lost ticks
  Your time source seems to be instable or some driver is hogging interrupts

 ok, do you have a working hpet? or do you have compiled pm-timer support into
 your kernel (you should)? and set hdparm -u1 for your ide devices?

There is no mention of hpet in dmesg or lspci, but I do have:

CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HZ_1000=y
CONFIG_HZ=1000

Where can I find pm-timer support in the kernel?  There doesn't seem
to be a mention of it in .config.  I'm using
hardened-sources-2.6.20-r6.

I just set up hdparm with:

all_args=-d1 -u1

and added it to the default runlevel.  Any other args I should add?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
   I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video
   playback stutters if I try to play a video after the system has
   been running for awhile, even after closing all programs.
   Restarting always fixes it.  How would you track this down?
  
   - Grant
 
  Look at your RAM usage with free -m (the second line is
  interesting).
 
  Look at your log files (especially dmesg) for anything suspicious.
  Maybe your graphic card's driver fell back to a compatibility mode
  or something like that.

 or (in case of NVIDIA) it has thrown a 'Xid' error - after that you
 can be called lucky if video works at all ...
 
  No Xid error.  I did have this:
 
  warning: many lost ticks
  Your time source seems to be instable or some driver is hogging interrupts

 ok, do you have a working hpet? or do you have compiled pm-timer support into
 your kernel (you should)? and set hdparm -u1 for your ide devices?

I switched hdparm to the boot runlevel and there are no errors, but I
only noticed hdparm output regarding hda (CDROM) and not sda (SATA
HD).  Is there a way to verify that sda is configured properly as far
as hdparm?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
 I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video
 playback stutters if I try to play a video after the system
 has been running for awhile, even after closing all programs.
 Restarting always fixes it.  How would you track this down?

 - Grant
   
Look at your RAM usage with free -m (the second line is
interesting).
   
Look at your log files (especially dmesg) for anything
suspicious. Maybe your graphic card's driver fell back to a
compatibility mode or something like that.
  
   or (in case of NVIDIA) it has thrown a 'Xid' error - after that
   you can be called lucky if video works at all ...
   
No Xid error.  I did have this:
   
warning: many lost ticks
Your time source seems to be instable or some driver is hogging
interrupts
  
   ok, do you have a working hpet? or do you have compiled pm-timer support
   into your kernel (you should)? and set hdparm -u1 for your ide devices?
 
  There is no mention of hpet in dmesg or lspci, but I do have:
 
  CONFIG_HPET_TIMER=y
  CONFIG_HPET_EMULATE_RTC=y
  CONFIG_HZ_1000=y
  CONFIG_HZ=1000
 

 I am using Hz 300... smooth video...
 and voluntary preemption.

Just switched to those.

  Where can I find pm-timer support in the kernel?  There doesn't seem
  to be a mention of it in .config.  I'm using
  hardened-sources-2.6.20-r6.

  Power management options  ---
   ACPI (Advanced Configuration and Power Interface) Support  ---
 [*]   Power Management Timer Support
 Help text:
 CONFIG_X86_PM_TIMER:

That's weird, I don't have that option in menuconfig or .config at
all.  Nothing matches PM_TIMER.

 oh, and check that the hpet really works - dmesg is your friend.

There is no mention of hpet or HPET in dmesg.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Video stutters until system restarted

2007-08-22 Thread Grant
   I'm running an amd64 athlon x2 2.6ghz with 2gb ram and
   video playback stutters if I try to play a video after
   the system has been running for awhile, even after
   closing all programs. Restarting always fixes it.  How
   would you track this down?
  
   - Grant
 
  Look at your RAM usage with free -m (the second line is
  interesting).
 
  Look at your log files (especially dmesg) for anything
  suspicious. Maybe your graphic card's driver fell back to a
  compatibility mode or something like that.

 or (in case of NVIDIA) it has thrown a 'Xid' error - after
 that you can be called lucky if video works at all ...
 
  No Xid error.  I did have this:
 
  warning: many lost ticks
  Your time source seems to be instable or some driver is hogging
  interrupts

 ok, do you have a working hpet? or do you have compiled pm-timer
 support into your kernel (you should)? and set hdparm -u1 for your
 ide devices?
   
There is no mention of hpet in dmesg or lspci, but I do have:
   
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HZ_1000=y
CONFIG_HZ=1000
  
   I am using Hz 300... smooth video...
   and voluntary preemption.
 
  Just switched to those.
 
Where can I find pm-timer support in the kernel?  There doesn't seem
to be a mention of it in .config.  I'm using
hardened-sources-2.6.20-r6.
  
Power management options  ---
 ACPI (Advanced Configuration and Power Interface) Support  ---
   [*]   Power Management Timer Support
   Help text:
   CONFIG_X86_PM_TIMER:
 
  That's weird, I don't have that option in menuconfig or .config at
  all.  Nothing matches PM_TIMER.

 ok, that is wired.

 I have attached my config (you can ignore the parts about reiser4 ;) )

 
   oh, and check that the hpet really works - dmesg is your friend.
 
  There is no mention of hpet or HPET in dmesg.

 then you don't have one. And without hpet, pm-timer or any other really
 usefull timesource you are in deep shit mode. Do you mind posting your dmesg?

 In your case I would remove the kernel sources, reinstall them, and start with
 a new, clean config - I had a severe case of 'why are half of my options
 missing' a few weeks ago ...

Ok, I'll give that a try if I still get the lost ticks tonight.
Thanks everyone for the help.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] {OT} wput with weird characters

2007-08-31 Thread Grant
I need to periodically upload a file to an ftp server, but the
password they've issued me has a '!' and a '' character in it.  I
tried escaping those characters like this:

wput -A file.txt ftp://username:abc\!123\@ftp.example.com/file.txt

but then it tells me the password isn't correct.  How can I use a
password like that with wput?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} wput with weird characters

2007-08-31 Thread Grant
  I need to periodically upload a file to an ftp server, but the
  password they've issued me has a '!' and a '' character in it.  I
  tried escaping those characters like this:
 
  wput -A file.txt ftp://username:abc\!123\@ftp.example.com/file.txt

 Did you try using ' around the whole argument? Like

 wput -A ... 'ftp://txt'?

That did it.  Thanks everyone!

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] {OT?} software audio equalizer

2007-09-04 Thread Grant
I'd like to adjust the sound levels coming out of my computer in a
manner similar to an equalizer.  I'm using a Sound Blaster Live and
alsamixer only has the standard bass/treble adjustment available.  Is
there a way to get a more fine-grained control over the sound before
it hits the sound card?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Oddities in apache2 update, other init bizarrity.

2007-09-05 Thread Grant
 Stable x86 just got a new apache server, and it's puzzling me.

 For one thing, /etc/conf.d/apache2 now ends with this

 # Environment variables to keep
 # All environment variables are cleared from apache
  # Use this to preserve some of them
 # NOTE!!! It's very important that this contains PATH
 # TODO: Phase this out in favor of /etc/conf.d/env_whitelist
 #KEEPENV=PATH

 It has said all along that it's important to have PATH, but now it's
 commented out without any replacement in env_whitelist.
 Moreover, there's no example in env_whitelist to show the syntax.  I just
 put PATH in there on  a line of its own, and hoped for the best.

 The bigger puzzle is this one:  I can't stop apache because it can't be
 found, but I also can't start it because it's already running.  It is in
 fact running and serving web pages.  But I'd like the init stuff to be a lot
 more consistent.

I had the same problem yesterday, but rebooting the machine fixed it.
As for the KEEPENV, I was puzzled by that too but I didn't add
anything to env_whitelist and I left KEEPENV commented.  Everything
seems to be fine.

Today apache2 wants to upgrade to 2.2.4-r12.  I've got cold feet.
Anyone tried this yet?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Oddities in apache2 update, other init bizarrity.

2007-09-05 Thread Grant
  Today apache2 wants to upgrade to 2.2.4-r12.  I've got cold feet.
  Anyone tried this yet?

 a few minutes, 8 config file updates (i didn't let it
 update /etc/conf.d/apache2 or /etc/apache2/httpd.conf),
 and apache2 didn't restart.

 modules appear to have changed names.  Working on fixing now.  Kindly,
 apache2 didn't stop working before it checked config, so my site hasn't
 even gone down yet ; )

 However any advice would be appreciated as far as tracking down what I
 should have saved from the new httpd.conf

Any luck?  Can you just re-emerge the package and go through
etc-update properly?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] apache2 upgrade SSL and logging questions

2007-09-07 Thread Grant
I had some major trouble with the latest apache2 upgrade this morning
but it's all working now.  I do have a couple questions though.

I have 3 SSL config files now:

/etc/apache2/vhosts.d/00_default_ssl_vhost.conf
/etc/apache2/modules.d/40_mod_ssl.conf
/etc/apache2/modules.d/41_mod_ssl.default-vhost.conf

I've renamed 00_default_ssl_vhost.conf for now so it won't be loaded
because it was conflicting with 41_mod_ssl.default-vhost.conf.  Should
I have kept 00_default_ssl_vhost.conf and removed
41_mod_ssl.default-vhost.conf instead?  Which one is now the standard
Gentoo file?

Also, I've always logged to '/var/log/apache2/' but after the upgrade
apache2 wanted to log to '/usr/lib/apache2/logs/'.  That makes sense
looking at the 'logs/' config paths, but my backups also specify
'logs/'.  Confusing.  I changed those paths to '/var/log/apache2/' and
now everything is logging fine.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] SSH won't restart

2007-09-08 Thread Grant
I just upgraded ssh and when I try to restart I get:

* Stopping sshd ... [ !! ]

I don't see anything about it in '/var/log/sshd/current'.  How can I
figure out what is wrong?  I'm a little nervous because I don't want
to shut myself out of this remote server.

I also noticed many POSSIBLE BREAK-IN ATTEMPT! log entries for
usernames that don't exist.  Anything I should do about that?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
  I just upgraded ssh and when I try to restart I get:

 * Stopping sshd ... [ !! ]

 I don't see anything about it in '/var/log/sshd/current'. How can I
 figure out what is wrong? I'm a little nervous because I don't want
 to shut myself out of this remote server.


  I had a similar issue after a previous update to ssh when I went to restart
 it to get it to use the new binaries.  One of the nice features of sshd is
 that your current session will say active even if you kill the sshd daemon
 process.  Of course, if you get disconnected then you will not be able to
 log back in, so it's good to do what you need to quickly if you do need to
 kill (or if it's really stuck, kill -9) the process.  When I had this
 problem I issued a `kill -9 PID_NUMBER  /etc/init.d/sshd start` - just be
 sure that you're killing the /usr/sbin/sshd process and not one of your sshd
 login forks at the same time.

OK, I've got to be really careful here.  I see the following processes
in 'ps -ef':

root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0

Should I:

kill -9 2988  /etc/init.d/sshd start

Are you sure?  :)

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
 This process is the ssh daemon:
 root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd

 Two things: before killing the process with the KILL signal, I would
 try killing it with TERM
 kill -TERM 2988

 If that doesn't work then kill the process with the KILL signal.

 I would also use:
 /etc/init.d/sshd restart

 This will give the init script a chance to do some cleanup work before
 restarting

Do this:

kill -TERM 2988  /etc/init.d/sshd restart

and if that doesn't work, do:

kill -9 2988  /etc/init.d/sshd restart

?

- Grant


I just upgraded ssh and when I try to restart I get:
  
   * Stopping sshd ... [ !! ]
  
   I don't see anything about it in '/var/log/sshd/current'. How can I
   figure out what is wrong? I'm a little nervous because I don't want
   to shut myself out of this remote server.
  
  
I had a similar issue after a previous update to ssh when I went to 
   restart
   it to get it to use the new binaries.  One of the nice features of sshd is
   that your current session will say active even if you kill the sshd daemon
   process.  Of course, if you get disconnected then you will not be able to
   log back in, so it's good to do what you need to quickly if you do need to
   kill (or if it's really stuck, kill -9) the process.  When I had this
   problem I issued a `kill -9 PID_NUMBER  /etc/init.d/sshd start` - just 
   be
   sure that you're killing the /usr/sbin/sshd process and not one of your 
   sshd
   login forks at the same time.
 
  OK, I've got to be really careful here.  I see the following processes
  in 'ps -ef':
 
  root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
  root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL PROTECTED]/0
 
  Should I:
 
  kill -9 2988  /etc/init.d/sshd start
 
  Are you sure?  :)
 
  - Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
 Yes. As a personal preference I don't usually chain commands together
 when trouble shooting something, but there is technically nothing
 wrong with doing so.

And now I'm locked out.  What do you think guys?

- Grant


   This process is the ssh daemon:
   root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
  
   Two things: before killing the process with the KILL signal, I would
   try killing it with TERM
   kill -TERM 2988
  
   If that doesn't work then kill the process with the KILL signal.
  
   I would also use:
   /etc/init.d/sshd restart
  
   This will give the init script a chance to do some cleanup work before
   restarting
 
  Do this:
 
  kill -TERM 2988  /etc/init.d/sshd restart
 
  and if that doesn't work, do:
 
  kill -9 2988  /etc/init.d/sshd restart
 
  ?
 
  - Grant
 
 
  I just upgraded ssh and when I try to restart I get:

 * Stopping sshd ... [ !! ]

 I don't see anything about it in '/var/log/sshd/current'. How can I
 figure out what is wrong? I'm a little nervous because I don't want
 to shut myself out of this remote server.


  I had a similar issue after a previous update to ssh when I went to 
 restart
 it to get it to use the new binaries.  One of the nice features of 
 sshd is
 that your current session will say active even if you kill the sshd 
 daemon
 process.  Of course, if you get disconnected then you will not be 
 able to
 log back in, so it's good to do what you need to quickly if you do 
 need to
 kill (or if it's really stuck, kill -9) the process.  When I had this
 problem I issued a `kill -9 PID_NUMBER  /etc/init.d/sshd start` - 
 just be
 sure that you're killing the /usr/sbin/sshd process and not one of 
 your sshd
 login forks at the same time.
   
OK, I've got to be really careful here.  I see the following processes
in 'ps -ef':
   
root  2988 1  0 Sep04 ?00:00:00 /usr/sbin/sshd
root  7573  2988  0 07:28 ?00:00:00 sshd: [EMAIL 
PROTECTED]/0
   
Should I:
   
kill -9 2988  /etc/init.d/sshd start
   
Are you sure?  :)
   
- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
   Yes. As a personal preference I don't usually chain commands
   together when trouble shooting something, but there is technically
   nothing wrong with doing so.
 
  And now I'm locked out.  What do you think guys?
 
  - Grant
 

 Is your ssh session still open?

I wish. :)  100% locked out.  Connection refused.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
  My host is pretty good about issuing commands for me.  Any ideas
  there?
 
  - Grant
 start sshd manually to get back in.  something like '/usr/bin/sshd -p 3'
 (that would listen on port 3 for ssh connections)
 (absolute path is necessary for re-exec)

 I still don't know what happened; here's what I can do:
 ===
 [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED]
 Last login: Mon Sep 10 14:23:18 2007 from pascal.spore.ath.cx
 davey ~ # ps -eaf | grep sshd
 root 28869 1  0 14:23 ?00:00:00 /usr/sbin/sshd
 root 29147 28869  0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0
 root 29173 29152  0 14:34 pts/000:00:00 grep --colour=auto sshd
 davey ~ # kill -9 28869
 davey ~ # ps -eaf | grep sshd
 root 29147 1  0 14:34 ?00:00:00 sshd: [EMAIL PROTECTED]/0
 root 29186 29152  0 14:35 pts/000:00:00 grep --colour=auto sshd
 davey ~ # /etc/init.d/sshd restart
  * Stopping
 sshd ...  [ !! ]
 davey ~ # /etc/init.d/sshd zap
  * Manually resetting sshd to stopped state.
 davey ~ # /etc/init.d/sshd start
  * Starting
 sshd ...  [ ok ]
 davey ~ # exit logout
 Connection to davey closed.
 [EMAIL PROTECTED] ~ $ ssh [EMAIL PROTECTED]
 Last login: Mon Sep 10 14:34:26 2007 from pascal.spore.ath.cx
 davey ~ # exit
 logout
 Connection to davey closed.
 [EMAIL PROTECTED] ~ $
 =
 as you can see, it worked fine for me.  I even make sure to use -9.

 good luck, grant

Thank you but doesn't it look like there must be a problem that is
preventing my sshd from starting?  Won't '/usr/bin/sshd -p 3' just
fail, or is that more likely to work than '/etc/init.d/sshd start'?

Also, is '/usr/bin/sshd' sufficient?  Why not port 22?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
 If there's a problem with ssh, then you're pretty much stuck with
 using other remote terminal tool to fix it, else, you can simply kill
 the process, delete the PID file, then /etc/init.d/sshd zap and
 /etc/init.d/sshd restart, or start, anyway... (I guess your host
 could easily issue this commands for you).

What about just having them reboot and start my manual daemon?  Would
that accomplish the same thing?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-10 Thread Grant
 For Grant:
 I reread the init script for sshd, and I know see what was most likely
 the problem. The init script, now, tries to kill all instances with
 the process name of sshd, not just the daemon (as specified by the pid
 file). This is why you were locked out when trying to restart the
 daemon. If you can restart the machine, everything should be working
 fine after a reboot. This behavior differs from every other distro of
 linux that I have used, and with previous versions of the init script.
 Sorry I missed that before emailing the list last time.

That's alright, I really appreciate your attention.  One thing though.
 Your init script discovery doesn't explain why sshd wouldn't restart
(stop actually) when I was logged in does it?  Given that, do you
still think restarting is the way to go?  I'm just trying to make sure
I don't restart and still not have access.  That would be bad because
there is a crucial daemon running now that won't come up
automatically.

Please tell me what you think.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Grant
  Thank you but doesn't it look like there must be a problem that is
  preventing my sshd from starting?  Won't '/usr/bin/sshd -p 3' just
  fail, or is that more likely to work than '/etc/init.d/sshd start'?
 It seems to me that the problem is probably the initscript is confused,
 and not that the config files are bad and the daemon can't start.

  Also, is '/usr/bin/sshd' sufficient?  Why not port 22?
 It is.  No reason at all.   But if you started it before the original
 ssh server had been stopped, you'd have to start it on a different port
 so that it didn't conflict with the original.

Guys, I'm in!  I had my host execute:

sshd

and now I'm logged in, the sshd initscript was already running, and it
restarts perfectly.  All is well!  Thank you for your help!

How does my host get root access like that?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Grant
 How does my host get root access like that?

 Physical access to the box = root in many cases.
 Also, if it's some vserver type setup, root on the host can get root access
 on the guest machines.

Ok, thanks again everyone.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Hacked by association?

2007-09-19 Thread Grant
Last night my host sent out a message that their database had been
compromised.  I contacted them this morning and it turns out that all
of their trouble tickets were exposed.  I checked my records and
(stupidly) I had included my root password in an email to them about a
year ago.  I (stupidly) hadn't changed the password since.  I've
changed it now and rebooted the system, but what do you think?  Do I
need to start this thing over?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Grant
  Last night my host sent out a message that their database had been
  compromised.  I contacted them this morning and it turns out that all
  of their trouble tickets were exposed.  I checked my records and
  (stupidly) I had included my root password in an email to them about a
  year ago.  I (stupidly) hadn't changed the password since.  I've
  changed it now and rebooted the system, but what do you think?  Do I
  need to start this thing over?
 
  - Grant

 I think you should take a look at the programs that
 are running, and netstat -l, and see if anything is fishy.

I recognize everything in 'ps -ef' I think, but I've never really used
netstat before.  Under Active Internet connections I don't
recognize:

tcp localhost:10030
tcp *:snpp

I don't recognize most of the paths under UNIX domain sockets.
Anything particular I should look for?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Grant
  I recognize everything in 'ps -ef' I think, but I've never really used
  netstat before.  Under Active Internet connections I don't
  recognize:
 
  tcp localhost:10030
  tcp *:snpp

 Also, snpp is for pagers:
 http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol

With netstat -lp it looks like *:snpp is associated with apache2 and
is using the same pid as *:http and *:https.  I've never set up
anything having to do with a pager.  I've never had a pager.  What can
I do to investigate that further?

 Then run lsof (check man lsof) to see if there is anything suspicious there,
 like another user logged in either as root or with a different name.

Any handy lsof commands?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Grant
  Last night my host sent out a message that their database had been
  compromised.  I contacted them this morning and it turns out that all
  of their trouble tickets were exposed.  I checked my records and
  (stupidly) I had included my root password in an email to them about a
  year ago.  I (stupidly) hadn't changed the password since.  I've
  changed it now and rebooted the system, but what do you think?  Do I
  need to start this thing over?

 equery check sys-process/procps
 equery check sys-apps/coreutils

These check out.

 Make sure that none of the executable files have changed.

 Also, emerge and run app-forensics/rkhunter

chkrootkit reports no problems whatsoever which is actually kind of
weird as I remember some things being reported last time I ran it, but
I looked into them then and they weren't a problem.

rkhunter reports no problems but it says it couldn't determine the OS
so MD5 checks were skipped.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Grant
   I recognize everything in 'ps -ef' I think, but I've never really used
   netstat before.  Under Active Internet connections I don't
   recognize:
  
   tcp localhost:10030
   tcp *:snpp
 
  Also, snpp is for pagers:
  http://en.wikipedia.org/wiki/Simple_Network_Paging_Protocol

 With netstat -lp it looks like *:snpp is associated with apache2 and
 is using the same pid as *:http and *:https.  I've never set up
 anything having to do with a pager.  I've never had a pager.  What can
 I do to investigate that further?

This snpp pager thing is the weirdest thing I've found.  It sounds
like the kind of thing I would know if I set up.  Someone has some
kind of pager alert installed on my system?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Hacked by association?

2007-09-20 Thread Grant
   tcp localhost:10030
   tcp *:snpp
 [...]
  With netstat -lp it looks like *:snpp is associated with apache2 and
  is using the same pid as *:http and *:https.

 If that's so, then there should be a Listen directive in
 httpd.conf or one of the included files. Do a

 grep -r 444 /etc/apache2

 444 is the number associated with snpp.

And you solved it.  I use that port (443 + 1) for a second https
Location /.  Thank you, I didn't know snpp used 444.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] python-2.5

2007-09-20 Thread Grant
I had to upgrade to python-2.5 for a media app called listen and now
I'm having trouble with another media app called miro.  I think I need
to downgrade to python-2.4, but I'm confused by the slotting behavior.
 Right now emerge -pv python tells me I have python-2.4.4-r4 installed
but I know I upgraded to 2.5.  How should I handle this?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hacked by association?

2007-09-21 Thread Grant
Do I
  need to start this thing over?

 yes. No tool can tell you for certain, that no malware is rampage on your
 system. netstat, ps, emerge might be hacked already. As might be md5sum and
 other tools to generate and compare ckecksums. There is only one way to make
 sure your system is clean:

 reinstallation

Although I haven't found any evidence of intrusion, I've been urged
off-list to reinstall and since I'm about 4 hours early to rise this
morning I think I better.

Can we go over a good plan for the transition?  My main concerns are
backing up the right files and a good remote installation procedure as
it's been years since I did that.  Thanks.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-21 Thread Grant
Hello,

As I have previously posted about, my host sent me an email a few days
ago stating that support tickets for 5,000-6,000 of their clients had
been broken into.  I checked my records and found that my root
password had previously been submitted in a support ticket.  I then
decided I needed to reinstall my system.

I requested that my host allow me access to a second machine for 2-5
days while I switch over to a clean system, after that I would turn
the old system over to them and continue with the new system.

My request was denied!  I'm blown away by this.  Was I asking too much?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-21 Thread Grant
  As I have previously posted about, my host sent me an email a few days
  ago stating that support tickets for 5,000-6,000 of their clients had
  been broken into.  I checked my records and found that my root
  password had previously been submitted in a support ticket.  I then
  decided I needed to reinstall my system.
 
  I requested that my host allow me access to a second machine for 2-5
  days while I switch over to a clean system, after that I would turn
  the old system over to them and continue with the new system.
 
  My request was denied!  I'm blown away by this.  Was I asking too much?
 
  - Grant

 You are probably asking more than their terms of service *require* them to
 provide, especially if they don't believe the leaked information was used for
 any nefarious activity.
 However a reasonable webhost who accepts responsibility for its mistakes and
 values its customers would probably grant such a request as a gesture of
 goodwill - unless they were worried about opening the floodgates for every
 customer to request such treatment, a scenario which would likely leave them
 unable to comply even if they wanted to.
 As a side note, although I agree with all the comments about 'never been sure'
 a system is still clean, did you check whether there was actually any root
 logins to your server not from your IP since the breach? If I was in your
 situation and could confirm that no root logins occurred (via ssh, ftp,
 cpanel, whatever else is running) from other ip's I'd probably rest easy just
 changing my password.

Wouldn't it be trivial for them to edit the logs though?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] python-2.5

2007-09-21 Thread Grant
 did you run python-updater after you upgraded to the version 2.5 ? If
 not that might help !

Hi Boris,

I did run python-updater.  Where I'm stuck at this point is
downgrading python back to 2.4.  Not sure how that's done with
slotting behavior.

- Grant

  I had to upgrade to python-2.5 for a media app called listen and now
  I'm having trouble with another media app called miro.  I think I need
  to downgrade to python-2.4, but I'm confused by the slotting behavior.
   Right now emerge -pv python tells me I have python-2.4.4-r4 installed
  but I know I upgraded to 2.5.  How should I handle this?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-21 Thread Grant
  As I have previously posted about, my host sent me an email a few days
  ago stating that support tickets for 5,000-6,000 of their clients had
  been broken into.  I checked my records and found that my root
  password had previously been submitted in a support ticket.  I then
  decided I needed to reinstall my system.
 
  I requested that my host allow me access to a second machine for 2-5
  days while I switch over to a clean system, after that I would turn
  the old system over to them and continue with the new system.
 
  My request was denied!  I'm blown away by this.  Was I asking too much?
 

 Information that was valuable leaked because they screw it, so, no
 matter what terms of service say, they must fix their own mistakes. If
 the machine crashes, the data center is burned down to the ground or
 the manager's kid pull the plug on the main server, that's a situation
 where they can say not our fault, deal with it. But in your case
 their support system had a breach, and thus its their fault. They must
 provide you the means to ensure that YOUR information is safe, cause
 they caused the incident in the first place. You're unsure about your
 information, and information is money.

 If I were you I would be backing up my data by now, would then request
 a physical backup and after I get it:

 1) Send them email about the actions I'm about to take.
 2) Move away from their services and look for a better server.
 3) Write a cool blog entry about their services and how secure they are.

 Of course they could answer the (1) email granting your requests and
 maybe you wouldn't have to take steps (2) and (3). Happened to me
 once.

I couldn't agree more.  It feels like I should have a legal recourse
in this situation.  My Dad is a lawyer but has no knowledge of
technical matters.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
   As I have previously posted about, my host sent me an email a few days
   ago stating that support tickets for 5,000-6,000 of their clients had
   been broken into.  I checked my records and found that my root
   password had previously been submitted in a support ticket.  I then
   decided I needed to reinstall my system.
  
   I requested that my host allow me access to a second machine for 2-5
   days while I switch over to a clean system, after that I would turn
   the old system over to them and continue with the new system.
  
   My request was denied!  I'm blown away by this.  Was I asking too
   much?
  
   - Grant
 
  Would it be unreasonable to tell us who this host is?  I want to make
  sure I don't host any sites on their system; if they can't secure their
  work tickets, what makes anybody think they can secure anything else?

 I'm taking a guess it's these guys:
 http://www.theregister.co.uk/2007/09/19/layered_technologies_breach_disclosure/

 - Noven

Bingo.  They sent me another message with an offer that could be what
I asked for.  It was vague.  I replied and lookie here:

- The following addresses had permanent fatal errors -
|/usr/local/sbin/cerberus /usr/local/etc/config.xml FATAL
/var/log/cerberus.log

I guess that means they're working on the system.  I'll try to send again.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
As I have previously posted about, my host sent me an email a few days
ago stating that support tickets for 5,000-6,000 of their clients had
been broken into.  I checked my records and found that my root
password had previously been submitted in a support ticket.  I then
decided I needed to reinstall my system.
   
I requested that my host allow me access to a second machine for 2-5
days while I switch over to a clean system, after that I would turn
the old system over to them and continue with the new system.
   
My request was denied!  I'm blown away by this.  Was I asking too
much?
   
- Grant
  
   Would it be unreasonable to tell us who this host is?  I want to make
   sure I don't host any sites on their system; if they can't secure their
   work tickets, what makes anybody think they can secure anything else?
 
  I'm taking a guess it's these guys:
  http://www.theregister.co.uk/2007/09/19/layered_technologies_breach_disclosure/
 
  - Noven

 Bingo.  They sent me another message with an offer that could be what
 I asked for.  It was vague.

So much for that.

I understand sir. Unfortunately I'm about out of rope in this
situation. The only
thing I can really provide to you at this point, is the oppertunity to
flag this for
the management team, and allow them to speak with you directly.

I'll move forward and make sure this gets marked correctly for them.

Please understand that as they work M-F 9 AM - 5 PM CST, it could be some time
before you are able to get a response from them. Your patience and
cooperation is
greatly appreciated.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-24 Thread Grant
  So much for that.
 
  I understand sir. Unfortunately I'm about out of rope in this
  situation. The only
  thing I can really provide to you at this point, is the oppertunity to
  flag this for
  the management team, and allow them to speak with you directly.
 
  I'll move forward and make sure this gets marked correctly for them.
 
  Please understand that as they work M-F 9 AM - 5 PM CST, it could
  be some time
  before you are able to get a response from them. Your patience and
  cooperation is
  greatly appreciated.
 Customer service in the Internet age :(

 I would find a new host, but that's just me.

Any recommendations?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-25 Thread Grant
   Customer service in the Internet age :(
  
   I would find a new host, but that's just me.
 
  Any recommendations?

 Couldn't you host your own server in the loft or the garage, using an old box
 for the job?  A car battery + inverter for UPS (all second hand of course)
 should see you good for not much more than the cheapest of most ISP packages
 per year.  The catch here is that access speed may not be as good as the more
 centralised fiber optic data centers with their load sharing, 8 CPU monsters,
 but as I assume that you are not running amazon or google you should be
 OK.  ;-)

 It may be worth checking with your domestic DSL/cable ISP that they do not
 throttle traffic and that they allow you to run a server in their TCs.

I have a dedicated server now and I'll never use a shared system
again.  I think the problem would be the internet connection.  I've
heard that most ISPs block port 80 so you can't run a webserver from a
home connection.  I think business connections are expensive.  I'm
only paying $75/month now.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Opinions on Host's Decision Please

2007-09-25 Thread Grant
  I have a dedicated server now and I'll never use a shared system
  again.  I think the problem would be the internet connection.  I've
  heard that most ISPs block port 80 so you can't run a webserver from a
  home connection.  I think business connections are expensive.  I'm
  only paying $75/month now.
 
  - Grant

 $75/month is more than it costs to get a business-level cable or
 DSL line w/ a static ip in my area.  The dsl guys couldn't guarantee
 speeds better than 256k both ways, but Comcast was happy to sell me
 loads of bandwith.  Their package was around that for the 8mb down /
 768kb up , + a static IP.  The only catch was the hefty
 two hundred fifty dollar installation fee that was waived only with a 2
 year commitment.

 FWIW, many isp's also _don't_ block port 80.  In fact, the DHCP ips of
 both my friends on DSL and myself seem entirely open.  One friend of
 mine has configured his router with hosts.deny, and therefore he has no
 true firewall; I can even get through on the finger port, telnet, smtp,
 ssh -- everything.

 On my home server (comcast cable), I am
 very happy to say that not only are all the ports open, but my
 connection is actually pretty good for my very low traffic needs.
 ( spore.ath.cx is being hosted from my linen closet; see the speed
 yourself). If you want me to run a port map on your ip address, feel
 free to send me your IP address.

 So don't think that it's really expensive to have a do-it-yourself
 solution in your garage or something, at least not too quickly.

That sounds awesome from a DIY perspective, but this server provides
100% of my income and I feel like it should be hosted.  Maybe I'm
wrong.  Does anyone else house a money-critical server in their home?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] {OT} Strange apache2 access_log entries

2007-09-26 Thread Grant
Does anyone else get entries like this in their apache2 access_log:

127.0.0.1 - - [26/Sep/2007:03:10:08 -0700] GET / 400 470

I get a whole slew of them every day.  They always show up in batches
and each entry in a batch is logged at almost the same second.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] {OT} Strange apache2 access_log entries

2007-09-26 Thread Grant
  Does anyone else get entries like this in their apache2 access_log:
 
  127.0.0.1 - - [26/Sep/2007:03:10:08 -0700] GET / 400 470
 
  I get a whole slew of them every day.  They always show up in batches
  and each entry in a batch is logged at almost the same second.
 

 Connection to/from localhost.  Do you have some process running on the
 same server that's doing monitoring?  The 400 reply is even more
 interesting.  I think the request should be GET / HTTP/1.1 or similar
 which is probably why it is returning a 400.

I'm not doing any sort of monitoring like that.  What is that 470?
I noticed the log entries always include that, at least for the last
10 days.

- Grant
-- 
[EMAIL PROTECTED] mailing list



<    1   2   3   4   5   6   7   8   9   10   >