Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-23 Thread Draeven



Charles Trois wrote:
Charles,

Did you do a rc-update add net.eth0 default so that the interface is 
brought up at boot?


You may also want to take a look at this section of the Gentoo Handbook:

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=4

HTH

Draeven


Draeven a écrit :


Charles,

Please post the contents of your /etc/conf.d/net



I attach it here.


Also, is your NIC driver built into the kernel or a module?



I have no modules at all, everything is in the kernel; lsmod returns an 
empty list.


If it is modular, you can load it by using coldplug (emerge 
coldplug) or you can add the module to 
/etc/modules.autoload.d/kernel-2.6.



I also attach my .config file, just in case.

Charles



Charles Trois wrote:


Matti Bickel a écrit le 11/11/2005


Please check if you compiled support for tmpfs in your kernel. The
option is CONFIG_TMPFS. Do NOT make this a module.

This is kinda wild guess, but it sounds like you're missing
kernel-support.



Sorry for this late answer. Your guess was quite right and enabled me 
to get over that error. I then met various little problems that I was 
able to solve, but there remains a (hopefully) last one.


The new error message is:
Problem starting needed services
netmount was not started.

/etc/init.d/netmount start gives the same error. eth0 is not brought 
up and ifconfig lists only lo.


What have I done wrong?

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



Re: [gentoo-user] confused udev?

2005-11-23 Thread Jorge Almeida
On Tue, 22 Nov 2005, Richard Fish wrote:
 
 Ok, do dmesg and /proc/partitions agree that there is a partition
 there?  If not, then the problem is that the kernel is not recognizing
No...
 your partition table.  I would suggest:
 
 insert the key
 dd if=/dev/zero of=/dev/sda bs=512 count=1
 remove then re-insert the key
 fdisk /dev/sdb
 create single partition, type 'b'
 mkfs.vfat -n MYKEY -F 32 /dev/sda1
 
Done it. All well, apparently. But then I remove the key and insert it
again. No joy. (See dmesg). I remove it and insert it again. It works,
this time. This is just totally unreliable. I guess I'll boot from
KNOPPIX, to see whether it may be a kernel problem...
 
(...)
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x2a R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x4
usb-storage: *** thread sleeping.
usb-storage: device scan complete
ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
ieee1394: Error parsing configrom for node 0-00:1023
ieee1394: Node changed: 0-00:1023 - 0-01:1023
ieee1394: Node resumed: ID:BUS[0-00:1023]  GUID[0050770e00071002]
scsi5 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: Maxtor 6  Model: L250R0Rev: 
  Type:   Direct-Access-RBC  ANSI SCSI revision: 04
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
sdb: asking for cache data failed
sdb: assuming drive cache: write through
SCSI device sdb: 490234752 512-byte hdwr sectors (251000 MB)
sdb: asking for cache data failed
sdb: assuming drive cache: write through
 sdb: sdb1
Attached scsi disk sdb at scsi5, channel 0, id 0, lun 0
 
Jorge 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] openssh-4.2_p1 fails (zlib)

2005-11-23 Thread Roger Mason
Hello,

emergeing openssh fails because the configure script detects the wrong
version of zlib:

error: *** zlib too old - check config.log ***

config.log shows that zlib 1.2.1 was detected, but I have 1.2.3
installed:

emerge -pv zlib

[ebuild R  ] sys-libs/zlib-1.2.3 -build 0 kB

Does anyone know of a workaround?

Thanks,

Roger Mason
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
I noticed while emerging mysql that the ./configure flags used during
compile contained one that says: --without-docs

Not a good plan for someone knowing zip about mysql.   How can I
change that to --with-docs from cmdline?

Another thing I noticed is this:

 [...] --with-big-tables --without-docs --without-big-tables

What gives with that...?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Alexander Skwar
Harry Putnam wrote:
 I noticed while emerging mysql that the ./configure flags used during
 compile contained one that says: --without-docs
 
 Not a good plan for someone knowing zip about mysql.   How can I
 change that to --with-docs from cmdline?

You influence it, by setting USE flags. I'd guess, that doc
would be the USE flag you're looking for. So, put something
like

dev-db/mysqldoc

to /etc/portage/package.use:

echo dev-db/mysql doc  /etc/portage/package.use

Alexander Skwar
-- 
Men of quality are not afraid of women for equality.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] courier problems

2005-11-23 Thread Nick Smith
ive been trying to setup a mail server following the how-to at
http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
and everything seems to have been setup correctly, but i keep getting
these errors and cant login 

Nov 22 23:28:29 mail imapd: Connection, ip=[:::127.0.0.1]
Nov 22 23:28:29 mail imapd: LOGIN FAILED, user=[EMAIL PROTECTED], ip=[:::127.0.0.1]
Nov 22 23:28:29 mail imapd: authentication error: Input/output error

i get this everytime i try to login either via an email client or via squirrelmail, squirrelmail gives me a 
ERROR: Connection dropped by IMAP server. error. i
can however login using mutt on the local machine and see that the mail
is indeed coming in. so postfix is doing its job. this
has been a work in progress and over the last month i have been
googling tring to find answers, i came across a post on squarism.com
that said to downgrade to courier-authlib from 0.57 to 0.55 that it was
a shared library problem, so i did that, and it still doesnt work, i
have restarted services and even rebooted and still nothing.

i have set up mail servers with gentoo before using an older version of
this how-to and it worked flawlessly, i know that there have been
changes going on with gentoo, like with the apache config files and
stuff like that, so im pretty sure something like that happened to
courier. but has anyone had this problem and possibly know how to
correct it? can anyone point me in the right direction?

thanks

Nick



Re: [gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Mattias Merilai

Harry Putnam wrote:


I noticed while emerging mysql that the ./configure flags used during
compile contained one that says: --without-docs

Not a good plan for someone knowing zip about mysql.   How can I
change that to --with-docs from cmdline?

Another thing I noticed is this:

[...] --with-big-tables --without-docs --without-big-tables

What gives with that...?

 

I do not know much about mysql, but looking at the latest ebuild it 
seems that it does not look for a doc USE flag. You will have to 
manually change the ebuild to --with-docs. Gentoo's ebuild howto will 
explain you how to do that.
About the --with-big-tables and --without-big-tables, this kind of 
behaviour is usual. There is some logic behind the choice of which 
option will be used, and portage makes use of that. Usually you can 
safely assume portage has already figured that out for you; and in this 
case it checks for the big-tables USE flag to do so.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Alexander Skwar [EMAIL PROTECTED] writes:

[...]

 You influence it, by setting USE flags. I'd guess, that doc
 would be the USE flag you're looking for. So, put something
 like

 dev-db/mysql  doc

 to /etc/portage/package.use:

 echo dev-db/mysql doc  /etc/portage/package.use

Just looking at emerge --pretend after setting that I'm confused by
the output:

emerge -v -u -p mysql: (wrapped for mail)
These are the packages that I would merge, in order:

 Calculating dependencies  ...done!
[ebuild  N] dev-db/mysql-5.0.15  +berkdb -big-tables 
 -cluster -debug -doc -extraengine -minimal +perl +readline
 (-selinux) +ssl -static -utf8 0 kB 

Note that doc has the - sign and readline has +, shouldn't doc have
come up without minus.  

Then when I actually run the emerge the compile flags are not altered
one whit, notice in the actual command given the compiler, the next 
to last line shows `--without-docs'.  But also there appears a 
--without-readline (8th line down) when emerge told me in the
`pretend' run `+readline'.

This is getting pretty confusing

./configure --prefix=/usr --host=i686-pc-linux-gnu 
  --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
  --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/sbin 
  --sysconfdir=/etc/mysql --localstatedir=/var/lib/mysql
  --with-low-memory  --enable-assembler --enable-local-infile 
  --with-mysqld-user=mysql --with-client-ldflags=-lstdc++ 
  --enable-thread-safe-client --with-comment=Gentoo Linux mysql-5.0.15 
  --with-unix-socket-path=/var/run/mysqld/mysqld.sock 
  --with-zlib-dir=/usr --with-lib-ccflags=-fPIC --without-readline 
  --enable-shared --enable-static --without-libwrap --with-openssl 
  --without-debug --with-bench --with-server --with-embedded-server 
  --with-extra-tools --with-innodb --with-raid --with-extra-charsets=all 
  --with-berkeley-db=./bdb --with-geometry --without-ndbcluster 
  --with-big-tables --without-docs --without-big-tables 
  --build=i686-pc-linux-gnu
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-23 Thread Richard Fish
On 11/23/05, Jorge Almeida [EMAIL PROTECTED] wrote:
 this time. This is just totally unreliable. I guess I'll boot from
 KNOPPIX, to see whether it may be a kernel problem...

Yes, do that.  And if it works I guess you will need to start
comparing the Knoppix kernel configuration to yours.  Maybe your
hardware requires ACPI and/or IO-APIC support to function
correctly...I don't know.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] unknown network activity as shown by xosview

2005-11-23 Thread Rob


Hi,

Does anyone know what network activity is being shown by xosview?  Is it
activity before iptables filtering, or after?  I wonder as I am getting
a constant flow varying between 100-1000 as read on xosview.

I get this with no internet related running processes.  I have a default
block on my firewall.  My god, is there that much virus and/or scanning
activity around?  or is xosview not reliable?  Maybe it is DHCP
activity.  I don't know as I have iptables set up not to log that kind
of stuff.

Thanks,

Rob.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Alexander Skwar
Harry Putnam wrote:
 Alexander Skwar [EMAIL PROTECTED] writes:
 
 [...]
 
 You influence it, by setting USE flags. I'd guess, that doc
 would be the USE flag you're looking for. So, put something
 like

 dev-db/mysql doc

 to /etc/portage/package.use:

 echo dev-db/mysql doc  /etc/portage/package.use
 
 Just looking at emerge --pretend after setting that I'm confused by
 the output:

Me too. Seems that the system didn't get that change.
Please send output of:

grep dev-db/mysql /etc/portage/package.use

 Note that doc has the - sign and readline has +, shouldn't doc have
 come up without minus.  

Yes.

 
 Then when I actually run the emerge the compile flags are not altered
 one whit,

Of course not. Wouldn't have expected.

Alexander Skwar
-- 
Men of quality are not afraid of women for equality.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Alexander Skwar
Mattias Merilai wrote:

 I do not know much about mysql, but looking at the latest ebuild it 
 seems that it does not look for a doc USE flag.

I disagree. Check the output of emerge -pv dev-db/mysql.

Alexander Skwar
-- 
Men of quality are not afraid of women for equality.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Mattias Merilai [EMAIL PROTECTED] writes:

 seems that it does not look for a doc USE flag. You will have to
 manually change the ebuild to --with-docs. Gentoo's ebuild howto will
 explain you how to do that.

And this can be foundwhere?  I've been jerking around on
gentoo.org for over 1/2 hr now and haven't spotted it in the lists of
documentation with the search features on Firefox since gentoo.org has
not even a search engine for its own pages.

Nearest I've come is:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part2_chap3

   You are advised to edit the ebuild's src_compile() function if you
   want to change the compilation instructions. However, you can also
   trick Portage into believing that the ebuild application has finished
   the compile steps. Run all necessary commands yourself and create an
   empty file called .compiled in the working directory:

I might get it right from this but is there more explicit coverage
somewhere?

I'm not asking you to dig up a URL just something off the top of your
head to guide my own search.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] media-libs/svgalib-1.9.21-r1 failed.

2005-11-23 Thread Ernie Schroder
Pardon my ignorance, but I can't seem to get past this. Any ideas?

Preparing svgalib_helper module
make -C /usr/src/linux 
SUBDIRS=/var/tmp/portage/svgalib-1.9.21-r1/work/svgalib-1.9.21/kernel/svgalib_helper
 
CLASS_CFLAGS=-DCLASS_SIMPLE=1 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1'
*** Warning: Overriding SUBDIRS on the command line can cause
***  inconsistencies
  HOSTCC  scripts/basic/fixdep
ACCESS DENIED  
open_wr:   /usr/src/linux-2.6.5-gentoo-r1/scripts/basic/.fixdep.d
cc1: Permission denied: opening dependency file scripts/basic/.fixdep.d
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-gentoo-r1'
make: *** [default] Error 2

!!! ERROR: media-libs/svgalib-1.9.21-r1 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make  KDIR=/usr/src/linux 
default.
!!! If you need support, post the topmost build error, NOT this status 
message.

--- ACCESS VIOLATION SUMMARY 
---
LOG FILE = /var/log/sandbox/sandbox-media-libs_-_svgalib-1.9.21-r1-9533.log

open_wr:   /usr/src/linux-2.6.5-gentoo-r1/scripts/basic/.fixdep.d

-- 
Regards, Ernie
100% Microsoft and Intel free

 10:04:43 up  1:32,  5 users,  load average: 0.53, 0.47, 0.42
Linux 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Alexander Skwar [EMAIL PROTECTED] writes:


 Me too. Seems that the system didn't get that change.
 Please send output of:

 grep dev-db/mysql /etc/portage/package.use

dev-db/mysql mysql mysqli
dev-db/mysql doc
dev-db/mysql ndb-doc



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] MySQL server hardware recommendation

2005-11-23 Thread Frank Pikelner
I wanted to ask if anyone on the list is running a large MySQL database
and for their server hardware recommendations. The servers are
anticipated to have a DB of 10-20GB, with about 5000-1 clients
(automated). The database will be mostly used for updates to the data
making up most of the operations. We are considering using Dual AMD
Opteron processors and at a minimum of about 4GB memory (PC2700 or
PC3200 - not sure if the extra bandwidth will add much performace). One
of the items I'm debating is the type of RAID controller to use that is
well supported under Gentoo. I'm also contemplating whether to consider
a SATA2 or a SCSI subsystem.

Just as a side not, I've always wondered the type of hardware used by
Google as they have been very successful in using smaller inexpensive
boxes according to the rumors that have circulated on the Internet.

Any vendor recommendations would also be welcome.

Thank you,

Frank


Re: [gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Richard Fish
On 11/23/05, Richard Fish [EMAIL PROTECTED] wrote:
 On 11/23/05, Harry Putnam [EMAIL PROTECTED] wrote:
  And this can be foundwhere?

 /usr/portage/profiles/use*.desc

Oops, sorry, thought you were asking about where to find the USE flag.
 I was reading out-of-order...and not thinking right.

The full devguide is at:

http://dev.gentoo.org/~plasmaroo/devmanual/

Assuming you really need a specific version of mysql, and do not want
to merge a version that already has the doc USE flag, the general idea
is that you will want to:

1. Copy /usr/portage/dev-db/mysql to your PORTDIR_OVERLAY directory,
being sure to keep the directory structure intact.
2. Edit PORTDIR_OVERLAY/dev-db/mysql/mysql-version.ebuild.  Modify
the configure steps as you want.
3. Run ebuild mysql-version.ebuild digest
4. Merge mysql as normal.

You can probably do some cleanup of the files in PORTDIR_OVERLAY to
remove everything not related to the version of mysql that you want.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unknown network activity as shown by xosview

2005-11-23 Thread Richard Fish
On 11/23/05, Rob [EMAIL PROTECTED] wrote:


 Hi,

 Does anyone know what network activity is being shown by xosview?

Use the source Luke

It sums the RX and TX columns for all devices in /proc/net/dev.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Richard Fish [EMAIL PROTECTED] writes:

 /usr/portage/profiles/use*.desc

Those are a HOWTO about creating ebuilds?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL server hardware recommendation

2005-11-23 Thread A.G.

Frank Pikelner wrote:
I wanted to ask if anyone on the list is running a large MySQL database 
and for their server hardware recommendations. The servers are 


best results obtained on IBM x445
scalable to 16 processors and to 32G of RAM with an iteresting 3rd level 
cache and a not so expandable disk subsystem (2 SCSI bay) used in RAID0 
(data are stripped on the disks for performances and backupped on 
another system in realtime by a replicator for security)


even with two processors (quad with hypertreading) and 2G or RAM system 
is very responsive on a well engineered database of some hundreds 
millions of rows


Andrea Gagliardi

...
Andrea Gagliardi
Euronia srl Stradone Porta Palio, 35 37122 Verona
Voice (+39)0459580680 Fax (+39)0459580681
[EMAIL PROTECTED] http://www.euronia.it




--

Email.it, the professional e-mail, gratis per te: http://www.email.it/f



Sponsor:

Libri e CD musicali nuovi con sconti dal 60 all'80%!

Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=814d=23-11
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Francesco R.
Alle 15:01, mercoledì 23 novembre 2005, Harry Putnam el ga butta:
 |I noticed while emerging mysql that the ./configure flags used
 | during compile contained one that says: --without-docs
 |
 |Not a good plan for someone knowing zip about mysql.   How can I
 |change that to --with-docs from cmdline?
 |
 |Another thing I noticed is this:
 |
 | [...] --with-big-tables --without-docs --without-big-tables
 |
 |What gives with that...?

That's a bug in the ebuild, the next one will fix this. As a mitigating 
factor the rightmost option override the left ones.
In the ebuild the rightmost is set by use flags.

readline:
the use flag has always worked in inversed mode, but it's too late to 
discuss about it, it will be removed in the next ebuilds (always 
linking to the system readline)

also the configure option you see at compile time may _not_ be the 
same the ebuild used, _but_ what the ebuild set always override the 
MySQL default.

just in case you are thnking to play with mysql-5.0.16 wait for 
dev-db/mysql-5.0.16-r2 -- r2 but be advised that it's shiny new 
and ... buggy.

Cheers,
Francesco R.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mail command and attachment?

2005-11-23 Thread Leonard - Gentoo

Hello list..

Is it possible to send an attachment using the 'mail' command say in a 
cronjob? i have a file that i would like sent to me before deleted and 
recreated to examine it.. but 'man mail' doesnt exactly suggest that an 
attachment is possible


Thanks in advance..

Regards ..

Leonard 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Richard Fish [EMAIL PROTECTED] writes:


 Assuming you really need a specific version of mysql, and do not want
 to merge a version that already has the doc USE flag, the general idea
 is that you will want to:

I don't need a specific version I simply want the docs to be built.
Adding a use flag of doc or docs does not cause it to be built.  At
least not in what was current portage day before yesterday.

Right now I've run sync and see there is a newer ebuild that does now
show anyting about doc on a pretend install... I'm not sure what that
means but soon as an `emerge -v -u world' finishes I'm going to watch
the install of it and see what is really passed to the compiler.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] update world building older kernel

2005-11-23 Thread Harry Putnam
I've synced portage and run emerge -v -u World

First thing I see happening is its building a older kernel than what
I'm running: 2.6.14 but emerge is building:
  linux-2.6.11.tar.bz2

Why is that?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Neil Bothwick
On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote:

 Is it possible to send an attachment using the 'mail' command say in a 
 cronjob? i have a file that i would like sent to me before deleted and 
 recreated to examine it.. but 'man mail' doesnt exactly suggest that an 
 attachment is possible

I don't believe mail will do this, unless you encode the attachment and
incorporate it into the mail yourself. mail-client/nail seems to do what
you want, describing itself as 'an enhanced mailx-compatible mail client'.


-- 
Neil Bothwick

Locutous for Pontiac: Excitment is irrelivent.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Neil Bothwick
On Wed, 23 Nov 2005 11:56:43 -0600, Harry Putnam wrote:

 I don't need a specific version I simply want the docs to be built.
 Adding a use flag of doc or docs does not cause it to be built.  At
 least not in what was current portage day before yesterday.

That's because your/etc/portage/package.use file is messed up. You can
only have one entry for a package, otherwise the previous entries are
overridden by the last one.

An alternative, when a ./configure option is not covered by USE flags is
to put in in the EXTRA_ECONF variable, although this won't work with
every ebuild.

EXTRA_ECONF=--enable-blah emerge foo/bar


-- 
Neil Bothwick

If at first you don't suceed, try the switch marked Power


signature.asc
Description: PGP signature


[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Francesco R. [EMAIL PROTECTED] writes:


[...] Snipped good info here  ...  Thanks

 also the configure option you see at compile time may _not_ be the 
 same the ebuild used, _but_ what the ebuild set always override the 
 MySQL default.

So we cannot really tell what is passed to the compiler?  The output
of emerge is just nonsense compared to what really happens?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Harry Putnam
Alexander Skwar [EMAIL PROTECTED] writes:

 Mattias Merilai wrote:

 I do not know much about mysql, but looking at the latest ebuild it 
 seems that it does not look for a doc USE flag.

 I disagree. Check the output of emerge -pv dev-db/mysql.

The original output I posted:
 Calculating dependencies  ...done!
[ebuild  N] dev-db/mysql-5.0.15  +berkdb -big-tables 
 -cluster -debug -doc -extraengine -minimal +perl +readline
 (-selinux) +ssl -static -utf8 0 kB 

After an emerge sync I get different output:
===
Calculating dependencies ...done!
[ebuild  N] dev-db/mysql-5.0.16-r1  +berkdb -big-tables -cluster
  -debug -extraengine -minimal +perl (-selinux) +ssl -static -utf8 18,650 kB 

I used the sync because my fumbling attempts to edit the ebuild I had
in there caused emerge to error out about the recorded size of ebuild.

Its been replaced now and as you see the ouput is different.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Leonard - Gentoo

Hello,

Thanks for the suggestion!

Regards ..

Leonard
- Original Message - 
From: Neil Bothwick [EMAIL PROTECTED]

To: gentoo-user@lists.gentoo.org
Sent: Wednesday, November 23, 2005 12:28 PM
Subject: Re: [gentoo-user] mail command and attachment?


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] update world building older kernel

2005-11-23 Thread Neil Bothwick
On Wed, 23 Nov 2005 12:10:24 -0600, Harry Putnam wrote:

 First thing I see happening is its building a older kernel than what
 I'm running: 2.6.14 but emerge is building:
   linux-2.6.11.tar.bz2

I think you'll find it is emerging linux-headers, not a new kernel. This
does not have to be the same version as the runing kernel, as long as it
is not newer.


-- 
Neil Bothwick

Bumper Sticker: If you can read this, you are in phaser range.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Francesco R.
Alle 19:37, mercoledì 23 novembre 2005, Harry Putnam el ga butta:
 |Francesco R. [EMAIL PROTECTED] writes:
 |
 |
 |[...] Snipped good info here  ...  Thanks
 |
 | also the configure option you see at compile time may _not_ be
 | the same the ebuild used, _but_ what the ebuild set always
 | override the MySQL default.
 |
 |So we cannot really tell what is passed to the compiler?  The output
 |of emerge is just nonsense compared to what really happens?

The output of emerge _is_ what really happens, as it's the output from 
the build system (auto* tools and gcc)
Consider the first configure you find:


/var/tmp/portage/mysql-5.0.16-r2/work/mysql
 Source unpacked.
 * before to use federated engine be sure to read
 * http://dev.mysql.com/doc/mysql/en/federated-limitations.html
 * econf: updating mysql/bdb/dist/config.guess 
with /usr/share/gnuconfig/config.guess
 * econf: updating mysql/bdb/dist/config.sub 
with /usr/share/gnuconfig/config.sub
 * econf: updating mysql/config.guess 
with /usr/share/gnuconfig/config.guess
 * econf: updating mysql/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu 
--mandir=/usr/share/man [..] --without-big-tables 
--build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu


for example --build=i686-pc-linux-gnu it's not directly setted by the 
ebuild (speaking of ebuild code, not the portage one)

and this other (sub)configure, it also contain option not setted by the 
ebuild.

---
config.status: executing default commands
configure: configuring in innobase
configure: running /bin/sh './configure' --prefix=/usr  
'--prefix=/usr' [..] --cache-file=/dev/null --srcdir=.
checking build system type... i686-pc-linux-gnu
---

As a final ans side note, it's gentoo policy that the ebuild set all the 
configure options avaiable to it (but it's not _mandated_ to leave the 
user the possibility to select them via use-flags).


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system clock keeps getting reset to weird times

2005-11-23 Thread Charles Trois

Benno Schulenberg a écrit :

Charles Trois wrote:


The legal time, here in France and at this (winter) period, is
GMT + 1, as shown correctly by the clock of my iMac, but date
keeps returning GMT + 2.



Sounds like your harware clock is running at local time.  What does 
'hwclock --show --debug' say?  Look for the line saying Time read 
from Hardware Clock:.


If the hardware clock is really set at UTC, do you maybe have TZ 
set?  'echo $TZ'.  If it is, then unset it: 'unset TZ', and then 
see if date and hwclock operate correctly.  And also check that the 
symlink /etc/localtime points at the correct zone.


Benno


Here are the results:

~ # hwclock --show --debug
hwclock from util-linux-2.12i
Using /dev/rtc interface to clock.
...
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...
Time read from Hardware Clock: 2005/11/23 19:04:14
Hw clock time : 2005/11/23 19:04:14 = 1132769054 seconds since 1969
Wed Nov 23 19:04:14 2005  -0.188934 seconds


 ~ # ls -l /etc/localtime
lrwxrwxrwx  1 root root 32 Nov 22 20:39 /etc/localtime - 
/usr/share/zoneinfo/Europe/Paris


and in /etc/conf.d/clock:

CLOCK=local

echo $TZ returns nothing, so TZ is presumably not set.

All that seems correct to me, and yet the time returned by date is 
still one hour fast.


What else can I check?

Charles



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to alter ./configure flags from emerge

2005-11-23 Thread Francesco R.
Alle 15:01, mercoledì 23 novembre 2005, Harry Putnam el ga butta:
 |I noticed while emerging mysql that the ./configure flags used
 | during compile contained one that says: --without-docs
 |
 |Not a good plan for someone knowing zip about mysql.   How can I
 |change that to --with-docs from cmdline?
 |
 |Another thing I noticed is this:
 |
 | [...] --with-big-tables --without-docs --without-big-tables
 |
 |What gives with that...?

/me damn stupid, I've forgot to mention that readding the documentation 
from MySQL is planned in a short term.
It has been splitted out from the source distribuited .tar.gz about 
at ?4.1.12?

:P

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to alter ./configure flags from emerge

2005-11-23 Thread Holly Bostick
Harry Putnam schreef:
 Alexander Skwar [EMAIL PROTECTED] writes:
 
 
 
 Me too. Seems that the system didn't get that change. Please send
 output of:
 
 grep dev-db/mysql /etc/portage/package.use
 
 
 dev-db/mysql mysql mysqli dev-db/mysql doc dev-db/mysql ndb-doc
 
 
 
Harry, put all the USE flags on one line. What is happening to you is
that the lines do not concantate (add on to each other, however you
spell that word), they override each other.

The way you have it, first the mysql and mysqli flags are being turned
on, then the flags go back to default, and the doc flag is turned on,
then the flags go back to default and the ndb-doc flag is turned on, so
ndb-doc is the only non-default flag that ultimately is turned on.

But if you have

dev-db/mysql mysql mysqli doc ndb-doc

(just one line instead of three), they will all be turned on.

I usually find it helpful to pop into package.use with nano and do a
Ctrl-W search to confirm that I have not already set some USE flags for
a popular application (if I modify it a lot), so I know whether to add
to an existing line or create a new one. Since I'm already in nano,
creating a new line if necessary is easy enough.

Hope this helps,.
Holly


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] building a server cluster?

2005-11-23 Thread El Nino
Dear friends,

please guide me to deploy a gentoo linux server cluster. currently i
have 7 piii 800Mhz machines  want to test a cluster server. if
somebody can point me step by step or a good guide, it will very
appreciable.

all advices are welcome.

--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.14-gentoo-sinhalese-r2
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Wireless Authentication Gateway??

2005-11-23 Thread El Nino
Dear friends,

i have to replace our existing wired network to wireless network. so
please help me to deploy a wireless authentication gateway using linux
based open source application which provides a total security solution
for wireless networks. please guide me to deploy this.


:::all advices are welcome.
--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.14-gentoo-sinhalese-r2
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL server hardware recommendation

2005-11-23 Thread kashani

Frank Pikelner wrote:
I wanted to ask if anyone on the list is running a large MySQL database 
and for their server hardware recommendations. The servers are 
anticipated to have a DB of 10-20GB, with about 5000-1 clients 
(automated). The database will be mostly used for updates to the data 
making up most of the operations. We are considering using Dual AMD 
Opteron processors and at a minimum of about 4GB memory (PC2700 or 
PC3200 - not sure if the extra bandwidth will add much performace). One 
of the items I'm debating is the type of RAID controller to use that is 
well supported under Gentoo. I'm also contemplating whether to consider 
a SATA2 or a SCSI subsystem.


Just as a side not, I've always wondered the type of hardware used by 
Google as they have been very successful in using smaller inexpensive 
boxes according to the rumors that have circulated on the Internet.


Any vendor recommendations would also be welcome.


	I've been looking at a couple of the HP DL385 for a similar 
application. It's fairly cost effective to toss 8 x 1GB sticks of RAM in 
it though I think you can push them up to 32GB if you're willing to pay 
for denser RAM. I'm still not certain what I plan to do for disk. Six 
15k 36GB drive in RAID 10 would be fastest, but I think 3 or 4 disks in 
RAID 5 will probably be what I go with.
	 HP offers the single core and dual core chips in that platform. I'm 
thinking of sticking with the single core for the time being. Prices are 
supposed to drop again on AMD chips next month so it might be worth your 
time to wait a bit.
	I've got a DL360 with a cpq smartarray raid card running Gentoo. It 
works fine though the naming is a bit strange when you set it up. You 
might want to check which card revision they're currently installing, 
but I've had good luck with the smartarray cards and Linux over the years.


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



Re: [gentoo-user] MySQL server hardware recommendation

2005-11-23 Thread Eric Bliss
On Wednesday 23 November 2005 08:22 am, Frank Pikelner wrote:
 Just as a side not, I've always wondered the type of hardware used by Google
 as they have been very successful in using smaller inexpensive boxes
 according to the rumors that have circulated on the Internet.
 

Wikipedia has an article purely devoted to an examination of what Google may 
be running on...

http://en.wikipedia.org/wiki/Google_platform

-- 
Eric Bliss
systems design and integration,
CreativeCow.Net
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] .bash_history not updating

2005-11-23 Thread maxim wexler
Hello everybody,

My .bash_history file stopped being updated on Nov 13
10:06. A look at /var/log/messages for that particular
time revealed nothing amiss. 

Anybody shed light on this issue?

-mw



__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Return of My Continuing ALSA woes

2005-11-23 Thread Harold Naparst
This is to continue the thread Return of My Continuing ALSA woes.
I was enjoying the thread right up until the point where the Michael claimed his problem was solved.
Here's my setup, which is the same as Michael's:


linux-2.6.15-rc1-mm2 # lspci | grep Audio
:00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)

linux-2.6.15-rc1-mm2 # equery list -i alsa
[ Searching for package 'alsa' in all categories among: ]
* installed packages
[I--] [ ] media-libs/alsa-lib-1.0.10 (0)
[I--] [ ] media-sound/alsa-driver-1.0.10 (0)
[I--] [ ] media-sound/alsa-headers-1.0.10 (0)
[I--] [ ] media-sound/alsa-utils-1.0.10 (0.9)

/etc/modules.d/alsa:

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $
# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

options snd-hda-intel model=3stack position_fix=2

and then:

/etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: get_control:149: Cannot read control info
'2,0,0,Front Playback Volume,0': Invalid
argument [
!! ] * Unloading ALSA
...
[ ok ] * Unloading ALSA modules
...
[ ok ] * Loading ALSA modules ...
* Loading: snd-card-0
...
[ ok ] * Loading: snd-seq-oss
...
[ ok ] * Loading: snd-pcm-oss
...
[ ok ] * Restoring Mixer Levels ...
* No mixer config in /etc/asound.state, you have to unmute your
card!
[ ok ]largarme modules.d # amixer
amixer: Mixer default load error: Invalid argument
modules.d # alsamixer

alsamixer: function snd_mixer_load failed: Invalid argument


and some choice lines from dmesg:

ACPI: PCI interrupt for device :00:1b.0 disabled
ACPI: PCI Interrupt :00:1b.0[A] - GSI 17 (level, low) - IRQ 17
PCI: Setting latency timer of device :00:1b.0 to 64
hda_codec: Unknown model for ALC880, trying auto-probe from BIOS...
hda_codec: num_steps = 0 for NID=0x8
hda_codec: num_steps = 0 for NID=0xb
hda_codec: num_steps = 0 for NID=0xb

Any ideas?


[gentoo-user] Re: changing CHOST in stage3

2005-11-23 Thread Allan Gottlieb
At Tue, 22 Nov 2005 13:17:27 + Ciaran McCreesh [EMAIL PROTECTED] wrote:

 The only way you can safely change CHOST is by making new stages
 through catalyst. There're various scripts which *sometimes* fix your
 system after a CHOST change, but they're not reliable...

Does this mean that, if one needs a CHOST value not represented in any
of the current stage3 tar files, your recommendation would be to begin
with a stage1?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bit puzzled over Kernel Upgrade with Genkernel - No Sound or Wireless Connectivity

2005-11-23 Thread Richard Watson

 On Tue, Nov 22, 2005 at 09:20:10AM +1000, Richard Watson wrote:
  Hi - I just upgraded my kernel-genkernel-x86-2.6.12-gentoo-r10 to
  kernel-genkernel-x86-2.6.14-gentoo-r2. So far I have no sound (Alsa) or
  wireless connectivity (ipw2100). Do I need to re-emerge the relevant
  packages? And if I do will this remove the functionality from the old
 
 yes. no.
 
 You need to recompile the kernel modules against the new kernel for
 them to work. And /lib/modules is protected so that recompiling kernel
 modules for new kernels won't remove the modules for the old kernel.
 (Hint: there is a reason that /lib/modules has subdirectories numbered
 by kernel versions.)
 
  kernel. I can boot the old kernel fine with sound and everything.
 
 HTH, 
 
Thanks .. A really good  explanation for a novice (as in me). Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier problems

2005-11-23 Thread James Hiscock
 ive been trying to setup a mail server following the how-to at
 http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
 and everything seems to have been setup correctly, but i keep getting these
 errors and cant login

I know I had to reduce the set of authentication modules in
/etc/courier/authlib/authdaemonrc to get my install of courier-imap to
let me login properly... I changed

authmodulelist=authuserdb authpam authshadow authldap authmysql
authcustom authpipe

to just

authmodulelist=authpam authshadow

...and that resolved my problems. I seem to recall errors about
invalid MySQL configuration, though, which is what twigged me to the
problem... maybe your issue is somewhat similar?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] confused udev?

2005-11-23 Thread Jorge Almeida
On Wed, 23 Nov 2005, Richard Fish wrote:

 On 11/23/05, Jorge Almeida [EMAIL PROTECTED] wrote:
  this time. This is just totally unreliable. I guess I'll boot from
  KNOPPIX, to see whether it may be a kernel problem...
 
 Yes, do that.  And if it works I guess you will need to start
 comparing the Knoppix kernel configuration to yours.  Maybe your
 hardware requires ACPI and/or IO-APIC support to function
 correctly...I don't know.
 
ACPI didn't seem to change anything. But I did reformat the key with
fdisk, making a new empty DOS partition table and then making a
partition and fs following your instructions. It seems to be OK now---at
least  both devices are recognized when I insert the key (meaning: no
need to insert it twice). Maybe the problem was with the original
partition table (and zeroing the first block didn't fix it...).

Thank you for all your support.

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



Re: [gentoo-user] courier problems

2005-11-23 Thread Nick Smith
On 11/23/05, James Hiscock [EMAIL PROTECTED] wrote:
 ive been trying to setup a mail server following the how-to at http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
 and everything seems to have been setup correctly, but i keep getting these errors and cant loginI know I had to reduce the set of authentication modules in/etc/courier/authlib/authdaemonrc to get my install of courier-imap to
let me login properly... I changedauthmodulelist=authuserdb authpam authshadow authldap authmysqlauthcustom authpipeto justauthmodulelist=authpam authshadow...and that resolved my problems. I seem to recall errors about
invalid MySQL configuration, though, which is what twigged me to theproblem... maybe your issue is somewhat similar?--gentoo-user@gentoo.org mailing list
i wish it were that simple, all i have in mine, just like the how-to says is 

authmodulelist=authmysql authpam

thanks for the info.

Nick


Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-23 Thread Glenn Enright
On Thu, 24 Nov 2005 09:24, Harold Naparst wrote:
snip
 and then:

 /etc/init.d/alsasound restart
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
 /usr/sbin/alsactl: get_control:149: Cannot read control info '2,0,0,Front
 Playback Volume,0': Invalid argument   [ !! ] * Unloading ALSA
 ...

Looks like the saved mixer settings are corrupt. Find where they live, 
(/etc/asound.state?) delete or move them, and then load again. Should 
recreate the default mixer data and then you can play with the volumes to get 
them set up again.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Return of My Continuing ALSA woes

2005-11-23 Thread Harold Naparst
Well, I rebooted and then it worked. 
So, who knows what's going on...

But while we're at it, should I choose six channel or two-channel mode,
and what's the deal with the three input sources on the right side
of alsamixer?
On 11/23/05, Glenn Enright [EMAIL PROTECTED] wrote:
On Thu, 24 Nov 2005 09:24, Harold Naparst wrote:snip and then: /etc/init.d/alsasound restart
* WARNING:you are stopping a boot service.* Storing ALSA Mixer Levels ... /usr/sbin/alsactl: get_control:149: Cannot read control info '2,0,0,Front Playback Volume,0': Invalid argument [ !! ] * Unloading ALSA
 ...Looks like the saved mixer settings are corrupt. Find where they live,(/etc/asound.state?) delete or move them, and then load again. Shouldrecreate the default mixer data and then you can play with the volumes to get
them set up again.--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread Stroller


On Nov 23, 2005, at 7:35 pm, maxim wexler wrote:


My .bash_history file stopped being updated on Nov 13
10:06. A look at /var/log/messages for that particular
time revealed nothing amiss.


Ok... this could be a dumb question, but how much disk space do you 
have free?


Stroller.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Xorg 7 rc's: Unable to Switch VTY's

2005-11-23 Thread fire-eyes
I'm using Xorg 7 rc's, and I'm no longer able to switch to say, the
console. Or perhaps another session that I have started up with a
different WM/DE, as the same user.

Any ideas?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] building a server cluster?

2005-11-23 Thread Hans-Werner Hilse
Hi,

On Thu, 24 Nov 2005 00:23:28 +0600
El Nino [EMAIL PROTECTED] wrote:

 please guide me to deploy a gentoo linux server cluster. currently i
 have 7 piii 800Mhz machines  want to test a cluster server. if
 somebody can point me step by step or a good guide, it will very
 appreciable.

What kind of server? What do you want to archieve by clustering?
Redundancy? Request distribution? Depending on that, even DNS round
robin may be enough.

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



Re: [gentoo-user] Wireless Authentication Gateway??

2005-11-23 Thread Hans-Werner Hilse
Hi,

On Thu, 24 Nov 2005 00:32:49 +0600
El Nino [EMAIL PROTECTED] wrote:

 i have to replace our existing wired network to wireless network. so
 please help me to deploy a wireless authentication gateway using linux
 based open source application which provides a total security solution
 for wireless networks. please guide me to deploy this.

You want to read about WPA. You can set up radius and use that for
authentication. If you cannot rely on WPA due to the APs currently
present, your option is probably a VPN.

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



[gentoo-user] Is this a bug in equery

2005-11-23 Thread Harry Putnam
I'm trying to learn equery since qpkg is being laid to rest.  However
I'm finding the hints that appear when you syntax is wrong very
confusing.

Her is an example:

  equery files --type vim

Gives  the expected results 

but if you add a version number things get very confusing


   equery files --type vim-6.3

 equery files --type vim-6.3
[ Searching for packages matching vim-6.3... ]
!!! Invalid syntax: missing operator
!!! If you want only specific versions please use one of
!!! the following operators as prefix for the package name:
!!!  =  =  =  
!!! Example to only match gcc versions greater or equal 3.2:
!!!=sys-devel/gcc-3.2


OK following the example give doesn't work:

  equery files --type =app-editors/vim-6.3
 -bash: =app-editors/vim-6.3: No such file or directory

OR

  equery files  =app-editors/vim-6.3
 -bash: =app-editors/vim-6.3: No such file or directory

That was following EXACTLY the given directions.

It appears one needs to quote that kind of query like:
  equery files  =app-editors/vim-6.3

So that is what the directions need to say.

-- 
gentoo-user@gentoo.org mailing list



Re: changing CHOST in stage3 (was : [gentoo-user] default stage3)

2005-11-23 Thread Robin
  Wouldn't leaving the CHOST at
  i386-pc-linux-gnu build unoptimized binaries?

 No.

 Alexander Skwar

Thanks for that. My CHOST flag is set to i386-pc-linux-gnu even though
it is not.  Just a piece of mind I guess not building unoptimized
binaries.

-- 
gentoo-user@gentoo.org mailing list



Re: changing CHOST in stage3 (was : [gentoo-user] default stage3)

2005-11-23 Thread W.Kenworthy
To explain, keep in mind that optimisation and chost are two different
things.  

i386 is a lowest common denominator instruction set that will run on
most 386 and above x86 processors.  i4/5/686 adds few specialised
instructions and I believe the compiler is able to use them to produce
faster code in some cases.  The downside is the loss of compatibility -
apparent if you switch processors.  Is the system faster - my tests
(done ages ago now) say yes, but not by much and its highly dependent on
the actual code/data in use at the time.  

Generally, you will get more gain by smarter configuration, better
software etc.  Thats not to say optimised CFLAGS and compiler choices
wont give a useful speedup, especially when crunching data.  It just
wont turn a 667Mhz P3 into the equivalent 1G P3 - I know I recently
tried to get a little more out of one :)

BillK

On Wed, 2005-11-23 at 21:24 -0400, Robin wrote:
   Wouldn't leaving the CHOST at
   i386-pc-linux-gnu build unoptimized binaries?
 
  No.
 
  Alexander Skwar
 
 Thanks for that. My CHOST flag is set to i386-pc-linux-gnu even though
 it is not.  Just a piece of mind I guess not building unoptimized
 binaries.
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is this a bug in equery

2005-11-23 Thread Nick Rout
On Wed, 23 Nov 2005 22:11:27 -0300
Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Harry Putnam wrote:
equery files --type =app-editors/vim-6.3
   -bash: =app-editors/vim-6.3: No such file or directory
 
 add single quotes, so the  metacharacter is not parsed by bash, like this:
 
 equery files --type '=app-editors/vim-6.3'

yes its not a biug as such, but a result of the shell you are using,
which interprets  as a redirection tool. Perhaps the equery docos
should/examples should say so. If you want it fixed, files bug,
mentioning it here will NOT get it fixed.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Confusion with cross-compiling

2005-11-23 Thread Richard Fish
On 11/23/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 I wanted to be able to cross compile for one of the machines on my
 network.  I've been following the cross-compilation guide at
 http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO  I've been following
 the guide exactly.  The problem is at this stage in the tutorial:

 USE=nocxx emerge cross-hppa2.0-unknown-linux-gnu/gcc

 I want to cross-compile for an i586, so in following the guide I've
 changed every occurence of hppa2.0-unknown-linux-gnu to
 i586-pc-linux-gnu.  binutils emerged just fine for the
 cross-compilation environment, but I'm having trouble emerging gcc (Step
 5).  I've issued:

  USE=nocxx emerge cross-i586-pc-linux-gnu/gcc

 and it builds for awhile and then it errors:

 /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/gcc.c: In function
 `retry_ice':
 /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/gcc.c:5897: warning: `fd'
 might be used uninitialized in this function
 make[1]: *** [gcc.o] Error 1
 make[1]: *** Waiting for unfinished jobs
 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc'
 make: *** [all-gcc] Error 2

 !!! ERROR: cross-i586-pc-linux-gnu/gcc-3.3.6 failed.
 !!! Function gcc_do_make, Line 1311, Exitcode 2
 !!! emake failed with all
 !!! If you need support, post the topmost build error, NOT this status
 message.

 The problem is I can't FIND the error.  The top of what I've pasted
 above is the only thing that I could see that could potentially cause an
 error.

The error is:

gcc -c-O2 -pipe -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long   -DHAVE_CONFIG_H-I. -I.
-I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc
-I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/.
-I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/config
-I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/../include
/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/cppspec.c -o cppspec.o
In file included from /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/gcc.c:87:
/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/pie-ssp-chain.h:74:2:
warning: suggest hiding #error from traditional C with an indented #
/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/pie-ssp-chain.h:74:2:
#error we need ld w/ -pie support

So, it looks like a problem with the binutils package (since ld is
part of binutils).  I haven't tried cross-compiling with gentoo, so I
don't know how to fix this unfortunately...but at least now you know
what to google for!

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread maxim wexler



--- Stroller [EMAIL PROTECTED] wrote:

 
 On Nov 23, 2005, at 7:35 pm, maxim wexler wrote:
 
  My .bash_history file stopped being updated on Nov
 13
  10:06. A look at /var/log/messages for that
 particular
  time revealed nothing amiss.
 
 Ok... this could be a dumb question, but how much
 disk space do you 
 have free?

Plenty. 

But just noticed, $ls -l .bash_history

 -rw---   1 blissfix usb8021 Nov 22 11:31
.bash_history

Is there some sort of chron thingee going off every
nine days?

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





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Is this a bug in equery

2005-11-23 Thread Harry Putnam
Nick Rout [EMAIL PROTECTED] writes:

 yes its not a biug as such, but a result of the shell you are using,
 which interprets  as a redirection tool. Perhaps the equery docos
 should/examples should say so. If you want it fixed, files bug,
 mentioning it here will NOT get it fixed.

Point taken...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is this a bug in equery

2005-11-23 Thread Paul Varner
On Wed, 2005-11-23 at 20:02 -0600, Harry Putnam wrote:
 I'm trying to learn equery since qpkg is being laid to rest.  However
 I'm finding the hints that appear when you syntax is wrong very
 confusing.

I have opened bug #113423

Does the following make more sense to you:

$ ./equery files --type vim-6.4
[ Searching for packages matching vim-6.4... ]
!!! Invalid syntax: missing operator
!!! If you want only specific versions please use one of
!!! the following operators as prefix for the package name:
!!!  =  =  =  
!!! Example to only match gcc versions greater or equal 3.2:
!!!=sys-devel/gcc-3.2
!!!
!!! Note: The symbols  and  are used for redirection in the shell
!!! You must enclose the package name in quotation marks, if either
!!! of these characters are used

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread Stroller


On Nov 24, 2005, at 3:05 am, maxim wexler wrote:

$ ls -l .bash_history

 -rw---   1 blissfix usb8021 Nov 22 11:31
.bash_history

Is there some sort of chron thingee going off every
nine days?


Maybe you're only logging out every 9 days??

Stroller.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] C compiler cannot create executables

2005-11-23 Thread Michael Sullivan
I think I've somehow managed to screw gcc up.  Whenever I try to emerge
anything I get this message:

checking for C compiler default output... configure: error: C compiler
cannot create executables

It also says See config.log for details, but I can't find config.log -
it doesn't give a full path.  Is there a way to repair this without
having to completely reinstall Gentoo?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: changing CHOST in stage3

2005-11-23 Thread Ciaran McCreesh
On Wed, 23 Nov 2005 15:34:27 -0500 Allan Gottlieb [EMAIL PROTECTED]
wrote:
| At Tue, 22 Nov 2005 13:17:27 + Ciaran McCreesh
| [EMAIL PROTECTED] wrote:
|  The only way you can safely change CHOST is by making new stages
|  through catalyst. There're various scripts which *sometimes* fix
|  your system after a CHOST change, but they're not reliable...
| 
| Does this mean that, if one needs a CHOST value not represented in any
| of the current stage3 tar files, your recommendation would be to begin
| with a stage1?

Nope. You need a stage3 to build a stage1 with a new CHOST.

-- 
Ciaran McCreesh : Gentoo Developer (Look! Shiny things!)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


[gentoo-user] Re: Is this a bug in equery

2005-11-23 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 !!! Invalid syntax: missing operator
 !!! If you want only specific versions please use one of
 !!! the following operators as prefix for the package name:
 !!!  =  =  =  
 !!! Example to only match gcc versions greater or equal 3.2:

Also seems you might want to demonstate in the example

 !!!=sys-devel/gcc-3.2

  =sys-devel/gcc-3.2   (quotes included)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Is this a bug in equery

2005-11-23 Thread Paul Varner
On Wed, 2005-11-23 at 23:34 -0600, Harry Putnam wrote:
 Paul Varner [EMAIL PROTECTED] writes:
 It appears here that the symbols themselves must be quoted as well as
 the package like this:
 
   equery files --type =vim-6.2
 

Which is what I meant to convey with the error message. What about this
one?

$ ./equery files --type vim-6.4
[ Searching for packages matching vim-6.4... ]
!!! Invalid syntax: missing operator
!!! If you want only specific versions please use one of
!!! the following operators as prefix for the package name:
!!!  =  =  =  
!!! Example to only match gcc versions greater or equal 3.2:
!!!=sys-devel/gcc-3.2
!!!
!!! Note: The symbols  and  are used for redirection in the shell
!!! You must enclose the entire argument in quotation marks, if either
!!! of these characters are used

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C compiler cannot create executables

2005-11-23 Thread W.Kenworthy
Search forums: many posts exist.

Try using gcc-config and fix_libtool.sh as a starter.

BillK

On Wed, 2005-11-23 at 22:49 -0600, Michael Sullivan wrote:
 I think I've somehow managed to screw gcc up.  Whenever I try to emerge
 anything I get this message:
 
 checking for C compiler default output... configure: error: C compiler
 cannot create executables
 
 It also says See config.log for details, but I can't find config.log -
 it doesn't give a full path.  Is there a way to repair this without
 having to completely reinstall Gentoo?
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier problems

2005-11-23 Thread Heinz Sporn
Am Mittwoch, den 23.11.2005, 16:17 -0500 schrieb Nick Smith:
 
 
 On 11/23/05, James Hiscock [EMAIL PROTECTED] wrote:
  ive been trying to setup a mail server following the how-to
 at
 
 
 http://gentoo-wiki.com/HOWTO_Linux_Virtual_Hosting_Server#Virtual_Mail_Hosting
  and everything seems to have been setup correctly, but i
 keep getting these
  errors and cant login
 
 I know I had to reduce the set of authentication modules in
 /etc/courier/authlib/authdaemonrc to get my install of
 courier-imap to 
 let me login properly... I changed
 
 authmodulelist=authuserdb authpam authshadow authldap
 authmysql
 authcustom authpipe
 
 to just
 
 authmodulelist=authpam authshadow
 
 ...and that resolved my problems. I seem to recall errors
 about 
 invalid MySQL configuration, though, which is what twigged me
 to the
 problem... maybe your issue is somewhat similar?
 
 --
 gentoo-user@gentoo.org mailing list
 
 i wish it were that simple, all i have in mine, just like the how-to
 says is 
 
 authmodulelist=authmysql authpam

What about interactively logging into mysql with the provided
credentials? Does that work?

 
 thanks for the info.
 
 Nick
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Heinz Sporn
Am Mittwoch, den 23.11.2005, 17:28 + schrieb Neil Bothwick:
 On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote:
 
  Is it possible to send an attachment using the 'mail' command say in a 
  cronjob? i have a file that i would like sent to me before deleted and 
  recreated to examine it.. but 'man mail' doesnt exactly suggest that an 
  attachment is possible
 
 I don't believe mail will do this, unless you encode the attachment and
 incorporate it into the mail yourself. mail-client/nail seems to do what
 you want, describing itself as 'an enhanced mailx-compatible mail client'.

Or use just this:

emerge mutt

Than in a script you might use something like this:

echo Content | mutt -s Subject -a file [EMAIL PROTECTED]

 
 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Highpoint Rocket HPT302 PATA EIDE controller

2005-11-23 Thread Stroller


On Nov 23, 2005, at 2:31 am, Thomas Harold wrote:


Key things to look for in menuconfig for Rocket133 might be:

(D)evice drivers
-- ATA/ATAPI/MFM/RLL support
-- -- SCSI emulation support
-- -- generic/default IDE chipset support
-- -- PCI IDE chipset support
-- -- Generic PCI IDE Chipset Support

Probably the only one that matters is (CONFIG_BLK_DEV_HPT366=y):

-- -- HPT36X/37X chipset support (turn this ON as BUILT-IN)

Yes, the Rocket 133SB (Rocket133SB) HPT302 chip is apparently 
supported by the HPT366.c file.


Ah! My bad. It seems that all those options WERE configured in my 
kernel and the Highpoint IS being recognised. But there is a problem:


   HPT302: IDE controller at PCI slot :00:02.0
   PCI: Enabling device :00:02.0 ( - 0003)
   PCI: No IRQ known for interrupt pin A of device :00:02.0. 
Probably buggy MP table.

   HPT302: chipset revision 2 HPT302: bad irq (0): will probe later
   HPT37X: using 33MHz PCI clock PCI: Setting latency timer of device 
:00:02.0 to 64

   ide2: BM-DMA at 0x1000-0x1007, BIOS settings: hde:pio,
   hdf:pio
   HPT37X: using 33MHz PCI clock
   ide3: BM-DMA at 0x1008-0x100f, BIOS settings: hdg:pio,
   hdh:pio
   Probing IDE interface ide2...
   hde: WDC WD2500BB-22GUA0, ATA DISK drive
   hde: IRQ probe failed (0xf6f8)
   hdf: IRQ probe failed (0xf6f8)
   hdf: IRQ probe failed (0xf6f8)
   ide2: DISABLED, NO IRQ
   ide2: failed to initialize IDE interface

I suspect this is because I've disabled the device in the machine's 
BIOS, in the belief that Linux would issue it an IRQ  so on. When I 
re-enable the controller in BIOS  boot from the LiveCD the drive 
attached to the controller shows up  I am able to mount it:


   HPT302: IDE controller at PCI slot :00:02.0 HPT302: chipset
   revision 2 HPT37X: using 33MHz PCI clock HPT302: 100% native mode
   on irq 11
   ide2: BM-DMA at 0x2400-0x2407, BIOS settings: hde:DMA,
   hdf:pio ide3: BM-DMA at 0x2408-0x240f, BIOS settings:
   hdg:pio, hdh:pio
   Probing IDE interface ide2...  input: AT Translated Set 2
   keyboard on isa0060/serio0
   hde: WDC WD2500BB-22GUA0, ATA DISK
   drive ide2 at 0x2000-0x2007,0x200a on irq 11

Unfortunately, if I leave the controller enabled in BIOS then the PC 
will attempt to boot from it, and not from the built-in RAID array on 
which the operating-system is installed... thus I get a non-sytem disk 
or disk error. The CD drive is on an internal EIDE controller which I 
can boot from whether the Highpoint is enabled or not. The system 
itself is a 5 year-old Compaq Proliant server which was never intended 
to have an EIDE hard-drives alongside its SCSI array, so I seem to be 
unable to tell it to boot from the array rather than the Highpoint.


I believe I may be able to install GRUB on the boot sector of the EIDE 
drive  point that at the /boot partition on the RAID array, but I 
thought I'd check in here first. Is there any way to get the kernel to 
choose an IRQ for the HPT302? I thought this was what plug  play 
operating systems were about. Can the kernel be invoked with an append 
which will assign it the IRQ11 recognised by the LiveCD?  I've tried 
furtling with the interrupts of the various controllers, but it's not a 
very intuitive interface on this machine - might I be able to change 
the boot order this way?


Many thanks in advance for any advices,

Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Leonard - Gentoo

Heinz,

Outstanding.. thanks for the suggestion also..

Regards ..

Leonard
- Original Message - 
From: Heinz Sporn [EMAIL PROTECTED]

To: gentoo-user@lists.gentoo.org
Sent: Thursday, November 24, 2005 12:49 AM
Subject: Re: [gentoo-user] mail command and attachment?



Am Mittwoch, den 23.11.2005, 17:28 + schrieb Neil Bothwick:

On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote:

 Is it possible to send an attachment using the 'mail' command say in a
 cronjob? i have a file that i would like sent to me before deleted and
 recreated to examine it.. but 'man mail' doesnt exactly suggest that an
 attachment is possible

I don't believe mail will do this, unless you encode the attachment and
incorporate it into the mail yourself. mail-client/nail seems to do what
you want, describing itself as 'an enhanced mailx-compatible mail 
client'.


Or use just this:

emerge mutt

Than in a script you might use something like this:

echo Content | mutt -s Subject -a file [EMAIL PROTECTED]





--
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
[EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
A-4540 Bad Hall
Austria / Europe


--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Leonard - Gentoo

Thinking of this now.. but qmail is on this same box..

Anyone know off hand the syntax to send a message feeding it to qmail for 
delivery to an account on the box?


Regards ..

Leonard
- Original Message - 
From: Leonard - Gentoo [EMAIL PROTECTED]

To: gentoo-user@lists.gentoo.org
Sent: Thursday, November 24, 2005 1:05 AM
Subject: Re: [gentoo-user] mail command and attachment?



Heinz,

Outstanding.. thanks for the suggestion also..

Regards ..

Leonard
- Original Message - 
From: Heinz Sporn [EMAIL PROTECTED]

To: gentoo-user@lists.gentoo.org
Sent: Thursday, November 24, 2005 12:49 AM
Subject: Re: [gentoo-user] mail command and attachment?



Am Mittwoch, den 23.11.2005, 17:28 + schrieb Neil Bothwick:

On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote:

 Is it possible to send an attachment using the 'mail' command say in a
 cronjob? i have a file that i would like sent to me before deleted and
 recreated to examine it.. but 'man mail' doesnt exactly suggest that 
 an

 attachment is possible

I don't believe mail will do this, unless you encode the attachment and
incorporate it into the mail yourself. mail-client/nail seems to do what
you want, describing itself as 'an enhanced mailx-compatible mail 
client'.


Or use just this:

emerge mutt

Than in a script you might use something like this:

echo Content | mutt -s Subject -a file [EMAIL PROTECTED]





--
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
[EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
A-4540 Bad Hall
Austria / Europe


--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Highpoint Rocket HPT302 PATA EIDE controller

2005-11-23 Thread Richard Fish
On 11/23/05, Stroller [EMAIL PROTECTED] wrote:
 Unfortunately, if I leave the controller enabled in BIOS then the PC
 will attempt to boot from it, and not from the built-in RAID array on
 which the operating-system is installed... thus I get a non-sytem disk
 or disk error. The CD drive is on an internal EIDE controller which I
 can boot from whether the Highpoint is enabled or not. The system
 itself is a 5 year-old Compaq Proliant server which was never intended
 to have an EIDE hard-drives alongside its SCSI array, so I seem to be
 unable to tell it to boot from the array rather than the Highpoint.

 I believe I may be able to install GRUB on the boot sector of the EIDE
 drive  point that at the /boot partition on the RAID array, but I
 thought I'd check in here first. Is there any way to get the kernel to
 choose an IRQ for the HPT302? I thought this was what plug  play
 operating systems were about. Can the kernel be invoked with an append
 which will assign it the IRQ11 recognised by the LiveCD?  I've tried
 furtling with the interrupts of the various controllers, but it's not a
 very intuitive interface on this machine - might I be able to change
 the boot order this way?

My guess is that mucking with interrupts is not going to help.  There
is usually an option to affect the boot order, typically named
something like Boot Off-Board controllers first.  If you can give
the model number of the server, we can probably lookup the BIOS manual
online and maybe give better advice.

It should also be possible to write a boot sector to the IDE disk that
will boot from the SCSI disk.  If your /boot partition is /dev/sda1,
something like this might work:

#echo (hd0) /dev/hda /boot/grub/device.map.ide
#echo (hd1) /dev/sda /boot/grub/device.map.ide
# grub --device-map=/boot/grub/device.map.ide
grub setup (hd0) (hd1,1)
...
grub quit

But, fair warning, I've never tried this, so I'm not sure how well it will work.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Iain Buchanan
On Thu, 2005-11-24 at 01:15 -0500, Leonard - Gentoo wrote:
 Thinking of this now.. but qmail is on this same box..
 
 Anyone know off hand the syntax to send a message feeding it to qmail for 
 delivery to an account on the box?

I don't know about qmail, but most of the time you can say
[EMAIL PROTECTED] or just user in most cases.

HTH,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Is this a bug in equery

2005-11-23 Thread Mariusz Pękala
On 2005-11-23 23:07:49 -0600 (Wed, Nov), Paul Varner wrote:
 On Wed, 2005-11-23 at 23:34 -0600, Harry Putnam wrote:
  Paul Varner [EMAIL PROTECTED] writes:
  It appears here that the symbols themselves must be quoted as well as
  the package like this:
  
equery files --type =vim-6.2
  
 
 Which is what I meant to convey with the error message. What about this
 one?
 
 $ ./equery files --type vim-6.4
 [ Searching for packages matching vim-6.4... ]
 !!! Invalid syntax: missing operator
 !!! If you want only specific versions please use one of
 !!! the following operators as prefix for the package name:
 !!!  =  =  =  
 !!! Example to only match gcc versions greater or equal 3.2:
 !!!=sys-devel/gcc-3.2
 !!!
 !!! Note: The symbols  and  are used for redirection in the shell
 !!! You must enclose the entire argument in quotation marks, if either
 !!! of these characters are used
 

Not precise enough. You need to enclose only those characters, like:
  equery files --type =vim-6.2
or you may use backslash, like:
  equery files --type \=vim-6.2

Saying that you MUST enclose the entire argument would misguide those
who do not understand quoting mechanisms yet. You would be responsible
for their mistakes forever! ;-)

Some man pages (eq. man tcpdump) use a sentence like 'these characters
are usually special to the shell and must be quoted'. Here you need to
write only '...are used for redirection in the shell and should be
quoted.'
It's like a gentle, polite reminder that assumes that the reader is good
being and usually knows everything about quoting.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpgGjzOevKCm.pgp
Description: PGP signature


Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Mariusz Pękala
On 2005-11-24 01:15:07 -0500 (Thu, Nov), Leonard - Gentoo wrote:
 Thinking of this now.. but qmail is on this same box..
 
 Anyone know off hand the syntax to send a message feeding it to qmail for 
 delivery to an account on the box?
 

Maybe
   cat message | /var/qmail/bin/qmail-inject -a username
would do it?
Attachments should be already included/encoded in message, I suppose.
(Is anybody still using uuencode these days?)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpHsCvbchjwz.pgp
Description: PGP signature