Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques
There is an option in the kernel that will make it see all the 4GB. Set
the option for up o 64GB in the kernel and you may use your 4GB.

On 1/24/08, Hal Martin [EMAIL PROTECTED] wrote:

 Ahh, but it won't last...

 $ free
   total   used   free shared
 buffers cached
 Mem:   20598242044512  15312  0  37636  50868
 -/+ buffers/cache:  1956008 103816
 Swap:  428930812290243060284

 Now this I can live with...

 $ free
 total   used   free shared
 buffers cached
 Mem:   36298323499156   130676 0  566443070796
 -/+ buffers/cache:  3717163258116
 Swap:0  0  0

 Unfortunately that machine is 32bit and thus only supports ~3.6GB of the
 4GB of RAM. :-(

 -Hal

 Michael Higgins wrote:
  On Tue, 22 Jan 2008 00:44:53 +0100
  Hemmann, Volker Armin [EMAIL PROTECTED] wrote:
 
 
  On Montag, 21. Januar 2008, Michael Higgins wrote:
 
  So, I just got 2 GB of RAM in the mail. Whoo hoo.
 
  Before I pop these in, soliciting any thoughts about the following:
 
  zcat /proc/config.gz |grep MEM
  CONFIG_SHMEM=y
  # CONFIG_TINY_SHMEM is not set
  # CONFIG_NOHIGHMEM is not set
  CONFIG_HIGHMEM4G=y
  # CONFIG_HIGHMEM64G is not set
  CONFIG_HIGHMEM=y
  CONFIG_SELECT_MEMORY_MODEL=y
  CONFIG_FLATMEM_MANUAL=y
  # CONFIG_DISCONTIGMEM_MANUAL is not set
  # CONFIG_SPARSEMEM_MANUAL is not set
  CONFIG_FLATMEM=y
  CONFIG_FLAT_NODE_MEM_MAP=y
  # CONFIG_SPARSEMEM_STATIC is not set
  CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
  # CONFIG_BLK_DEV_UMEM is not set
  # CONFIG_INPUT_FF_MEMLESS is not set
  # CONFIG_DEBUG_HIGHMEM is not set
  CONFIG_HAS_IOMEM=y
 
 
 NameFlags  Part Type  FS Type  [Label]
  Size (MB)
 
 ---
  --- hda1BootPrimary   Linux ext2
  256.50 hda2Primary   Linux swap /
  Solaris  1024.46 hda3Primary   Linux
  ext3   21480.44 hda5Logical
  Linux ReiserFS   28771.84 hda6
  Logical   Linux ReiserFS   28493.15
 
  IOW, do I need to/should I recompile my kernel or change partition
  sizes?
 
  if you don't plan to try suspend-to-disk.
  No
 
  even if you plan to try suspend-to-disk it might work with a
  swapfile. So still no.
 
 
  Thanks for the feedback. I figured I'd be covered with the setup as it
  is, but you never know... unless you know. This thing never sleeps...
  so no worries there.
 
  Anyway, I just popped 'em in:
 
  $ free
   total   used   free sharedbuffers
 cached
  Mem:   2074548 1660481908500  0
 6812  77284
  -/+ buffers/cache:  819521992596
  Swap:  1000432  01000432
 
  [ Nice. I like that last line a lot. ]
 
  Cheers,
 
 

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




-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
 There is an option in the kernel that will make it see all the 4GB. Set
 the option for up o 64GB in the kernel and you may use your 4GB.

and slow down memory access a lot.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques
That's the problem. For one thing to work, you have to sacrify other(s). :-/

On 1/24/08, Hemmann, Volker Armin [EMAIL PROTECTED]
wrote:

 On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
  There is an option in the kernel that will make it see all the 4GB.
 Set
  the option for up o 64GB in the kernel and you may use your 4GB.

 and slow down memory access a lot.
 --
 gentoo-user@lists.gentoo.org mailing list




-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


[gentoo-user] Re: emerge error

2008-01-24 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  If I reboot, I *may* loose the firewall completely, depending on what
  the drive does. The only safe thing is to build another firewall before
  rebooting the current firewall (then see if fsck will fix it)...

 Then don't reboot. Mount another drive somewhere temporary, copy the
 contents of /var to it, then unmount /var and mount the new drive
 on /var. Reformat the original filesystem and reverse the process.

Earlier I posted the partitions:
/dev/hda3  18G  2.1G   16G  12% /
udev  125M  2.6M  123M   3% /dev
shm   125M 0  125M   0% /dev/shm
/dev/hda1 393M   46M  347M  12% /boot

since /var is part of / (on the same partition) will this still work?

  Either way, once I build a new firewall, I'm going to copy it
  to CF and be done with these old ide drives.

 Use a suitable filesystem, or the flash memory will die very quickly,
 especially if you put /var on it.


What would be the best file system to use on said CF HD to extend the life?
I usually use the reiserfs on  boot and root (simple partioning scheme).
But, I'm open to suggestions here.


The other thing I'm going to do is keep a master (k6) system with
a good HD for compiling updates and start  distributing binaries
to all of the other k6 (586) firewalls That should greatly
help extend the life too. (any ideas on the caveats of this
scheme are most welcome).

James




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



Re: [gentoo-user] [way OT] Firefox qt download file names

2008-01-24 Thread Albert Hopkins

On Wed, 2008-01-23 at 18:58 -0600, [EMAIL PROTECTED] wrote:
 My sister has posted some video of my nieces wedding online for the
 family to view.
 
 When I hit the site (on WindowsXP) my browser (firefox) displays it in
 quicktime.  I don't see any opportunity to download the file and I
 hate to have to just record it from the screen.  I'm pretty sure
 firefox is downloading the video somewhere so I thought I might be
 able to get that file somehow.
 
 Can anyone coach me at all as to how to go about that?
 
I don't know about Firefox, but in Epiphany (which is also Gecko-based)
you can Shift-click on a link to download it, else you can View/Page
Properties/Media and Click Save Media As

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



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
 That's the problem. For one thing to work, you have to sacrify other(s).

and AFAIR the option won't help you, if your maiboards bios maps pci-space at 
the 3,6GB-4GB range. 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques

On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:


On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:

That's the problem. For one thing to work, you have to sacrify other(s).


and AFAIR the option won't help you, if your maiboards bios maps pci-space at
the 3,6GB-4GB range.
--
gentoo-user@lists.gentoo.org mailing list



You're absolutely right about that. My machines as 64-bits and I don't 
even have that ammount of RAM, but I disable that bios option, anyway.


--
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hal Martin
Well this machine supposedly supports up to 8GB of RAM so I can only
assume that it doesn't map the pci-space to there. But I wonder, will
enabling the higher RAM limit really open up more RAM? The BIOS detects
all 4096MB, but Grub only lists 3.6GB.

AFAIK your machine can only use as much RAM as the bootloader detects, no?


-Hal


Ricardo Saffi Marques wrote:
 On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:

 On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
 That's the problem. For one thing to work, you have to sacrify
 other(s).

 and AFAIR the option won't help you, if your maiboards bios maps
 pci-space at
 the 3,6GB-4GB range.
 -- 
 gentoo-user@lists.gentoo.org mailing list


 You're absolutely right about that. My machines as 64-bits and I don't
 even have that ammount of RAM, but I disable that bios option, anyway.

 -- 
 Ricardo Saffi Marques
 Laboratório de Administração e Segurança de Sistemas (LAS/IC)
 Universidade Estadual de Campinas (UNICAMP)
 Cell: +55 (19) 8128-0435
 Skype: ricardo_saffi_marques
 Website: http://www.rsaffi.com

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



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Dirk Heinrichs
Am Donnerstag, 24. Januar 2008 schrieb ext Hal Martin:

 AFAIK your machine can only use as much RAM as the bootloader detects,
 no?

Would be a bad thing, wouldn't it?

No, the kernel does it's own detection.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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


[gentoo-user] firewall make.conf settings

2008-01-24 Thread James
Hello,

I keep driving to make the size of the (gentoo) firewall as small(fast) as
posible to run on minimal resources. I have a mixture of old pentiums and
 amd (k6) machines. I'd like to have one make.conf file for all the systems.

Anybody see anything wrong (not optimized) with these settings?


CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
USE= -* hardened acl ssl crypt nptl nptlonly

Will -march=i586 work well with the amd k6 arch?
-fomit-frame-pointer (as no debugging wil)l occur on said machines)


Any comments on the USE flags?  (a better way to minimize the installed
packages (which is vim and iptables and sshd)



James

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



Re: [gentoo-user] firewall make.conf settings

2008-01-24 Thread Ricardo Saffi Marques

On Thu, 24 Jan 2008, James wrote:


Hello,

I keep driving to make the size of the (gentoo) firewall as small(fast) as
posible to run on minimal resources. I have a mixture of old pentiums and
amd (k6) machines. I'd like to have one make.conf file for all the systems.

Anybody see anything wrong (not optimized) with these settings?


CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
USE= -* hardened acl ssl crypt nptl nptlonly

Will -march=i586 work well with the amd k6 arch?
-fomit-frame-pointer (as no debugging wil)l occur on said machines)


Any comments on the USE flags?  (a better way to minimize the installed
packages (which is vim and iptables and sshd)



James

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



Don't forget denyhosts and I'd also use metalog instead of syslog-ng.

Regards,

Saffi

--
Ricardo Saffi Marques
Laborat??rio de Administrao e Seguran??a de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, Hemmann, Volker Armin wrote:
 On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
  On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:
   On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
   That's the problem. For one thing to work, you have to sacrify
   other(s).
  
   and AFAIR the option won't help you, if your maiboards bios maps
   pci-space at the 3,6GB-4GB range.
   --
   gentoo-user@lists.gentoo.org mailing list
 
  You're absolutely right about that. My machines as 64-bits and I don't
  even have that ammount of RAM, but I disable that bios option, anyway.

 well, my machine is 64bit too, I have 4GB of ram and a stupid bios -
 nothing I can do about ;)

oh, wait - I am stupid. I can access all the 4gb - but the last 700mb aren't 
covered by mtrr. I confused the too. Need sugar. Now ;)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] firewall make.conf settings

2008-01-24 Thread tecnic5
James [EMAIL PROTECTED]
Enviado por: news [EMAIL PROTECTED]
24/01/2008 15:59
Por favor, responda a gentoo-user
 
Para:   gentoo-user@lists.gentoo.org
cc: 
Asunto: [gentoo-user] firewall make.conf settings

Hello,

I keep driving to make the size of the (gentoo) firewall as small(fast) as
posible to run on minimal resources. I have a mixture of old pentiums and
 amd (k6) machines. I'd like to have one make.conf file for all the 
systems.

Anybody see anything wrong (not optimized) with these settings?


CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
USE= -* hardened acl ssl crypt nptl nptlonly

Will -march=i586 work well with the amd k6 arch?
-fomit-frame-pointer (as no debugging wil)l occur on said machines)


Any comments on the USE flags?  (a better way to minimize the installed
packages (which is vim and iptables and sshd)


James

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



If you'd like to use the same make.conf for different machines you should 
make sure they all have same processors or, at least, same family of 
processors; in your case, I recommend using -mcpu instead of -march. Keep 
in mind that K6 processors have their own -marc=k6 and might not be 
comptable with -march=i586. More in /etc/make.conf.example.

About USE flags, I recommend using -va options on every merge, check 
wich USE flags are enabled or disabled for each package and dinamicaly 
make your USE variable up.


HTH,
Abraham Marín Pérez [EMAIL PROTECTED]
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread James
Ricardo Saffi Marques saffi at las.ic.unicamp.br writes:


 Don't forget denyhosts and I'd also use metalog instead of syslog-ng.

Hmmm,

So you are suggesting to run 'denyhosts' directly on the firewall ?

portage has version 0.8-r1 but I see version 2.6 for download.

Which version do you use? If newer than 0.8-rc1 How did you install it 
(overlay, compile sources) ?

How much cpu/ram resources does denyhosts use, during an active
attack? (guesstimate is ok)?


On logging, I'm not sure how I want to handle this on old hardware
with limited disk space. NO doubt I'll just stream it somewhere, but
you have to be careful not to use too much processor/ram/resources
on these old firewalls, so I may just set something up and have the
ability to turn logging on/off depending on needs. It get's more complicated
if it's just a remote firewall I manage for a friend.
They would not know what to do, no matter what application
it's plugged into for analysis...

(gotta think about the logging/analysis issue some more)


James




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



Re: [gentoo-user] RAM upgrade, kernel and swap

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
 On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:
  On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
  That's the problem. For one thing to work, you have to sacrify other(s).
 
  and AFAIR the option won't help you, if your maiboards bios maps
  pci-space at the 3,6GB-4GB range.
  --
  gentoo-user@lists.gentoo.org mailing list

 You're absolutely right about that. My machines as 64-bits and I don't
 even have that ammount of RAM, but I disable that bios option, anyway.

well, my machine is 64bit too, I have 4GB of ram and a stupid bios - nothing I 
can do about ;)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread James
 tecnic5 at silvanoc.com writes:

If you'd like to use the same make.conf for different machines you should 
make sure they all have same processors or, at least, same family of 
processors; in your case, I recommend using -mcpu instead of -march. Keep 
in mind that K6 processors have their own -marc=k6 and might not be 
comptable with -march=i586. More in /etc/make.conf.example.


Good point:

-mcpu is deprecated, according to the examples file as of gcc 3.4, SO:

CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu

changed to:
CFLAGS=-Os -mtune=i586 -pipe -fomit-frame-pointer  
or
CFLAGS=-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer

? Remember I want one set of binaries for both k6 and old pentiums




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



Re: [gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread tecnic5
James [EMAIL PROTECTED]
Enviado por: news [EMAIL PROTECTED]
24/01/2008 17:00
Por favor, responda a gentoo-user
 
Para:   gentoo-user@lists.gentoo.org
cc: 
Asunto: [gentoo-user] Re: firewall make.conf settings

 tecnic5 at silvanoc.com writes:

If you'd like to use the same make.conf for different machines you should 

make sure they all have same processors or, at least, same family of 
processors; in your case, I recommend using -mcpu instead of -march. Keep 

in mind that K6 processors have their own -marc=k6 and might not be 
comptable with -march=i586. More in /etc/make.conf.example.


Good point:

-mcpu is deprecated, according to the examples file as of gcc 3.4, SO:

CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu

changed to:
CFLAGS=-Os -mtune=i586 -pipe -fomit-frame-pointer 
or
CFLAGS=-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer

? Remember I want one set of binaries for both k6 and old pentiums




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


You're right, make it -mtune ;-). On the other hand, and according to 
Gentoo GCC optimization guide[1], both -mtune and -mcpu only take effect 
if there is no -march available, so I guess the later takes preference 
over the former. I'd use the first option of CFLAGS, hence.

[1] http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap2

HTH,
Abraham Marín
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, [EMAIL PROTECTED] wrote:
 James [EMAIL PROTECTED]
 Enviado por: news [EMAIL PROTECTED]
 24/01/2008 17:00
 Por favor, responda a gentoo-user

 Para:   gentoo-user@lists.gentoo.org
 cc:
 Asunto: [gentoo-user] Re: firewall make.conf settings

  tecnic5 at silvanoc.com writes:
 If you'd like to use the same make.conf for different machines you should
 
 make sure they all have same processors or, at least, same family of 
 processors; in your case, I recommend using -mcpu instead of -march. Keep
 
 in mind that K6 processors have their own -marc=k6 and might not be
 comptable with -march=i586. More in /etc/make.conf.example.

 Good point:

 -mcpu is deprecated, according to the examples file as of gcc 3.4, SO:

 CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
 CHOST=i586-pc-linux-gnu

 changed to:
 CFLAGS=-Os -mtune=i586 -pipe -fomit-frame-pointer
 or
 CFLAGS=-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer


sure about that? doesn't march include everything mtune would do?

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



[gentoo-user] Call for feature requests for 2008.0

2008-01-24 Thread Chris Gianelloni
Hello everyone,

Release Engineering is in the planning stages for 2008.0, so we're
asking for input from the community on things that they'd like to see
added/changed/removed from our release media.  All requests should be
something Release Engineering actually can accomplish, like profile
changes, or changes to the stages or ISO images.  We are interested in
all ideas, though we may only choose a few, as time and mirror space are
definite considerations.

So, if you'd like to see something changed in Gentoo's releases, come on
over to the gentoo-releng mailing list and join in the fun!

Replies sent to this list will *not* be seen by Release Engineering, so
make sure that you send your responses to the correct list.  You'll have
to join the list first, if you're not a subscriber, already.

-- 
Chris Gianelloni
Release Engineering Strategic Lead
Games Developer
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread James
Hemmann, Volker Armin volker.armin.hemmann at tu-clausthal.de writes:


  -mcpu is deprecated, according to the examples file as of gcc 3.4, SO:

  CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
  CHOST=i586-pc-linux-gnu

  changed to:
  CFLAGS=-Os -mtune=i586 -pipe -fomit-frame-pointer
  or
  CFLAGS=-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer

 sure about that? doesn't march include everything mtune would do?


No, I'm not sure. The more I read the more I see different opinions!
That's why I'm asking. Remember the goals are:
1) keep executible (binaries) as small as possible
2) use one make.conf on a master system to generate binaries
for most old pentiums and the K6(amd) systems

My gut tells me that 

CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu

is the best choice in this cause. However, my 'gut' is more focused
on the 'kiss' principal:  (kiss whoever does the cooking and cleans
the dishes) aka keep it simple.

???




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



[gentoo-user] NFS Server Tuning

2008-01-24 Thread Stefan Onken
Hello,

I am running a x86 gentoo box as a nfs server. As a filesystem I am 
using XFS on a 3ware Raid system. 

The 3ware systems seems to be quite quick, although access via NFS 
seems to be very slow. Any ideas how I can improve speed ? I was 
expected a speed only limited by the 100 Mbit network. Now, the 
speed is so slow, that reading/writing at the same time is nearly 
impossible.

Any ideas how to improve the speed ?

hdparm on the gentoo box machine:
backup3 ~ # hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads:   4108 MB in  2.00 seconds = 2054.34 MB/sec
Timing buffered disk reads:  232 MB in  3.01 seconds =  77.09 MB/sec

/etc/exports on the gentoo box:
/mnt/backup/ 192.168.1.0/24
(rw,no_root_squash,async,no_subtree_check)

I am not even able to run a bonnie benchmark on the client. It seems 
to hang while doing rewriting. Running bonnie on the nfs server 
gives a fast result.

/etc/fstab on the client: 
192.168.1.3:/mnt/backup /mnt/backup nfs 
rw,users,async   0

http://pastebin.com/m72ae9d47

Any ideas ?

-- 
www.stonki.de:the more I see, the more I know...
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: firewall make.conf settings

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, James wrote:
 Hemmann, Volker Armin volker.armin.hemmann at tu-clausthal.de writes:
   -mcpu is deprecated, according to the examples file as of gcc 3.4, SO:
  
   CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
   CHOST=i586-pc-linux-gnu
  
   changed to:
   CFLAGS=-Os -mtune=i586 -pipe -fomit-frame-pointer
   or
   CFLAGS=-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer
 
  sure about that? doesn't march include everything mtune would do?

 No, I'm not sure. The more I read the more I see different opinions!
 That's why I'm asking. Remember the goals are:
 1) keep executible (binaries) as small as possible
 2) use one make.conf on a master system to generate binaries
 for most old pentiums and the K6(amd) systems

 My gut tells me that

 CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
 CHOST=i586-pc-linux-gnu

 is the best choice in this cause. However, my 'gut' is more focused
 on the 'kiss' principal:  (kiss whoever does the cooking and cleans
 the dishes) aka keep it simple.

well, I like your line ;)
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] tone generator

2008-01-24 Thread maxim wexler
Hi group,

Anybody know of a gentoo/linux tone generator that
will output test tones, sine waves, triangle waves and
the like.

Prefer command line/ncurses.

Maxim


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Video Network Stream from Pipe

2008-01-24 Thread Florian Philipp

On Wed, 2008-01-16 at 20:29 +0100, Florian Philipp wrote:
 Hi!
 
 I'm currently trying to set up a personal video recorder in form of a
 headless server using mencoder and freevo.
 
 What I would like to do is watching the movie while mencoder is realtime
 encoding it to x264/vorbis in a Matroska container.
 I already tried it using sshfs. Unfortunately, the file is only read up
 to the point where it ended when playing it started.
 I don't know if NFS would behave better.
 
 Well, what I thought about was doing it like this:
 
 #!/bin/bash
 mencoder [...] -o - | tee video.mkv | stream-app
 
 So far it should work and vlc would be the natural choice for the
 streaming app. However, vlc seems unable to read from a pipe so I need
 something else.
 
 Can anyone give me a tip? maybe I missed an option in vlc or can someone
 propose an app that can be used instead?
 
 By the way: It's a 100MBit ethernet network without any switches or
 hubs. The machines are right next to each other.
 I hope it will be a 400 or even 500MBit net soon, but that's another
 topic ...
  

I just want to give an update in case someone plans something like
this: 

NFS does not have the problem sshfs had - problem solved.

However, you can't navigate through files that mencoder did not yet
finish muxing. To be able to do so, you must tell mplayer to create a
new idx with -forceidx (just -idx might work as well and shouldn't harm
files that already contain an index but I haven't tested it yet).


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


[gentoo-user] KDE4.0?

2008-01-24 Thread maxim wexler
Hi group,

$eix kde gives:

...
* kde-base/kde
 Available versions:  3.5.5:3.5 ~3.5.6:3.5
3.5.7:3.5 ~3.5.8:3.5
 Installed:   3.5.2
 Homepage:http://www.kde.org/
 Description: KDE - merge this to pull in
all non-developer kde-base/* packages
...

And heres the tail of emerge -pv kde

...
[ebuild U ] kde-base/kde-3.5.7 [3.5.2]
USE=-accessibility 0 kB
[blocks B ] =kde-base/libkdeedu-3.5* (is blocking
kde-base/kdeedu-3.5.7)
[blocks B ] =kde-base/klatin-3.5* (is blocking
kde-base/kdeedu-3.5.7)
[blocks B ] kde-base/kde-env (is blocking
kde-base/kdelibs-3.5.7-r3)
[blocks B ] =kde-base/kdeedu-3.5* (is blocking
kde-base/libkdeedu-3.5.2, kde-base/klatin-3.5.2)

Total: 47 packages (22 upgrades, 25 new, 4 blocks),
Size of downloads: 195,873 kB
[EMAIL PROTECTED] ~ $ 

Nothing about v4.0 to be found. Is it the blocks? Do
the intervening versions need to be emerged first?

Maxim
  
  



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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



Re: [gentoo-user] Re: emerge error

2008-01-24 Thread Neil Bothwick
On Thu, 24 Jan 2008 13:46:04 + (UTC), James wrote:

  Then don't reboot. Mount another drive somewhere temporary, copy the
  contents of /var to it, then unmount /var and mount the new drive
  on /var. Reformat the original filesystem and reverse the process.  
 
 Earlier I posted the partitions:
 /dev/hda3  18G  2.1G   16G  12% /
 udev  125M  2.6M  123M   3% /dev
 shm   125M 0  125M   0% /dev/shm
 /dev/hda1 393M   46M  347M  12% /boot
 
 since /var is part of / (on the same partition) will this still work?

No, another reason to keep /var, and as much else as possible, away
from /.

  Use a suitable filesystem, or the flash memory will die very quickly,
  especially if you put /var on it.  

 What would be the best file system to use on said CF HD to extend the
 life? I usually use the reiserfs on  boot and root (simple partioning
 scheme). But, I'm open to suggestions here.

JFFS2, or budget on replacing the cards every couple of months.


-- 
Neil Bothwick

First Law of Laboratory Work:
Hot glass looks exactly the same as cold glass.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Justin


maxim wexler schrieb:
 Hi group,

 $eix kde gives:

   
did you do an update-eix?
 ...
 * kde-base/kde
  Available versions:  3.5.5:3.5 ~3.5.6:3.5
 3.5.7:3.5 ~3.5.8:3.5
  Installed:   3.5.2
  Homepage:http://www.kde.org/
  Description: KDE - merge this to pull in
 all non-developer kde-base/* packages
 ...

 And heres the tail of emerge -pv kde
   
kde-4 ist masked. THink thats why it doesn show up. What does ls
/usr/portage/kde-base/ says?
 ...
 [ebuild U ] kde-base/kde-3.5.7 [3.5.2]
 USE=-accessibility 0 kB
 [blocks B ] =kde-base/libkdeedu-3.5* (is blocking
 kde-base/kdeedu-3.5.7)
 [blocks B ] =kde-base/klatin-3.5* (is blocking
 kde-base/kdeedu-3.5.7)
 [blocks B ] kde-base/kde-env (is blocking
 kde-base/kdelibs-3.5.7-r3)
 [blocks B ] =kde-base/kdeedu-3.5* (is blocking
 kde-base/libkdeedu-3.5.2, kde-base/klatin-3.5.2)

 Total: 47 packages (22 upgrades, 25 new, 4 blocks),
 Size of downloads: 195,873 kB
 [EMAIL PROTECTED] ~ $ 

 Nothing about v4.0 to be found. Is it the blocks? Do
 the intervening versions need to be emerged first?

 Maxim
   
   



   
 
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  
 http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Alan McKinnon
On Thursday 24 January 2008, maxim wexler wrote:
 Hi group,

 $eix kde gives:

 ...
 * kde-base/kde
  Available versions:  3.5.5:3.5 ~3.5.6:3.5
 3.5.7:3.5 ~3.5.8:3.5
  Installed:   3.5.2
  Homepage:http://www.kde.org/
  Description: KDE - merge this to pull in
 all non-developer kde-base/* packages
 ...

You haven't synced the portage tree in a while, right?


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Etaoin Shrdlu
On Thursday 24 January 2008, maxim wexler wrote:

 Hi group,

 Anybody know of a gentoo/linux tone generator that
 will output test tones, sine waves, triangle waves and
 the like.

 Prefer command line/ncurses.

Maybe audacity can do that? (I don't use it so I don't know). However, a 
bit of googling found this (apparently not command line, but seemingly 
quite simple):

http://www.aa6e.net/aa6e/software/tone/index.html

No idea whether it will work under gentoo, hope this helps anyway.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 11:41:04AM -0800, maxim wexler wrote:
 Anybody know of a gentoo/linux tone generator that
 will output test tones, sine waves, triangle waves and
 the like.
 
 Prefer command line/ncurses.
 

One of my friends coded something like this once as a plug-in for
XMMS. Can't seem to find it now. Perhaps you'd have better luck than
I. 

On the other hand, a little bit of C++ should be fairly easy. First
you need the 'play' program from sox. 'play' can play files in the
'raw' format, which is just a stream of words that gives the amplitude
of the waveform. For example

play -t raw -s l -f s -c 1 -r 3 -

takes as input stdin, plays mono channel sound from a stream that is
signed-linear, 30 hertz sample rate, and with amplitude described
by 32 bit long word. Next you just need a waveform generator. A C++
snipplet from something I cobbled together several years ago (yes yes,
my coding practice can stand much improvement, so sue me)

#include stdio.h
#include unistd.h
#include math.h

int main()
{
int rate = 3;
int coramp = 0xCEF;

int tempamp=0;

float totalamp=0;

int f_count;
while(1) for(f_count=0; f_count  rate; f_count++)
{
totalamp=sinf( ((float)f_count) * 440 / rate * 2 * M_PI);
tempamp = (int) (coramp * totalamp);
printf(%c%c%c%c%c%c%c%c, (char) (tempamp), (char) (tempamp  
8), (char) (tempamp  16), (char) (tempamp  24), (char) (tempamp), (char) 
(tempamp  8), (char) (tempamp  16), (char) (tempamp  24));
}
return 0;
}

Yes, it is an infinite loop. 
The sinf makes it a sine wave. You can code your own triangle wave. 
THe 440 makes it output A-440. It is the frequency. 
coramp is an amplifying factor. 

compile it, run it like 

 ./a.out | play -t raw -s l -f s -c 1 -r 3 -

And you should get A-440 out of your speakers. 

W
-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Dale
maxim wexler wrote:
 Hi group,

 $eix kde gives:

 ...
 * kde-base/kde
  Available versions:  3.5.5:3.5 ~3.5.6:3.5
 3.5.7:3.5 ~3.5.8:3.5
  Installed:   3.5.2
  Homepage:http://www.kde.org/
  Description: KDE - merge this to pull in
 all non-developer kde-base/* packages
 ...

 And heres the tail of emerge -pv kde

 ...
 [ebuild U ] kde-base/kde-3.5.7 [3.5.2]
 USE=-accessibility 0 kB
 [blocks B ] =kde-base/libkdeedu-3.5* (is blocking
 kde-base/kdeedu-3.5.7)
 [blocks B ] =kde-base/klatin-3.5* (is blocking
 kde-base/kdeedu-3.5.7)
 [blocks B ] kde-base/kde-env (is blocking
 kde-base/kdelibs-3.5.7-r3)
 [blocks B ] =kde-base/kdeedu-3.5* (is blocking
 kde-base/libkdeedu-3.5.2, kde-base/klatin-3.5.2)

 Total: 47 packages (22 upgrades, 25 new, 4 blocks),
 Size of downloads: 195,873 kB
 [EMAIL PROTECTED] ~ $ 

 Nothing about v4.0 to be found. Is it the blocks? Do
 the intervening versions need to be emerged first?

 Maxim
   
   
   

I emerged autounamsk and used the command autounmask
kde-base/kde-meta-4.0.0 without the quotes of course.  There may be a
block or two.  I had one that involved qt.  I also had to mask qt 4.4
since it does not have dbus support. 

A few people have installed it so post any boo boos you may get.  We'll
get you through it.  Keep in mind, it still has some missing features. 
I found one right off the bat and I can't live without it so I may login
and mess around some but nothing major.   It is very cool looking tho. 
My hats off to the coders on this one.  Lot of caffeine on this project.

Ah, you may have to get a later version of KDE 3.5 before going any
farther.  I had 3.5.8 on mine and had no blocks with it.  Want my
package.keywords and package.unmask files.

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Liviu Andronic
You might be interseted in rezound; it is graphical, however.
Liviu

On 1/24/08, maxim wexler [EMAIL PROTECTED] wrote:
 Hi group,

 Anybody know of a gentoo/linux tone generator that
 will output test tones, sine waves, triangle waves and
 the like.

 Prefer command line/ncurses.

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



Re: [gentoo-user] NFS Server Tuning

2008-01-24 Thread Arttu V.
On 1/24/08, Stefan Onken [EMAIL PROTECTED] wrote:

 Any ideas how to improve the speed ?

noatime?

-- 
Arttu V.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] SOLVED No ebuild for kdeartwork-colorschemes ??

2008-01-24 Thread ionut cucu
On Sun, 20 Jan 2008 21:05:50 +
Neil Bothwick [EMAIL PROTECTED] wrote:


 
 Yakuake works, but claws-mail doesn't, so I'm back on 3.5 for now.
 
 
I've got KDE-4 from the svn/git overlay on 2 desktop machines and I
must say it's pretty stable. I must say now kde brought me back from
fluxbox. I'm still on claws-mail-3.0 and it works on my kde, it even
followed the kde's color schemes. The only thing I'm inpacient about
now is koepte using buddy pictures instead of it's default icons. Kmail
alsao starts with no issues but I still like claws mail better.
{FLAME WAR: gnome better come up with a good reply to this kde version}

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



RE: [gentoo-user] NFS Server Tuning

2008-01-24 Thread Marzan, Richard non Unisys
Man fstab  man nfs{d}   man mount and search for sync write options. Wsize 
and rsize=8192 and wsize=8192 might work but I think they are deprecated. 
Althought, async or sync might still be used. Use these options when mouting 
your nfs share or make them permanent in your fstab file. Gentoo-wiki has a 
good guide on this. I would have given you a good set of options but I'm not 
able to access the inet. 
 -Original Message-
 From: Stefan Onken [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 24, 2008 2:18 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] NFS Server Tuning
 
 Hello,
 
 I am running a x86 gentoo box as a nfs server. As a filesystem I am
 using XFS on a 3ware Raid system.
 
 The 3ware systems seems to be quite quick, although access via NFS
 seems to be very slow. Any ideas how I can improve speed ? I was
 expected a speed only limited by the 100 Mbit network. Now, the
 speed is so slow, that reading/writing at the same time is nearly
 impossible.
 
 Any ideas how to improve the speed ?
 
 hdparm on the gentoo box machine:
 backup3 ~ # hdparm -tT /dev/sdb
 /dev/sdb:
 Timing cached reads:   4108 MB in  2.00 seconds = 2054.34 MB/sec
 Timing buffered disk reads:  232 MB in  3.01 seconds =  77.09 MB/sec
 
 /etc/exports on the gentoo box:
 /mnt/backup/ 192.168.1.0/24
 (rw,no_root_squash,async,no_subtree_check)
 
 I am not even able to run a bonnie benchmark on the client. It seems
 to hang while doing rewriting. Running bonnie on the nfs server
 gives a fast result.
 
 /etc/fstab on the client:
 192.168.1.3:/mnt/backup /mnt/backup nfs
 rw,users,async   0
 
 http://pastebin.com/m72ae9d47
 
 Any ideas ?
 
 --
 www.stonki.de:the more I see, the more I know...
 www.proftpd.de:   Deutsche ProFTPD Dokumentation
 www.krename.net:  Der Batch Renamer für KDE
 www.kbarcode.net: Die Barcode Solution für KDE
 --
 gentoo-user@lists.gentoo.org mailing list

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



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread maxim wexler

--- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Thursday 24 January 2008, maxim wexler wrote:
  Hi group,
 
  $eix kde gives:
 
  ...
  * kde-base/kde
   Available versions:  3.5.5:3.5 ~3.5.6:3.5
  3.5.7:3.5 ~3.5.8:3.5
   Installed:   3.5.2
   Homepage:http://www.kde.org/
   Description: KDE - merge this to pull
 in
  all non-developer kde-base/* packages
  ...
 
 You haven't synced the portage tree in a while,
 right?
 

 a week ago

 
 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com
 -- 
 gentoo-user@lists.gentoo.org mailing list
 
 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread maxim wexler

--- Justin [EMAIL PROTECTED] wrote:

 
 
 maxim wexler schrieb:
  Hi group,
 
  $eix kde gives:
 

 did you do an update-eix?

yes


 kde-4 ist masked. THink thats why it doesn show up.
 What does ls
 /usr/portage/kde-base/ says?

[EMAIL PROTECTED] ~ $ ls /usr/portage/kde-base/
akregatorkdeartwork-styles
 kimagemapeditor   ksmiletris
amor kdeartwork-wallpapers
 kitchensync   ksmserver
ark  kdebase  
 kiten ksnake
arts kdebase-data 
 kjots ksnapshot
artsplugin-akode kdebase-kioslaves
 kjsembed  ksokoban
artsplugin-audiofile kdebase-meta 
 kjumpingcube  kspaceduel
artsplugin-mpeglib   kdebase-pam  
 klaptopdaemon ksplashml
artsplugin-mpg123kdebase-startkde 
 klatinkspy
artsplugin-xine  kdebindings-meta 
 klettres  kstars
atlantik kdebugdialog 
 klickety  kstart
atlantikdesigner kdeedu   
 klinesksvg
blinken  kdeedu-applnk
 klinkstatus   ksync
certmanager  kdeedu-meta  
 klipper   ksysguard
cervisia kdegames 
 kmag  ksystraycmd
dcopckdegames-meta
 kmahjongg ksysv
dcopjava kdegraphics  
 kmail ktalkd
dcopperl kdegraphics-kfile-plugins
 kmailcvt  kteatime
dcoppython   kdegraphics-meta 
 kmenuedit ktimer
dcoprss  kdejava  
 kmid  ktip
drkonqi  kdelibs  
 kmilo ktnef
eyesapplet   kdelirc  
 kminesktouch
fifteenappletkdemultimedia
 kmix  ktron
juk  kdemultimedia-arts   
 kmoon kttsd
kaboodle
kdemultimedia-kappfinder-data  kmousetool   
ktuberling
kaddressbook
kdemultimedia-kfile-pluginskmouth   
kturtle
kaddressbook-plugins kdemultimedia-kioslaves  
 kmplotktux
kalarm   kdemultimedia-meta   
 kmrml kuickshow
kalyptus kdenetwork   
 kmtrace   kuiviewer
kalzium  kdenetwork-filesharing   
 knetattachkuser
kamera   kdenetwork-kfile-plugins 
 knetwalk  kverbos
kanagram kdenetwork-meta  
 knewsticker   kview
kandykdepasswd
 knewsticker-scripts   kviewshell
kappfinder   kdepim   
 knode kvoctrain
kapptemplate kdepim-kioslaves 
 knoteskwalletmanager
karm kdepim-kresources
 kode  kweather
kasteroids   kdepim-meta  
 kodo  kwifimanager
kate kdepim-wizards   
 kolf  kwin
kate-plugins kdeprint 
 kolourpaint   kwin4
katomic  kdesdk   
 kommander kwordquiz
kaudiocreatorkdesdk-kfile-plugins 
 kompare   kworldclock
kbabel   kdesdk-kioslaves 
 konq-plugins  kxkb
kbackgammon  kdesdk-meta  
 konqueror kxsldbg
kbattleship  kdesdk-misc  
 konqueror-akregator   libkcal
kblackboxkdesdk-scripts   
 konquest  libkcddb
kbounce  kdesktop 
 konsole   libkdeedu
kbruch   kdesu
 konsolekalendar   libkdegames
kbstateappletkdetoys  
 kontact   libkdenetwork
kbugbuster   kdetoys-meta 
 kontact-specialdates  libkdepim
kcachegrind  kdeutils 
 kooka libkholidays
kcalckdeutils-meta
 kopetelibkmime
kcharselect  kdewebdev
 korganizerlibkonq
kcheckpass   kdewebdev-meta   
 korn  

Re: [gentoo-user] KDE4.0?

2008-01-24 Thread maxim wexler
 
 Ah, you may have to get a later version of KDE 3.5
 before going any
 farther.  I had 3.5.8 on mine and had no blocks with
 it.  Want my
 package.keywords and package.unmask files.

Assuming a question. Yes, I'd like to see them.


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] udev, scsi modules and lvm2

2008-01-24 Thread Andrej Filipcic

Hi,

I have the following problem with lvm2 and volume groups discovery.

With emulex FC scsi controller as module (lpfc) where data disks are attached 
and configured with lvm2, the volume groups are not automatically scanned at 
boot. lpfc is added to /etc/modules.autoload.d/kernel-2.6, so scsi disks are 
detected properly.

The trouble is that udev is running the lvm scan before lpfc is autoloaded. 
The workaround is either to use non-modular lpfc or do an additional 
vgscan/vgchange/mount after boot in local.startup.

Is there a better/proper way with baselayout-1 (except for initramfs)? Somehow 
I would prefer to have lpfc modular.

Thanks,
Andrej

-- 
_
   doc. dr. Andrej Filipcic,   E-mail: [EMAIL PROTECTED]
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-1-477-3674Fax: +386-1-425-7074
-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Dale
maxim wexler wrote:
 Ah, you may have to get a later version of KDE 3.5
 before going any
 farther.  I had 3.5.8 on mine and had no blocks with
 it.  Want my
 package.keywords and package.unmask files.
 

 Assuming a question. Yes, I'd like to see them.


   
 
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search.  
 http://tools.search.yahoo.com/newsearch/category.php?category=shopping
   

Will mail them off list, same subject line tho.  Bit large there.  ;-)

Dale

:-)  :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 
  ./a.out | play -t raw -s l -f s -c 1 -r 3 -
 
 And you should get A-440 out of your speakers. 
 

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out |play -t raw
-s l -f s -c 1 -r 3000 -
play soxio: Failed reading `-': unknown file type

and without the hyphen

[EMAIL PROTECTED] ~/docs/c-prog $ ./play |play -t raw
-s l -f s -c 1 -r 3000
play soxio: Can't open input file `s': No such file or
directory

doesn't like swapping 'l' for '1' either



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 
 compile it, run it like 
 
  ./a.out | play -t raw -s l -f s -c 1 -r 3 -
 


This works, sort of. Sounds like a dentist drill going
in an out. 

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  cdr
Playing raw data 'stdin' : Signed 16 bit Big Endian,
Rate 44100 Hz, Stereo
[EMAIL PROTECTED] by signal Interrupt...

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  dat
Playing raw data 'stdin' : Signed 16 bit Little
Endian, Rate 48000 Hz, Stereo
Aborted by signal Interrupt...

[EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
raw   -f  cd
Playing raw data 'stdin' : Signed 16 bit Little
Endian, Rate 44100 Hz, Stereo
Aborted by signal Interrupt...

And there are a bunch of other formats under aplay
--help but nothing like a pure tone.

-mw





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 02:27:24PM -0800, maxim wexler wrote:
  
   ./a.out | play -t raw -s l -f s -c 1 -r 3 -
  
  And you should get A-440 out of your speakers. 
  
 
 [EMAIL PROTECTED] ~/docs/c-prog $ ./a.out |play -t raw
 -s l -f s -c 1 -r 3000 -
 play soxio: Failed reading `-': unknown file type
 

rate really wants to be 3, or your note will have a 
frequency off by a factor of 10. But that is not the problem here. 

Perhaps revdep-rebuild or rebuilding sox by hand? Usually when sox is
having problems after you explicitly specify the file format (by -t
raw) that means you have some sort of linking error with your
libraries. 

Hum, by any chance you are using sox-14.0.0? My desktop is still on
12.17.9 and has no problems, and a quick search suggests that the
unknown file type problem also affects Debian and other distros. 

I will take a look using my laptop later tonight to see if it is a
problem with sox-14.0.0.

W

-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Hemmann, Volker Armin
On Donnerstag, 24. Januar 2008, maxim wexler wrote:

http://www.linux.org/apps/AppId_2452.html
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 compile it, run it like 
 
  ./a.out | play -t raw -s l -f s -c 1 -r 3 -
 
 And you should get A-440 out of your speakers. 

OK, got it:

[EMAIL PROTECTED] ~/docs/c-prog $ sox -t nul /dev/null
sine.wav synth 10.0 sine  440.0 | aplay sine.wav
Playing WAVE 'sine.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Mono

Sox Rox


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan
Hi,

On Thu, 2008-01-24 at 11:41 -0800, maxim wexler wrote:
 Hi group,
 
 Anybody know of a gentoo/linux tone generator that
 will output test tones, sine waves, triangle waves and
 the like.
 
 Prefer command line/ncurses.

I used to do this quite easily from XMMS to tune my guitar - never tried
it with it's spinoffs though (bmp, etc)

To do it was quite simple, you get the frequencies you want and stick
them in a file like so:

#EXTM3U
#EXTINF:-1,Tone Generator:  82.4 Hz;164.8 Hz;247.2 Hz;329.6 Hz
tone://82.407;164.814;247.221;329.628
#EXTINF:-1,Tone Generator:  110.0 Hz;220.0 Hz;330.0 Hz;440.0 Hz
tone://110.000;220.000;330.000;440.000
#EXTINF:-1,Tone Generator:  146.8 Hz;293.7 Hz;440.5 Hz;587.3 Hz
tone://146.832;293.665;440.497;587.330
#EXTINF:-1,Tone Generator:  196.0 Hz;392.0 Hz;588.0 Hz;784.0 Hz
tone://195.998;391.995;587.993;783.991
#EXTINF:-1,Tone Generator:  246.9 Hz;493.9 Hz;740.8 Hz;987.8 Hz
tone://246.942;493.883;740.825;987.767
#EXTINF:-1,Tone Generator:  329.6 Hz;659.3 Hz;988.9 Hz;1318.5 Hz
tone://329.628;659.255;988.883;1318.510

these are base frequencies and harmonics for E, A, D, G, B and E
strings.  Then I just open the file in xmms and play!

However, I'm sure there was some plugin I needed... It was called tone
generator or something... sorry for being vague, but it's been a while
since I used this method :)  If you want me to do some more digging,
then let me know!

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

A father doesn't destroy his children.
-- Lt. Carolyn Palamas, Who Mourns for Adonais?,
   stardate 3468.1.

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



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler

--- Hemmann, Volker Armin
[EMAIL PROTECTED] wrote:

 On Donnerstag, 24. Januar 2008, maxim wexler wrote:
 
 http://www.linux.org/apps/AppId_2452.html
 -- 

Yeah, I found that. It's going into the queue.

 gentoo-user@lists.gentoo.org mailing list
 
 



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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



Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 03:06:38PM -0800, Penguin Lover maxim wexler squawked:
  
  compile it, run it like 
  
   ./a.out | play -t raw -s l -f s -c 1 -r 3 -
  
 
 
 This works, sort of. Sounds like a dentist drill going
 in an out. 
 
 [EMAIL PROTECTED] ~/docs/c-prog $ ./a.out | aplay -t
 raw   -f  cdr
 Playing raw data 'stdin' : Signed 16 bit Big Endian,
 Rate 44100 Hz, Stereo

This is because the code outputs it as 32 bit signed with 3 Hz
rate. The defaults of aplay is sampling it incorrectly, which is why
the file sounds off. 

Now, I think I know what the problem is with sox:
 1) the commandline syntax changed between 12.* and 14.0, the switches
 I need should be 
play -t raw -s -4 -c 1 -r 3
 (c.f. man play). 
 
 2) Despite what the man pages say, the '-' switch for reading from
 stdin seems to be broken. Probably a bug. I'll test more and possibly
 file a bug report. 

On the other hand, since you have aplay installed, the right syntax
should be

 ./a.out | aplay -t raw -f S32_LE -c 1 -r 3

Which says to use 32 bit little endian with 1 channel at a sample rate
of 3. 

Unfortunately, if you do that, you won't hear a thing. Why? I got my
multiplier wrong in the testing program that I send you. I missed half
a byte. Change the definition for coramp (which controls the
amplification) to

int coramp = 0xCFFF;

(The reason that I missed half a byte was that I was messing around
with harmonics and multiple voicing... so each harmonic needs to be
suitably rescaled in amplitude.)

Hope that helps, 

W
-- 
When my cats aren't happy, I'm not happy. Not because I care about their mood 
but because I know they're just sitting there thinking up ways to get even.
~Penny Ward Moser
Sortir en Pantoufles: up 412 days, 22:00
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 
 #EXTM3U
 #EXTINF:-1,Tone Generator:  82.4 Hz;164.8 Hz;247.2
 Hz;329.6 Hz
 tone://82.407;164.814;247.221;329.628
 #EXTINF:-1,Tone Generator:  110.0 Hz;220.0 Hz;330.0
 Hz;440.0 Hz
 tone://110.000;220.000;330.000;440.000
 #EXTINF:-1,Tone Generator:  146.8 Hz;293.7 Hz;440.5
 Hz;587.3 Hz
 tone://146.832;293.665;440.497;587.330
 #EXTINF:-1,Tone Generator:  196.0 Hz;392.0 Hz;588.0
 Hz;784.0 Hz
 tone://195.998;391.995;587.993;783.991
 #EXTINF:-1,Tone Generator:  246.9 Hz;493.9 Hz;740.8
 Hz;987.8 Hz
 tone://246.942;493.883;740.825;987.767
 #EXTINF:-1,Tone Generator:  329.6 Hz;659.3 Hz;988.9
 Hz;1318.5 Hz
 tone://329.628;659.255;988.883;1318.510
 
 these are base frequencies and harmonics for E, A,
 D, G, B and E
 strings.  Then I just open the file in xmms and
 play!
 
 However, I'm sure there was some plugin I needed...
 It was called tone
 generator or something... sorry for being vague,
 but it's been a while

Played right off the bat in audacious! Thanks! How is
that 'Tone Generator' formatted. Is there a HOWTO for
it?




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Willie Wong
On Thu, Jan 24, 2008 at 03:22:00PM -0800, Penguin Lover maxim wexler squawked
 OK, got it:
 
 [EMAIL PROTECTED] ~/docs/c-prog $ sox -t nul /dev/null
 sine.wav synth 10.0 sine  440.0 | aplay sine.wav
 Playing WAVE 'sine.wav' : Signed 16 bit Little Endian,
 Rate 44100 Hz, Mono

Better yet (I didn't know that play can do it itself... sox needs
better documentation)

play -n -c1 synth 10.0 waveform

waveforms that I've tried: saw, sine, square

Have fun. 

W
-- 
The last time anybody made a list of the top hundred 
character attributes of New Yorkers, common sense snuck in 
at number 79. 
When it's fall in New York, the air smells as if someone's 
been frying goats in it, and if you are keen to breathe the 
best plan is to open a window and stick your head in a 
building. 

- Nuff said?? 
Sortir en Pantoufles: up 412 days, 22:23
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan

On Thu, 2008-01-24 at 15:45 -0800, maxim wexler wrote:
  
  #EXTM3U
  #EXTINF:-1,Tone Generator:  82.4 Hz;164.8 Hz;247.2
  Hz;329.6 Hz
  tone://82.407;164.814;247.221;329.628

[snip]

 Played right off the bat in audacious! Thanks! How is
 that 'Tone Generator' formatted.

I could only guess what you could - # starts a comment, otherwise a line
is:
tone://freq1;freq2...

  Is there a HOWTO for
 it?

I've been searching ever since I wrote that email, but I can't find any
info anywhere.  I think this tone generator function was borrowed from
beep, which was in turn borrowed from xmms, so the documentation no
doubt got lost in the many transitions...

all I can find is a vague xmms reference to Tonegen.  You might try
looking for a tonegen.c file in audacious... If I find more, I'll let
you know.

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Never look a gift horse in the mouth.
-- Saint Jerome

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



Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan

On Fri, 2008-01-25 at 10:28 +0930, Iain Buchanan wrote:

 all I can find is a vague xmms reference to Tonegen.  You might try
 looking for a tonegen.c file in audacious... If I find more, I'll let
 you know.


all I can find is the file src/tonegen/tonegen.c in audacious-plugins
which has this comment:

_(About Tone Generator),
_(Sinus tone generator by Haavard Kvaalen [EMAIL PROTECTED]\n
  Modified by Daniel J. Peng [EMAIL PROTECTED]\n\n
  To use it, add a URL: tone://frequency1;frequency2;frequency3;...\n
  e.g. tone://2000;2005 to play a 2000Hz tone and a 2005Hz tone),

so I think that's it... unless you feel like editing the source to play
other waves ;)
-- 
Iain Buchanan iaindb at netspace dot net dot au

algorithm, n.:
Trendy dance for hip programmers.

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



Re: [gentoo-user] NFS Server Tuning

2008-01-24 Thread Dan Farrell
On Thu, 24 Jan 2008 22:58:54 +0200
Arttu V. [EMAIL PROTECTED] wrote:

 On 1/24/08, Stefan Onken [EMAIL PROTECTED] wrote:
 
  Any ideas how to improve the speed ?
 
 noatime?
 

I wouldn't expect that to help too much.  Async is the #1 speed
improvement on my network; I get disc access speeds of 11.5 mb/s on
mine, which effectively maxes out the network.In /etc/exports on
the server I have: 

/mnt/storage 192.168.0.0/16(rw,async,no_subtree_check,no_root_squash)

and as the client (from `mount`): 

nfs:/mnt/storage on /home/media/storage type
nfs(rw,rsize=65536,wsize=65536,soft,timeo=300,addr=192.168.1.88)

/etc/fstab on the client looks like: 

nfs:/mnt/storage /home/media/storagenfs
rsize=65536,wsize=65536,rw,async,soft,timeo=300 0 0


Of these options, rsize,wsize,and async are reputed to effect
performance.  However, I do not see much of an effect between different
rsize and wsize settings.  I believe that over an uncongested 100T
network it probably doesn't matter too much what rsize and wsize are.  
On a different share (same server) mounted async without [r|w]size set,
performance (write, this time) was 11.2mb/s, roughly the same.
Furthermore, I'm not sure these values are even valid.
http://www.linuxdocs.org/HOWTOs/NFS-HOWTO/performance.html said that
nfs3 goes only to 32768.  

wdelay and no_wdelay might have an effect, depending on your
application.  I no longer tweak those values.

There are some network performance tweaks as well; their effect wasn't
particularly noticable to me, but look
http://www.linuxdocs.org/HOWTOs/NFS-HOWTO/performance.html for more
information on 5.4. Memory Limits on the Input Queue, 5.3. Number of
Instances of NFSD, and 5.5. Overflow of Fragmented Packets were
interesting to me.  

Finally, NFS4 is reputed to be much faster in certain cases.  


Hope that helps.  I would be very interested in your findings.  

Be well, 

Dan Farrell
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: emerge error

2008-01-24 Thread James
Neil Bothwick neil at digimed.co.uk writes:


 JFFS2, or budget on replacing the cards every couple of months.


Thanks to everyone that helps,

thx Neil,


James






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



Re: [gentoo-user] Call for feature requests for 2008.0

2008-01-24 Thread Ric de France
On 25/01/2008, Chris Gianelloni [EMAIL PROTECTED] wrote:
 Replies sent to this list will *not* be seen by Release Engineering, so
 make sure that you send your responses to the correct list.  You'll have
 to join the list first, if you're not a subscriber, already.

I'm guess sending an email to [EMAIL PROTECTED]
should do that, or am I look at the wrong list?

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
 == Do you, uh... Gentoo? Gent-hooo!! ==
== http://www.gentoo.org/main/en/about.xml ==
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 looking for a tonegen.c file in audacious... If I

http://www.lns.com/papers/tonegen/tonegen.c

[EMAIL PROTECTED] ~/docs/elex $ gcc -lm -o tonegen
tonegen.c
tonegen.c:56:31: machine/soundcard.h: No such file or
directory
tonegen.c: In function `main':
tonegen.c:172: error: `SNDCTL_DSP_GETFMTS' undeclared
(first use in this function)
tonegen.c:172: error: (Each undeclared identifier is
reported only once
tonegen.c:172: error: for each function it appears
in.)
tonegen.c:181: error: `SNDCTL_DSP_STEREO' undeclared
(first use in this function)
tonegen.c:196: error: `SNDCTL_DSP_SPEED' undeclared
(first use in this function)

tonegen wants a machine/soundcard.h which doesn't
exist on my system.

Although:

$ slocate soundcard.h
/usr/src/linux-2.6.12-gentoo-r6/include/linux/soundcard.h
/usr/src/linux-2.6.20-gentoo-r6/include/linux/soundcard.h
/usr/src/linux-2.6.16-gentoo-r3/include/linux/soundcard.h
/usr/include/sys/soundcard.h
/usr/include/linux/soundcard.h

The only 'machine/' on my system is under arch/arm26/.

-mw



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan

On Thu, 2008-01-24 at 18:00 -0800, maxim wexler wrote:
  looking for a tonegen.c file in audacious... If I
 
 http://www.lns.com/papers/tonegen/tonegen.c
 
 [EMAIL PROTECTED] ~/docs/elex $ gcc -lm -o tonegen
 tonegen.c
 tonegen.c:56:31: machine/soundcard.h: No such file or
 directory

[snip]

 tonegen wants a machine/soundcard.h which doesn't
 exist on my system.

[snip]

probably because it's made to go with audacious, which is why the file I
supplied played out of the box.  It's already compiled into audacious.
Looking at the file, it doesn't make much sense to compile it alone.

-- 
Iain Buchanan iaindb at netspace dot net dot au

Machine Always Crashes, If Not, The Operating System Hangs (MACINTOSH)
-- Topic on #Linux

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



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 all I can find is the file src/tonegen/tonegen.c in
 audacious-plugins

Seems to be a different file than

www.lns.com/papers/tonegen/tonegen.c 

-mw


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Call for feature requests for 2008.0

2008-01-24 Thread Dale
Ric de France wrote:
 On 25/01/2008, Chris Gianelloni [EMAIL PROTECTED] wrote:
   
 Replies sent to this list will *not* be seen by Release Engineering, so
 make sure that you send your responses to the correct list.  You'll have
 to join the list first, if you're not a subscriber, already.
 

 I'm guess sending an email to [EMAIL PROTECTED]
 should do that, or am I look at the wrong list?

 ...Ric
   

Yep.  It subscribed me anyway.  YMMV.

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Iain Buchanan

On Thu, 2008-01-24 at 18:13 -0800, maxim wexler wrote:
  all I can find is the file src/tonegen/tonegen.c in
  audacious-plugins
 
 Seems to be a different file than
 
 www.lns.com/papers/tonegen/tonegen.c 

ah, then your previous Q. is easy.  Looking at the above c file, it says
#ifdef LINUX
#include linux/soundcard.h
#define DSP /dev/dsp
#else
#include machine/soundcard.h
#define DSP /dev/dspW
#endif

so you have to define LINUX.  There are a few other things too,
something like this should do it:

gcc -D LINUX -include string.h -lm -o tonegen tonegen.c

-- 
Iain Buchanan iaindb at netspace dot net dot au

The ends justify the means.
-- after Matthew Prior

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



Re: [gentoo-user] tone generator

2008-01-24 Thread maxim wexler
 something like this should do it:
 
 gcc -D LINUX -include string.h -lm -o tonegen
 tonegen.c
 

Yup. Thanks Iain.


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

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



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread maxim wexler
 
 Ah, you may have to get a later version of KDE 3.5
 before going any
 farther.  I had 3.5.8 on mine and had no blocks with
 it.  Want my
 package.keywords and package.unmask files.

Ok, I copied over your files. Ran #update-eix and
#eix-sync. Then #emerge autounmask and ran

#autounmask kde-base/kde-meta-4.0.0 

which completed w/o error.

$eix kde picks up the new version:

...
* kde-base/kde
 Available versions:  3.5.5:3.5 3.5.6:3.5
3.5.7:3.5 3.5.8:3.5 [M]4.0.0:kde-4
 Installed:   3.5.2
 Homepage:http://www.kde.org/
 Description: KDE - merge this to pull in
all non-developer kde-base/* packages
...

So far so good. But:

localhost heathen # emerge -pv kde

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] kde-base/arts-3.5.8 [3.5.2-r1]
USE=alsa esd* mp3 vorbis -artswrappersuid -debug*
-jack -kdeenablefinal -nas -xinerama
(-kdehiddenvisibility%) 949 kB
[ebuild  N] dev-libs/libgpg-error-1.6  USE=-nls
374 kB
[ebuild U ] dev-libs/libxslt-1.1.22 [1.1.15]
USE=python -crypt -debug* (-static%) 2,718 kB
[ebuild U ] app-text/ghostscript-esp-8.15.3
[7.07.1-r8] USE=X cups gtk xml%* -cjk -threads%
(-emacs%) 8,580 kB
[ebuild  N] dev-libs/pth-2.0.7-r1  USE=-debug
638 kB
[ebuild U ] media-libs/freetype-2.3.5-r2
[2.1.10-r3] USE=X%* -bindist -debug% -doc -utils%
(-zlib%*) 1,250 kB
[ebuild  N] net-misc/mDNSResponder-107.6-r5 
USE=-debug -doc -java 1,408 kB
[ebuild U ] media-libs/libmng-1.0.9-r1 [1.0.8-r1]
USE=-lcms% 542 kB
[ebuild  N] dev-libs/dbus-glib-0.73  USE=-debug
-doc (-selinux) 630 kB
[ebuild U ] sys-apps/pciutils-2.2.8 [2.2.0-r1]
USE=zlib%* -network-cron% 228 kB
[ebuild  N] sys-apps/dmidecode-2.9  48 kB
[ebuild U ] dev-util/intltool-0.35.5 [0.34.1] 132
kB
[ebuild  N] x11-apps/xprop-1.0.3  USE=-debug 105
kB
[ebuild  N] x11-apps/xmessage-1.0.2  USE=-debug
-xprint 93 kB
[ebuild  N] x11-apps/xsetroot-1.0.2  USE=-debug
87 kB
[ebuild U ] sys-apps/eject-2.1.5-r1 [2.1.0-r1]
USE=-nls 121 kB
[ebuild  N] x11-libs/libXfontcache-1.0.4 
USE=-debug 210 kB
[ebuild  N] www-misc/htdig-3.2.0_beta6-r3 
USE=ssl 3,033 kB
[ebuild  N] dev-db/sqlite-3.5.3  USE=threadsafe
-debug -doc -soundex -tcl 2,024 kB
[ebuild  N] net-misc/netkit-talk-0.17-r4 
USE=ipv6 37 kB
[ebuild U ] x11-libs/qt-3.3.8-r4 [3.3.4-r8]
USE=cups gif ipv6 opengl -debug* -doc -examples
-firebird -immqt -immqt-bc -mysql -nas -nis% -odbc
-postgres -sqlite -xinerama 16,986 kB
[ebuild  N] dev-libs/libgcrypt-1.4.0-r1 
USE=-bindist -idea -nls 943 kB
[ebuild  N] virtual/ghostscript-0  0 kB
[ebuild  N] dev-libs/libassuan-1.0.4  291 kB
[ebuild  N] x11-apps/xset-1.0.3  USE=-debug 101
kB
[ebuild  N] app-pda/libopensync-0.22  USE=python
-debug -doc 479 kB
[ebuild U ] kde-base/kdelibs-3.5.8-r3 [3.5.2-r6]
USE=alsa arts cups fam%* -acl -avahi% -bindist%
-branding% -debug* -doc -jpeg2k -kdeenablefinal
-kdehiddenvisibility -kerberos -legacyssl -lua%
-openexr -spell -tiff -utempter% -xinerama (-ssl%*)
(-zeroconf%) 15,221 kB
[ebuild  N] app-crypt/pinentry-0.7.4-r1  USE=gtk
ncurses qt3 -caps 407 kB
[ebuild  N] dev-libs/libksba-1.0.2-r1  514 kB
[ebuild  N] dev-libs/dbus-qt3-old-0.70 
USE=-debug 216 kB
[ebuild U ] kde-base/kdemultimedia-3.5.8-r1
[3.5.2-r2] USE=alsa arts encode mp3 vorbis -akode
-audiofile -debug* -flac -gstreamer -kdeenablefinal
-theora -xine -xinerama (-kdehiddenvisibility%)
(-musicbrainz%) 6,169 kB
[ebuild  N] app-crypt/gnupg-2.0.7  USE=ldap
-bzip2 -doc -nls -openct -pcsc-lite (-selinux)
-smartcard 3,526 kB
[ebuild  N] kde-base/kdeedu-3.5.8  USE=arts
-debug -kdeenablefinal -kig-scripting -solver
-xinerama 29,452 kB
[ebuild U ] kde-base/kdetoys-3.5.8 [3.5.2]
USE=arts -debug* -kdeenablefinal -kdehiddenvisibility
-xinerama 3,193 kB
[ebuild U ] kde-base/kdewebdev-3.5.8-r1 [3.5.2]
USE=arts -debug* -doc -kdeenablefinal
-kdehiddenvisibility -tidy -xinerama 5,914 kB
[ebuild  N] app-crypt/gpgme-1.1.6  939 kB
[ebuild  N] sys-apps/hal-0.5.9.1-r3  USE=-acpi
-crypt -debug -dell -disk-partition -doc -pcmcia
(-selinux) 1,564 kB
[ebuild  N] app-misc/hal-info-20070618  117 kB
[ebuild U ] kde-base/kdebase-3.5.8-r6 [3.5.2-r2]
USE=arts cups hal* ieee1394 ldap* opengl pam
-branding% -debug* -java -joystick% -kdeenablefinal
-kdehiddenvisibility -lm_sensors -logitech-mouse
-openexr -samba -xcomposite -xinerama -xscreensaver
(-ssl%*) (-zeroconf%) 23,671 kB
[ebuild U ] kde-base/kdepim-3.5.8 [3.5.2-r2]
USE=arts -debug* -gnokii -kdeenablefinal -pda
-xinerama (-crypt%) (-kdehiddenvisibility%) 13,908 kB
[ebuild U ] kde-base/kdegames-3.5.8 [3.5.2]
USE=arts -debug* -kdeenablefinal -kdehiddenvisibility
-xinerama 10,527 kB
[ebuild U ] kde-base/kdenetwork-3.5.8 [3.5.2]
USE=arts ssl -debug* -jingle% -kdeenablefinal
-kdehiddenvisibility -rdesktop -sametime -slp -wifi
-xinerama (-xmms%*) 9,119 kB
[ebuild U ] kde-base/kdeartwork-3.5.8 [3.5.2]

Re: [gentoo-user] KDE4.0?

2008-01-24 Thread James Ausmus
On Jan 24, 2008 8:42 PM, maxim wexler [EMAIL PROTECTED] wrote:

snip

 #eix-sync. Then #emerge autounmask and ran

 #autounmask kde-base/kde-meta-4.0.0

 which completed w/o error.

 $eix kde picks up the new version:

 ...
 * kde-base/kde
  Available versions:  3.5.5:3.5 3.5.6:3.5
 3.5.7:3.5 3.5.8:3.5 [M]4.0.0:kde-4
  Installed:   3.5.2
  Homepage:http://www.kde.org/
  Description: KDE - merge this to pull in
 all non-developer kde-base/* packages
 ...

 So far so good. But:

 localhost heathen # emerge -pv kde

snip

You autounmask'd kde-meta, but you're trying to emerge kde - you need
to to one or the other - kde-meta is kde split up into mutliple small
packages, kde is the old monolithic way of building kde - less builds,
but *much* larger builds per package, as it's actually building many
different applications per single ebuild.

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



Re: [gentoo-user] tone generator

2008-01-24 Thread Michael Higgins
On Thu, 24 Jan 2008 20:15:14 -0800 (PST)
maxim wexler [EMAIL PROTECTED] wrote:

  something like this should do it:
  
  gcc -D LINUX -include string.h -lm -o tonegen
  tonegen.c
  
 
 Yup. Thanks Iain.

++

Very handy. ;-)

-- 
 |\  /||   |  ~ ~  
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Bo Ørsted Andresen
On Thursday 24 January 2008 21:33:12 Dale wrote:
 I emerged autounamsk and used the command autounmask
 kde-base/kde-meta-4.0.0 without the quotes of course.  There may be a
 block or two.  I had one that involved qt.  I also had to mask qt 4.4
 since it does not have dbus support.

Which is rather pointless given that the KDE docs provides example
package.{keywords,unmask} files...

http://www.gentoo.org/proj/en/desktop/kde/kde4.xml


-- 
Bo Andresen


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


Re: [gentoo-user] Polymake Ebuild and general questions

2008-01-24 Thread Bo Ørsted Andresen
On Sunday 20 January 2008 17:57:51 Thomas Kahle wrote:
 I've written an ebuild for a math-software called polymake
 (www.math.tu-berlin.de/polymake).
 You find it attached. You have to digest it yourself to use.
 (ebuild polymake-2.3.ebuild digest)
 Maybe some people could test it (on amd64 for instance...).

 Now some questions:

 1.) The Program uses non-autotools self made configuration via make
 configure. Currently the Ebuild will ask questions to the user, which I
 want to prevent. How can i get around this?
 Is there some Bash trick to answer all questions with Enter ?
 2.) The program needs to be rebuild after an upgrade of dev-lang/perl.
 How can i implement this in the ebuild ?
 3.) Is there any chance that, after testing, this will land in the
 portage tree ? How can I do this,
 -email to dev-mailinglist?
 -bugzilla ?
 - ... ???

I know you've already gotten help on other mailing lists so I'm posting this 
for the benefit of other gentoo-user readers. A gentoo-devhelp mailing list 
was created last week. This is now the correct list for this kind of 
questions. :)

http://www.gentoo.org/main/en/lists.xml

-- 
Bo Andresen


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


Re: [gentoo-user] KDE4.0?

2008-01-24 Thread Dale
Bo Ørsted Andresen wrote:
 On Thursday 24 January 2008 21:33:12 Dale wrote:
   
 I emerged autounamsk and used the command autounmask
 kde-base/kde-meta-4.0.0 without the quotes of course.  There may be a
 block or two.  I had one that involved qt.  I also had to mask qt 4.4
 since it does not have dbus support.
 

 Which is rather pointless given that the KDE docs provides example
 package.{keywords,unmask} files...

 http://www.gentoo.org/proj/en/desktop/kde/kde4.xml


   

But I didn't know that.  LOL  The home page stayed the same so long I
stopped going to it.  o_O

Dale

:-)  :-) 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tone generator

2008-01-24 Thread Jan Seeger
On Thu, 24. Jan, maxim wexler spammed my inbox with 
 Hi group,
 
 Anybody know of a gentoo/linux tone generator that
 will output test tones, sine waves, triangle waves and
 the like.
 
 Prefer command line/ncurses.
Not sure if that's what you want, but speaker-test from alsa-utils can generate 
sine waves, pink and
white noise.

Regards,
Jan Seeger
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] ati-drivers 8.452.1

2008-01-24 Thread Iain Buchanan
or 8-01 as the package is called... Has anyone tried them yet?

With a bit of tweaking the previous ebuild, I managed to install them.
So far they're no worse than 8.40.4 (8.443.1 is unusable for me because
I have a 1680x1050 resolution which the driver doesn't support!), but
they're not as good as the glory days of 8.3?.? where I had much greater
fps and GL screensavers actually worked.

Anyway, I'm seeing this when I run glxgears:
Xlib:  extension XFree86-DRI missing on display :0.0.

And this when I run fgl_glxgears:
Using GLX_SGIX_pbuffer
Xlib:  extension XFree86-DRI missing on display :0.0.
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  161 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  30
  Current serial number in output stream:  30

There are a few X errors too:

$  grep EE /var/log/Xorg.0.log 
Current Operating System: Linux orpheus 2.6.22-suspend2-r1 #2 SMP PREEMPT Fri 
Aug 24 10:17:53 CST 2007 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) fglrx(0): [pcie] Failed to gather memory of size 262144Kb for PCIe. Error 
(-1007)
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. 
(EE) xf86OpenSerial: Cannot open device /dev/input/mouse3
(EE) USBmouse2: cannot open input device
(EE) PreInit failed for input device USBmouse2
(EE) xf86OpenSerial: Cannot open device /dev/input/mouse4
(EE) USBmouse3: cannot open input device
(EE) PreInit failed for input device USBmouse3
(EE) xf86OpenSerial: Cannot open device /dev/input/mouse5
(EE) USBmouse4: cannot open input device
(EE) PreInit failed for input device USBmouse4
(EE) Microsoft Natural? Ergonomic Keyboard 4000: AbsoluteTouch: 'DIGI_Touch' 
does not exist.
(EE) AlpsPS/2 ALPS GlidePoint: Unable to parse 'RelAxis 0' as a map specifier.
(EE) AlpsPS/2 ALPS GlidePoint: Unable to parse 'RelAxis 1' as a map specifier.
(EE) AlpsPS/2 ALPS GlidePoint: Button: 74.
(EE) AlpsPS/2 ALPS GlidePoint: state-btn: 0x853d128.
(EE) AlpsPS/2 ALPS GlidePoint: Unable to parse 'null' as a map specifier string.
(EE) AlpsPS/2 ALPS GlidePoint: Unable to parse 'null' as a map specifier string.

so I'm having a few issues.  Of course, 3D performance is horrible.
I've tried searching various forums, but I can't find anything that
fixes the dri error.  I've checked xorg.conf has Load dri and
Section DRI
Groupvideo
Mode 0666
EndSection

and also `eselect opengl set ati` has been done.

any help would greatly appreciated! thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

I'd like to know if I could compare you to a summer's day. Because --
well, June 12th was quite nice, and...
-- (Terry Pratchett, Wyrd Sisters)

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



Re: [gentoo-user] ati-drivers 8.452.1

2008-01-24 Thread Iain Buchanan
On Fri, 2008-01-25 at 16:54 +0930, Iain Buchanan wrote:
 or 8-01 as the package is called... Has anyone tried them yet?

I know I should have tried this before I posted, but I just rebooted,
and now glxgears, fgl_glxgears, and GL screensavers just segfault.

at least all fglrx errors have gone from /var/log/Xorg.0.log

thanks for any help,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The reason why worry kills more people than work is that more people
worry than work.

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