Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Mike Noble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Sullivan wrote:
| I set the MX record (correctly, I hope).  Can you
| recommend a good "friendly" (easy to understand for a
| network know-nothing like myself) book or online
| resource that I can learn DNS and/or Unix networking
| in general from?
|
DNS and BIND, 3rd edition, O'Reilly books, ISBN 1-56592-512-2
http://www.oreilly.com/
The 4th edition is out:
http://www.oreilly.com/catalog/dns4/index.html
Mike
- --
Mike Noble
Email: [EMAIL PROTECTED]
Key ID: 0xFFDFC13B
Key fingerprint: 8204 1297 B9AD 0CED 2FCE  1FB0 9491 5824 FFDF C13B
Keyserver: http://pgpkeys.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCJruTlJFYJP/fwTsRAsF6AJ4qE/Whao/VMt1GqNYJrFQdORI9hwCffAbW
KF7404TuRsW5QlY75I2OMu0=
=v7JM
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Forcing fsync()

2005-03-02 Thread Hareesh Nagarajan
Hi,

I am aware this isn't a programming mailing list, but since I've got
such wonderful responses from users in this ML, I thought I'd go ahead
with my post.

My problem is that I haven't figured out how I must fsync an output
stream (in C++) even after reading the contents of this link:
http://gcc.gnu.org/ml/gcc-help/2004-02/msg00285.html

How must I modify this method (this method doesn't work; it prints the
error message and exits!) ?

void logRecovery::syncToDisk(fstream& f)
{
unix_filebuf_t* buf;
buf = dynamic_cast(f.rdbuf());
if (buf == NULL) {
cerr << "Fatal: Don't know fd of stream" << endl;
exit(-1);
}

fsync(buf->fd());
}

I am using GCC 3.3.4.

Thanks,

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



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread W.Kenworthy
This will probably stir up some flames, but:

the package.keywords system sucks

1. you put things in there and you forget about them
2. extra work for no user gain over the old system (I know the old
system is broke, but from what I agther it was broken on purpose to
create the package.keyword system.)
3. more complex than the simple system it replaced - it is now quite
hard to work out the interactions sometimes
4. ACCEPT_KEYWORDS seems to work well for a half doz or so ~x86 packages

I will probably have to use them next time I rebuild world with a -e,
but after stuffing things up over a couple of months with the
package.keywords and related files, wasting time trying find whats gone
wrong, I am better off doing the ACCEPT keywords kludge and getting on
with actually using the system.  At least when you do an update, you SEE
what is ~x86, not have it hidden away in the depths building up
problems.

Maybe a bad gentooer, but at least I am happy that I am doing things in
a way that I understand, and works the way I want it to!

BillK


On Wed, 2005-03-02 at 22:02 -0800, Peter Gordon wrote:
> Adis Beglerovic wrote:
> > Using ~x86 packages of nvidia made possible to compile it with vanilla 
> > 2.6.11.
> > So fix is ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel nvidia-glx
> 
> Waah! ='(
> 
> Bad Gentooer! No cookie for you!
> 

> ---

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Backspace don't work under "man "

2005-03-02 Thread Ow Mun Heng
I used to be able to use the backspace key under xterm but I'm not sure
since when the function became not-available.

I checked that it works under gnome-terminal.

I noticed that in gnome-terminal, there is a compatibility option

"backspace key generates" "ASCII DEL"

How do I do the same for xterm?

export | grep -i term
declare -x TERM="xterm"


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 14:07:04 up 12:06, 6 users, load average: 0.24, 0.65, 0.51 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Peter Gordon
Adis Beglerovic wrote:
Using ~x86 packages of nvidia made possible to compile it with vanilla 2.6.11.
So fix is ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel nvidia-glx
Waah! ='(
Bad Gentooer! No cookie for you!
If you are not using a full ~arch system but want certain packages from ~arch,
you should add those packages to your /etc/portage/package.keywords file (create
it if it doesn't yet exist); like so:
media-video/nvidia-glx~x86
media-video/nvidia-kernel ~x86
Dang it..this is one reason I hate proprietary drivers. The 1.0-6629 driver
doesn't work for me (Riva TNT2 M64), and the compile fix isn't being backported
to 1.0-6111 *sigh* Ah well. nv suits me fine until I get my shiny new R9250 from
NewEgg =)
--
()  The ASCII Ribbon Campaign - against HTML Email,
/\  vCards, and proprietary formats.
---
Peter A. Gordon (codergeek42)
E-Mail: [EMAIL PROTECTED]
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
  E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
GPG Public Key available upon request or from
  pgp.mit.edu's public key server.
---


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Sound Won't Work

2005-03-02 Thread Keith Gable
Sorry if this sounds too stupid, too simple, or too "man, what does he
think I am, stupid?", but, have you unmuted your mixers? The reason I
ask is this: yesterday, I went through about an hour and a half trying
to figure out why my new motherboard's new onboard sound didn't work,
even though it was properly supported.

The problem? The mixer "VIA DXS" was muted. Sure, it doesn't make much
sense to me, since that's a weird name, but there weren't much more
items than that... Like 8 more items.

Okay, joking aside, it looks like ARTS can't access the sound
hardware. Before you attempt using a sound server or KDE, see if you
can make sound come out. Log out completely, stop everything, get to a
root prompt (Ctrl-Alt-F1, login, at least on my system). Type "cat
/dev/urandom > /dev/dsp" and see what happens. If you hear sound, it's
an ARTS problem. If you don't hear sound:

1) Did you compile in support for ALSA and OSS? You can only do one or
the other safely (ALSA + OSS compatibility layer is fine, but don't
enable Advanced Linux Sound Architecture and Open Sound System at the
same time).
2) Try compiling your soundcard as a module (and while you're at it,
compile all the others -- press "m" on each card listed in menuconfig
-- could save time later, like at an upgrade). Don't forget to add it
to /etc/modules.autoload.d/kernel-2.6 and modules-update!
3) See if there's any ALSA-specific information for your card

If it's an ARTS problem, it's probably not configured properly. I got
a similar error when I told ARTS to use ALSA. Since I only run KDE
apps within GNOME (don't take it personally, I just don't like KDE
-_-), it needed to be set to use ESD (Enlightened Sound Daemon -- the
sound server for GNOME basically).

HTH.

On Thu, 3 Mar 2005 00:00:21 +, Shawn Singh <[EMAIL PROTECTED]> wrote:
> I've got this error message, and my sound won't work...where do I
> start troubleshooting, or has anyone encountered this error and can
> share their solution...
> 
> Error artsmessage
> Sound server fatal error:
> cpu overload, aborting
> 
> I'm running kernel 2.6.9-gentoo-r13.
> I've compiled support for my SoundBlaster Sound Card (emu10k -- or
> something like that).
> 
> Any ideas?
> 
> Thanks,
> 
> Shawn
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
"Microsoft is a lot better at making money than it is at making good
operating systems."
-- Linus Torvalds
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /proc filled up /

2005-03-02 Thread Ow Mun Heng
On Wed, 2005-03-02 at 23:56 -0500, A. Khattri wrote:
> I had an emerge fail because of lack of disk space on / so I checked it
> out:

> # du -sh *

> 1017M   proc

> 
> Is it normal for /proc to be so big?
> 
du -chs /proc/kcore
512M/proc/kcore
512Mtotal

This is from a laptop with 512MB of RAM.

It's your RAM.



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 13:37:46 up 11:36, 6 users, load average: 0.10, 0.22, 0.17 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GNOME Volume Hotkeys (or how to set what my master volume control actually increases/decreases...)

2005-03-02 Thread Ow Mun Heng
On Thu, 2005-03-03 at 14:16 +0930, Iain Buchanan wrote:
> On Wed, 2005-03-02 at 18:01 +0800, Ow Mun Heng wrote:
> > On Wed, 2005-03-02 at 12:51 +0930, Iain Buchanan wrote:
> > > On Tue, 2005-03-01 at 21:24 -0500, Phil Sexton wrote:
> > > > On Tue, 2005-03-01 at 21:19, Keith Gable wrote:
> > > > > What I'm asking is one of these two things:
> > > > > 1) How can I map the master mixer controls to this mixer?
> > > > > or
> > > > > 2) How can I make my GNOME volume control applet increase/decrease
> > > > > that mixer instead of the master mixer?
> > > > 
> > > > emerge acme
> > 
> > If not mistaken, acme has been taken out and made to be integrated into
> > Gnome itself.
> 
> nevertheless, the original problem of changing a mixer other than the
> master with multimedia keys is still unsolved...

I don't have a solution for you unfortunately.

I've been living with it like an on/off switch. Sometimes it works,
sometimes not. (This is on a D600 laptop)

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 13:36:59 up 11:36, 6 users, load average: 0.21, 0.26, 0.18 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: howto tune SpamAssassin

2005-03-02 Thread Ow Mun Heng
On Wed, 2005-03-02 at 20:21 -0800, Jonathan Nichols wrote:
> Ow Mun Heng wrote:
> > On Wed, 2005-03-02 at 16:13 -0500, Thomas Kirchner wrote:
> > 
> >>* On Mar  2 21:50, Matthias F. Brandstetter (gentoo-user@gentoo.org) wrote:
> >>
> >>>after upgrading SA to version 3 I now do get lots of false negative. I 
> >>>trained my filter via "sa-learn", and many of these FP do have "BAYES_99", 
> >>>but they do not reach 5.0 points.
> >>
> >>In your ~/.spamassassin/user_prefs file, add some lines like the
> >>following, for whatever tests you want to modify:
> >>
> >>score BAYES_50 1.0
> >>score BAYES_60 1.5
> >>score BAYES_80 2.5
> >>score BAYES_95 4.0
> >>score BAYES_99 4.5
> > 
> > 
> > How can this be implemented to be done system wide??
> > 
> > 
> 
> /etc/mail/spamassassin/local.cf
> 
> Also make sure that you're using the new surbl features of SpamAssassin 
> 3.x - they catch a LOT of spam.
> It's a network check, though. Keep that in mind.

Cool.. I've added is as per below.
Don't have I-Net access so surbl (or any sort of RDL/network checks) is
of no use for me.

required_hits   5
rewrite_header Subject  [N-SPAM]
report_safe 0
use_bayes   1
bayes_path  /var/cache/spamassassin/bayes
auto_learn  1
lock_method flock

score BAYES_50 1.0
score BAYES_60 1.5
score BAYES_80 2.5
score BAYES_95 4.0
score BAYES_99 4.5



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 13:35:43 up 11:34, 6 users, load average: 0.22, 0.28, 0.18 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] gconf-editor: acme: "use_pcm" doesn't work

2005-03-02 Thread Iain Buchanan
following up my "investigation" into getting
that-part-of-gnome-that-used-to-be-done-by-acme which makes your volume
keys adjust the pcm mixer, instead of the master, I found:

gconf-editor
/
  apps
   acme
use_pcm (bool)

I noticed it was already 'on', so I had a few goes of toggling it,
logging out/in, and then trying it out with my volume keys.  But no
matter what I could do, it always adjusts the master volume.

To make sure this path in gconf isn't just left over from some time in
the past, I disabled the volume keys in gnome-keybinding-properties, and
checked gconf-editor again... Well it looks like I was on a wild goose
chase - the values stay the same in gconf-editor, so obviously I'm
looking at something leftover from acme-days.

Surely this functionality must still exist somewhere?  Surely I'm not
the only one who wants it?

any help appreciated,
-- 
Iain Buchanan <[EMAIL PROTECTED]>

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /proc filled up /

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, A. Khattri wrote:

>
> Is it normal for /proc to be so big?
>

Never mind - I just realized that /proc doesn't actually take up any space
at all - the problem was elsewhere!


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



[gentoo-user] /proc filled up /

2005-03-02 Thread A. Khattri

I had an emerge fail because of lack of disk space on / so I checked it
out:

# cd /
# ls
bin/   dev/  home/  lost+found/  opt/   root/  service/  tmp@  var/
boot/  etc/  lib/   mnt/ proc/  sbin/  sys/  usr/
# du -sh *
5.2Mbin
1.0Kboot
592Kdev
2.2Metc
12M home
13M lib
12K lost+found
3.0Kmnt
1.0Kopt
1017M   proc
69M root
4.8Msbin
18K service
0   sys
0   tmp
1.6Gusr
770Mvar

Is it normal for /proc to be so big?


-- 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] HFS

2005-03-02 Thread bergeron
On Tue, Mar 01, 2005 at 07:56:47PM +, Julien Cayzac wrote:
> Has anyone tried HFS on an intel box, as an alternative to the
> ext3/reiser/jfs/xfs mess?

I'm assuming you're talking about Macintosh HFS/HFS+.  I've read/written 
slices on PPC, and used it to read a firewire drive on Intel.

You're going to have a heck of a time getting it to work, if it'd work 
at all.

1.  You'll need an installer kernel that supports it natively, or 
you'll have to install to another kind of FS, rebuild your kernel, then 
copy the data over.
2.  The kernel will need to reside on a /boot partition that is 
something grub can read.  Grub can do EXT2/3, Reiser3, JFS, XFS, and FFS 
(maybe vfat, too?).
3.  The HFS+ code has only been stable for a short time, so I'm not sure 
how much I trust it for full-time usage.

I'd say just go with JFS.  It's fast, reliable, and is a good all-around 
performer.  XFS is also very reliable, but you incur some overhead with 
it.  XFS is, however, very good if you're going to be working with large 
files often.  ReiserFS has bitten me twice (no, it wasn't 
hardware-related...both drives where the FS failed still work 
flawlessly with other FSes on them), so I don't use it at all anymore.

--
S. Bergeron, [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GNOME Volume Hotkeys (or how to set what my master volume control actually increases/decreases...)

2005-03-02 Thread Iain Buchanan
On Wed, 2005-03-02 at 18:01 +0800, Ow Mun Heng wrote:
> On Wed, 2005-03-02 at 12:51 +0930, Iain Buchanan wrote:
> > On Tue, 2005-03-01 at 21:24 -0500, Phil Sexton wrote:
> > > On Tue, 2005-03-01 at 21:19, Keith Gable wrote:
> > > > What I'm asking is one of these two things:
> > > > 1) How can I map the master mixer controls to this mixer?
> > > > or
> > > > 2) How can I make my GNOME volume control applet increase/decrease
> > > > that mixer instead of the master mixer?
> > > 
> > > emerge acme
> 
> If not mistaken, acme has been taken out and made to be integrated into
> Gnome itself.

nevertheless, the original problem of changing a mixer other than the
master with multimedia keys is still unsolved...
-- 
Iain Buchanan <[EMAIL PROTECTED]>

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How do I get more text consoles?

2005-03-02 Thread Walter Dnes
On Wed, Mar 02, 2005 at 12:28:42PM -0500, A. Khattri wrote
> On Wed, 2 Mar 2005, Peter wrote:
> 
> > Well. I have some screen/vim related problems too. If I try to use vim in
> > screen up, down and other arrow keys do not work properly. May be you know
> > how to solve this issue?
> 
> When re-connecting to a detached screen session I always use "screen -A -d
> -R" (the -A resets the terminal).
> 
> I have no problems using vim with arrow keys under screen.

  Some more data.  Maybe it's because I'm tricking up my system to run
80x48 textmode consoles with 10-pixel-high font, but my system does
*NOT* react well to screen.  Once I've used screen, it seems to reset
the terminal type to behave like vt100 in *ALL* tty's.  vim and mc deal
properly with arrow keys under screen.  This screws up programs that are
*NOT* running under screen, because they still see "TERM=linux" in the
environment.

  I tried "export TERM=vt100" and it fixed vim's behaviour re; arrow
keys outside of screen.  What I absolutely hate about "faithfull vt
emulation" is that the f'ing numeric keypad becomes all function keys,
and you *MUST* use the main keyboard for numbers and /*+- and .
Logging out and logging back in does *NOT* seem to cure this reset to
vt100 mode for non-screen consoles.  I had to reboot to get vim and mc
to work properly in non-screen consoles with "TERM=linux".  Needless to
say, I will *NOT* be experimenting with screen.

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: howto tune SpamAssassin

2005-03-02 Thread Jonathan Nichols
Ow Mun Heng wrote:
On Wed, 2005-03-02 at 16:13 -0500, Thomas Kirchner wrote:
* On Mar  2 21:50, Matthias F. Brandstetter (gentoo-user@gentoo.org) wrote:
after upgrading SA to version 3 I now do get lots of false negative. I 
trained my filter via "sa-learn", and many of these FP do have "BAYES_99", 
but they do not reach 5.0 points.
In your ~/.spamassassin/user_prefs file, add some lines like the
following, for whatever tests you want to modify:
score BAYES_50 1.0
score BAYES_60 1.5
score BAYES_80 2.5
score BAYES_95 4.0
score BAYES_99 4.5

How can this be implemented to be done system wide??

/etc/mail/spamassassin/local.cf
Also make sure that you're using the new surbl features of SpamAssassin 
3.x - they catch a LOT of spam.
It's a network check, though. Keep that in mind.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: howto tune SpamAssassin

2005-03-02 Thread Ow Mun Heng
On Wed, 2005-03-02 at 16:13 -0500, Thomas Kirchner wrote:
> * On Mar  2 21:50, Matthias F. Brandstetter (gentoo-user@gentoo.org) wrote:
> > after upgrading SA to version 3 I now do get lots of false negative. I 
> > trained my filter via "sa-learn", and many of these FP do have "BAYES_99", 
> > but they do not reach 5.0 points.
> 
> In your ~/.spamassassin/user_prefs file, add some lines like the
> following, for whatever tests you want to modify:
> 
> score BAYES_50 1.0
> score BAYES_60 1.5
> score BAYES_80 2.5
> score BAYES_95 4.0
> score BAYES_99 4.5

How can this be implemented to be done system wide??


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 12:08:59 up 10:08, 6 users, load average: 0.79, 0.36, 0.22 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creation of ebuild

2005-03-02 Thread Dion Sole
Use the "has_version" function to check.
Syntax is "has_version category/package-version" and it returns 0 if the
particular version is installed.
So to check for db, 
"has_version =sys-libs/db-4.2.52_p2" would return 0 if that version is
installed.

On Thu, 2005-03-03 at 04:07 +0100, pepone pepone wrote:
> Hello I creating a new ebuild for Ice (Internet Comunication Engine)
> http://www.zeroc.com
> 
> this is my first ebuild and i want know how i my ebuild can
> detect the version of a  program that is installed in the system
> 
> 
> the problem is that i order to suscefuly compile my package i need to
> export LDFLAGS  and IFLAGS acording to the db version that is instaled
> in the system
> 
> thanks in adavantage
> --
> gentoo-user@gentoo.org mailing list
> 

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Creation of ebuild

2005-03-02 Thread pepone pepone
Hello I creating a new ebuild for Ice (Internet Comunication Engine)
http://www.zeroc.com

this is my first ebuild and i want know how i my ebuild can
detect the version of a  program that is installed in the system


the problem is that i order to suscefuly compile my package i need to
export LDFLAGS  and IFLAGS acording to the db version that is instaled
in the system

thanks in adavantage
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Glenn Enright
On Thu, 03 Mar 2005 14:59, Damian Kolkowski wrote:
> * Mike Williams <[EMAIL PROTECTED]> [2005-03-03 02:42]:
> > > Cool, SATA works to, but:
> > >
> > > .~. # hdparm -t /dev/hda /dev/sda
> > >
> > > /dev/hda:
> > >  Timing buffered disk reads:  174 MB in  3.03 seconds =  57.38 MB/sec
> > >
> > > /dev/sda:
> > >  Timing buffered disk reads:  152 MB in  3.02 seconds =  50.37 MB/sec
> > > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
> > > ioctl for device .~. #
> >
> > gandalf root # hdparm -t /dev/hde /dev/sdc
> >
> > /dev/hde:
> >  Timing buffered disk reads:  156 MB in  3.02 seconds =  51.73 MB/sec
> >
> > /dev/sdc:
> >  Timing buffered disk reads:  170 MB in  3.01 seconds =  56.41 MB/sec
> >
> > hdparm is for IDE drives, not "SCSI", so you can't really expect it to
> > work properly.
> > I get a HDIO_GET_MULTCOUNT error when I view the current settings of a
> > SATA disk.
>
> H.., after all the /dev/sda should have 57 MB/sec, this is diamond 9
> with 8 MB cache, hda is diamond 8 with 2 MB.
>
> So right now I do not whith on is faster :-(
>
> Is there something like hdparm for scsi on libata?

As far as I know there is not. The technology is till to new for any cool 
stuff like that to be available on open-source. Hell the drivers are still a 
moving target so can really expect any apps for them yet.
-- 

The perfect friend sees the best in you -- sees it constantly -- not just
when you occasionally are that way, but also when you waver, when you
forget yourself, act like less than you are. In time, you become more
like his vision of you -- which is the person you have always wanted to be.
-- Nancy Friday


pgpfgoIHMGhi8.pgp
Description: PGP signature


Re: [gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Damian Kolkowski
* Mike Williams <[EMAIL PROTECTED]> [2005-03-03 02:42]:
> > Cool, SATA works to, but:
> >
> > .~. # hdparm -t /dev/hda /dev/sda
> >
> > /dev/hda:
> >  Timing buffered disk reads:  174 MB in  3.03 seconds =  57.38 MB/sec
> >
> > /dev/sda:
> >  Timing buffered disk reads:  152 MB in  3.02 seconds =  50.37 MB/sec
> > HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
> > for device .~. #
> 
> gandalf root # hdparm -t /dev/hde /dev/sdc
> 
> /dev/hde:
>  Timing buffered disk reads:  156 MB in  3.02 seconds =  51.73 MB/sec
> 
> /dev/sdc:
>  Timing buffered disk reads:  170 MB in  3.01 seconds =  56.41 MB/sec
> 
> hdparm is for IDE drives, not "SCSI", so you can't really expect it to work 
> properly.
> I get a HDIO_GET_MULTCOUNT error when I view the current settings of a SATA 
> disk.

H.., after all the /dev/sda should have 57 MB/sec, this is diamond 9 with
8 MB cache, hda is diamond 8 with 2 MB.

So right now I do not whith on is faster :-(

Is there something like hdparm for scsi on libata?

-- 
### Damian Kołkowski (dEiMoS) ## http://kolkowski.no-ip.org/ ###
# echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ #

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Mike Williams
On Thursday 03 March 2005 01:25, Damian Kolkowski wrote:
> Cool, SATA works to, but:
>
> .~. # hdparm -t /dev/hda /dev/sda
>
> /dev/hda:
>  Timing buffered disk reads:  174 MB in  3.03 seconds =  57.38 MB/sec
>
> /dev/sda:
>  Timing buffered disk reads:  152 MB in  3.02 seconds =  50.37 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
> for device .~. #

gandalf root # hdparm -t /dev/hde /dev/sdc

/dev/hde:
 Timing buffered disk reads:  156 MB in  3.02 seconds =  51.73 MB/sec

/dev/sdc:
 Timing buffered disk reads:  170 MB in  3.01 seconds =  56.41 MB/sec

hdparm is for IDE drives, not "SCSI", so you can't really expect it to work 
properly.
I get a HDIO_GET_MULTCOUNT error when I view the current settings of a SATA 
disk.

-- 
Mike Williams


pgp3GnO3H9hLt.pgp
Description: PGP signature


Re: [gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Damian Kolkowski
* Mike Williams <[EMAIL PROTECTED]> [2005-03-03 00:55]:
> On Wednesday 02 March 2005 23:20, Praise wrote:
> > I am going to buy a new PC, but I am worried about hardware compatibility
> > between Pci Express and Linux.
> > Anybody is willing to share experience about it?
> 
> Yep, it Just Works.

Cool, SATA works to, but:

.~. # hdparm -t /dev/hda /dev/sda

/dev/hda:
 Timing buffered disk reads:  174 MB in  3.03 seconds =  57.38 MB/sec

/dev/sda:
 Timing buffered disk reads:  152 MB in  3.02 seconds =  50.37 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
.~. #

Fuck!

-- 
### Damian Kołkowski (dEiMoS) ## http://kolkowski.no-ip.org/ ###
# echo teb.cv-ba.vxfjbxybx.anvznq | rot13 | rev | sed s/\\./@/ #

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sync: failed cache update errors

2005-03-02 Thread Ciaran McCreesh
On Thu, 03 Mar 2005 08:45:44 +0800 mel <[EMAIL PROTECTED]> wrote:
| I'm seeing a lot of these while performing emerge sync:
| 
| Failed cache update: media-plugins/libdc1394-1.0.0 "Corruption
| detected  when reading key 'libdc1394-1.0.0': Key count mismatch"
| 
| What are the causes? It only happens during emerge sync.

Either you're running an ancient portage version or you found a broken
rsync mirror.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpG6Bqjn87Ks.pgp
Description: PGP signature


[gentoo-user] emerge sync: failed cache update errors

2005-03-02 Thread mel
Hi all,
I'm seeing a lot of these while performing emerge sync:
Failed cache update: media-plugins/libdc1394-1.0.0 "Corruption detected 
when reading key 'libdc1394-1.0.0': Key count mismatch"

What are the causes? It only happens during emerge sync.
The solution is to rm -rf /usr/portage && emerge sync - but I just
want to know why it happens. The partition is reiserfs.
Regards,
--mel
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Thunderbird RSS problem

2005-03-02 Thread Christoph Eckert

> I'm using mozilla-thunderbird-1.0 for reading RSS feeds.
> When selecting an article, thunderbird only displays the
> title of the article in the message window instead of
> loading the web page. On another system (debian unstable)
> it works as expected.
>
> Is this a gentoo related issue? Or is it just a broken
> configuration? Does it work for anybody out there?

At work I use it to read several RSS feeds on Wintoys; I know 
the problem you have described. Some RSS feeds are displayed 
properly and others not. It seems to depend on the HTML code 
of the feed. Maybe it cannot display framed HTML or something 
like this.

Best regards


ce



Jabber: [EMAIL PROTECTED]

«Wer Visionen hat, sollte zum Arzt gehen» (Helmut Schmidt)



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Sound Won't Work

2005-03-02 Thread Shawn Singh
I've got this error message, and my sound won't work...where do I
start troubleshooting, or has anyone encountered this error and can
share their solution...

Error artsmessage
Sound server fatal error:
cpu overload, aborting

I'm running kernel 2.6.9-gentoo-r13.
I've compiled support for my SoundBlaster Sound Card (emu10k -- or
something like that).

Any ideas?

Thanks,

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



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Daniel Drake
Richard Brown wrote:
nvidia-kernel won't work with a vanilla 2.6.11, you'll have to wait
for an ebuild for ck or gentoo-dev-sources
I don't think you are right here. gentoo-dev-sources is not patched with 
anything that would aid nvidia compatibility.

I think you might be right in saying that nvidia's own driver release doesn't 
compile against 2.6.11 (yet). But in portage, we patch nvidia's driver 
(nvidia-kernel) with fixes for this. Using the latest testing version of 
nvidia-kernel should be fine.

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


Re: [gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Mike Williams
On Wednesday 02 March 2005 23:20, Praise wrote:
> I am going to buy a new PC, but I am worried about hardware compatibility
> between Pci Express and Linux.
> Anybody is willing to share experience about it?

Yep, it Just Works.

-- 
Mike Williams


pgpioANoGkVVa.pgp
Description: PGP signature


Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Christoph Gysin
Ryan Sims wrote:
I put "unset MAIL" in my root's .bashrc since I'm running a
single-user system where that mail feature is pretty useless to me. 
For other applications, that workaround might be a problem.
I know that I could just unset MAIL at every login, but thats a 
workaround, not a solution...

I followed your link to the forum. You have to set in /etc/login.defs:
MAIL_CHECK_ENABno
That did the trick.
Christoph Gysin
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Experiences with PCI express and Gentoo Linux?

2005-03-02 Thread Praise
I am going to buy a new PC, but I am worried about hardware compatibility 
between Pci Express and Linux.
Anybody is willing to share experience about it?

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



Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Ryan Sims
On Wed, 02 Mar 2005 23:28:01 +0100, Christoph Gysin <[EMAIL PROTECTED]> wrote:
> Ryan Sims wrote:
> > This sometimes happens when the $MAIL environment variable gets set
> > wrong.  The directory specified in that variable will be watched for
> > new mail; sometimes (I think this is mainly a problem with "su", but
> > I'm not sure) it gets set to "/root" and gets confused.
> 
> I have the exact same issue here. Does anybody know where the $MAIL
> variable gets set, or how to prevent it from being set at all?
> 
> Christoph Gysin

I put "unset MAIL" in my root's .bashrc since I'm running a
single-user system where that mail feature is pretty useless to me. 
For other applications, that workaround might be a problem.

check this thread:

http://forums.gentoo.org/viewtopic-t-246271-highlight-mail+variable.html

it looks like it's a problem with shadow-4.0.5-r2
-- 
Be the person your dog thinks you are
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Nick Rout

On Wed, 2 Mar 2005 14:09:46 -0800
Steven Susbauer wrote:

> I believe the application you're looking for is mailx, "The /bin/mail 
> program".
> 
> It is in portage.
> 
> I think messages are stores in /var/mail, don't take my word for it though.

Where the mail is stored will very much depend on where it is coming
from and what mta/lda is delivering it, or more particularly how the
mta/lda is configured.

the "standard" for unix mail is to deliver to an mbox file of the user's name 
in /var/spool/mail, so all of root's mail would be in a file named
/var/spool/mail/root, in mbox format. I see on my gentoo server that
/var/mail is a symlink to /var/spool/mail, so we are both right :-)

However unix systems are very configurable, and if you are using a
particular imap or pop server such as courier or cyrus you will not want mail 
set up that way. in that case, courier wants to serve up maildir
format files, and you would set up your mta/lda to deliver to something
like ~/.maildir/ (but configurable to be anywhere sensible)

Cyrus has its own mail format which its "deliver" binary takes care of,
the mta/lda delivers to the "deliver" binary, which puts the mail in
somewhere like /var/spool/imap/user/$USERNAME/ (again configurable)

so "where is my mail" depends on how your system is set up. So far those are 
only examples. But the best advice so far in this thread is to alias
root's mail to the user who will be reading it. 




-- 
Nick Rout

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building dvx4linux

2005-03-02 Thread Christoph Gysin
Leiaz wrote:
You can't install it, keyword -* means it doesn't work on your 
architecture.
That may be true for this single package, but a lot of ebuilds are 
masked by -* just because they're too fragile builds. The whole e17 live 
cvs builds come to mind...

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


Re: [gentoo-user] Thunderbird RSS problem

2005-03-02 Thread Christoph Gysin
Christoph Gysin wrote:
Is this a gentoo related issue? Or is it just a broken configuration? 
Does it work for anybody out there?
Please ignore me.
Sometimes I just have to post an issue, to solve it ;-)
Moved .thunderbird away, started thunderbird with default configuration 
and everything works as expected...

Trying to find the difference in the configs now...
Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Christoph Gysin
Ryan Sims wrote:
This sometimes happens when the $MAIL environment variable gets set
wrong.  The directory specified in that variable will be watched for
new mail; sometimes (I think this is mainly a problem with "su", but
I'm not sure) it gets set to "/root" and gets confused.
I have the exact same issue here. Does anybody know where the $MAIL 
variable gets set, or how to prevent it from being set at all?

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


Re: [gentoo-user] Building dvx4linux

2005-03-02 Thread Leiaz
Hamie wrote:
Hi.
A masking I don't understand... being new to gentoo & all that.
I tried to install divx4linux on an amd64 today... But it said it was 
masked. si I tried to set accept_keywords to ~amd64 for dev packages & 
it still says it's masked... Why is that? I don't quite understand, it 
only spoke about using ~arch for the keywords in the manpage... The 
actual output is

damned root # ACCEPT_KEYWORDS="~amd64" emerge divx4linux
Calculating dependencies  !!! All ebuilds that could satisfy 
"divx4linux" have been masked.
!!! One of the following masked packages is required to complete your 
request:
- media-libs/divx4linux-20020418-r1 (masked by: -* keyword)
- media-libs/divx4linux-20020418-r2 (masked by: -* keyword)
- media-libs/divx4linux-20030428-r1 (masked by: -* keyword)
- media-libs/divx4linux-20030428 (masked by: -* keyword)

For more information, see MASKED PACKAGES section in the emerge man 
page or
section 2.2 "Software Availability" in the Gentoo Handbook.

damned root #

What should I do to install this?
TIA
Hamish.
--
gentoo-user@gentoo.org mailing list

You can't install it, keyword -* means it doesn't work on your 
architecture. It's in the handbook :
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=1

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


[gentoo-user] Thunderbird RSS problem

2005-03-02 Thread Christoph Gysin
Hi
I'm using mozilla-thunderbird-1.0 for reading RSS feeds. When selecting 
an article, thunderbird only displays the title of the article in the 
message window instead of loading the web page. On another system 
(debian unstable) it works as expected.

Is this a gentoo related issue? Or is it just a broken configuration? 
Does it work for anybody out there?

I haven't found anything on bugzilla about this.
Christoph Gysin
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Building dvx4linux

2005-03-02 Thread Christoph Gysin
Hamie wrote:
I tried to install divx4linux on an amd64 today... But it said it was 
masked. si I tried to set accept_keywords to ~amd64 for dev packages & 
it still says it's masked... Why is that? I don't quite understand, it 
only spoke about using ~arch for the keywords in the manpage... The 
actual output is
This only works if the package is marked for testing, which it is not in 
this case.

- media-libs/divx4linux-20030428-r1 (masked by: -* keyword)
What should I do to install this?
The standard procedure would be to set the apropriate keyword for the 
package:

# mkdir -p /etc/portage
# echo "media-libs/divx4linux -*" >> /etc/portage/packages.keywords
# emerge media-libs/divx4linux
But since this is a binary package, I'm not sure if it will work an your 
amd64 system.

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


Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Steven Susbauer
I believe the application you're looking for is mailx, "The /bin/mail program".

It is in portage.

I think messages are stores in /var/mail, don't take my word for it though.


On Wed, 2 Mar 2005 12:11:56 -0800, darren kirby
<[EMAIL PROTECTED]> wrote:
> quoth the ME:
> > Hi,
> >
> > I feel a bit dumb here.
> >
> > On my Redhat systems, when I open a root shell and have the message "You
> > have new mail in /root", I just type "mail" and there I am reading the
> > messages on the command line.
> >
> > With Gentoo, I get the "You have new mail..." message, but I don't have
> > the proper application to read it (and do not know what to emerge).
> >
> > Moreover, I am not able to find the messages!  I looked under /root,
> > under /var and did not find any (I might just be missing them, but I
> > suspect they are not getting where they should).
> >
> > Can anyone let me know what to install / setup to get this going?
> > BTW, I have installed metalog for system logger, if that matters.
> >
> > Thanks.
> >
> > Marc
> 
> Well, to put in my 2cents, what I do is edit the /etc/mail/aliases file so
> that root's mail resolves to my normal user account and read it there...
> 
> Why screw around with two different clients just to read your cron report?
> -d
> --
> darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
> "...the number of UNIX installations has grown to 10, with more expected..."
> - Dennis Ritchie and Ken Thompson, June 1972
> 
> 
> 


-- 

Steven Susbauer
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Michael Sullivan
I set the MX record (correctly, I hope).  Can you
recommend a good "friendly" (easy to understand for a
network know-nothing like myself) book or online
resource that I can learn DNS and/or Unix networking
in general from?


--- Christopher Fisk <[EMAIL PROTECTED]> wrote:

> On Wed, 2 Mar 2005, Michael Sullivan wrote:
> 
> > www.1Acccredited.com is hosting my DNS for me
> until I
> > can learn how to do it for myself.  According to
> them,
> > I have the following DNS settings:
> >
> > @ (root) A 24.117.226.93
> > bullet   A 24.117.226.93
> > ftp  A 24.117.226.93
> > imap A 24.117.226.93
> > mail A 24.117.226.93
> > pop  A 24.117.226.93
> > smtp A 24.117.226.93
> > wwwCNAME   espersunited.com.
> 
> well, if you were hosting your own DNS it would be
> as follows in the file:
> 
> espersunited.com.IN  MX  10
> espersunited.com.
> 
> 
> I'm not sure about 1Accreddited's text box =)
> 
> 
> Christopher Fisk
> -- 
> Star Tours
> Note: bus does not leave earth
> --
> gentoo-user@gentoo.org mailing list
> 
> 


=





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install gentoo using livecd that boots from usb storage ?

2005-03-02 Thread Maxim Vexler
Found this : 

http://openfacts.berlios.de/index-en.phtml?title=Linux_bootable_USB_key_HOWTO


On Sun, 27 Feb 2005 05:54:54 +1300, Dion Sole <[EMAIL PROTECTED]> wrote:
> If you already have something like Knoppix, you can install off that
> just fine. If youre planning to use the USB storage, you could possibly
> do a dd from the cd ISO straight to the harddrive. However, Im not sure
> if this would work or not.
> On Sat, 2005-02-26 at 17:30 +0200, Maxim Vexler wrote:
> > Hi
> >
> > Is there a livecd that can be booted from a usb storage (128 mb) device ?
> >
> > we have an box with only windows on it & the plan is to install gentoo.
> > but... for this we need to boot it (as the handbook says) from a
> > livecd, the trouble is that there is no cd-writer to burn the cd.
> > so... the best alternative so far is using the usb as a livecd boot device.
> > the question is how ?
> >
> > thank you.
> >
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Cheers, 
Maxim Vexler (hq4ever).

Do u GNU ?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] graphics under console?

2005-03-02 Thread Christoph Gysin
Matthias F. Brandstetter wrote:
I have a bunch of *very* old 386 and 486 which I want to use only to 
display some images an alike. Problem is, those old graphic cards are not 
VESA 2.0 capable, so they do not support framebuffer.

My question now is: Are there any other possibilities to display graphics 
(simple images) under text console?
Perhaps media-libs/svgalib is what your looking for:
http://www.svgalib.org/
A simple picture viewer for svgalib:
http://www.svgalib.org/rus/zgv/index.html
Christoph Gysin
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] graphics under console?

2005-03-02 Thread Mike Melanson
Matthias F. Brandstetter wrote:
Hi all,
I have a bunch of *very* old 386 and 486 which I want to use only to 
display some images an alike. Problem is, those old graphic cards are not 
VESA 2.0 capable, so they do not support framebuffer.

My question now is: Are there any other possibilities to display graphics 
(simple images) under text console?
	Well, there is always the ASCII art lib (aalib) and the color variant 
(cacalib). The xine media player is able to use both to render video. I 
have always thought of this as more of a novelty, personally.

--
-Mike Melanson
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Building dvx4linux

2005-03-02 Thread Hamie
Hi.
A masking I don't understand... being new to gentoo & all that.
I tried to install divx4linux on an amd64 today... But it said it was 
masked. si I tried to set accept_keywords to ~amd64 for dev packages & 
it still says it's masked... Why is that? I don't quite understand, it 
only spoke about using ~arch for the keywords in the manpage... The 
actual output is

damned root # ACCEPT_KEYWORDS="~amd64" emerge divx4linux
Calculating dependencies  
!!! All ebuilds that could satisfy "divx4linux" have been masked.
!!! One of the following masked packages is required to complete your 
request:
- media-libs/divx4linux-20020418-r1 (masked by: -* keyword)
- media-libs/divx4linux-20020418-r2 (masked by: -* keyword)
- media-libs/divx4linux-20030428-r1 (masked by: -* keyword)
- media-libs/divx4linux-20030428 (masked by: -* keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
damned root #

What should I do to install this?
TIA
Hamish.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: howto tune SpamAssassin

2005-03-02 Thread Matthias F. Brandstetter
-- quoting Thomas Kirchner --
> In your ~/.spamassassin/user_prefs file, add some lines like the
> following, for whatever tests you want to modify:
>
> score BAYES_50 1.0
> score BAYES_60 1.5
> score BAYES_80 2.5
> score BAYES_95 4.0
> score BAYES_99 4.5

thanks, that did the trick!
Greetings, Matthias

-- 
Marge: This is the best gift of all, Homer.

Homer: It is?

Marge: Yes, something to share our love.  And frighten prowlers.

 Simpsons Roasting on an Open Fire
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
www.1Acccredited.com is hosting my DNS for me until I
can learn how to do it for myself.  According to them,
I have the following DNS settings:
@ (root) A 24.117.226.93
bullet   A 24.117.226.93
ftp  A 24.117.226.93
imap A 24.117.226.93
mail A 24.117.226.93
pop  A 24.117.226.93
smtp A 24.117.226.93
wwwCNAME   espersunited.com.
well, if you were hosting your own DNS it would be as follows in the file:
espersunited.com.IN  MX  10 espersunited.com.
I'm not sure about 1Accreddited's text box =)
Christopher Fisk
--
Star Tours
Note: bus does not leave earth
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] mdadm help? [FIXED!]

2005-03-02 Thread Mike Williams
On Wednesday 02 March 2005 19:30, A. Khattri wrote:
> OK, I bit the bullet and ran the create command again like this:
>
> mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1
> /deb/sdb1
>
> It reported that it found an ext2fs on the partition and then proceeded
> to rebuild the array. I did the same for the other devices and all got
> rebuilt and luckily it looks like it preserved all the file-systems too:

Gah, should read a whole thread before replying!

Knew I was right too :o)

Clever that mdadm, isn't it.

-- 
Mike Williams


pgpW0qiu6anLC.pgp
Description: PGP signature


Re: [gentoo-user] mdadm help?

2005-03-02 Thread Mike Williams
On Wednesday 02 March 2005 18:06, A. Khattri wrote:
> > I believe you need a DEVICE specification per array.
>
> Yes, I have DEVICE and ARRAY lines in mdadm.conf - see the grep commands
> at the end of my previous post.

"per array" :)

> I have managed to get something working but its not quite right.

[snip]

> So I 
> ran fdisk on the install disk, marked the partitions as Linux RAID auto
> and then tried to add them to the array.

Perfect. Compile the raid and scsi drivers in, and you can forget about 
mdadm.conf.

> Right now, I can assemble the array but the added disk is marked as a
> spare instead of a mirror:
>
> livecd dev # mdadm -A /dev/md0 /dev/sda1 /dev/sdb1
> mdadm: /dev/md0 has been started with 1 drive and 1 spare.
>
> livecd dev # cat /proc/mdstat
> Personalities : [raid0] [raid1] [raid5] [raid6] [raid10]
> md0 : active raid1 sda1[0] sdb1[1]
>   56128 blocks [1/1] [U]
>
> unused devices: 

Right, so the arrays you created in fact only had one partition in?
Now you're trying to re-assemble those arrays, but using 2 partitions?
If I'm understanding you correctly, that won't work. But if you create an 
array using the partition that is/was in an array it should sync the data 
already on it over to the next one.

> I tried stopping the device and editing my mdadm.conf to reflect the
> changes I made (see grep lines in previous post) but this doesn't work. I
> think I need to do an additional step to get this working?

The superblock contains all the information needed to assemble arrays, so 
perhaps it's overriding you configuration?

> (Im doing it this way because I dont want to have to do a Gentoo install
> all over again on the RAID drives...).

I sucesssfully converted my /home partition into a mirror like this.

-- 
Mike Williams


pgpekAKz6oQJq.pgp
Description: PGP signature


Re: [gentoo-user] HAPPY ENDING - firefox 1.0.1 reload page problem

2005-03-02 Thread Joseph
On Wed, 2005-03-02 at 10:07 -0800, John Myers wrote:
> On Wed, March 2, 2005 8:24 am, Tim Igoe said:
> > I just have to hit refresh an extra time and it works. Its a ploy to get
> > more 'hits' to /. ? ;)
> 
> Perhaps /. is trying to /. itself?

I think they have noticed on their own and clean up their act :->
It is not happening any more.

-- 
#Joseph
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Michael Sullivan
www.1Acccredited.com is hosting my DNS for me until I
can learn how to do it for myself.  According to them,
I have the following DNS settings:

@ (root) A 24.117.226.93
bullet   A 24.117.226.93
ftp  A 24.117.226.93
imap A 24.117.226.93
mail A 24.117.226.93
pop  A 24.117.226.93
smtp A 24.117.226.93
wwwCNAME   espersunited.com.

1Accreddited gives me a text box, a combo for which
type of record, and another text box for the value. 
What should the MX record be?  There example says
email.1Accredited.com., but I didn't understand their
example.  BTW, the access_db line is all on one
line...



--- Christopher Fisk <[EMAIL PROTECTED]> wrote:

> On Wed, 2 Mar 2005, Michael Sullivan wrote:
> 
> > OK.  My message from [EMAIL PROTECTED] to
> > [EMAIL PROTECTED] was successfully sent and
> > delivered to my evolution inbox.  I also sent a
> > message from [EMAIL PROTECTED] to
> > [EMAIL PROTECTED] and received it successfully.
>  I
> > would almost say that this problem is solved,
> except
> > that I send messages from [EMAIL PROTECTED] to
> > [EMAIL PROTECTED] and they don't show up in
> my
> > evolution Inbox, yet I never get anything from the
> > Yahoo mailer-deamon saying that the messages
> couldn't
> > be delivered.  Here's my sendmail.mc if it
> matters:
> >
> > bullet mail # cat sendmail.mc
> > divert(-1)
> > divert(0)dnl
> > include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
> > VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07
> 01:59:31
> > g2boojum Exp $')dnl
> > OSTYPE(linux)dnl
> > DOMAIN(generic)dnl
> > FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
> > FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
> > FEATURE(`access_db', `hash -T
> > /etc/mail/access')dnl
> > MAILER(local)dnl
> > MAILER(smtp)dnl
> 
> 
> the line for access_db should be all one line, might
> want to verify that, 
> it could just be breaking due to the mail client.
> 
> 
> 
> > Also, in the backed-up files from /etc/mail in my
> FC1
> > install I found a file called virtusertable.  I
> > remembered that on FC1 I had to put associations
> > between addresses and user accounts in that file. 
> In
> > my Gentoo /etc/mail directory I didn't see a
> > virtusertable file.  Do I need to create one to
> make
> > this work?
> 
> No, virtusertable is a different feature not
> required for this setup.
> 
> 
> 
> here is your issue:
> 
> 4:07pm ([EMAIL PROTECTED]) /home/chrisf (23) dig mx
> espersunited.com
> 
> ; <<>> DiG 9.2.3 <<>> mx espersunited.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id:
> 23473
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY:
> 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;espersunited.com.  IN  MX
> 
> ;; Query time: 6528 msec
> ;; SERVER: 24.93.1.119#53(24.93.1.119)
> ;; WHEN: Wed Mar  2 16:08:14 2005
> ;; MSG SIZE  rcvd: 34
> 
> 
> 4:08pm ([EMAIL PROTECTED]) /home/chrisf (25) dig
> esperunited.com
> 
> ; <<>> DiG 9.2.3 <<>> esperunited.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id:
> 20830
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0,
> AUTHORITY: 1, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;esperunited.com.   IN  A
> 
> ;; AUTHORITY SECTION:
> com.10800   IN  SOA
> a.gtld-servers.net. 
> nstld.verisign-grs.com. 1109798105 1800 900 604800
> 900
> 
> ;; Query time: 6723 msec
> ;; SERVER: 24.93.1.120#53(24.93.1.120)
> ;; WHEN: Wed Mar  2 16:08:58 2005
> ;; MSG SIZE  rcvd: 106
> 
> No MX record or A record for esperunited.com
> 
> 
> Christopher Fisk
> -- 
> I WILL NOT FAKE RABIES
> I WILL NOT FAKE RABIES
>   Bart Simpson on chalkboard in episode 8F07
> --
> gentoo-user@gentoo.org mailing list
> 
> 


=





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
OK.  My message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] was successfully sent and
delivered to my evolution inbox.  I also sent a
message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and received it successfully.  I
would almost say that this problem is solved, except
that I send messages from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and they don't show up in my
evolution Inbox, yet I never get anything from the
Yahoo mailer-deamon saying that the messages couldn't
be delivered.  Here's my sendmail.mc if it matters:
bullet mail # cat sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31
g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T
/etc/mail/access')dnl
MAILER(local)dnl
MAILER(smtp)dnl

the line for access_db should be all one line, might want to verify that, 
it could just be breaking due to the mail client.


Also, in the backed-up files from /etc/mail in my FC1
install I found a file called virtusertable.  I
remembered that on FC1 I had to put associations
between addresses and user accounts in that file.  In
my Gentoo /etc/mail directory I didn't see a
virtusertable file.  Do I need to create one to make
this work?
No, virtusertable is a different feature not required for this setup.

here is your issue:
4:07pm ([EMAIL PROTECTED]) /home/chrisf (23) dig mx espersunited.com
; <<>> DiG 9.2.3 <<>> mx espersunited.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 23473
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;espersunited.com.  IN  MX
;; Query time: 6528 msec
;; SERVER: 24.93.1.119#53(24.93.1.119)
;; WHEN: Wed Mar  2 16:08:14 2005
;; MSG SIZE  rcvd: 34
4:08pm ([EMAIL PROTECTED]) /home/chrisf (25) dig esperunited.com
; <<>> DiG 9.2.3 <<>> esperunited.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20830
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;esperunited.com.   IN  A
;; AUTHORITY SECTION:
com.10800   IN  SOA a.gtld-servers.net. 
nstld.verisign-grs.com. 1109798105 1800 900 604800 900

;; Query time: 6723 msec
;; SERVER: 24.93.1.120#53(24.93.1.120)
;; WHEN: Wed Mar  2 16:08:58 2005
;; MSG SIZE  rcvd: 106
No MX record or A record for esperunited.com
Christopher Fisk
--
I WILL NOT FAKE RABIES
I WILL NOT FAKE RABIES
Bart Simpson on chalkboard in episode 8F07
--
gentoo-user@gentoo.org mailing list


[gentoo-user] Re: howto tune SpamAssassin

2005-03-02 Thread Thomas Kirchner
* On Mar  2 21:50, Matthias F. Brandstetter (gentoo-user@gentoo.org) wrote:
> after upgrading SA to version 3 I now do get lots of false negative. I 
> trained my filter via "sa-learn", and many of these FP do have "BAYES_99", 
> but they do not reach 5.0 points.

In your ~/.spamassassin/user_prefs file, add some lines like the
following, for whatever tests you want to modify:

score BAYES_50 1.0
score BAYES_60 1.5
score BAYES_80 2.5
score BAYES_95 4.0
score BAYES_99 4.5

(Personally, I've got several pages worth of test values, built up over
the years :p)
Tom


pgp26xvAGcZr4.pgp
Description: PGP signature


Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread Neil Bothwick
On Wed, 2 Mar 2005 14:27:17 -0500, Willie Wong wrote:

> The w3c validator AFAIK
> makes noise as long as you don't follow their suggested practices (why
> should I put an ALT tag for an image if there is a caption clearly
> labeling the picture as such?).

Because an audio browser uses the ALT tag, as this is the only text
explicitly linked to the image.


-- 
Neil Bothwick

This is the day for firm decisions! Or is it?


pgpf9vdn9uJTb.pgp
Description: PGP signature


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Michael Sullivan
OK.  My message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] was successfully sent and
delivered to my evolution inbox.  I also sent a
message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and received it successfully.  I
would almost say that this problem is solved, except
that I send messages from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and they don't show up in my
evolution Inbox, yet I never get anything from the
Yahoo mailer-deamon saying that the messages couldn't
be delivered.  Here's my sendmail.mc if it matters:

bullet mail # cat sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31
g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T
/etc/mail/access')dnl
MAILER(local)dnl
MAILER(smtp)dnl


Also, in the backed-up files from /etc/mail in my FC1
install I found a file called virtusertable.  I
remembered that on FC1 I had to put associations
between addresses and user accounts in that file.  In
my Gentoo /etc/mail directory I didn't see a
virtusertable file.  Do I need to create one to make
this work?




--- Christopher Fisk <[EMAIL PROTECTED]> wrote:

> On Wed, 2 Mar 2005, Michael Sullivan wrote:
> 
> > Mar  2 12:42:01 bullet sm-mta[13086]:
> j22Ie8XY013086:
> > ruleset=check_rcpt,
> arg1=<[EMAIL PROTECTED]>,
> > relay=baby.espersunited.com [192.168.1.3],
> reject=550
> > 5.7.1 <[EMAIL PROTECTED]>... Relaying
> denied
> > Mar  2 12:42:01 bullet sm-mta[13086]:
> j22Ie8XY013086:
> > from=<[EMAIL PROTECTED]>, size=0, class=0,
> > nrcpts=0, proto=ESMTP, daemon=MTA,
> > relay=baby.espersunited.com [192.168.1.3]
> 
> definately a configuration issue.  make sure that
> your sendmail.mc has
> 
> FEATURE(`access_db', `hash -T
> /etc/mail/access')dnl
> 
> and that your recreate your sendmail.cf with the
> command:
> 
> m4 sendmail.mc >sendmail.cf
> 
> (Don't forget to backup your existing configuration
> yada-yada-yada)
> 
> Then make sure esperunited.com is in
> /etc/mail/local-host-names
> 
> 
> If neither of those suggestions work, you might want
> to post your 
> /etc/mail/sendmail.mc so it can be checked for
> errors.
> 
> 
> 
> Christopher Fisk
> 
> 
> > espersunited.comRELAY
> > localhost   RELAY
> > localhost.localdomain   RELAY
> > baby.espersunited.com   RELAY
> > bullet.espersunited.com RELAY
> > blossom.espersunited.comRELAY
> > bubbles.espersunited.comRELAY
> > 127.0.0.1   RELAY
> > 192.168.1.1 RELAY
> >
> > I tried to send the test message after I updated
> > /etc/mail/access and ran makemap.  The output of
> > /var/log/messages seems to me to say that the
> first
> > attempt to relay the message was denied, but a
> second
> > attempt was successful, but I can't find the
> message
> > on the server box and it's still sitting in
> > evolution's Outbox...
> >
> >
> > --- Christopher Fisk <[EMAIL PROTECTED]> wrote:
> >
> >>> domain.  It won't even let me send mail to
> >>> [EMAIL PROTECTED]  It seems to think
> that
> >>> espersunited.com is an outside domain.  I
> searched
> >> on
> >>> Google, but didn't find anything.  I read
> through
> >> the
> >>> README.cf in the sendmail docs directory, but it
> >> made
> >>> no sense to me.  I remember that I had the
> problem
> >>> with relaying mail to external domains with
> Fedora
> >>> Core 1, but I don't remember how I solved it. 
> Can
> >>> anyone help me out with this?
> >>
> >> Without anything from your /var/log/mail.log I'm
> >> venturing a guess...
> >>
> >>
> >> /etc/mail/access
> >>
> >> Example file:
> >>
> >> yourdomain.com RELAY
> >> yourotherdomain.comRELAY
> >> 192.168.0  RELAY
> >> 127.0.0.1  RELAY
> >>
> >>
> >> makemap hash access >>
> >>
> >> Hope that helps,
> >>
> >>
> >> Christopher Fisk
> >> --
> >> BOFH Excuse #388:
> >> Bad user karma.
> >> --
> >> gentoo-user@gentoo.org mailing list
> >>
> >>
> >
> >
> > =
> >
> >
> >
> >
> >
> > __
> > Celebrate Yahoo!'s 10th Birthday!
> > Yahoo! Netrospective: 100 Moments of the Web
> > http://birthday.yahoo.com/netrospective/
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> -- 
> You can present the material, but you can't make
> me care.
> -- Calvin
> --
> gentoo-user@gentoo.org mailing list
> 
> 


=





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread Scott Taylor
On Wed, 2005-03-02 at 12:11 -0800, darren kirby wrote:
> quoth the ME:
> > On my Redhat systems, when I open a root shell and have the message "You
> > have new mail in /root", I just type "mail" and there I am reading the
> > messages on the command line.
> > Moreover, I am not able to find the messages!  I looked under /root,
> > under /var and did not find any (I might just be missing them, but I
> > suspect they are not getting where they should).
> Well, to put in my 2cents, what I do is edit the /etc/mail/aliases file so 
> that root's mail resolves to my normal user account and read it there...
> Why screw around with two different clients just to read your cron report?

Despite the availability of more secure authentication methods for
reading mail, it is common for (pop3 especially) mail clients to send
the username and password in the clear. If you're trying to read your
root mail on a machine across the network, that exposes your root
password. Also, if someone wanted to try to brute-force discover the
root password on your machine, attacking the pop3 server is one possible
place to try. Because of that, some mailservers will NOT deliver mail to
root, or allow root to authenticate and check mail, even if you wanted
to. Also note, if you haven't installed an actual mailserver, cron and
everything else will not have any way to send mail anywhere. The "ssmtp"
package sets up a simplistic mail relay that'll allow local apps to send
mail to localhost and ssmtp just forwards it to a real mail server
somewhere else. But you'll need to tell even it where to send your
"root" emails.

--
Scott Taylor - <[EMAIL PROTECTED]> 

BOFH Excuse #390:

Increased sunspot activity.



--
gentoo-user@gentoo.org mailing list



[gentoo-user] graphics under console?

2005-03-02 Thread Matthias F. Brandstetter
Hi all,

I have a bunch of *very* old 386 and 486 which I want to use only to 
display some images an alike. Problem is, those old graphic cards are not 
VESA 2.0 capable, so they do not support framebuffer.

My question now is: Are there any other possibilities to display graphics 
(simple images) under text console?

Greeings and TIA, Matthias

-- 
To alcohol!  The cause of -- and solution to -- all of life's problems!

  -- Homer Simpson
 Homer vs. the Eighteenth Amendment
--
gentoo-user@gentoo.org mailing list



[gentoo-user] howto tune SpamAssassin

2005-03-02 Thread Matthias F. Brandstetter
Hi all,

after upgrading SA to version 3 I now do get lots of false negative. I 
trained my filter via "sa-learn", and many of these FP do have "BAYES_99", 
but they do not reach 5.0 points.

What to do, any ideas?
Greetings and TIA, Matthias

-- 
Herb: All born in wedlock?

Homer: Yeah, though the boy was a close call.

 Oh Brother, Where Art Thou?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play Audio CD on Totem

2005-03-02 Thread Canek Peláez
Mmmh. Did you use hal and dbus? If yes, you need to stard hald and
dbus at boot time. Are you using devfs and udev? If you have
everything setup with hal, dbus and udev, you should have no problem.

On Sun, 13 Feb 2005 11:13:01 -0500, Captain FantastiK
<[EMAIL PROTECTED]> wrote:
> HI
> 
> I have recently installed Totem Media Player... When I inserted an Audio
> Disc and Select
> Movie> Play Disc the message appears: Totem could not open
> cdda://.Cannot open file
> cdda://.
> 
> Any Idea Please ?
> 
> cApTaiN_FaNtAsTiK
> 
> _
> Partagez une seule photo ou un diaporama complet dans MSN Messenger.
> http://join.msn.com/?pgmarket=fr-ca&page=features/messenger Commencez dès
> maintenant à profiter de tous les avantages de MSN Premium et obtenez les
> deux premiers mois GRATUITS*.
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
Canek Peláez Valdés
Facultad de Ciencias, UNAM

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with X.org - SOLVED

2005-03-02 Thread pat
Thanks a lot it helped.

 Pat

On Tue, 01 Mar 2005 13:38:18 +1300, Dion Sole wrote
> Yep, known problem.
> Remove the "hardened" and "pie" USE flags from your system, then
> recompile gcc. Then try compiling Xorg again.
> 
> On Mon, 2005-02-28 at 23:50 +0100, pat wrote:
> > Hi,
> > 
> > I'm trying to setup my Xorg, but all time I have met this error:
> > Duplicate symbol __i686.get_pc_thunk.bx in
> > /usr/X11R6/lib/modules/fonts/libbitmap.a:bitmapmod.o
> > Also defined in /usr/X11R6/lib/modules/fonts/libbitmap.a
> > 
> > Could someone help me ???
> > 
> > Thanks
> > 
> >  Pat

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Where is (and how do I read) root's mail?

2005-03-02 Thread darren kirby
quoth the ME:
> Hi,
>
> I feel a bit dumb here.
>
> On my Redhat systems, when I open a root shell and have the message "You
> have new mail in /root", I just type "mail" and there I am reading the
> messages on the command line.
>
> With Gentoo, I get the "You have new mail..." message, but I don't have
> the proper application to read it (and do not know what to emerge).
>
> Moreover, I am not able to find the messages!  I looked under /root,
> under /var and did not find any (I might just be missing them, but I
> suspect they are not getting where they should).
>
> Can anyone let me know what to install / setup to get this going?
> BTW, I have installed metalog for system logger, if that matters.
>
> Thanks.
>
> Marc

Well, to put in my 2cents, what I do is edit the /etc/mail/aliases file so 
that root's mail resolves to my normal user account and read it there...

Why screw around with two different clients just to read your cron report?
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972


pgpu4mGzMFGYT.pgp
Description: PGP signature


Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread Ralph Slooten
Willie Wong wrote:

Sorry to make such a big rant on the pedantics of code validity, and
of course, nothing personal, but I really want to make a point
distinguishing VALID code and PROPER code. Remember: just because it
compiles doesn't mean it does what you want it to. 

Nicely put ;-) I stand corrected. It was just a quick glance I took at 
it while at work. I just saw the post, remembered /.'s history (missing 
closed  &  tags to name 2 major skrewups) and answered. My 
appologies.

Greetings
Ralph
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] mdadm help? [FIXED!]

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Christoph Gysin wrote:

> No physical devices were found to assemble /dev/md0.
>
> Try to define DEVICE before ARRAY.
>
> This works for me:
>
> DEVICE /dev/hda1 /dev/hdc1 /dev/hda3 /dev/hdc3
>
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=b672d714:d2e45461:046ea228:8ef71a06
> devices=/dev/hda1,/dev/hdc1
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=f97e2a87:6ae6edc0:1ba541dd:0945e9ed
> devices=/dev/hda3,/dev/hdc3

OK, I bit the bullet and ran the create command again like this:

mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /deb/sdb1

It reported that it found an ext2fs on the partition and then proceeded
to rebuild the array. I did the same for the other devices and all got
rebuilt and luckily it looks like it preserved all the file-systems too:

# cat /proc/mdstat
Personalities : [raid0] [raid1] [raid5] [raid6] [raid10]
md2 : active raid1 sdb4[1] sda4[0]
  4819392 blocks [2/2] [UU]

md1 : active raid1 sdb3[1] sda3[0]
  3004032 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
  56128 blocks [2/2] [UU]

unused devices: 

# mount /dev/md1 /mnt/gentoo
# mount /dev/md0 /mnt/gentoo/boot
# mount /dev/md2 /mnt/gentoo/var
# mount
/dev/ROOT on / type xfs (rw,noatime)
/newroot/dev/cdroms/cdrom0 on /mnt/cdrom type iso9660 (ro)
/dev/loop/0 on /mnt/livecd type squashfs (ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
tmpfs on /usr/lib/hotplug/firmware type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/md1 on /mnt/gentoo type reiserfs (rw)
/dev/md0 on /mnt/gentoo/boot type ext3 (rw)
/dev/md2 on /mnt/gentoo/var type reiserfs (rw)

# cd /mnt/gentoo
# ls
bin  boot  dev  etc  home  lib  mnt  opt  proc  root  sbin  service  sys
tmp  usr  var
#

All the files appear to be there (this was a stage 1 build so Im relieved
to not have to re-build ;-)


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



Re: [gentoo-user] Emerge stopped working

2005-03-02 Thread Leo
Ok I fixed it.
I was using the old initrd from my 2.6.10-r1 kernel.
Thanks for you attention.
Leo
Leo wrote:
Bastian Balthazar Bux wrote:
Leo ha scritto:
Hello all:
I just updated my kernel to the latest developement-sources  
(2.6.11-rc5)

Everything works fine except emerge :)
~ # emerge -up world
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 649: 
elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' 
failed!

How do I fix it?
Yes I have the latest version of portage just in case you ask.
Leo

first of all try to revert the old kernel and tell us if it still happen
then try 2.6.11 that now is the latest.
Yeah the old kernel (still) works just fine.  (2.6.10-rc1)
I'll try compiling the vanilla-sources to see what happens.
Leo
--
gentoo-user@gentoo.org mailing list

--
gentoo-user@gentoo.org mailing list


Off Topic: Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread Willie Wong
My apologies, should have marked that long rant Off Topic. 

Best, 

W

On Wed, Mar 02, 2005 at 02:27:17PM -0500, Willie Wong wrote:


-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

10 pico farad is nature's size for a capacitor. If everthing else
is one, then the capacitance is about 10pf.
   ~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304
Sortir en Pantoufles: up 7 days, 11:11
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge stopped working

2005-03-02 Thread Leo
Bastian Balthazar Bux wrote:
Leo ha scritto:
Hello all:
I just updated my kernel to the latest developement-sources  
(2.6.11-rc5)

Everything works fine except emerge :)
~ # emerge -up world
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 649: 
elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' 
failed!

How do I fix it?
Yes I have the latest version of portage just in case you ask.
Leo

first of all try to revert the old kernel and tell us if it still happen
then try 2.6.11 that now is the latest.
Yeah the old kernel (still) works just fine.  (2.6.10-rc1)
I'll try compiling the vanilla-sources to see what happens.
Leo
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Willie Wong
On Wed, Mar 02, 2005 at 05:55:38PM +0100, Bastian Balthazar Bux wrote:
> Adis Beglerovic ha scritto:
> >[/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o]
> >Error 1
> >make[2]: *** 
> >[_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv]
> >Error 2
> >NVIDIA: left KBUILD.
> >nvidia.ko failed to build!
> >make[1]: *** [module] Error 1
> >make: *** [module] Error 2

> >Anyone else got this error ??
> 
> yes, yesterday, with 2.6.11-rc5, that is quite the same as 2.6.11.
> 
> 

the bug has been known since 2.6.11rc2
Use keyword ~x86 and emerge nvidia-kernel-1.0.6629-r2 or higher. 
nvidia submitted a patch, but it is not marked stable yet. 

W
-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

The Short History of Medicine

2000 B.C. - Here, eat this root
1000 A.D. - That root is heathen.
Here, say this prayer.
1850 A.D. - That prayer is superstition.
Here, drink this potion.
1940 A.D. - That potion is snake oil.
Here, swallow this pill.
1985 A.D. - That pill is ineffective.
Here, take this antibiotic.
2000 A.D. - That antibiotic doesn't work any more.
Here, eat this root.
Sortir en Pantoufles: up 7 days, 11:00
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mdadm help?

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Christoph Gysin wrote:

> A. Khattri wrote:
> > livecd dev # mdadm -As /dev/md0
> > mdadm: no devices found for /dev/md0
>
> No physical devices were found to assemble /dev/md0.
>
> Try to define DEVICE before ARRAY.
>
> This works for me:
>
> DEVICE /dev/hda1 /dev/hdc1 /dev/hda3 /dev/hdc3
>
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=b672d714:d2e45461:046ea228:8ef71a06
> devices=/dev/hda1,/dev/hdc1
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=f97e2a87:6ae6edc0:1ba541dd:0945e9ed
> devices=/dev/hda3,/dev/hdc3

I have something similar:

# mdadm configuration file
#
DEVICE /dev/sda[134] /dev/sdb[134]
ARRAY /dev/md0 level=raid1 num-devices=2 spares=0 
UUID=2d1e8401:8878cba0:192a7f8d:0102711b devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 spares=0 
UUID=2def09de:ac2cf5d4:753c40ff:7aa104fa devices=/dev/sda3,/dev/sdb3
ARRAY /dev/md2 level=raid1 num-devices=2 spares=0 
UUID=245ce951:a921a9eb:2acdcddf:03a72aad devices=/dev/sda4,/dev/sdb4

I suppose I could just re-create the whole RAID but then Ill have to start
over with the install...


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



Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread Willie Wong
On Wed, Mar 02, 2005 at 04:13:00PM +0100, Ralph Slooten wrote:
> Umm, *cough* *cough* ;-) ... not nearly close to being remotely true
> here  Slashdot is so bad that they have even blocked the W3C
> validator as users were complaining about it. Try it... save the index
> file (main page) of /. and upload it to the validator:
> 
> File: Slashdot.htm
> Encoding: utf-8
> Doctype:  HTML 3.2
> Errors:   115
> 
> 115 errors on one page is definitely not "perfectly valid html" :P
> 
> Actually the reason I bring this up is not to drill your opinion into
> the ground (nothing personal), but it goes back to when I often used
> dillo to surf with. Dillo, like many other browsers had big issues
> rendering slashdot. We did a lot of searching around then and found it
> to have terrible code. There were several compaints sent to slashdot to
> at least try fix their code. It seemed then only to get worse.
> Eventually we gave up, and they seem to have blocked validation services
> from showing just how bad their code actually is.
> 
> All I'm trying to point out here is that you cannot base *any* browser
> on slashdot's code... that is unless you are testing for crashes ;-0
> 
> Greetings
> Ralph
> 

Actually, running the /. homepage through htmltidy showed that it is
completely valid: 136 warnings and no errors. The warnings are all of
the type empty  or  or  elements not being closed (but
shouldn't really matter with proper scopes). Some others are reminents
of /code, or tags missing suggested fields (for example, "summary" for
, I personally never used that...). As I said, any competant
engine should be able to render the HTML (it works just fine in lynx
and links (and it actually renders BETTER in links than in firefox for
that matter)), which I take as meaning further evidence that the html
is VALID. Note that VALID doesn't mean IDEAL. The w3c validator AFAIK
makes noise as long as you don't follow their suggested practices (why
should I put an ALT tag for an image if there is a caption clearly
labeling the picture as such?). Of course, it is best to conform to
the standard as much as possible, but slight and minor deviations like
in the case of slashdot does not harm its validity. (Actually, the w3c 
validator also screams at news.com.com.com.com.com, and it renders
just fine on most any browser I use). 

(going on a tangent here: the HTML validator really isn't the best
tool here. For example, if you had bothered reading your 115 errors,
you'd have realized that the vast majority is due to the & characters
used in URLs, that cuts it down to around 50. And if you ignore the
one's due to w3c's deprecation of certain older attributes, and the
ones generated from the use of inline style sheets (which
unfortunately, HTML 3.02 does NOT support officially, but 4+ do), and
the ones generated from silly comments like "%" is not allowed in
"width" or "#" is not a "literal character", you are down to 20 or so.
Now some of them are just weird: what the heck is  anyway? But
the rendering engines are supposed to ignore tags that they don't know
about anyway (think lynx). The rest are issues with scopes: what tags
are allowed to go inside of what else, which hardly anyone follows to
the letter, and shouldn't affect rendering... In fact, none of the
errors the validator produces has anything to do with BAD HTML code*,
nor anything to do with why /. does not render properly in firefox 5
out of 6 tries.

If you are a web designer, you are much better off using HTMLtidy to
check your source to make sure it is sane and parseable...)

However, just because the code is valid doesn't mean that it would
look nice, or that it would render properly (as in, "the way we like
it") on all agents. It's just like coding in any other language: you
can write something syntactically correct that doesn't do jack when it
comes to solving the problem it is supposed to solve. In this case /.
chose an extremely bad design and very incompatible with Firefox, but
in a sense "it rendered like the code told firefox to render it"...

What I am trying to say here is not to disagree with the fact that /.
is broken, but that it is broken not because of Invalid HTML, but
because of a bad design philosophy. It renders. But often it renders
poorly. And thus should not be something to test your browsers with. 

Sorry to make such a big rant on the pedantics of code validity, and
of course, nothing personal, but I really want to make a point
distinguishing VALID code and PROPER code. Remember: just because it
compiles doesn't mean it does what you want it to. 

Best,

W

*BAD HTML code here means "stuff that can seriously fuck up the
display agent"
-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

Re: [gentoo-user] Emerge stopped working

2005-03-02 Thread Bastian Balthazar Bux
Leo ha scritto:
Hello all:
I just updated my kernel to the latest developement-sources  (2.6.11-rc5)
Everything works fine except emerge :)
~ # emerge -up world
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 649: 
elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

How do I fix it?
Yes I have the latest version of portage just in case you ask.
Leo

first of all try to revert the old kernel and tell us if it still happen
then try 2.6.11 that now is the latest.
--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Volker Armin Hemmann
On Wednesday 02 March 2005 18:09, Adis Beglerovic wrote:
> Well this is the first time that nvidia-kernel can't compile with vanilla
> kernel downloaded from kernel.org. There must be something that can be done
> ? New version of nvidia-kernel maybe ?
> Thanks

nope, it isn't. There are a lot of patches out in the wild to make certain 
driver versions work with various kernels.

Have you already tried the latest version? (not the latest stable version)
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerge stopped working

2005-03-02 Thread Leo
Hello all:
I just updated my kernel to the latest developement-sources  (2.6.11-rc5)
Everything works fine except emerge :)
~ # emerge -up world
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 649: 
elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

How do I fix it?
Yes I have the latest version of portage just in case you ask.
Leo
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] mdadm help?

2005-03-02 Thread Christoph Gysin
A. Khattri wrote:
livecd dev # mdadm -As /dev/md0
mdadm: no devices found for /dev/md0
No physical devices were found to assemble /dev/md0.
Try to define DEVICE before ARRAY.
This works for me:
DEVICE /dev/hda1 /dev/hdc1 /dev/hda3 /dev/hdc3
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=b672d714:d2e45461:046ea228:8ef71a06
   devices=/dev/hda1,/dev/hdc1
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=f97e2a87:6ae6edc0:1ba541dd:0945e9ed
   devices=/dev/hda3,/dev/hdc3

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


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
On Wed, 2 Mar 2005, Michael Sullivan wrote:
Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>,
relay=baby.espersunited.com [192.168.1.3], reject=550
5.7.1 <[EMAIL PROTECTED]>... Relaying denied
Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
from=<[EMAIL PROTECTED]>, size=0, class=0,
nrcpts=0, proto=ESMTP, daemon=MTA,
relay=baby.espersunited.com [192.168.1.3]
definately a configuration issue.  make sure that your sendmail.mc has
FEATURE(`access_db', `hash -T /etc/mail/access')dnl
and that your recreate your sendmail.cf with the command:
m4 sendmail.mc >sendmail.cf
(Don't forget to backup your existing configuration yada-yada-yada)
Then make sure esperunited.com is in /etc/mail/local-host-names
If neither of those suggestions work, you might want to post your 
/etc/mail/sendmail.mc so it can be checked for errors.


Christopher Fisk

espersunited.comRELAY
localhost   RELAY
localhost.localdomain   RELAY
baby.espersunited.com   RELAY
bullet.espersunited.com RELAY
blossom.espersunited.comRELAY
bubbles.espersunited.comRELAY
127.0.0.1   RELAY
192.168.1.1 RELAY
I tried to send the test message after I updated
/etc/mail/access and ran makemap.  The output of
/var/log/messages seems to me to say that the first
attempt to relay the message was denied, but a second
attempt was successful, but I can't find the message
on the server box and it's still sitting in
evolution's Outbox...
--- Christopher Fisk <[EMAIL PROTECTED]> wrote:
domain.  It won't even let me send mail to
[EMAIL PROTECTED]  It seems to think that
espersunited.com is an outside domain.  I searched
on
Google, but didn't find anything.  I read through
the
README.cf in the sendmail docs directory, but it
made
no sense to me.  I remember that I had the problem
with relaying mail to external domains with Fedora
Core 1, but I don't remember how I solved it.  Can
anyone help me out with this?
Without anything from your /var/log/mail.log I'm
venturing a guess...
/etc/mail/access
Example file:
yourdomain.com  RELAY
yourotherdomain.com RELAY
192.168.0   RELAY
127.0.0.1   RELAY
makemap hash access
Hope that helps,
Christopher Fisk
--
BOFH Excuse #388:
Bad user karma.
--
gentoo-user@gentoo.org mailing list


=


__
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list

--
   You can present the material, but you can't make me care.
  -- Calvin
--
gentoo-user@gentoo.org mailing list


[gentoo-user] running a second LCD screen

2005-03-02 Thread timothy johnson
I am currently running gentoo on my Dell 8100, works great, but now I
am buying a touchLCD screen, will I have a problem trying to get it to
run on my system?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Michael Sullivan
I went ahead and tried your suggestion.  I
cross-referenced my /etc/mail/access file from my old
FC1 installation and entered all the relaying hosts I
saw there then used the makemap command.  Relaying is
still denied to [EMAIL PROTECTED]  I don't have a
mail log per say, but I have the relevent log entries
from /var/log/messages:

Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>,
relay=baby.espersunited.com [192.168.1.3], reject=550
5.7.1 <[EMAIL PROTECTED]>... Relaying denied
Mar  2 12:42:01 bullet sm-mta[13086]: j22Ie8XY013086:
from=<[EMAIL PROTECTED]>, size=0, class=0,
nrcpts=0, proto=ESMTP, daemon=MTA,
relay=baby.espersunited.com [192.168.1.3]


Here are the contents of my /etc/mail/access file:

bullet log # cat /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for
a description
# of the format of this file. (search for access_db in
that file)
# The /usr/share/doc/sendmail/README.cf is part of the
sendmail-doc
# package.
#


espersunited.comRELAY
localhost   RELAY
localhost.localdomain   RELAY
baby.espersunited.com   RELAY
bullet.espersunited.com RELAY
blossom.espersunited.comRELAY
bubbles.espersunited.comRELAY
127.0.0.1   RELAY
192.168.1.1 RELAY

I tried to send the test message after I updated
/etc/mail/access and ran makemap.  The output of
/var/log/messages seems to me to say that the first
attempt to relay the message was denied, but a second
attempt was successful, but I can't find the message
on the server box and it's still sitting in
evolution's Outbox...


--- Christopher Fisk <[EMAIL PROTECTED]> wrote:

> > domain.  It won't even let me send mail to
> > [EMAIL PROTECTED]  It seems to think that
> > espersunited.com is an outside domain.  I searched
> on
> > Google, but didn't find anything.  I read through
> the
> > README.cf in the sendmail docs directory, but it
> made
> > no sense to me.  I remember that I had the problem
> > with relaying mail to external domains with Fedora
> > Core 1, but I don't remember how I solved it.  Can
> > anyone help me out with this?
> 
> Without anything from your /var/log/mail.log I'm
> venturing a guess...
> 
> 
> /etc/mail/access
> 
> Example file:
> 
> yourdomain.comRELAY
> yourotherdomain.com   RELAY
> 192.168.0 RELAY
> 127.0.0.1 RELAY
> 
> 
> makemap hash access 
> 
> Hope that helps,
> 
> 
> Christopher Fisk
> -- 
> BOFH Excuse #388:
> Bad user karma.
> --
> gentoo-user@gentoo.org mailing list
> 
> 


=





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Neil Bothwick
On Wed, 2 Mar 2005 17:19:49 +0100, Etaoin Shrdlu wrote:

> IIRC, they are the same. vanilla-sources is the new name for the
> standard  kernel sources.
> I guess you are encouraged to use the new name.

You still have to use the old name, for now. vanilla-sources-2.6 is hard
masked.

$ grep vanilla /usr/portage/profiles/package.mask -B 7
# <[EMAIL PROTECTED]> (1/12/2004)
# Masking all 2.6 versions of kernel packages which were originally
# 2.4 only so that we can merge 2.6 with 2.4 without forcing a
# mass upgrade.
>=sys-kernel/gentoo-sources-2.6
>=sys-kernel/hardened-sources-2.6
>=sys-kernel/rsbac-sources-2.6
>=sys-kernel/vanilla-sources-2.6

-- 
Neil Bothwick

By the time you can make ends meet, they move the ends.


pgpIqZJY1FmJ9.pgp
Description: PGP signature


Re: [gentoo-user] mdadm help?

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Henrik Andersson wrote:

> maybe this might work # mdadm -A -s --config=/etc/mdadm.conf

This is weird:

livecd dev # mdadm -A -s --config=/etc/mdadm.conf
mdadm: no devices found for /dev/md0
mdadm: no devices found for /dev/md1
mdadm: no devices found for /dev/md2
livecd dev # ls -l /dev/md?
lrwxrwxrwx  1 root root4 Mar  2 18:32 /dev/md0 -> md/0
lrwxrwxrwx  1 root root4 Mar  2 18:36 /dev/md1 -> md/1
lrwxrwxrwx  1 root root4 Mar  2 18:36 /dev/md2 -> md/2
brw-rw  1 root disk 9, 3 Mar  2 18:32 /dev/md3
brw-rw  1 root disk 9, 4 Mar  2 18:32 /dev/md4
brw-rw  1 root disk 9, 5 Mar  2 18:32 /dev/md5
brw-rw  1 root disk 9, 6 Mar  2 18:32 /dev/md6
brw-rw  1 root disk 9, 7 Mar  2 18:32 /dev/md7
brw-rw  1 root disk 9, 8 Mar  2 18:32 /dev/md8
brw-rw  1 root disk 9, 9 Mar  2 18:32 /dev/md9


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



Re: [gentoo-user] mdadm help?

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Mike Williams wrote:

> On Wednesday 02 March 2005 17:27, A. Khattri wrote:
> > Have I missed out a step along the way?
>
> I believe you need a DEVICE specification per array.

Yes, I have DEVICE and ARRAY lines in mdadm.conf - see the grep commands
at the end of my previous post.

I have managed to get something working but its not quite right.

I had an existing disk with a Gentoo install image on it and an empty one.
So I made a RAID array out of partitions on the empty disk (only one
partition per RAID device). I then mounted and copied files across from
the install disk into the RAID devices - this worked fine.

Now what I want to do is add the partitions on the install disk to the
arrays Ive created so that there are two partitions per RAID device. So I
ran fdisk on the install disk, marked the partitions as Linux RAID auto
and then tried to add them to the array.

Right now, I can assemble the array but the added disk is marked as a
spare instead of a mirror:

livecd dev # mdadm -A /dev/md0 /dev/sda1 /dev/sdb1
mdadm: /dev/md0 has been started with 1 drive and 1 spare.

livecd dev # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid5] [raid6] [raid10]
md0 : active raid1 sda1[0] sdb1[1]
  56128 blocks [1/1] [U]

unused devices: 


I tried stopping the device and editing my mdadm.conf to reflect the
changes I made (see grep lines in previous post) but this doesn't work. I
think I need to do an additional step to get this working?

(Im doing it this way because I dont want to have to do a Gentoo install
all over again on the RAID drives...).


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



Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread John Myers
On Wed, March 2, 2005 8:24 am, Tim Igoe said:
> I just have to hit refresh an extra time and it works. Its a ploy to get
> more 'hits' to /. ? ;)

Perhaps /. is trying to /. itself?


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mdadm help?

2005-03-02 Thread Henrik Andersson
A. Khattri wrote:
Ive used raidtools in the past but Im trying to transition to mdadm.
I dont quite understand what's happening here:
livecd dev # mdadm -As /dev/md0
mdadm: no devices found for /dev/md0
livecd dev # mdadm -As /dev/md1
mdadm: no devices found for /dev/md1
livecd dev # mdadm -As /dev/md2
mdadm: no devices found for /dev/md2
maybe this might work # mdadm -A -s --config=/etc/mdadm.conf
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] mdadm help?

2005-03-02 Thread Mike Williams
On Wednesday 02 March 2005 17:27, A. Khattri wrote:
> Have I missed out a step along the way?

I believe you need a DEVICE specification per array.

One of my boxes has an mdadm config, due to an external kernel module for one 
of the controllers, the others have no need as the kernel autodetects them.
This is the config

DEVICE partitions
ARRAY /dev/md0 uuid=8ef83d67:79b230ba:6cc967c3:208b9224

DEVICE partitions
ARRAY /dev/md1 uuid=16bd46c0:45df33c2:7349932f:4381b8c8


All the important information is in the superblock, so I don't need to give it 
anymore.

-- 
Mike Williams


pgpA6Lcj6zdd2.pgp
Description: PGP signature


Re: [gentoo-user] firefox 1.0.1 reload page problem

2005-03-02 Thread YoYo Siska
Joseph wrote:
On Wed, 2005-03-02 at 09:44 -0500, Willie Wong wrote:
Well known problem with firefox/gecko and /.
IIRC it happens because the gecko engine starts rendering the content
before receiving all of the data, which is not a particularly bad
thing, because on most websites it means you will get to see the
webpage a little earlier especially if your net connection is slow. 

Unfortunately, with the way /. is written, while perfectly valid html,
when the browser starts rendering too early, sometimes space are
allocated wrong on the display agent (has something to do with the
fact that the space for the side panels are allocated dynamically or
something... anyway the important part is that the width for the side
panels is not hard coded) and pushes content that comes in AFTER the
rendering started to other places: i.e. to one of the black background
areas around the border.
Now if only slashcode is build using some sane CSS...

There might be a problem with "./" but this behavior wasn't effecting
Firefox 1.0.0 (at least in my case).
So Firefox 1.0.1 must have done some "negative" improvement that is
causing this effect :-/
1.0.0 in my didn't bring up empty frames, but it did often put part of 
the text under the left bar...

--
  _
  |
YoYo () Siska
===
http://www.ksp.sk/
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Required symbol xf86ExecX86int10...

2005-03-02 Thread Petri Lehtonen
On Wed, 2 Mar 2005 11:24:38 -0600, Scott Jones <[EMAIL PROTECTED]> wrote:
> I was getting lots of:
> /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
> errors because I had USE="+dlloader" , when I recently reinstalled
> xorg-x11-6.8.0.. after fiddling with use flags.  That use flag might
> be your problem.

That was it. Thanks.

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



Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread Christopher Fisk
domain.  It won't even let me send mail to
[EMAIL PROTECTED]  It seems to think that
espersunited.com is an outside domain.  I searched on
Google, but didn't find anything.  I read through the
README.cf in the sendmail docs directory, but it made
no sense to me.  I remember that I had the problem
with relaying mail to external domains with Fedora
Core 1, but I don't remember how I solved it.  Can
anyone help me out with this?
Without anything from your /var/log/mail.log I'm venturing a guess...
/etc/mail/access
Example file:
yourdomain.com  RELAY
yourotherdomain.com RELAY
192.168.0   RELAY
127.0.0.1   RELAY
makemap hash access
Hope that helps,
Christopher Fisk
--
BOFH Excuse #388:
Bad user karma.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] OT - Need sendmail help

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Michael Sullivan wrote:

> Core 1, but I don't remember how I solved it.  Can
> anyone help me out with this?

I think you would be better off using postfix...

-- 
A.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How do I get more text consoles?

2005-03-02 Thread A. Khattri
On Wed, 2 Mar 2005, Peter wrote:

> Well. I have some screen/vim related problems too. If I try to use vim in
> screen up, down and other arrow keys do not work properly. May be you know
> how to solve this issue?

When re-connecting to a detached screen session I always use "screen -A -d
-R" (the -A resets the terminal).

I have no problems using vim with arrow keys under screen.


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



[gentoo-user] mdadm help?

2005-03-02 Thread A. Khattri

Ive used raidtools in the past but Im trying to transition to mdadm.

I dont quite understand what's happening here:


livecd dev # mdadm -As /dev/md0
mdadm: no devices found for /dev/md0

livecd dev # mdadm -As /dev/md1
mdadm: no devices found for /dev/md1

livecd dev # mdadm -As /dev/md2
mdadm: no devices found for /dev/md2

livecd dev # ls -l /dev/md*
lrwxrwxrwx  1 root root 4 Mar  2 18:32 /dev/md0 -> md/0
lrwxrwxrwx  1 root root 4 Mar  2 18:36 /dev/md1 -> md/1
brw-rw  1 root disk 9, 10 Mar  2 18:32 /dev/md10
brw-rw  1 root disk 9, 11 Mar  2 18:32 /dev/md11
brw-rw  1 root disk 9, 12 Mar  2 18:32 /dev/md12
brw-rw  1 root disk 9, 13 Mar  2 18:32 /dev/md13
brw-rw  1 root disk 9, 14 Mar  2 18:32 /dev/md14
brw-rw  1 root disk 9, 15 Mar  2 18:32 /dev/md15
lrwxrwxrwx  1 root root 4 Mar  2 18:36 /dev/md2 -> md/2
brw-rw  1 root disk 9,  3 Mar  2 18:32 /dev/md3
brw-rw  1 root disk 9,  4 Mar  2 18:32 /dev/md4
brw-rw  1 root disk 9,  5 Mar  2 18:32 /dev/md5
brw-rw  1 root disk 9,  6 Mar  2 18:32 /dev/md6
brw-rw  1 root disk 9,  7 Mar  2 18:32 /dev/md7
brw-rw  1 root disk 9,  8 Mar  2 18:32 /dev/md8
brw-rw  1 root disk 9,  9 Mar  2 18:32 /dev/md9

/dev/md:
total 0
brw-rw  1 root disk 9, 0 Mar  2 18:32 0
brw-rw  1 root disk 9, 1 Mar  2 18:36 1
brw-rw  1 root disk 9, 2 Mar  2 18:36 2

livecd dev # grep ^ARRAY /etc/mdadm.conf
ARRAY /dev/md0 level=raid1 num-devices=2 spares=0
UUID=2d1e8401:8878cba0:192a7f8d:0102711b devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 spares=0
UUID=2def09de:ac2cf5d4:753c40ff:7aa104fa devices=/dev/sda3,/dev/sdb3
ARRAY /dev/md2 level=raid1 num-devices=2 spares=0
UUID=245ce951:a921a9eb:2acdcddf:03a72aad devices=/dev/sda4,/dev/sdb4

livecd dev # grep ^DEVICE /etc/mdadm.conf
DEVICE /dev/sda[134] /dev/sdb[134]


Have I missed out a step along the way?


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



Re: [gentoo-user] Required symbol xf86ExecX86int10...

2005-03-02 Thread Scott Jones
I was getting lots of:
/usr/lib/modules/drivers/nvidia_drv.o is unresolved!
errors because I had USE="+dlloader" , when I recently reinstalled
xorg-x11-6.8.0.. after fiddling with use flags.  That use flag might
be your problem.

Hope this helps,

Scott Jones  
On Wed, 2 Mar 2005 15:11:30 +0200, Petri Lehtonen
<[EMAIL PROTECTED]> wrote:
> I have unmasked the nvidia and xorg stuff and have emerged the following:
> 
> nvidia-kernel-1.0.6629-r3
> nvidia-glx-1.0.6629-r5
> xorg-x11-6.8.2
> 
> But still:
> 
> # startx
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: Linux 2.6.10-gentoo-r6 i686 [ELF]
> Current Operating System: Linux vcr 2.6.10-gentoo-r6 #1 Mon Feb 21
> 21:19:31 EET 2005 i686
> Build Date: 02 March 2005
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  2 15:00:32 2005
> (==) Using config file: "/etc/X11/xorg.conf"
> Using vt 7
> Required symbol xf86ExecX86int10 from module
> /usr/lib/modules/drivers/nvidia_drv.o is unresolved!
> 
> 
> Any ideas?
> 
> petri
> --
> gentoo-user@gentoo.org mailing list
> 
>
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Adis Beglerovic
Yes 

Using ~x86 packages of nvidia made possible to compile it with vanilla 2.6.11.
So fix is ACCEPT_KEYWORDS="~x86" emerge nvidia-kernel nvidia-glx

Good luck


On Wed, 2 Mar 2005 18:12:40 +0100, Etaoin Shrdlu
<[EMAIL PROTECTED]> wrote:
> On Wednesday 02 March 2005 17:55, Bastian Balthazar Bux wrote:
> 
> > yes, yesterday, with 2.6.11-rc5, that is quite the same as 2.6.11.
> 
> I'm using nvidia-kernel-1.0.6629-r3 with 2.6.11-rc5 with no problem.
> --
> gentoo-user@gentoo.org mailing list
> 
>
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How do I get more text consoles?

2005-03-02 Thread Peter
On Sun, 27 Feb 2005 14:34:54 +, Ciaran McCreesh wrote:

> On Sat, 26 Feb 2005 22:23:03 -0500 "Walter Dnes" <[EMAIL PROTECTED]>
> wrote:
> |   vim runs great in ordinary consoles (thank you for your work).  It has
> | problems under screen, which I believe are the fault of screen.  Here is
> | an excerpt from the screen manpage...
> 
> What problems? Screen is a reasonably complete terminal emulator, there's
> a lot more than just vt100 stuff supported.

Well. I have some screen/vim related problems too. If I try to use vim in
screen up, down and other arrow keys do not work properly. May be you know
how to solve this issue?

Peter.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AMD64 PCI-Express Motherboard Recomendations?

2005-03-02 Thread hiroki
Hi,

I did quick tests about X86_64 for my nf4 motherboards.
- Asus A8N SLI Deluxe
- MSI K8N Neo4 Diamond

* A8N SLI
kernel 2.6.10-r7, Xorg 6.8.0-r4
config, dmesg, lspci
http://www.otukare.org/~hiroki/gentoo/a8n-sli-x86_64-2.6.10.txt

Athlon64 3500+ (CONFIG_MK8)
ok: 4x 512M Samsung pc3200
ok: onboard nForce SATA controller -> WD740 (CONFIG_SCSI_SATA_NV)
ok: onboard SiliconImage 3114 -> WD740 (CONFIG_SCSI_SATA_SIL)
ok: onboard nForce ethernet controller (CONFIG_FORCEDETH)
ok: onboard Marvell 88E8001 (CONFIG_SK98LIN)
ok: onboard nForce sound (alsa-1.0.8, ALSA_CARDS="intel8x0")
ok: GeForce 6800GT PCIe -> dvi -> 2x 1600x1200 (nvidia-kernel-1.0.6629-r3)
ok: onboard nForce ohci -> usb mouse (CONFIG_USB_OHCI_HCD)

No serious problem so I'll move to here.

* K8N Neo4
kernel 2.6.10-r7, Xorg 6.8.0-r4
config, dmesg, lspci
http://www.otukare.org/~hiroki/gentoo/k8n-neo4-x86_64-2.6.10.txt

Athlon64 FX55 (CONFIG_MK8)
 ?: 4x 1G Corsair XMS pc3200
NG: onboard nForce SATA controller -> 6Y160M0 (CONFIG_SCSI_SATA_NV)
NG: onboard SiliconImage 3132 (3152?) -> 6Y160M0 (CONFIG_SCSI_SATA_SIL)
ok: Adaptec 29320 -> Atlas15k2 (CONFIG_SCSI_AIC79XX)
ok: onboard nForce ethernet controller (CONFIG_FORCEDETH)
NG: onboard Marvell 88E8053 (CONFIG_SK98LIN)
ok: onboard Creative SoundBlaster LS (alsa-1.0.8, ALSA_CARDS="ca0106")
ok: GeForce 6800GT PCIe -> dvi -> 1920x1200 (nvidia-kernel-1.0.6629-r3)
ok: onboard nForce ohci -> usb mouse (CONFIG_USB_OHCI_HCD)

This mobo has some problem as follows
- I can't use both sata controllers
  dmesg: http://www.otukare.org/~hiroki/gentoo/sata_nv.log
- I can't use 88E8053 ethernet controller
- I can see only 3349.6MB of memory
or I might mess something up.

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



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Etaoin Shrdlu
On Wednesday 02 March 2005 17:55, Bastian Balthazar Bux wrote:

> yes, yesterday, with 2.6.11-rc5, that is quite the same as 2.6.11.

I'm using nvidia-kernel-1.0.6629-r3 with 2.6.11-rc5 with no problem.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Adis Beglerovic
Well this is the first time that nvidia-kernel can't compile with vanilla kernel
downloaded from kernel.org. There must be something that can be done ?
New version of nvidia-kernel maybe ?
Thanks

On Wed, 2 Mar 2005 17:03:06 +, Richard Brown
<[EMAIL PROTECTED]> wrote:
> On Wed, 2 Mar 2005 17:34:12 +0100, Adis Beglerovic
> <[EMAIL PROTECTED]> wrote:
> > Hi all
> >
> > I've just downloaded 2.6.11 and compile it om my gentoo desktop box.
> > Tried to add/compile nvidia-kernel but got error that says:
> 
> nvidia-kernel won't work with a vanilla 2.6.11, you'll have to wait
> for an ebuild for ck or gentoo-dev-sources
> 
> Regards,
> 
> --
> Richard
> --
> gentoo-user@gentoo.org mailing list
> 
>
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Richard Brown
On Wed, 2 Mar 2005 17:34:12 +0100, Adis Beglerovic
<[EMAIL PROTECTED]> wrote:
> Hi all
> 
> I've just downloaded 2.6.11 and compile it om my gentoo desktop box.
> Tried to add/compile nvidia-kernel but got error that says:

nvidia-kernel won't work with a vanilla 2.6.11, you'll have to wait
for an ebuild for ck or gentoo-dev-sources

Regards,

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



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Bastian Balthazar Bux
Adis Beglerovic ha scritto:
Hi all
I've just downloaded 2.6.11 and compile it om my gentoo desktop box.
Tried to add/compile nvidia-kernel but got error that says: 
--

make[3]: *** 
[/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o]
Error 1
make[2]: *** 
[_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv]
Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make 
IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux
clean module.
!!! If you need support, post the topmost build error, NOT this status message.


Anyone else got this error ??
yes, yesterday, with 2.6.11-rc5, that is quite the same as 2.6.11.

Thanks.. 
PS
Besides nvidia error everything else is fine
--
gentoo-user@gentoo.org mailing list



--
No problem is so formidable that you can't walk away from it.
~ Charles M. Schulz
But sometimes run fast is better
~ Francesco R.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Etaoin Shrdlu
On Wednesday 02 March 2005 17:25, Neil Bothwick wrote:

> vanilla-sources-2.6.11 is hard masked. It is ready for when 2.6 becomes
> the default kernel with the 2005.0 release; vanilla-sources and
> gentoo-sources will replace development-source and gentoo-dev-sources
> respectively.

Since they really point to the same packages, if one is already using 
development-sources and linux26-headers, it's possible to have them with the 
new names, using an appropriate /etc/portage/package.unmask file.

That's what I did (sort of mini-howto, "Works For Me" (tm), FWIW):

- I had development-sources-2.6.11_rc5 and linux26-headers-2.6.8.1-r2

- emerge -C development-sources 
- emerge -C linux26-headers

- echo "sys-kernel/vanilla-sources ~x86" >> /etc/portage/package.keywords
- echo "sys-kernel/linux-headers ~x86" >> /etc/portage/package.keywords
(just changed the old development-sources and linux26-headers entries)

- echo "sys-kernel/vanilla-sources" >> /etc/portage/package.unmask
- echo "<=sys-kernel/linux-headers-2.6.8.1-r2" >> /etc/portage/package.unmask
(the latter I did since I don't want linux-headers-2.6.10 yet)

- emerge linux-headers (brings in linux headers 2.6.8.1-r2)
- emerge vanilla-sources   (brings in linux-2.6.11_rc5)

and I have the same setup as before, but with the new names.

-- 
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Need sendmail help

2005-03-02 Thread Michael Sullivan
I think I've gotten my DNS issues mostly sorted out. 
Now I'm having a problem with sendmail on the server
box.  It won't let me send email to outside the
domain.  It won't even let me send mail to
[EMAIL PROTECTED]  It seems to think that
espersunited.com is an outside domain.  I searched on
Google, but didn't find anything.  I read through the
README.cf in the sendmail docs directory, but it made
no sense to me.  I remember that I had the problem
with relaying mail to external domains with Fedora
Core 1, but I don't remember how I solved it.  Can
anyone help me out with this?

=





__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Bastian Balthazar Bux

no differences for the moment, probably when 2.7 will be out
vanilla will follow the 2.6 series, development the 2.7 one
as Neil pointed out >=sys-kernel/vanilla-sources-2.6 is masked so what 
I've said before is *not* true.
You may want to use development-sources untill 2.6 will be unmasked.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-02 Thread Adis Beglerovic
Hi all

I've just downloaded 2.6.11 and compile it om my gentoo desktop box.
Tried to add/compile nvidia-kernel but got error that says: 
--

make[3]: *** 
[/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o]
Error 1
make[2]: *** 
[_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv]
Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

!!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make 
IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux
clean module.
!!! If you need support, post the topmost build error, NOT this status message.


Anyone else got this error ??

Thanks.. 
PS
Besides nvidia error everything else is fine
--
gentoo-user@gentoo.org mailing list



  1   2   >