Re: [gentoo-user] The new apache2

2005-09-13 Thread Michael Stewart (vericgar)
Grant wrote:
 Hello, I've been on the new apache2 layout for some time now via ~x86. 
 It looks like it's now marked stable so I'd like to remove the ~x86
 keyword, but after that I get this:
 
 [blocks B ] dev-libs/apr-util (is blocking net-www/apache-2.0.54-r15)
 [blocks B ] dev-libs/apr (is blocking net-www/apache-2.0.54-r15)
 
 Should I unmerge those packages?  I thought they were important for apache?
 
 - Grant

2.0.54-r15 is still old-style.
We had to use a revision higher then what the current new-style was
because we had to do a security bump and were already at -r9 (new-style
used to be anything -r10 and above, and was using -r10 through -r14).

To fix this, we made -r15 old-style, and jumped up to -r30 for new-style.

If you are running old-style, please upgrade to -r15, as it's a security
bump.

If you are running new-style, you should upgrade to -r30 (which also
fixes the security issue). Note that new-style is still in ~arch, and
will remain there until Sept 18th.

-- 
Michael Stewart [EMAIL PROTECTED]
Gentoo Developerhttp://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-13 Thread Paweł Madej

Ow Mun Heng wrote:


This reportedly worked for some other user

Try this patch -
http://dagobah.ucc.asn.au/patches-2.6.13/suspend2-2.2-rc6-poweroff-fix.diff
 

I've done emerge sync and installed suspend2-sources-2.6.13-r4 and 
things went horribly wrong


Suspend2 fails everytime to suspend and it restores session

other thing on that kernel version is that i got alsa sound modules 
errors (it does not recognize them)


Anyone could help?


Greets
Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --oneshot vs emerge --uDvp differences

2005-09-13 Thread Nagatoro

Ed Jabbour wrote:
emerge --ask --oneshot --verbose =dev-lang/python-2.3.5-r2, as directed in 
the GLSA, returns a download for xemacs, which I do not now or ever had 
installed.  It is not in use flags.  However, an emerge -uDvp python doesn't 
even mention xemacs.  Any clue as to why the difference?  Any problems if 
the --oneshot is not used?  Thanks.





Try running:
emerge --ask --oneshot --verbose --tree =dev-lang/python-2.3.5-r2
to see what package wants to install xemacs

Btw: here it's:
[ebuild  N] dev-lang/python-2.3.5-r2  +X +berkdb -bootstrap -build 
-doc +gdbm +ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB

[ebuild  N]  sys-libs/readline-5.0-r2  1,777 kB
[ebuild  N]   app-shells/bash-3.0-r12  -bashlogger -build +nls 
2,404 kB
[ebuild  N]sys-libs/ncurses-5.4-r6  -bootstrap -build -debug 
-doc +gpm -minimal -nocxx +unicode 0 kB

[ebuild  N] sys-libs/gpm-1.20.1-r4  +emacs (-selinux) 561 kB
[ebuild  N]  app-editors/emacs-21.4-r1  +X -Xaw3d +gnome -leim 
-lesstif +motif +nls -nosendmail 19,925 kB


if you count emacs and xemacs as equivalent.

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



Re: [gentoo-user] glib with nptl

2005-09-13 Thread Jorge Almeida

On Mon, 12 Sep 2005, Richard Fish wrote:


Jorge Almeida wrote:


 I think this happens because my system is broken, God knows where and
 why.



Can you post the contents of 
/var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log?



I'm sending it to you off list (4302 lines!)
This should contain much more information about exactly why the glib 
configure cannot find a usable threading library.



Thank you.

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



[gentoo-user] [OT]- VMware and Raw Partitions (for My WinXP OS)

2005-09-13 Thread Ow Mun Heng
My Dell came with WinXP bundled and now I would like to be able to use
WinXP under Linux. 

I know that Vmware can be used/configured such that it can access the
Raw Partition natively. I would believe that there are people who would
have done this already. I'm asking if there are any caveats or things
which I should be aware of.

Thanks.

VMware 5 on Gentoo.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:17:35 up 3:52, 9 users, load average: 2.36, 2.12, 1.70 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Enabling DMA on SE7520BD2S

2005-09-13 Thread Jaroslaw Kapica

I'm using Intel Server Board SE7520BD2S with 3
disks, 2xSATA WDC 
WD1200JD-00H (sda  sdb) and 1xATA133 Seagate

ST3120026A (hda).
SATA disks seem to work fine (though they show some
warnings during 
tests), but I can't enable DMA on /dev/hda.


I've had this problem on two systems so far. The
solution, for me, was to compile *into* the kernel
support for the respective mobo chipsets: nvidia for
one, ali for the other.


Does by respective you mean that youre motherboards have nvidia and ali 
chipsets? I know that this problem is usually caused by not compiling 
proper drivers in.

Well mine motherboard is based on Intel E7520 chipset. Does youres was too?
But I did as you said and compiled in once nvidia, then ali, both of 
them, but it didn't help.


Well I tried few diffrent combinations of drivers before, (I've even 
compiled all drivers in ;} ), but it didn't help too. There are too many 
posibilities to gues the right one, moreover I think that it maight be 
sth somewhere else?


I forgot to mention in last post that I use vanila-sources-2.11.11 with 
no module support enabled and grsecurity patch.


Maybe someone is using this motherboard with ATA (not SATA) disk and 
could send me his/her config for comaparision? I attach my to this message.


Jarek
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.11.11
# Tue Sep 13 09:08:19 2005
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_LOCK_KERNEL=y

#
# General setup
#
CONFIG_LOCALVERSION=
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_LOG_BUF_SHIFT=15
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HPET_TIMER is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=8
CONFIG_SCHED_SMT=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_IRQBALANCE=y
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_REGPARM is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_VIDEO is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus 

Re: [gentoo-user] LDAP LOGIN

2005-09-13 Thread Stefan Frank
On Tuesday 13 September 2005 07.14, timothy johnson wrote:
 I think I have everything setup up, but when I switch my PAM over to use
 LDAP I get Permission Denied. I have checked my logs but I am not sure what
 is wrong.

How do you bind against LDAP? With anonymous or with the manager account?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-13 Thread Neil Bothwick
On Tue, 13 Sep 2005 11:20:30 +1200, Nick Rout wrote:

 It does provide some useful functionality IMHO, (and obviously in the
 NSHO of the designer of the logging system.)
 
 I quite _like_ to see when i first installed mplayer, what versions i
 had installed at certain times, how long it will take to emerge
 (averaged over all the times I have previously emerged it). I
 particularly like being able to pipe emerge -puD world into genlop -p
 and find out how long a whole lot of ebuilds is likely to take.

All of that uses the information in /var/log/emerge.log, not the
individual logs in $PORT_LOGDIR.

However, just because Frank can't see a need for logging more than one
install of a package, doesn't mean that others won't have a use for it. I
don't think the format of the logfile name is that important, as long as
it is consistent and easily parsed. I do like Frank's suggestion of
different names for the two log though, which would also mean that the
numbering would make more sense as both logs from a single emerge would
have the same number.


-- 
Neil Bothwick

As long as you do not move you can still choose any direction.


pgp8rWagKZDyK.pgp
Description: PGP signature


Re: [gentoo-user] emerge --oneshot vs emerge --uDvp differences

2005-09-13 Thread Neil Bothwick
On Mon, 12 Sep 2005 22:53:21 -0400, Ed Jabbour wrote:

 emerge --ask --oneshot --verbose =dev-lang/python-2.3.5-r2, as
 directed in the GLSA, returns a download for xemacs, which I do not now
 or ever had installed.  It is not in use flags.  However, an emerge
 -uDvp python doesn't even mention xemacs.  Any clue as to why the
 difference?  Any problems if the --oneshot is not used?  Thanks.

It is not --oneshot causing this. This option is necessary to prevent the
package being added to your world file. Look at the differences between

emerge -1tvD =dev-lang/python-2.3.5-r2
and
emerge -1tvD python

It is possible that one command is trying to install Python 2.3 whereas
the second would install Python 2.4, which may have different
dependencies or USE flags.

PS my tagline is allegedly picked at random, but man emerge would help
clear up some of the confusion.


-- 
Neil Bothwick

Read the docs? What a RADICAL concept!


pgpYSqwgLamWD.pgp
Description: PGP signature


Re: [gentoo-user] /dev/cdrom permissions and gxine

2005-09-13 Thread Ow Mun Heng
On Tue, 2005-09-13 at 01:52 -0400, Willie Wong wrote:
 On Mon, Sep 12, 2005 at 10:19:47PM -0700, Grant wrote:
  Here are my /dev/cdrom permissions:
  
  lr-xr-xr-x  1 root root 13 Sep 12 06:08 /dev/cdrom - cdroms/cdrom0
  
 
 that's a symlink... the permissions on it doesn't reflect that of the
 actual device. 
 
 try ls -l /dev/cdroms/cdrom0
 
  gxine executes as root, but not as a normal user.  Aren't those permissions 
  OK
 
 By execute, do you mean load and run the program, or play a movie from 
 /dev/cdrom?

are you in the cdrom group??
uid=500(gentoo) gid=100(users)
groups=10(wheel),18(audio),19(cdrom),32(gdm),35(games),80(cdrw),81(apache),100(users),250(portage),445(plugdev)


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:36:05 up 5:10, 9 users, load average: 2.57, 2.36, 2.33 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Enabling DMA on SE7520BD2S

2005-09-13 Thread Christoph Gysin

Jaroslaw Kapica wrote:
Well I tried few diffrent combinations of drivers before, (I've even 
compiled all drivers in ;} ), but it didn't help too. There are too many 
posibilities to gues the right one, moreover I think that it maight be 
sth somewhere else?


CONFIG_BLK_DEV_PIIX should be your driver. Please also attach the appropriate 
parts from dmesg.


Did you try removing CONFIG_IDE_GENERIC? If the ATA drives won't get recognised 
without it, the PIIx driver doesn't know your chipset.


I forgot to mention in last post that I use vanila-sources-2.11.11 with 
no module support enabled and grsecurity patch.


This should probably be 2.6.11. There were some major updates regarding Intel 
chipsets in 2.6.12. I'm not sure if your chipset is also affected.


Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Ati drivers for X.org

2005-09-13 Thread Rafael Fernández López
Hi,

I'm not updating ati-drivers from long time ago. I'd like to know if
that driver supports damage extension from X.org today (if anyone
knows).

Thanks.
-- 
Saludos,
Rafael Fernández López.

A la vista de suficientes ojos todos los errores resultan evidentes
- Linus Torvalds

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-13 Thread Frank Schafer
On Mon, 2005-09-12 at 18:31 -0400, Dave Nebinger wrote:
  If I get it right ``fix_libtool_files.sh'' corrects the settings for
  libtool according to the native compiler if gcc has changed. During a
  native install there isn't an older version of gcc. So this should be
  (and was) the wrong answer.
 
 Incorrect.  The stage 1 install starts with a generic 386 version of gcc 
 and, when re-emerging the system, the version of gcc targeted for your 
 system is built.  So yes, there is an older version of gcc that did change 
 and yes, it probably would have resolved the issue that you previously 
 posted.
 
It didnt.

The sequence:
scripts/bootstrap.sh  emerge --oneshot --nodeps autoconf  emerge
--oneshot --nodeps automake  emerge --oneshot --nodeps python 
emerge --emptytree system

did resolve it.

Regards

PS: The bugs were even known in b.g.o. but this site is often
unaccessible for me. Dunno why it timeouts so often.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-13 Thread Frank Schafer
On Tue, 2005-09-13 at 11:20 +1200, Nick Rout wrote:
 On Mon, 12 Sep 2005 13:38:41 +0200
 Frank Schafer wrote:
 
  There shouldn't be more logs than we have actually packages installed.
  The log for the installation of the version of (say) python I had
  installed 3 years ago isn't worth anything. (Me to say) A successful
  installation of a new version of a package can safely overwrite the old
  log because IMHO nobody needs the installation logs of not installed
  software.
 
 It does provide some useful functionality IMHO, (and obviously in the
 NSHO of the designer of the logging system.)
 
 I quite _like_ to see when i first installed mplayer, what versions i
 had installed at certain times, how long it will take to emerge (averaged 
 over all the times I have previously emerged it). I
 particularly like being able to pipe emerge -puD world into genlop -p
 and find out how long a whole lot of ebuilds is likely to take.
 
 
 -- 
 Nick Rout [EMAIL PROTECTED]
 

O.K. if you want to se all of this fo years, maybe you're glad enough to
own a n at least some TB disk array. ;)
After emerging of a minimal system (91 packages during semrge system)
the content of /var/log/portage takes 250MB.

Due to the wanna know how long does it take ...
``ls'' is your friend.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-13 Thread Frank Schafer
On Mon, 2005-09-12 at 21:05 -0300, Robin wrote:
 I segment faults randomly when emerging packages... and I know it
 is bad ram... so I would advise you to test it... :)
 
 Regards.

... see b.g.o. It happens often (if it happens) for everybody somewhere
else and for one person every time at the same line of code.

My question was if someone has some experiences with the suggestion at
b.g.o. (try a vanilla kernel)

It is likely to be the truth. Gentoo heavily patches and patches could
introduce a bug too. I had the time to emerge vanilla-sources yesterday
and seen, that even that is patched. I'll take a kernel from kernel.org.

You did read my initial post, did you?

 
 On 9/12/05, Frank Schafer [EMAIL PROTECTED] wrote:
  Hi all,
  
  so I hit this bug too. :( Well, the log itself says it's a bug and (even
  worse) that nobody knows where it comes from.
  
  Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
  someone here make the same experience and if yes, will it run then on a
  gentoo-kernel?
  
  Thanks for any hint
  Frank
  
  --
  gentoo-user@gentoo.org mailing list
  
 
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage logs

2005-09-13 Thread Neil Bothwick
On Tue, 13 Sep 2005 12:59:53 +0200, Frank Schafer wrote:

 O.K. if you want to se all of this fo years, maybe you're glad enough to
 own a n at least some TB disk array. ;)
 After emerging of a minimal system (91 packages during semrge system)
 the content of /var/log/portage takes 250MB.

Which is easier? For you to create a script to delete all old logfiles in
here, or for someone who needs them to write a script to recover them
after your proposed method deletes them?

Alternatively, you could have a cron job that gzips them, reducing the
size by around 90%.

 Due to the wanna know how long does it take ...
 ``ls'' is your friend.

genlop doesn't even need per-package logging to $PORT_LOGDIR, and it
saves on the mental arithmetic. Personally, I prefer to let the computer
do the work whenever possible. It's why I bought it.


-- 
Neil Bothwick

Bother, said Pooh, as he was given another bad script.


pgpp2ZhlfAixN.pgp
Description: PGP signature


Re: [gentoo-user] Enabling DMA on SE7520BD2S

2005-09-13 Thread Jaroslaw Kapica
Well I tried few diffrent combinations of drivers before, (I've even 
compiled all drivers in ;} ), but it didn't help too. There are too 
many posibilities to gues the right one, moreover I think that it 
maight be sth somewhere else?


CONFIG_BLK_DEV_PIIX should be your driver. Please also attach the 
appropriate parts from dmesg.


Did you try removing CONFIG_IDE_GENERIC? If the ATA drives won't get 
recognised without it, the PIIx driver doesn't know your chipset.


I forgot to mention in last post that I use vanila-sources-2.11.11 
with no module support enabled and grsecurity patch.


This should probably be 2.6.11. There were some major updates regarding 
Intel chipsets in 2.6.12. I'm not sure if your chipset is also affected.


Of course you're right, I meant 2.6.11.11. But I decided to used 
2.6.12.5 insted now.


Removing CONFIG_IDE_GENERIC helped.
The /dev/hda device dissapeared, which confused me at the begining.
It's visible as /dev/sda now (old sda is sdb, and sdb is sdc now ;} ), 
but performance is much better:


# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   3100 MB in  2.00 seconds = 1549.46 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate 
ioctl for device

 Timing buffered disk reads:   84 MB in  3.03 seconds =  *27.72 MB/sec*
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate 
ioctl for device


# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   2884 MB in  2.00 seconds = 1441.50 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate 
ioctl for device

 Timing buffered disk reads:  164 MB in  3.03 seconds =  *54.17 MB/sec*
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate 
ioctl for device


# hdparm -tT /dev/md1

/dev/md1:
 Timing cached reads:   2980 MB in  2.00 seconds = 1488.74 MB/sec
 Timing buffered disk reads:  206 MB in  3.04 seconds =  *67.80 MB/sec*


The previous test (on md0) was not actually the one which was crucial, 
coz md0 is /boot and works in mirroring (RAID1), md1 is RAID5 ;]



Thx for help.

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



Re: [gentoo-user] Portage logs

2005-09-13 Thread Frank Schafer
On Tue, 2005-09-13 at 12:31 +0100, Neil Bothwick wrote:
 On Tue, 13 Sep 2005 12:59:53 +0200, Frank Schafer wrote:
 
  O.K. if you want to se all of this fo years, maybe you're glad enough to
  own a n at least some TB disk array. ;)
  After emerging of a minimal system (91 packages during semrge system)
  the content of /var/log/portage takes 250MB.
 
 Which is easier? For you to create a script to delete all old logfiles in
 here, or for someone who needs them to write a script to recover them
 after your proposed method deletes them?
 
 Alternatively, you could have a cron job that gzips them, reducing the
 size by around 90%.
 
  Due to the wanna know how long does it take ...
  ``ls'' is your friend.
 
 genlop doesn't even need per-package logging to $PORT_LOGDIR, and it

So genlop isn't a reason to not change the names of the log files, is
it?

Both type of user could be happy. Th one, which uses a bunch of nifty
tools and the one who uses UNIX commands (hmmm... nifty tools too ;)

 saves on the mental arithmetic. Personally, I prefer to let the computer
 do the work whenever possible. It's why I bought it.
 
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kmymoney2 startup problem!!

2005-09-13 Thread Nuno Alexandre Neves Raimundo
Hi,

I have emerged kmymoney2, and when i start the program it only appears the
splash screen and nothing appeans, not even the main window appears.

Did anyone have this problem and knows how to solve this?


pgp3kG7Fa8G39.pgp
Description: PGP signature


[gentoo-user] set FAN speed

2005-09-13 Thread Catalin Trifu

Hi,


I am having a very nasty problem. My Dell Inspiron 5160 laptop
(P4 3.06 GHz) runs at very high temperature (77 degrees C) and in the room are
only 20.
I looked around at how to get the FAN speed up at max but lm_sensors simply
doesn't want to get installed.
ACPI does not work properly on this machines (it's a known problem).
I am running on ck-sources (tried gentoo-sources and same result). I know 
the fan
is not spinning at full speed (I ran the tests from Dell).
Does anyone knoe how I could get the FAN up to speed ?

Thanks,
Catalin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] set FAN speed

2005-09-13 Thread Hans-Werner Hilse
Hi,

On Tue, 13 Sep 2005 16:14:59 +0300
Catalin Trifu [EMAIL PROTECTED] wrote:

  I am having a very nasty problem. My Dell Inspiron 5160 laptop
 (P4 3.06 GHz) runs at very high temperature (77 degrees C) and in the room are
 only 20.
 [...]

Hm. And you're sure that the fan *isn't* already at maximum speed?

  ACPI does not work properly on this machines (it's a known problem).

You should be using APM then, right? Isn't there a fix available
(custom DSDT or a newer ACPI version)? Googling for [inspiron 5160
acpi] I found this:
http://www.swineworld.org/inspiron5160/
and it says that ACPI, at least throttling, is working fine.

 [...]
  Does anyone knoe how I could get the FAN up to speed ?

When using APM, AFAIK that's the BIOS' job.

This isn't directly an answer to your question, but did you told the
kernel (in the APM config section) that it should use IDLE calls?

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



[gentoo-user] nvtv Seg Faults After 'emerge -uvD world'

2005-09-13 Thread Drew Tomlinson
I'm running a 2.6.11-r6 kernel on a box whose main purpose is MythTV.  
Everything was working fine until I did an upgrade using 'emerge -uvD 
world' followed with 'revdep-rebuild'.  Now nvtv seg faults when I first 
attempt to run it.  Additional attempts result in this error message:


Fatal: Cannot access video cards. Either you are not root, or the
NVidia devices are not accessible.

I get the same message when attempting to run as root.

I've tried  removing and reinstalling both nvtv and nvidia-kernel but no 
joy.  I'm new to Gentoo and Linux but do have a bit of a *nix background 
with FreeBSD.  Any suggestions on how to resolve this would be greatly 
appreciated.


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] set FAN speed

2005-09-13 Thread William Kenworthy
i8k handles the problem for the i8k's - it might work for you. There is
also a dell laptop option in the kernel for a module that can be loaded
(its needed for these utilities) and it can be accessed directly
via /proc if the i8kutils do not cut it.  Dell and their bloody broken
ACPI ...

BillK


rattus rpm # emerge i8k -s
Searching...
[ Results for search key : i8k ]
[ Applications found : 2 ]

*  app-laptop/i8kutils
  Latest version available: 1.25
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 39 kB
  Homepage:http://people.debian.org/~dz/i8k/
  Description: Dell Inspiron and Latitude utilities
  License: GPL-2


On Tue, 2005-09-13 at 16:14 +0300, Catalin Trifu wrote:
   Hi,
 
 
  I am having a very nasty problem. My Dell Inspiron 5160 laptop
 (P4 3.06 GHz) runs at very high temperature (77 degrees C) and in the room are
 only 20.
  I looked around at how to get the FAN speed up at max but lm_sensors 
 simply
 doesn't want to get installed.
  ACPI does not work properly on this machines (it's a known problem).
  I am running on ck-sources (tried gentoo-sources and same result). I 
 know the fan
 is not spinning at full speed (I ran the tests from Dell).
  Does anyone knoe how I could get the FAN up to speed ?
 
 Thanks,
 Catalin
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] set FAN speed

2005-09-13 Thread Rob Oravec

0300, Catalin Trifu wrote:


Hi,


I am having a very nasty problem. My Dell Inspiron 5160 laptop
(P4 3.06 GHz) runs at very high temperature (77 degrees C) and in the room are
only 20.
I looked around at how to get the FAN speed up at max but lm_sensors simply
doesn't want to get installed.
ACPI does not work properly on this machines (it's a known problem).
I am running on ck-sources (tried gentoo-sources and same result). I know 
the fan
is not spinning at full speed (I ran the tests from Dell).
Does anyone knoe how I could get the FAN up to speed ?

Thanks,
Catalin

   



Hi,

Has it melted yet?
Keep some thermal compound at hand!

Have you tried the i8kutils?
emerge i8kutils

Great for fan manipulation but don't tell Dell ;-)
Designed for the Inspiron 8000 series but works on other models too.

Works great with my Inspiron 5150 running 2.6.12-gentoo-r10 kernel.

You need to compile the i8k module in the kernel:
Processor Type and featuresDell laptop support.

Only got it to work when I put :
i8k force=1
in /etc/modules.autoload.d/kernel-2.6

Hope this helps,

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



[gentoo-user] Re: MythTV help

2005-09-13 Thread Drew Tomlinson

On 9/13/2005 7:27 AM Luigi Pinna wrote:


Can you help me,please?
I can't set up MythTv!
I had a database access problem!

$mythfilldatabase
2005-09-13 16:24:37.095 New DB connection, total: 1
2005-09-13 16:24:37.203 Unable to connect to database!
2005-09-13 16:24:37.204 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)

2005-09-13 16:24:37.204 Failed to init MythContext, exiting.

I can't set up mysql, aber I can access to mysql as user.
Please I become mad!!
Thanks, and sorry if I contact you in privat but in the list nobody 
answered me.
 

I did see your message on the list and I understand your frustration.  
But unfortunately, I'm not a MySQL expert nor am I a MythTV expert.  I 
don't know the exact answer to your problem but a Google search revealed 
these links:


http://www.mythtvtalk.com/forum/archive/o_t/t_355/acces_denied.html
http://www.pvrguide.no-ip.com/bbs/index.php?act=Printclient=printerf=2t=4450


Maybe this will get you on the right track.

Good Luck!

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] The new apache2

2005-09-13 Thread Grant
  Hello, I've been on the new apache2 layout for some time now via ~x86.
  It looks like it's now marked stable so I'd like to remove the ~x86
  keyword, but after that I get this:
 
  [blocks B ] dev-libs/apr-util (is blocking net-www/apache-2.0.54-r15)
  [blocks B ] dev-libs/apr (is blocking net-www/apache-2.0.54-r15)
 
  Should I unmerge those packages?  I thought they were important for apache?
 
  - Grant
 
 2.0.54-r15 is still old-style.
 We had to use a revision higher then what the current new-style was
 because we had to do a security bump and were already at -r9 (new-style
 used to be anything -r10 and above, and was using -r10 through -r14).
 
 To fix this, we made -r15 old-style, and jumped up to -r30 for new-style.
 
 If you are running old-style, please upgrade to -r15, as it's a security
 bump.
 
 If you are running new-style, you should upgrade to -r30 (which also
 fixes the security issue). Note that new-style is still in ~arch, and
 will remain there until Sept 18th.
 
 --
 Michael Stewart [EMAIL PROTECTED]

Got it, thanks Michael.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/cdrom permissions and gxine

2005-09-13 Thread Grant
   Here are my /dev/cdrom permissions:
  
   lr-xr-xr-x  1 root root 13 Sep 12 06:08 /dev/cdrom - cdroms/cdrom0
  
 
  that's a symlink... the permissions on it doesn't reflect that of the
  actual device.
 
  try ls -l /dev/cdroms/cdrom0
 
   gxine executes as root, but not as a normal user.  Aren't those 
   permissions OK
 
  By execute, do you mean load and run the program, or play a movie from 
  /dev/cdrom?
 
 are you in the cdrom group??
 uid=500(gentoo) gid=100(users)
 groups=10(wheel),18(audio),19(cdrom),32(gdm),35(games),80(cdrw),81(apache),100(users),250(portage),445(plugdev)
 
 
 --
 Ow Mun Heng

Adding the user to the cdrom group in /etc/group did the trick.  Thanks!

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xvmc and directfb

2005-09-13 Thread Grant
Do I have anything to gain by enabling xvmc and/or directfb in my USE
flags?  Does it depend on my video hardware and/or what kind of video
stuff I'm doing?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xvmc and directfb

2005-09-13 Thread Volker Armin Hemmann
On Tuesday 13 September 2005 17:54, Grant wrote:
 Do I have anything to gain by enabling xvmc and/or directfb in my USE
 flags?  Does it depend on my video hardware and/or what kind of video
 stuff I'm doing?


xvmc may help with some videos/hardware (mpeg2) combinations to lower workload 
of the cpu, but directfb - I really do not see any point in using it, if your 
X is working fine ;)
-- 
gentoo-user@gentoo.org mailing list



XMLTV and tv_grab_de_tvtoday (Was: [gentoo-user] Re: MythTV help)

2005-09-13 Thread Luigi Pinna
Alle 17:14, martedì 13 settembre 2005, Drew Tomlinson ha scritto:
 I did see your message on the list and I understand your frustration.
 But unfortunately, I'm not a MySQL expert nor am I a MythTV expert. 
 I don't know the exact answer to your problem but a Google search
 revealed these links:

 http://www.mythtvtalk.com/forum/archive/o_t/t_355/acces_denied.html
 http://www.pvrguide.no-ip.com/bbs/index.php?act=Printclient=printer;
f=2t=4450


 Maybe this will get you on the right track.

 Good Luck!

That's works!
But not enough :-(
Now is a xmltv problem...

$mythfilldatabase
2005-09-13 18:38:46.537 New DB connection, total: 1
2005-09-13 18:38:46.626 New DB connection, total: 2
Refreshing Tomorrow's data
- Start of XMLTV output -
2005-09-13 18:38:46.628 New DB connection, total: 3
grabbing: Can't call method look_down on an undefined value 
at /usr/bin/tv_grab_de_tvtoday line 423.
-- End of XMLTV output --
Error in 88:13: unexpected end of file
Updating icons for sourceid: 1
2005-09-13 18:38:51.462 New DB connection, total: 4
Updated programs: 0  Unchanged programs: 0
Data is already present for mar set 13 2005, skipping
Data is already present for gio set 15 2005, skipping
Data is already present for ven set 16 2005, skipping
Data is already present for sab set 17 2005, skipping
Data is already present for dom set 18 2005, skipping
Data is already present for lun set 19 2005, skipping
Failed to fetch some program info

I read that tv_grab_de_tvtoday has problems but unfortunately I don't 
find any solution
 
$tv_grab_de_tvtoday
using config filename /home/pinna/.xmltv/tv_grab_de_tvtoday.conf
getting list of channels: 
##
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE tv SYSTEM xmltv.dtd

grabbing: Can't call method look_down on an undefined value 
at /usr/bin/tv_grab_de_tvtoday line 462.
tv source-info-url=http://www.tvtoday.de/; 
source-data-url=http://www.tvtoday.de/tv/programm/programm.php; 
generator-info-name=XMLTV 
generator-info-url=http://membled.com/work/apps/xmltv/;

I use the last xmltv available (0.5.39)
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgpzOfyzQX5us.pgp
Description: PGP signature


Re: [gentoo-user] Enabling DMA on SE7520BD2S

2005-09-13 Thread Holly Bostick
maxim wexler schreef:
 Does by respective you mean that youre motherboards
 
 
 from OED:
 
 respective, a. Each's own, proper to each, individual, several, 
 comparative...
 
In other words, yes.

:-)

He compiled the nvidia kernel modules for the nforce mobo, and the ali
modules for the ali chipset mobo.

Honestly, maxim, if your original statement was over the poster's head
(no offence; English is not everyone's first language, and everybody is
not necessarily *good* with language, native or not), quoting the
Oxford English Dictionary at 'him' is not really helpful.

Jaroslaw, if your motherboard has an  Intel E7520 chipset, neither the
nvidia nor the Ali modules are going to help you. Did you try
CONFIG_BLK_DEV_PIIX, as Christoph suggested (I saw you took his other
suggestion of removing CONFIG_IDE_GENERIC)?

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



Re: [gentoo-user] Re: public_html on apache2

2005-09-13 Thread Allan Spagnol Comar
Yes I have loaded the mod_userdir on apache2.conf and set the UserDir
to public_html

Don't know what is wrong.

:(  ( snip .. ) 

On 9/12/05, Jochen Schalanda [EMAIL PROTECTED] wrote:
 On 09/12/2005 08:19 PM, Allan Spagnol Comar wrote:
  Does someone know how to allow everyone to access public_html on home
  folder of my users ?
 
  I had inserted the following lines on my commonapache2.conf and it
  still doesn't work
 
  Directory /home/*/public_html
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
 
  anyone had any idea about it ?
 
 Have you loaded mod_userdir and set the UserDir directive?
 Read [1] for details.
 
 [1]: http://httpd.apache.org/docs/2.0/mod/mod_userdir.html
 
 --
 Regards,
 Jochen
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Suggestions? Network monitoring scripts

2005-09-13 Thread fire-eyes
I'm looking for suggestions on software which could do the following 1)
if our primary gateway goes down, do nothing 2) if it does go down,
change the default gateway to line B 3) when the primary comes back, set
the gateway back to B. I have two physical interfaces and one alias.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: public_html on apache2

2005-09-13 Thread Allan Spagnol Comar
I got 755 on all home tree !!!

On 9/13/05, Dan Anderson [EMAIL PROTECTED] wrote:
 
 
 On 9/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
  Yes I have loaded the mod_userdir on apache2.conf and set the UserDir
  to public_html
  
  Don't know what is wrong.
 
  
  Did you chmod 711 the users's directory in /home and make sure the user's
 public_html directory is mode 755?
  
 
 
 -- 
 Dan

-- 
gentoo-user@gentoo.org mailing list



Re: XMLTV and tv_grab_de_tvtoday (Was: [gentoo-user] Re: MythTV help)

2005-09-13 Thread Drew Tomlinson

On 9/13/2005 10:17 AM Luigi Pinna wrote:


Alle 17:14, martedì 13 settembre 2005, Drew Tomlinson ha scritto:
 


I did see your message on the list and I understand your frustration.
But unfortunately, I'm not a MySQL expert nor am I a MythTV expert. 
I don't know the exact answer to your problem but a Google search

revealed these links:

http://www.mythtvtalk.com/forum/archive/o_t/t_355/acces_denied.html
http://www.pvrguide.no-ip.com/bbs/index.php?act=Printclient=printer;
f=2t=4450


Maybe this will get you on the right track.

Good Luck!
   



That's works!
But not enough :-(
Now is a xmltv problem...
 

I don't know anything about xmltv.  I'm in North America and get my 
listings from Data Direct.  Maybe some one else can help.


Cheers,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



[gentoo-user] to mail or not to mail

2005-09-13 Thread Antoine

Hi,
I am trying to get php to send an email and am completely lost. It seems 
as though I had it working on an mdk box at work today, cos I got the 
messages on my yahoo account, but now I am trying to set up a similar 
thing at home I am getting nowhere. I have never done anything apart 
from setting up pop/smtp servers in gui mail clients and once in a 
networking class we sent an email via telnet.
Having done the extremely simple cl mail sending I was under the 
impression that this would be simple!
I just can't work out why it is so difficult... first of all ssmtp was 
blocking everything. So I uninstall and install postfix. I try to get 
postfix going but get lots of abusive messages about it not liking 
certain parameters (the default php ones). Now I read the ssmtp man page 
and ask myself - why shouldn't this work? All I want to do is send a 
simple little email - if telnet can do it then this can...
Now I reinstall ssmtp and nothing is working. From mutt, sendmail (see 
below) and the php script I get the below.


tux ~ # sendmail [EMAIL PROTECTED]
hithere

sendmail: Cannot open mail:25

I don't want to do ANYTHING but have php send emails. I don't really 
care about security (for the moment) and really just want it to work 
without thinking about it! Can someone give me some advice?

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] to mail or not to mail

2005-09-13 Thread Michael Crute
On 9/13/05, Antoine [EMAIL PROTECTED] wrote:
Hi,I am trying to get php to send an email and am completely lost. It seemsas though I had it working on an mdk box at work today, cos I got the
messages on my yahoo account, but now I am trying to set up a similarthing at home I am getting nowhere. I have never done anything apartfrom setting up pop/smtp servers in gui mail clients and once in anetworking class we sent an email via telnet.
Having done the extremely simple cl mail sending I was under theimpression that this would be simple!I just can't work out why it is so difficult... first of all ssmtp wasblocking everything. So I uninstall and install postfix. I try to get
postfix going but get lots of abusive messages about it not likingcertain parameters (the default php ones). Now I read the ssmtp man pageand ask myself - why shouldn't this work? All I want to do is send a
simple little email - if telnet can do it then this can...Now I reinstall ssmtp and nothing is working. From mutt, sendmail (seebelow) and the php script I get the below.tux ~ # sendmail [EMAIL PROTECTED]
hitheresendmail: Cannot open mail:25I don't want to do ANYTHING but have php send emails. I don't reallycare about security (for the moment) and really just want it to workwithout thinking about it! Can someone give me some advice?
CheersAntoine
Personally I would just emerge sendmail and use that, especially if you don't need incoming mail. Postfix is probably overkill and Idon'tknowjack about ssmtp.You may encounter two situations however: 1) Your ISP is blocking the SMTP port (25) and/or 2) Your firewall, software or hardware, is blocking mail. As I recall there isn't any special setting needed for sendmail to send a message from php, it just needs to be installed.


-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] Nasty bugs in portage?

2005-09-13 Thread Andrew MacKenzie
  what have you been smoking Neil? A stage 3 install just means you have
  a biggish tarball at the start and it installs a very basic working
  system ready to comile on. You still do your own kernel and you can
  EITHER use GRP packages OR compile them yourself. 
 I know, but the quote you removed was about using stage 3 to save time
 to have a running system asap. If that's your objective, you're hardly
 going to follow it up by compiling KDE and X from scratch, are you?
I always have...

stage 3 gets me to a point where while I'm compiling X, KDE, qt, Gnome, and
the rest of the world, I can use my computer.  Especially since the first
things I emerge are those I'm likely to use (mutt, irc client, etc.).

-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// Anyone who has had a bull by the tail knows five or six more things
// than someone who hasn't.
// -- Mark Twain


pgpKrqffJzVw2.pgp
Description: PGP signature


Re: [gentoo-user] Re: public_html on apache2

2005-09-13 Thread Allan Spagnol Comar
Thank you all I was missing the option Indexes on public_html permisions !!!


On 9/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 I do not found UserDir enabled anywhere . when I try to do it I
 got a message from apache2ctl that UserDir enabled must have a user
 name 
 I tried to use UserDir enaled user  but still got the forbidden
 message on browser !!!
 
 
 On 9/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
  I got 755 on all home tree !!!
 
  On 9/13/05, Dan Anderson [EMAIL PROTECTED] wrote:
  
  
   On 9/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
Yes I have loaded the mod_userdir on apache2.conf and set the UserDir
to public_html
   
Don't know what is wrong.
  
  
Did you chmod 711 the users's directory in /home and make sure the user's
   public_html directory is mode 755?
  
  
  
   --
   Dan
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] to mail or not to mail

2005-09-13 Thread Antoine



I don't want to do ANYTHING but have php send emails. I don't really
care about security (for the moment) and really just want it to work
without thinking about it! Can someone give me some advice?
Cheers
Antoine

Personally I would just emerge sendmail and use that, especially if you 
don't need incoming mail. Postfix is probably overkill and 
I don't know jack about ssmtp. You may encounter two situations however: 
1) Your ISP is blocking the SMTP port (25) and/or 2) Your firewall, 
software or hardware, is blocking mail. As I recall there isn't any 
special setting needed for sendmail to send a message from php, it just 
needs to be installed.


Nope... i still get the same thing with the proper sendmail :-(. I can 
also telnet to yahoo (though can't seem to send because it wants to 
authenticate...) on port 25 so don't think it is the isp or firewall.

Anything else I could try?
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] to mail or not to mail

2005-09-13 Thread Billy Holmes

Antoine wrote:


tux ~ # sendmail [EMAIL PROTECTED]
hithere

sendmail: Cannot open mail:25


ssmtp always uses a smart host. It can't deliver mail by itself.

edit /etc/ssmtp/ssmtp.conf, make your changes (use your ISP's mail 
server), and I personally turn on FromLineOverride=yes. You may have to 
set your hostname in the file, too.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] to mail or not to mail

2005-09-13 Thread kashani

Antoine wrote:

Hi,
I am trying to get php to send an email and am completely lost. It seems 
as though I had it working on an mdk box at work today, cos I got the 
messages on my yahoo account, but now I am trying to set up a similar 
thing at home I am getting nowhere. I have never done anything apart 
from setting up pop/smtp servers in gui mail clients and once in a 
networking class we sent an email via telnet.
Having done the extremely simple cl mail sending I was under the 
impression that this would be simple!
I just can't work out why it is so difficult... first of all ssmtp was 
blocking everything. So I uninstall and install postfix. I try to get 
postfix going but get lots of abusive messages about it not liking 
certain parameters (the default php ones). Now I read the ssmtp man page 
and ask myself - why shouldn't this work? All I want to do is send a 
simple little email - if telnet can do it then this can...
Now I reinstall ssmtp and nothing is working. From mutt, sendmail (see 
below) and the php script I get the below.


tux ~ # sendmail [EMAIL PROTECTED]
hithere

sendmail: Cannot open mail:25

I don't want to do ANYTHING but have php send emails. I don't really 
care about security (for the moment) and really just want it to work 
without thinking about it! Can someone give me some advice?


Stick with ssmtp as you don't need a full MTA. You'll need to configure 
ssmtp as it needs a relay host to actually send any email. That'll 
lickly be your ISP mail server.


sendmail [EMAIL PROTECTED] is a bad test because ssmtp is not able to 
deliver locally. ssmtp is realyy just a sendmail work a like binary that 
can be used from the commandline.


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



Re: [gentoo-user] to mail or not to mail

2005-09-13 Thread Antoine

Billy Holmes wrote:

Antoine wrote:


tux ~ # sendmail [EMAIL PROTECTED]
hithere

sendmail: Cannot open mail:25



ssmtp always uses a smart host. It can't deliver mail by itself.

edit /etc/ssmtp/ssmtp.conf, make your changes (use your ISP's mail 
server), and I personally turn on FromLineOverride=yes. You may have to 
set your hostname in the file, too.


I will give that a try but I seem to be making at least some progress 
with sendmail (in fact it wasn't properly installed and I had to 
uninstall ssmtp and reinstall to get it working...) I also had to 
hardcode /usr/sbin/sendmail.sendmail into php.ini cos 
/etc/mail/mailer.conf doesn't look like it's working but anyway -


tux ~ # php /home/antt/tmp/test.php
[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
[EMAIL PROTECTED] Deferred: Connection refused by [127.0.0.1]
pMessage successfully sent!/ptux ~ #

Obviously it wasn't successful, and I have done something silly here...
This is frustrating!
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvtv Seg Faults After 'emerge -uvD world'

2005-09-13 Thread Nick Rout
On Tue, 2005-09-13 at 07:06 -0700, Drew Tomlinson wrote:
 I'm running a 2.6.11-r6 kernel on a box whose main purpose is MythTV.  
 Everything was working fine until I did an upgrade using 'emerge -uvD 
 world' followed with 'revdep-rebuild'.  Now nvtv seg faults when I first 
 attempt to run it.  Additional attempts result in this error message:
 
 Fatal: Cannot access video cards. Either you are not root, or the
 NVidia devices are not accessible.
 
 I get the same message when attempting to run as root.
 
 I've tried  removing and reinstalling both nvtv and nvidia-kernel but no 
 joy.  I'm new to Gentoo and Linux but do have a bit of a *nix background 
 with FreeBSD.  Any suggestions on how to resolve this would be greatly 
 appreciated.

Drew I ahve seen a few messages here from you about mythtv related
stuff. Although I have no problem at all with you posting here, you may
get better results on the mythtv-user list. You can sub from a link on
www.mythtv.org

It is a busy list, quite knowledgeable.

As for nvtv, are you actually using the nvidia driver? - do you get the
nvidia splash screen when you start X?

 
 Thanks,
 
 Drew
 
 -- 
 Visit The Alchemist's Warehouse
 Magic Tricks, DVDs, Videos, Books,  More!
 
 http://www.alchemistswarehouse.com
 
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fwd: reiserfs file size issue

2005-09-13 Thread Stuart Howard
 The solution has arrived.
 Thanks Richard for the cifs tip, to lay it out :-
 
 mount.smbfs //NEWSTU/genstubackup /mnt/NEWSTU/genstubackup
 = This command has a limit on file transfer of 2Gb
 
 
 mount.cifs //NEWSTU/genstubackup /mnt/NEWSTU/genstubackup
 = This command has been tested with a 3.7Gb file and transfered without fault
 
 
 Many thanks for the help people
 
 stu
 
 On 9/13/05, Stuart Howard [EMAIL PROTECTED] wrote:
  FYI
  Will try this CIFS later on
 
  stu
 
 
  -- Forwarded message --
  From: Richard Fish [EMAIL PROTECTED]
  Date: Sep 13, 2005 4:57 AM
  Subject: Re: [gentoo-user] Fwd: reiserfs file size issue
  To: gentoo-user@lists.gentoo.org
 
 
  Stuart Howard wrote:
 
  Yes I am using samba to connect to the XP box as you suggested.
  The error report arrived via mail from a cron, prehaps the garbling of
  the message occured there?
  
  Anyway thanks again for responses, I usually clean up /tmp after the
  script runs so I made the assumption later on that the error was at
  the point of creation of the file and not during the cp, so as a way
  of confirming this I have set it off again to make the very large tgz
  and then try too cp it via samba transport to the XP box. [will run
  overnight now]
  If it works ie. if the full file is created [waiting in /tmp] then it
  is samba or if not then a post back to the shell limit. Should know by
  morning.
  
  An interesting chase regardless and if it is samba then will have to
  split the tgz.
  
  
 
  Mounting it as a smbfs filesystem (which does not support file larger
  than 2G) is almost certainly the problem.  Try mounting the XP box as a
  cifs (mount.cifs) filesystem and you should have better luck.
 
  -Richard
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
  --
  There are 10 types of people in this world: those who understand
  binary, those who don't
 
  --Unknown
 
 
 
 --
 There are 10 types of people in this world: those who understand
 binary, those who don't
 
 --Unknown
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] [OT] Finding other machines on the network

2005-09-13 Thread Daevid Vincent
Related to this, I had a similar situation when I setup up a 'turbonet' card
on my TiVo. 

I built and evolved this web UI: 
http://daevid.com/examples/dhcp/

Source is at bottom of the page. I find it useful to see who's on my
network. My linux box is the firewall and dhcp server.

It uses 'arp'. Works well for my needs. YMMV. 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Following a well overdue world -u I have no network

2005-09-13 Thread Daevid Vincent
Not sure if this helps, but did you make sure that your symlinks are
correct. They should essentially all link to net.lo

init.d # ll net.*
lrwxrwxrwx  1 root root 6 Aug 29 18:07 net.eth0 - net.lo
lrwxrwxrwx  1 root root 8 Nov 27  2004 net.eth1 - net.eth0
-rwxr-xr-x  1 root root 24323 Aug 29 18:07 net.lo
lrwxrwxrwx  1 root root 8 Nov 27  2004 net.wlan0 - net.eth0 

 -Original Message-
 Following a well overdue emerge world -u I have no network on reboot.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] glib with nptl

2005-09-13 Thread Richard Fish

Jorge Almeida wrote:


On Mon, 12 Sep 2005, Richard Fish wrote:


Jorge Almeida wrote:


 I think this happens because my system is broken, God knows where and
 why.




Can you post the contents of 
/var/tmp/portage/glib-2.6.5/work/glib-2.6.5/config.log?



I'm sending it to you off list (4302 lines!)



Well, something is very wrong with your system, but of course, you knew 
that already!  The configure blew up at this point:


configure:32976: checking for thread implementation
configure:32985: result: posix
configure:33079: i686-pc-linux-gnu-gcc -o conftest -O2 -march=pentium4 
-fomit-frame-pointer  -Wall -pthread   conftest.c   5
conftest.c: In function `main':
conftest.c:121: warning: implicit declaration of function `exit'
configure:33082: $? = 0
configure:33084: ./conftest
./configure: line 33085: 24663 Segmentation fault  ./conftest$ac_exeext
configure:33087: $? = 139
configure: program exited with status 139


Basically, gcc had a memory fault compiling a very simple program that 
configure was using to determine the features of the threading library.  
Normally the only time gcc segfaults is if you have bad 
hardware...faulty memory is the most common cause.


The (somewhat simplified) program that configure tried to build was:

#include pthread.h
int check_me = 0;
void* func(void* data) {check_me = 42; return check_me;}
int main() {
 pthread_t t;
 void *ret;
 pthread_create (t, 0, func, 0);
 pthread_join (t, ret);
 exit (check_me != 42 || ret != check_me);
}

If you save the above lines to a file (like testthread.c), you can try 
building it with:


 i=0
 while test $i -lt 1000; do
   printf \r$i
   gcc -O2 -march=pentium4 -o testthread -pthread testthread.c 
results.txt 21

   test $? -ne 0  break
   i=$(( $i + 1 ))
 done

The above shell script will build the program 1000 times.  My guess is 
that it won't compile more than a few times.


If so, I suspect hardware problems:

1. Dirty/bad CPU fan.  Try blowing out your system.

2. Bad memory.  In addition to memtest86, there was another (and better) 
memory test script discussed on this list some weeks ago.  Search the 
archives, or maybe someone else can provide a link.


3. Bad power supply.


Also, assuming that you have ACPI thermal zone support in your kernel, 
you might want to monitor the processor temperature with:


 while sleep 1 ; do cat /proc/acpi/thermal_zone/THRM/temperature; done

HTH,

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nasty bugs in portage?

2005-09-13 Thread Nick Rout

On Mon, 12 Sep 2005 19:53:04 +0200
Volker Armin Hemmann wrote:


 
 I installed successfully half a douzend gentoo boxes (1.0, 1.1, 1.1a, 1.4, 
 2004) and never were there any --emptytree
 
 And before sending my mails I looked into the handbook: no emptytree.
 
 It is not my fault, that there are two handbooks, one with emptytree and one 
 without.

Yeah and IF you look at the two handbooks, you will see that the
handbook WITHOUT --emptytree is for installing from stage3, so that part
is missed out completely.

Again: the command for --emptytree is in the Progressing from Stage2 to 
Stage3 section of the Gentoo Handbook

The Gentoo 2005.1 Handbook does a stage3 install so that section is
SKIPPED. Please note the prelude to the 2005.1 handbook:

Welcome to the Gentoo Linux 2005.1 Handbooks. These handbooks are released 
together with the Gentoo Linux releases and contain the necessary installation 
instructions to install Gentoo Linux 2005.1 WITHOUT AN INTERNET CONNECTION.

However, IF YOU WANT to install Gentoo Linux using THE LATEST VERSIONS of all 
available packages, please USE the Installation Instructions in THE GENTOO 
LINUX HANDBOOK for your architecture. 

Have you got it now???

(Sorry about the added SHOUTING, but I am sick of repeating myself)


 

 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-13 Thread Daevid Vincent
Hmm. Another insteresting thing:

Why did portage re-install the same version of mailman (r4) over and over? 

daevid init.d # genlop -l | grep mailman
 Thu Nov 11 10:26:07 2004  net-mail/mailman-2.1.5-r2
 Sun Nov 14 18:12:48 2004  net-mail/mailman-2.1.5-r2
 Mon Jan 17 14:36:05 2005  net-mail/mailman-2.1.5-r3
 Fri Feb 11 16:58:33 2005  net-mail/mailman-2.1.5-r4
 Sun Feb 13 17:57:01 2005  net-mail/mailman-2.1.5-r4
 Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
 Mon Sep 12 15:48:09 2005  net-mail/mailman-2.1.5-r4
daevid init.d # genlop -l | grep exim   
 Sat Nov 13 16:09:25 2004  mail-mta/exim-4.42
 Thu Jan 13 12:19:16 2005  mail-mta/exim-4.43-r2
 Mon Jun 13 13:21:37 2005  mail-mta/exim-4.50-r1
 Mon Jun 13 16:41:18 2005  mail-mta/exim-4.43-r2
 Tue Jun 14 12:34:58 2005  mail-mta/exim-4.43-r2
 Sun Jun 26 12:18:26 2005  mail-mta/exim-4.50-r1
 Thu Jul  7 00:57:45 2005  mail-mta/exim-4.50-r1

So if I read this correctly, mailman-2.1.5-r4 has been installed and
re-installed several times. But around Sept 7th is when it stopped working.
I have mail from the list on 9/5 for sure. I'm fairly certain that exim is
not to blame here, as that hasn't changed in over two months. 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mailman stopped working after upgrade

2005-09-13 Thread Dave Nebinger

Why did portage re-install the same version of mailman (r4) over and over?

daevid init.d # genlop -l | grep mailman
Thu Nov 11 10:26:07 2004  net-mail/mailman-2.1.5-r2
Sun Nov 14 18:12:48 2004  net-mail/mailman-2.1.5-r2
Mon Jan 17 14:36:05 2005  net-mail/mailman-2.1.5-r3
Fri Feb 11 16:58:33 2005  net-mail/mailman-2.1.5-r4
Sun Feb 13 17:57:01 2005  net-mail/mailman-2.1.5-r4
Wed Sep  7 11:34:36 2005  net-mail/mailman-2.1.5-r4
Mon Sep 12 15:48:09 2005  net-mail/mailman-2.1.5-r4

So if I read this correctly, mailman-2.1.5-r4 has been installed and
re-installed several times. But around Sept 7th is when it stopped 
working.

I have mail from the list on 9/5 for sure. I'm fairly certain that exim is
not to blame here, as that hasn't changed in over two months.


Didn't you say in one of the original posts that you had tried to re-install 
mailman?  That would explain the sept 12 entry.


As far as the Feb 13th entry, would you remember if you had reinstalled on 
the 13th, whether purposely or as a result of an --emptytree, or perhaps 
resumed a previous build failure, or some sort of revdep-rebuild that 
decided, on the 13th, that exim needed to be rebuilt?


The dates are somewhat conspicuous, in that they do not occur off hours (as 
a result of some sort of automated emerge --update process via cron).  The 
would seem to indicate that you had manually done something to trigger the 
re-install


--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Any interest in a postfix/milter bridge?

2005-09-13 Thread Dave Nebinger
I'm currently running postfix as my mail system.  Unlike a recent post which 
assumed that postfix was overkill compared to sendmail, I tend to feel the 
opposite, that sendmail is bloated much more than the more simplified 
postfix.


However, when looking for spam blockers, virus checkers, and other message 
processors, you will typically find multiple sendmail milter implementations 
as opposed to the postfix filter implementation.


Having investigated the milter API and having constructed some milters 
myself, I currently believe that it should be possible to build a 
postfix-milter bridge.


The milter side of the bridge would support the milter api for compiling 
sendmail milter-based filters.


The postfix side would simply need to wrap a simple smtpd/smtp process that:

a) receives mail on the smtpd side.
b) pushes the mail through the milter via the bridge api.
c) sends the output of the milter back into postfix via the smtp side.

Obviously there are some timing issues, etc., to deal with as well as 
whatever implications there are re: providing a milter-like API for postfix, 
etc.


But assuming these could be resolved, is there general interest in such a 
beast?  Or am I the only one wishing I could integrate tools like MIMEDefang 
into my postfix email system?


I would estimate the building of such a tool to take about 200 hours by 
leveraging existing smtpd/smtp open source code, and am happy to invest that 
time if there is some apparent interest in the community for such a tool. 
I'm just a little leary of investing that amount of my time if there is no 
real interest in it, just as I would not be willing to invest my time in 
restoring a Pinto ;-)


Dave

--
gentoo-user@gentoo.org mailing list