[gentoo-user] Can't build wine

2006-04-20 Thread Justin Hart
Anybody know what this error is about?  I can't seem to build wine.

i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -march=pentium4 -pipe -O2 -o y.tab.o y.tab.c
flex -Cf  -d -8 ./parser.l
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
-DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -march=pentium4 -pipe -O2 -o lex.yy.o lex.yy.c
lex.yy.c:9174: error: syntax error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:9175: error: number of arguments doesn't match prototype
lex.yy.c:367: error: prototype declaration
lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from
integer without a cast
lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer
from integer without a cast
./parser.l: At top level:
lex.yy.c:8687: warning: `yyunput' defined but not used
lex.yy.c:9266: warning: `yy_top_state' defined but not used
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory
`/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-20050725-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  wine-20050725-r1.ebuild, line 133:   Called die

!!! depend
!!! If you need support, post the topmost build error, and the call
stack if relevant.



--
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] partitioning for multimedia performance and dual-booting linux/windex

2006-04-20 Thread Neil Bothwick
On Wed, 19 Apr 2006 18:11:55 -0700, Robert Persson wrote:

 Am I correct in understanding that I can use LVM2 to stripe a volume
 across more than one disk, just like a raid 0 setup, even if the disks
 are quite dissimilar? Would it be possible (or worthwhile) to allocate
 my old 40GB disk and a portion of my new disk (say another 40GB) to a
 single logical volume to be used as a fast audio and video
 scratchspace? (For Linux, that is -- I am aware that it wouldn't be
 accessible from Windows). I would keep the rest of disk in normal
 partitions to reduce the risk of losing all my data to disk failure.

It is perfectly possible, but performance may suffer if one disk is
slower than the other, compared with using the fast disk alone. Another
option may be to use the old disk for the operating systems and the new
one for data. Speed of the OS disk only affects program loading time,
you would then get maximum performance when using the programs.  


-- 
Neil Bothwick

Hot glass looks exactly the same as cold glass.


signature.asc
Description: PGP signature


[gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Christopher E
sorry if you are geting this twice as I have also posted to the amd64 list

Hello All,

I figure I will also give this information to this list as I was asked
some questions from the amd list.

Frist part is this is not a live cd, it is booting off of the hard drive.

Next thing is all of the stuff here loaded right when usings a livecd,
I got the list by doing a lsmod and then writeing them into the file
that coldplug uses to automatic load them as this is the stuff that
the live cd loaded / detected.

The hard drives that are being used is SATA (in the bios I have it as
IDE as I don't care to use raid or arrays, the motherboard is a Asus
K8V Delux SE (its the one with talking boot up and also the one that
has a wireless card slot init)

If there is any more questions I could answer to help with figureing
out these issue please ask!

Sincerely,
Christopher


On 4/20/06, Mark Haney [EMAIL PROTECTED] wrote:
 Christopher E wrote:
  hello All,
 
  I have been for the last couple of days (4) days trying to get this
  system up and running and I am having a number of probs and below is a
  list of them
 
  I get all these errors when booting up:
 
  !! The root block device is unspecified or not detected
  at the prompte I can type in /dev/sda6 and it will boot then the
  following comes after this
 
  mkdir: Cannot creat directory '/newroot/tmp/.initrd':
 
 Looks to me like the install disk can't find a hard drive.  What kind of
 hard drive/system is this?  The other failures I think are pretty common
 on most boot/install/live media as it tries to load many different
 modules to get a basic system up for you to continue the install.

  Failed to load pcspkr [!!]
  Failed to load skge
  Failed to load ati_remote
  Failed to load dm_mirror
  Failed to load dm_mod
  Failed to load pdc_adma
  Failed to load sata_mv
  Failed to load ahci
  Failed to load sata_qstor
  Failed to load sata_uli
  Failed to load sata_sil24
  Failed to load lidata
  Failed to load sl811_hcd
  Failed to load usbcore
 
  Sincerely,
  christopher
 
  PS: this help is NOT for personal or commaul gain its for a non-profit
  org project
 
 


 --
 Interdum feror cupidine partium magnarum Europae vincendarum

 Mark Haney
 Sr. Systems Administrator
 ERC Broadband
 (828) 350-2415

 --
 gentoo-amd64@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread jarry
Christopher E [EMAIL PROTECTED] wrote:

 the motherboard is a Asus K8V Delux SE

I had a similar problem with Asus A8V, sata disk not recognised.
Later I found out that southbridge (VT8251) was not supported...

On your mobo there is VIA VT8237 southbridge, check if this is
supported by kernel (kernel-sources). If not, you have to patch
kernel first to get your sata-drive recognised...

Anyway, for installation I had to use p-ata disk (this was
detected by livecd-kernel), install linux on it, patch kernel,
then sata-disk was recognised, and finally install on sata disk...

BTW, try to switch your sata to ahci. Sometimes helps.
But in my case it was definitely not supported southbridge...

Jarry

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't build wine

2006-04-20 Thread Matthias Langer
On Thu, 2006-04-20 at 03:12 -0400, Justin Hart wrote:
 Anybody know what this error is about?  I can't seem to build wine.
 
 i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
 -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
 -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
 -Wpointer-arith  -march=pentium4 -pipe -O2 -o y.tab.o y.tab.c
 flex -Cf  -d -8 ./parser.l
 i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
 -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
 -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
 -Wpointer-arith  -march=pentium4 -pipe -O2 -o lex.yy.o lex.yy.c
 lex.yy.c:9174: error: syntax error before numeric constant
 lex.yy.c: In function `yy_scan_string':
 lex.yy.c:9175: error: number of arguments doesn't match prototype
 lex.yy.c:367: error: prototype declaration
 lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from
 integer without a cast
 lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer
 from integer without a cast
 ./parser.l: At top level:
 lex.yy.c:8687: warning: `yyunput' defined but not used
 lex.yy.c:9266: warning: `yy_top_state' defined but not used
 make[2]: *** [lex.yy.o] Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools/wrc'
 make[1]: *** [wrc] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools'
 make: *** [tools] Error 2
 
 !!! ERROR: app-emulation/wine-20050725-r1 failed.
 Call stack:
   ebuild.sh, line 1532:   Called dyn_compile
   ebuild.sh, line 929:   Called src_compile
   wine-20050725-r1.ebuild, line 133:   Called die
 
 !!! depend
 !!! If you need support, post the topmost build error, and the call
 stack if relevant.
 
 
 
 --
 Justin W. Hart
 

Well, version 20050725-r1 is hardmasked, as it seems for good reasons.
If you want to try the latest version, go for 0.9.12 (just released a
few days ago) - it works fine for me. Otherwise try the currently stable
version 0.9.8-r1 which should also be newer than 20050725-r1.

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Christopher E
Hello Jarry,

I am able to get into the system with the current setup that is the
strange thing, I am NOT using the liveCD any more, I am booting using
GRUB, it loads the kernel and then it prompts me for a root block
device and then I enter /dev/sda6  --- this is my sata drive and when
I do this it mounts the root (sda6 is my root partition) my boot is
/dev/sda1

Does this change any thing seeing I am able to do the above?  if so
what should I do?

Sincerely,
christopher

On 4/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Christopher E [EMAIL PROTECTED] wrote:

  the motherboard is a Asus K8V Delux SE

 I had a similar problem with Asus A8V, sata disk not recognised.
 Later I found out that southbridge (VT8251) was not supported...

 On your mobo there is VIA VT8237 southbridge, check if this is
 supported by kernel (kernel-sources). If not, you have to patch
 kernel first to get your sata-drive recognised...

 Anyway, for installation I had to use p-ata disk (this was
 detected by livecd-kernel), install linux on it, patch kernel,
 then sata-disk was recognised, and finally install on sata disk...

 BTW, try to switch your sata to ahci. Sometimes helps.
 But in my case it was definitely not supported southbridge...

 Jarry

 --
 Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
 Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Looking for best tutorial on creating initramfs

2006-04-20 Thread Johnson, Maurice E CTR NSWCDL-K74
Title: Looking for best tutorial on creating initramfs






Need to find a better tutorial on initramfs. One that doesn't rely on tools that automate the process.





Re: [gentoo-user] Looking for best tutorial on creating initramfs

2006-04-20 Thread Dirk Heinrichs
Am Donnerstag, 20. April 2006 15:05 schrieb ext Johnson, Maurice E CTR 
NSWCDL-K74:
 Need to find a better tutorial on initramfs. One that doesn't rely on
 tools that automate the process.

Better than what?

Bye...

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


pgp1LD2TI8PhH.pgp
Description: PGP signature


Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Richard Fish
On 4/20/06, Christopher E [EMAIL PROTECTED] wrote:
 I am able to get into the system with the current setup that is the
 strange thing, I am NOT using the liveCD any more, I am booting using
 GRUB, it loads the kernel and then it prompts me for a root block
 device and then I enter /dev/sda6  --- this is my sata drive and when
 I do this it mounts the root (sda6 is my root partition) my boot is
 /dev/sda1

What does /boot/grub/grub.conf contain?

-Richard

PS. Please don't top post on this list.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for best tutorial on creating initramfs

2006-04-20 Thread Hans-Werner Hilse
Hi,

On Thu, 20 Apr 2006 08:05:50 -0500 Johnson, Maurice E CTR NSWCDL-K74
[EMAIL PROTECTED] wrote:

 Need to find a better tutorial on initramfs. One that doesn't rely on
 tools that automate the process.

In fact, an initramfs doesn't differ much from other root fs'es.
Physically, it is a gzipped cpio archive. The kernel will compile it
into the kernel itself if you tell it so (kernel configuration:
configure a patch for initramfs data). If you want to create it
manually and load it like a ram disk (i.e. use the boot loader to pass
the initramfs to the kernel) you can rely on a script that is in
your kernels ./scripts/ directory and an executable that gets compiled
in ./usr/ like this:

gen_initramfs_list.sh /path/to/initramfs/data | gen_init_cpio /dev/stdin | gzip 
-9  initramfs.gz

Inside the initramfs you can create a userland. Kernel's entry point
will be /init, which is supposed to be executable.

You'll want to read

/usr/src/linux/Documentation/early-userspace/README

for the basics and then read

/usr/src/linux/Documentation/initrd.txt
(be careful to ignore the first part which is only initrd specific).

You can put anything you want into your initramfs. If it's just some
simple script that should be run, you're probably done with a
statically compiled busybox executable and /init being a shell
script. At the end of the script, you'll want to pivot_root into the
real root filesystem and maybe delete initramfs data afterwards.

I've never found really good documentation, but everything just works
as expected. There's really nothing special with initramfs.

Feel free to ask more questions here.

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



Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread jarry
Christopher E [EMAIL PROTECTED] wrote:

 I am able to get into the system with the current setup that is the
 strange thing, I am NOT using the liveCD any more, I am booting using
 GRUB, it loads the kernel and then it prompts me for a root block

Well, I'm not using GRUB, but I think that the way GRUB
reads disks has very little (if anything) common with linux. 
Not only it gives different names to disk-partitions, grub
is like mini-OS, which uses its own routines. It can be
that GRUB sees disks/partitions differently, than linux...

lilo has been designed as LInux LOader. If lilo can see some
disks/partitions, linux kernel can find them too (and vice-versa).
But this is sometimes not true for GRUB...

Jarry

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] lan-http-replicator docs

2006-04-20 Thread James
Hello

http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator

seems to be woefully out of date. I just had my lan-http-replicator
server die and it took a while to figure out how to turn it off replicator
(on a client machine) I had to look at /etc/profile.env and then issue:

export http_proxy=''

The file /etc/profile.env tells us to edit /etc/profile to make changes
but it's just a script. Where do I turn off 'export 
http_proxy='192.168.2.9:8080'
permanently so that it survives a system reboot? I.E. I do not want the
client using LAN-Http-Replicator for a while... It's been so long since I set
this up, and my (unreliable) memory tells me I had to hack at it extensively
to get it to work, a very long time ago.

Suggestions and newer docs are most welcome.


James





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lan-http-replicator docs

2006-04-20 Thread Anielkis
i recommend you to use torpage
  http://www.kroon.co.za/torpage.php
-- 

   Ing. Anielkis Herrera González
 Desarrollador de Nova LNX
 Linux User #377809

Universidad de las Ciencias Informáticas
Cuba


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Richard Fish
On 4/20/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Well, I'm not using GRUB, but I think that the way GRUB
 reads disks has very little (if anything) common with linux.
 Not only it gives different names to disk-partitions, grub
 is like mini-OS, which uses its own routines. It can be
 that GRUB sees disks/partitions differently, than linux...

 lilo has been designed as LInux LOader. If lilo can see some
 disks/partitions, linux kernel can find them too (and vice-versa).
 But this is sometimes not true for GRUB...

No. both grub and lilo work through the system BIOS.  Neither can
'see' things not provided through the system BIOS.

But grub and lilo do work very differently in their 'normal'
configurations.  Lilo records absolute disk blocks where the kernel is
located, and loads the kernel directly from those blocks.  This is why
you have to re-run lilo every time you update your kernel.

Grub however has some knowledge of filesystems, so can actually read
the filesystem that contains the kernel to determine what blocks to
load.  So it is possible (not so much today, but in years past) to use
a filesystem that linux understands but grub does not.

-Richard



 Jarry

 --
 Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
 Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] portage question

2006-04-20 Thread Dan LaMotte
anyone know if you can compile something locally into your home
directory using portage without being root?

basically what I want to accomplish is like...

ROOT=/home/lamotte/compile emerge openssh

or

ebuild /path/to/ebuild/ merge


I would basically like to be able to install something without being
root into a local home directory.

I hope this makes sense.

Thanks.

-- 
# - dan lamotte -- lamotte {at} cs.umn.edu - #
## - systems staff - pub 1024D/0852A280 - cs department - 
### fpr: 690F C162 4AE5 F85F FE94 88E5 D123 FBAC 0852 A280 ###
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Jarry

Richard Fish wrote:


No. both grub and lilo work through the system BIOS.  Neither can
'see' things not provided through the system BIOS.


Are you absolutely sure about lilo?
lilo used bios for disk sector read, but I think is not using
anymore (quite a long time). Thanks to that you can have
/boot (more exactly, kernel) wherever you want.

int13h is called with following registers:
AH: 02h (read sectors from drive)
CH + 2low bits from CL: cylinder number (0-1023)
rest 6bits from CL: sector number (1-63)
DH: head (1-255)

That's the famous 8-GB limit (and there are some more, equally
famous), where you had to install kernel with old lilo to be
able to boot it. But at least a couple of years there is no such
a limit with lilo. I think I have read somewhere that lilo is
not using bios for disk-access anymore. I'll try to dig it out...

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



Re: [gentoo-user] portage: config's

2006-04-20 Thread louis brazeau
On 4/19/06, Maxime Robert-Schreyers [EMAIL PROTECTED] wrote:
 Dan LaMotte wrote:

 I use the /etc/portage/package.* files for unmasking packages.
 
 Just curious if there were any packages out there to help keep those
 files organized.  Basically, if the package comes out of package.mask,
 is there an easy way to take it out of those package.* files also.
 
 Also, if there are packages in those files that are outdated... an easy
 way to remove them.
 
 For instance:
 
 right now i have
 =mail-client/mozilla-thunderbird-1.5 ~x86
 
 in my /etc/portage/package.keywords
 
 When it comes out of ~x86 ... is there a script to just clean those out?
 
 If not I'll probably make one, but i'd rather not reinvent the wheel.
 
 Thanks.
 
 
 
 That would come in handy.
 I've googled a bit, but either i missed it or it doesn't exist... yet.
 If you do develop something, or find something useful, let me know. If
 you need/want help too.
 What language are you planning to use ?

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



Someone is working on that already. See this forum thread :
  http://forums.gentoo.org/viewtopic-t-302999.html

--
Louis Brazeau
Informaticien

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Question about 2006.0 and order of NIC detectio n

2006-04-20 Thread Sieb, Glenn E (Glenn)
Hi Jeremy,

 Sieb, Glenn E (Glenn) wrote:
  Is there a way I can change this so that eth0/1 are the on-board 
  ports? It will save me lots of headaches later. :)
 
 You are looking for udev. Udev will create names for devices 
 (USB drives, NICs, etc)
 
 http://www.gentoo.org/doc/en/udev-guide.xml
 http://www.reactivated.net/writing_udev_rules.html

Thanks for the links--I took a look through this stuff, and though it's (very) 
nifty, it isn't quite what I want.

This seems to only help if I have *one* machine that I want to rename my NICs 
on. 

I want my NICs to come up on *all* my servers:

Motherboard (tg3) NICs first: eth0  eth1
PCI (e1000) NICs second: eth2  eth3

I can do this if I write udev rules for every separate server, and then on 
every new server I build I have to go change the udev rules to match the MAC 
addresses for that box. Not quite what I had in mind for this. 

Maybe /etc/modules.autoload.d/kernel-2.6 is what I want? If I put tg3 in there, 
it then loads tg3 before e1000, thus giving the tg3 interfaces eth0  eth1. 

However, before I broadcast that change to all of my boxes, I want to be sure 
this isn't the wrong way of doing this.

Thanks in advance!
Best,
--Glenn

--
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ndiswrapper module problem

2006-04-20 Thread Fernando Meira
Hi,

after updating ndiswrapper to version 1.13 i became unable to use it.
I get this in dmesg:
ndiswrapper: Unknown symbol wrap_suspend_urbs
ndiswrapper: Unknown symbol wrap_resume_urbs

Assuming that the problem could be departing from the upgrade, I downgrade it to 1.11, but could not solve the problem.* Attempting to automatically reinstall any Windows drivers

* you might already have.
* Driver: lsbcmnds
Installing lsbcmnds
couldn't copy /tmp/lsbcmnds/lsbcmnds.inf at /usr/sbin/ndiswrapper line 139.
* Driver: modules.ndiswrapper
Installing modules.ndiswrapper
couldn't copy /tmp/modules.ndiswrapper/modules.ndiswrapper.inf at /usr/sbin/ndiswrapper line 139.
 net-wireless/ndiswrapper-1.11 merged.

Trying to re-install the driver also does not work properly:
# ndiswrapper -i lsbcmnds
Installing lsbcmnds
couldn't copy lsbcmnds at /usr/sbin/ndiswrapper line 139.

although it shows up when listing the drivers installed:
# ndiswrapper -l
Installed drivers:
lsbcmnds invalid driver!
modules.ndiswrapper invalid driver!

Anyone knows what could be the problem?

Thanks,
Fernando



[gentoo-user] OT: loooong delay with keyboard

2006-04-20 Thread Matias Grana
hi;
a mate at work is using KDE (actually, he has Slackware, not Gentoo,
but I guess it's the same). All of a sudden, a strange thing happened:
When he logs in his account, the keyboard has a really long delay (about
half a second) to echo each pressed key. So to write, say, 'no', he has
to press the 'n', hold it for 1/2 second, then the 'o', hold it for 1/2
second, and that's it.
This happens in only one account, the others are unaffected.

Does someone here know what the problem might be?

TIA,
Matias
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] System unusable after updating lvm

2006-04-20 Thread lgouv
After updating  lvm2 from 2.02.02 to 2.02.03, the system mount / which
is on a primary partition but frefus to mount /usr,/var,/home and /tmp.
On the console I see: 
Setting up the logical volume manager
Volume group for uuid not found: m6reV.(four times)
Any idea?
Thanks
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT: loooong delay with keyboard

2006-04-20 Thread Francesco Talamona
On Thursday 20 April 2006 20:50, Matias Grana wrote:
 hi;
 a mate at work is using KDE (actually, he has Slackware, not Gentoo,
 but I guess it's the same). All of a sudden, a strange thing
 happened: When he logs in his account, the keyboard has a really long
 delay (about half a second) to echo each pressed key. So to write,
 say, 'no', he has to press the 'n', hold it for 1/2 second, then the
 'o', hold it for 1/2 second, and that's it.
 This happens in only one account, the others are unaffected.

 Does someone here know what the problem might be?

 TIA,
 Matias

Check for SlowKeys=true in [Keyboard] section of 
~/.kde/share/config/kaccessrc.

Ciao
Francesco

-- 
Linux Version 2.6.16-gentoo-r2, Compiled #1 PREEMPT Thu Apr 13 07:09:30 
CEST 2006
One 1.8GHz AMD Athlon 64 Processor, 2GB RAM, 3613.22 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: loooong delay with keyboard

2006-04-20 Thread Benno Schulenberg
Matias Grana wrote:
 thing happened: When he logs in his account, the keyboard has a
 really long delay (about half a second) to echo each pressed key.

KDE Control Center  Regional ...  Accessibility  
Keyboard Filters  Slow Keys.

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



Re: [gentoo-user] OT: loooong delay with keyboard

2006-04-20 Thread Mantas Povilaitis
On 4/20/06, Matias Grana [EMAIL PROTECTED] wrote:
 hi;
 a mate at work is using KDE (actually, he has Slackware, not Gentoo,
 but I guess it's the same). All of a sudden, a strange thing happened:
 When he logs in his account, the keyboard has a really long delay (about
 half a second) to echo each pressed key. So to write, say, 'no', he has
 to press the 'n', hold it for 1/2 second, then the 'o', hold it for 1/2
 second, and that's it.
 This happens in only one account, the others are unaffected.

 Does someone here know what the problem might be?

maybe

Control center - Regional  Accessibility - Accessibility - Keyboard

Slow keys
 If this option is enabled, the user must hold the key down for a
specified period of time (adjustable with the slider) before the
keystroke will be accepted. This helps prevent accidental key strokes.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Install help

2006-04-20 Thread Bob Bao
 
Hi.
 
I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
website. After couple time trying, finally I successfully complete the
installing. But,  after log in, I only get a xterm window and a session
window. I think suppose I should get a graphic user interface like boot
Thanks.
 
Bob Bao

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: System unusable after updating lvm

2006-04-20 Thread Christer Ekholm
[EMAIL PROTECTED] writes:

 After updating  lvm2 from 2.02.02 to 2.02.03, the system mount / which
 is on a primary partition but frefus to mount /usr,/var,/home and /tmp.
 On the console I see: 
 Setting up the logical volume manager
 Volume group for uuid not found: m6reV.(four times)
 Any idea?

Happened to me too. I had to boot from livecd to copy lvm and some
libs to get it up again. (I used ldd lvm to see which libs i needed
also).

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



Re: [gentoo-user] Install help

2006-04-20 Thread Christoph Eckert

 I think suppose I should get a graphic user interface

I) think the first thing is to configure X (/etc/X11/xorg.conf). THen 
try startx.


Best regards


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



Re: [gentoo-user] Install help

2006-04-20 Thread John Jolet



On 4/20/06 2:25 PM, Bob Bao [EMAIL PROTECTED] wrote:

  
 Hi.
  
 I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
 website. After couple time trying, finally I successfully complete the
 installing. But,  after log in, I only get a xterm window and a session
 window. I think suppose I should get a graphic user interface like boot
 Thanks.
  
 Bob Bao
I'm not sure why you'd expect that to happen...unless as part of your
install process you did an emerge kde-meta or gnome?  I think it sounds like
you did an emerge X11 and got twn.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread brettholcomb
You have to install X and a window manager or app like KDE to get that.  
 
 From: Bob Bao [EMAIL PROTECTED]
 Date: 2006/04/20 Thu PM 03:25:28 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Install help
 
  
 Hi.
  
 I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
 website. After couple time trying, finally I successfully complete the
 installing. But,  after log in, I only get a xterm window and a session
 window. I think suppose I should get a graphic user interface like boot
 Thanks.
  
 Bob Bao
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Daniel da Veiga
On 4/20/06, Bob Bao [EMAIL PROTECTED] wrote:

 Hi.

 I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
 website. After couple time trying, finally I successfully complete the
 installing. But,  after log in, I only get a xterm window and a session
 window. I think suppose I should get a graphic user interface like boot

Do you know how X works and what is a Window Manager? Check:
http://www.gentoo.org/doc/en/xorg-config.xml
(but I suppose you already have X configured, since you can at least login)

And after that, choose one of these and follow instructions...
http://www.gentoo.org/doc/en/kde-config.xml
http://www.gentoo.org/doc/en/gnome-config.xml
http://www.gentoo.org/doc/en/fluxbox-config.xml

That's the best we can do, you must understand HOW X works with the
Window Manager in order to get a GUI.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Farhan Ahmed
Bob Bao wrote:
  
 Hi.
  
 I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
 website. After couple time trying, finally I successfully complete the
 installing. But,  after log in, I only get a xterm window and a session
 window. I think suppose I should get a graphic user interface like boot


Hi Bob and welcome to Gentoo,
Which graphic desktop you have installed? If its plain X server
(i.e., xorg-x11) then you'll get a very basic desktop, which you
obviously dont want. If you installed kde, then probaby you've not
modified your .xinitrc file. Execute this command from from console,

echo exec startkde  ~/.xinitrc

next time you execute 'startx', kde will startup.

for GNOME, execute this command first

echo exec gnome-session  ~/.xinitrc

then startx will bring gnome up. For more info on other desktop's
checkout the Gentoo docs at http://www.gentoo.org/doc/en/list.xml

Hope this helps,
Farhan Ahmed

-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
Skype ID:  farhanahmed06
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgp7Le5E6xrkJ.pgp
Description: PGP signature


Re: [gentoo-user] [gentoo-amd64] Help! New install and New User to linux - Gentoo!

2006-04-20 Thread Richard Fish
On 4/20/06, Jarry [EMAIL PROTECTED] wrote:
 Richard Fish wrote:

  No. both grub and lilo work through the system BIOS.  Neither can
  'see' things not provided through the system BIOS.

 Are you absolutely sure about lilo?

Checking the source and the README in the source of 22.7.1 makes it
pretty clear that lilo is still using the BIOS for booting.

 lilo used bios for disk sector read, but I think is not using
 anymore (quite a long time). Thanks to that you can have
 /boot (more exactly, kernel) wherever you want.

 int13h is called with following registers:
 AH: 02h (read sectors from drive)
 CH + 2low bits from CL: cylinder number (0-1023)
 rest 6bits from CL: sector number (1-63)
 DH: head (1-255)

 That's the famous 8-GB limit

You are correct about old systems having a 1024-cylinder limit, but
the solution for this was that the system bios was extended to allow
access to sectors = 1024.  The typical term for this is the 13h
extensions.  In lilo documentation, this is the EDD packets.

 famous), where you had to install kernel with old lilo to be
 able to boot it. But at least a couple of years there is no such
 a limit with lilo. I think I have read somewhere that lilo is
 not using bios for disk-access anymore. I'll try to dig it out...

This might be true on itanium or other non-x86 platforms (I know
nothing about these).  But on x86, the BIOS controls booting, and the
OS cannot access the disks any other way than through the BIOS until
it's own device drivers are loaded.  So unless lilo has been adding
device drivers for the plethora of SCSI, FC, IDE, SATA, IEEE1284, and
USB disk controllers out there, and making them all fit in the
impossibly small space of the MBR (~460 bytes?), it is using the BIOS
for at least some actions.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] where is /dev/ttyS* ?

2006-04-20 Thread maxim wexler
Hello everybody,

When I try to dialup the 'net on a fresh 2.6.16
install I get:

#pon isp
/usr/sbin/pppd: In file /etc/peers/hd: unrecognized
option '/dev/ttyS0'

Sure enough, there's no such file, just /dev/tty, 0, 1
... On my 2.6.12 and 2.6.15 boxen /dev/ttyS0 is a
sym-link to tts/0 and I can dial out no problem. On
the 2.6.16 box ls /dev/tty* just reveals a numerical,
unlinked list. /dev/ttyS* no longer exists.

Here's what pppconfig wrote(identical on all my PCs):

sarawak heathen # cat /etc/ppp/peers/hd
# This optionfile was generated by pppconfig 2.3.10. 
# 
#
hide-password 
noauth
connect /usr/sbin/chat -v -f /etc/chatscripts/hd
debug
/dev/ttyS0
115200
defaultroute
noipdefault 
user [EMAIL PROTECTED]
remotename hd
ipparam hd

As it stands now I can dial out from the 2.6.16 box
only if I boot the install-cd and copy over from
another drive my ppp config files and use the pppd
that comes with the install-cd. And *it* uses
/dev/ttyS0. If I try to go with /dev/tty or /dev/tty0
on the fresh install without benefit of install-cd,
nothing happens -- no error on the console or the
logs, no dialtone, nothing.

Yes, I did mknod /dev/ppp c 108 0 

and here's lsmod copied over from the 2.6.16 box.

[EMAIL PROTECTED] ~ $ cat /floppy/lsmod
Module  Size  Used by
ppp_async  11840  0 
crc_ccitt   1952  1 ppp_async
ppp_deflate 6176  0 
zlib_deflate   21528  1 ppp_deflate
zlib_inflate   17440  1 ppp_deflate
bsd_comp5952  0 
ppp_generic26484  3
ppp_async,ppp_deflate,bsd_comp
slhc6912  1 ppp_generic
rtc14452  0 
usbcore   148804  1 
unix   29712  4 

I'm using ppp-2.4.3-r14. When I emerged it I was told
that I must 

emerge -u '=sys-apps/baselayout-1.12.0_pre11'

as well as add bsd_comp and ppp_deflate to my kernel
config. Both of which I did.

So, I'm stuck

-mw

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] partitioning for multimedia performance and dual-booting linux/windex

2006-04-20 Thread Robert Persson
On Thursday 20 April 2006 00:46 Neil Bothwick was like:
  Am I correct in understanding that I can use LVM2 to stripe a volume
  across more than one disk, just like a raid 0 setup, even if the disks
  are quite dissimilar? Would it be possible (or worthwhile) to allocate
  my old 40GB disk and a portion of my new disk (say another 40GB) to a
  single logical volume to be used as a fast audio and video
  scratchspace? (For Linux, that is -- I am aware that it wouldn't be
  accessible from Windows). I would keep the rest of disk in normal
  partitions to reduce the risk of losing all my data to disk failure.

 It is perfectly possible, but performance may suffer if one disk is
 slower than the other, compared with using the fast disk alone. Another
 option may be to use the old disk for the operating systems and the new
 one for data. Speed of the OS disk only affects program loading time,
 you would then get maximum performance when using the programs.  

Thanks for your help once again, Neil.

The problem I am trying to solve is less about getting best all-round disk 
performance than it is to get super-duper disk performance when doing 
extremely disk intensive tasks such as video and audio editing. I'm not sure 
that having the OS or the swap on different disks because if I have enough 
memory I shouldn't need to access them very much while doing the audio and 
video stuff.

The disks are probably not too dissimilar in terms of read and write speed 
(I'll need to look up the specs to verify this). However the cache sizes are 
quite different: 1MB as opposed to 8MB. Would the smaller cache make the 
older disk much slower in practice when it comes to writing or reading very 
large files -- slow enough to bog down the other one if a volume was striped 
across them?

Robert

-- 
Robert Persson

Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't delete printer!

2006-04-20 Thread Vladimir G. Ivanovic
I've tried everything I can think of. 

  * When I use foomatic-gui to delete the printer, I get a message
that confirms the deletion, but when I reboot it's back! In my
case, I think foomatic-gui invokes foomatic-configure -s cups
-R -n queuename which in turn invokes lpadmnin -x
queuename.
  * I've removed the printer queue from /etc/cups/printers.conf.
  * When I browser http://localhost:631/printers, and I attempt to
delete the printer, I get an error message saying that the
printer's host can't be reached (it no longer exists), and the
deletion fails.
  * I can't see where the printer queue name is maintained across
reboot.

Help! (Thanks!)

--- Vladimir

Vladimir G. Ivanovic
Palo Alto, CA 94306
+1 650 678 8014

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Erik Westenbroek
In /etc/rc.conf:
Uncomment #DISPLAYMANAGER=xdm (you do this by removing the # in case
you didn't know)
If you are using Gnome, change xdm to gdm, and to kdm if you are using kde.
Then, do rc-update add xdm default and it should start up at boot.

On 4/20/06, Farhan Ahmed [EMAIL PROTECTED] wrote:
 Bob Bao wrote:
 
  Hi.
 
  I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
  website. After couple time trying, finally I successfully complete the
  installing. But,  after log in, I only get a xterm window and a session
  window. I think suppose I should get a graphic user interface like boot
 

 Hi Bob and welcome to Gentoo,
 Which graphic desktop you have installed? If its plain X server
 (i.e., xorg-x11) then you'll get a very basic desktop, which you
 obviously dont want. If you installed kde, then probaby you've not
 modified your .xinitrc file. Execute this command from from console,

 echo exec startkde  ~/.xinitrc

 next time you execute 'startx', kde will startup.

 for GNOME, execute this command first

 echo exec gnome-session  ~/.xinitrc

 then startx will bring gnome up. For more info on other desktop's
 checkout the Gentoo docs at http://www.gentoo.org/doc/en/list.xml

 Hope this helps,
 Farhan Ahmed

 --
 Place   :  Bangalore, Karnataka, India
 GPG Key :  8BE90E98
 Skype ID:  farhanahmed06
 IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)





--
Erik

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Matthias Langer
On Fri, 2006-04-21 at 01:11 +0530, Farhan Ahmed wrote:
 Bob Bao wrote:
   
  Hi.
   
  I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
  website. After couple time trying, finally I successfully complete the
  installing. But,  after log in, I only get a xterm window and a session
  window. I think suppose I should get a graphic user interface like boot
 
 
 Hi Bob and welcome to Gentoo,
   Which graphic desktop you have installed? If its plain X server
 (i.e., xorg-x11) then you'll get a very basic desktop, which you
 obviously dont want. If you installed kde, then probaby you've not
 modified your .xinitrc file. Execute this command from from console,
 
   echo exec startkde  ~/.xinitrc
 
 next time you execute 'startx', kde will startup.
 
 for GNOME, execute this command first
 
   echo exec gnome-session  ~/.xinitrc
 
 then startx will bring gnome up. 

I think the more offical way is to uncomment the following lines
in /etc/rc.conf:

DISPLAYMANAGER=gdm
XSESSION=Gnome



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread John Jolet
 echo exec startkde  ~/.xinitrc
 
 next time you execute 'startx', kde will startup.
 
 for GNOME, execute this command first
 
 echo exec gnome-session  ~/.xinitrc
 
 then startx will bring gnome up.
 
 I think the more offical way is to uncomment the following lines
 in /etc/rc.conf:
 
 DISPLAYMANAGER=gdm
 XSESSION=Gnome
 
 
I would disagree.  This is how you boot into x.  not necessarily how you run
x.  I personally prefer the first way to this I boot to the command line
and then run x if I feel like it.  My point is the official in the above
is misleading.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install help

2006-04-20 Thread Michael Sullivan
On Thu, 2006-04-20 at 14:25 -0500, Bob Bao wrote:
  Hi.
  
 I am a new gentoo user here. I downloaded gentoo 2.6 liveCD from gentoo
 website. After couple time trying, finally I successfully complete the
 installing. But,  after log in, I only get a xterm window and a session
 window. I think suppose I should get a graphic user interface like boot
 Thanks.
  
 Bob Bao

Did you remember to set the XSESSION variable in /etc/rc.conf?  And have
you installed a desktop environment?  I don't know what you have
already; I've never used the graphical installer...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mail-mta/exim required by dev-lang/php-5.0.5-r5 (which I don't have installed)

2006-04-20 Thread Daevid Vincent
I don't understand this error:
--
Calculating world dependencies   
!!! Packages for the following atoms are either all
!!! masked or don't exist:
net-mail/mailman net-mail/dovecot mail-mta/exim
media-sound/beep-media-player net-wireless/hostapd net-firewall/shorewall
 
/
!!! All ebuilds that could satisfy mail-mta/exim have been masked.
!!! One of the following masked packages is required to complete your
request:
- mail-mta/exim-4.60-r1 (masked by: package.mask)
- mail-mta/exim-4.54 (masked by: package.mask)
- mail-mta/exim-4.50-r999 (masked by: package.mask, ~x86 keyword)
# Fernando J. Pereda [EMAIL PROTECTED] (25 April 2005)
# mask these until the new mailwrapper/mailer-config scheme is ready
# it is secure to unmask them to test

- mail-mta/exim-4.60 (masked by: package.mask, ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
!!!(dependency required by dev-lang/php-5.0.5-r5 [ebuild])
--

I don't have that old version of php installed and what does this mean? How
can the latest version be LESS than what I have installed?!

*  dev-lang/php
  Latest version available: 5.0.5-r5
  Latest version installed: 5.1.1

daevid ~ # emerge -Ca dev-lang/php   

 These are the packages that I would unmerge:

 dev-lang/php
selected: 5.1.1
   protected: none
 omitted: none

I do have some packages masked so as not to destabalize my server, but that
doesn't explain the above errors. Plus there may be other packages I'd like
to upgrade, but I can't see them until emerge -Davu world can get past
that dependency issue above.

daevid ~ # cat /etc/portage/package.mask
=mail-mta/exim-4.54
=mail-mta/ssmtp-2.00
=dev-lang/php-5.1.1

=net-mail/mailman-2.1.5-r4
=net-mail/dovecot-0.99.14-r1
=net-wireless/hostapd-0.4.7-r1
=net-firewall/shorewall-2.4.2


And finally, I tried:

USE=~x86 emerge -Davu world

Shouldn't that just unmask everything and at least get past the error?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - openssh and ldap

2006-04-20 Thread Michael Sullivan
I rebooted my server box this morning.  On a few of the output lines
during bootup (noteably sshd and mysqld) it said Could not connect to
LDAP server (or something like that).  To my knowledge, I don't have an
ldap server installed on my server box.  Ssh from client machines is
extremely slow to connect.  I checked eix -SS ldap and the only ldap
package I have installed on the server box is openldap.  I
checked /etc/make.conf to ensure that ldap was not listed as a USE flag,
and then typed emerge -pv openssh  Here's the output:  

bullet etc # emerge -av openssh

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-misc/openssh-4.3_p2-r1  -X509 -chroot -hpn -ipv6
+kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
-static +tcpd 0 kB

Is there any danger in me adding net-misc/openssh -ldap
to /etc/portage/package.use?  Will it speed up the connection process?
It was never a problem until today...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is cups crap?

2006-04-20 Thread Mick
On 20/04/06, Nick Rout [EMAIL PROTECTED] wrote:

 On Wed, 19 Apr 2006 21:58:29 +0200
 Thierry de Coulon wrote:

 [Is cups crap?]

 Someone thinks so:

 http://www.catb.org/~esr/writings/cups-horror.html

  :-))  I guess most of us have been there?

What is *really* crap is the example addresses offered on the
localhost:631 gui.  They totally through you off the scent.
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap

2006-04-20 Thread Etaoin Shrdlu
On Thursday 20 April 2006 23:31, Michael Sullivan wrote:

 I rebooted my server box this morning.  On a few of the output lines
 during bootup (noteably sshd and mysqld) it said Could not connect to
 LDAP server (or something like that).  To my knowledge, I don't have
 an ldap server installed on my server box.  Ssh from client machines
 is extremely slow to connect.  I checked eix -SS ldap and the only
 ldap package I have installed on the server box is openldap.  I
 checked /etc/make.conf to ensure that ldap was not listed as a USE
 flag, and then typed emerge -pv openssh  Here's the output:

 bullet etc # emerge -av openssh

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild   R   ] net-misc/openssh-4.3_p2-r1  -X509 -chroot -hpn -ipv6
 +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
 -static +tcpd 0 kB

 Is there any danger in me adding net-misc/openssh -ldap
 to /etc/portage/package.use?  Will it speed up the connection process?
 It was never a problem until today...

This is not related to the ldap USE flag.
Search b.g.o., there's a bug about it. Look in /etc/ssh/sshd_config and 
comment out the ldap-related entries.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap

2006-04-20 Thread Dave Jones
Michael Sullivan wrote on 04/20/06 23:31:
 I rebooted my server box this morning.  On a few of the output lines
 during bootup (noteably sshd and mysqld) it said Could not connect to
 LDAP server (or something like that).  To my knowledge, I don't have an
 ldap server installed on my server box.  Ssh from client machines is
 extremely slow to connect.  I checked eix -SS ldap and the only ldap
 package I have installed on the server box is openldap.  I
 checked /etc/make.conf to ensure that ldap was not listed as a USE flag,
 and then typed emerge -pv openssh  Here's the output:  

 bullet etc # emerge -av openssh

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild   R   ] net-misc/openssh-4.3_p2-r1  -X509 -chroot -hpn -ipv6
 +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
 -static +tcpd 0 kB

 Is there any danger in me adding net-misc/openssh -ldap
 to /etc/portage/package.use?  Will it speed up the connection process?
 It was never a problem until today...

You've got the ldap USE flag because you have openldap installed.

No need to recompile sshd, just comment out the LDAP related lines in
your /etc/ssh/sshd_config and restart sshd.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mail-mta/exim required by dev-lang/php-5.0.5-r5 (which I don't have installed)

2006-04-20 Thread Richard Fish
On 4/20/06, Daevid Vincent [EMAIL PROTECTED] wrote:
 I don't understand this error:

You masked out the versions of php greater-than *or equal to* what you
have installed, so portage naturally wants to downgrade the version.

Plus, exim only has these version available:

* mail-mta/exim
 Available versions:  [M]4.50-r999 4.54 4.60 4.60-r1
 Installed:   none
 Homepage:http://www.exim.org/
 Description: A highly configurable, drop-in replacement
for sendmail

You have masked out 4.54, 4.60, and 4.60-r1.  And 4.50-r999 is package
masked.  What do you want portage to do???

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't build wine

2006-04-20 Thread Justin Hart
Yeah, figured out that 0.9.1 compiles fine.  I'll have to try 0.9.12. 
I'm trying to run iTunes.

Justin

On 4/20/06, Matthias Langer [EMAIL PROTECTED] wrote:
 On Thu, 2006-04-20 at 03:12 -0400, Justin Hart wrote:
  Anybody know what this error is about?  I can't seem to build wine.
 
  i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include
  -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
  -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
  -Wpointer-arith  -march=pentium4 -pipe -O2 -o y.tab.o y.tab.c
  flex -Cf  -d -8 ./parser.l
  i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include
  -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
  -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
  -Wpointer-arith  -march=pentium4 -pipe -O2 -o lex.yy.o lex.yy.c
  lex.yy.c:9174: error: syntax error before numeric constant
  lex.yy.c: In function `yy_scan_string':
  lex.yy.c:9175: error: number of arguments doesn't match prototype
  lex.yy.c:367: error: prototype declaration
  lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from
  integer without a cast
  lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer
  from integer without a cast
  ./parser.l: At top level:
  lex.yy.c:8687: warning: `yyunput' defined but not used
  lex.yy.c:9266: warning: `yy_top_state' defined but not used
  make[2]: *** [lex.yy.o] Error 1
  make[2]: Leaving directory
  `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools/wrc'
  make[1]: *** [wrc] Error 2
  make[1]: Leaving directory
  `/var/tmp/portage/wine-20050725-r1/work/wine-20050725/tools'
  make: *** [tools] Error 2
 
  !!! ERROR: app-emulation/wine-20050725-r1 failed.
  Call stack:
ebuild.sh, line 1532:   Called dyn_compile
ebuild.sh, line 929:   Called src_compile
wine-20050725-r1.ebuild, line 133:   Called die
 
  !!! depend
  !!! If you need support, post the topmost build error, and the call
  stack if relevant.
 
 
 
  --
  Justin W. Hart
 

 Well, version 20050725-r1 is hardmasked, as it seems for good reasons.
 If you want to try the latest version, go for 0.9.12 (just released a
 few days ago) - it works fine for me. Otherwise try the currently stable
 version 0.9.8-r1 which should also be newer than 20050725-r1.

 HTH,
 Matthias

 --
 gentoo-user@gentoo.org mailing list




--
Justin W. Hart

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] netfilter: -P INPUT DROP in kernel

2006-04-20 Thread Daniel Waeber
I was looking for a way to set the default rule for the INPUT chain to 
DROP. I do not want to change the rule with iptables -P INPUT DROP after 
 loading the kernel, I want that the kernel/modules automatically DROPS 
everything after it has been loaded.
You can do this with the FORWARD chain with the parameter forward=0, but 
nothing is implemented for the INPUT chain as far as i know.
I looked inside the kernel source of the modules, and hey, it is easy to 
change. I recompiled the module, reloaded it. Perfect, now i have 
default DROP.
But as it is so easy to edit, why is there no option in the kernel or a 
parameter for the module that allows to edit the default entries when 
loading the module? I can't image that I am the first one, who wants to 
have a secure linux, even if the firewall script (that could set -P 
INPUT DROP) fails or is delayed (i use parallel startup, so it could be 
that eth0 starts before iptables). Is their a reason why a default INPUT 
DROP policy is not supported in the kernel? (i know that you can easyly 
remove the access to you system, if you only managed it via ssh, but why 
not the option, if you really want to do that)

Or is there a better way to archive this goal?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - openssh and ldap [SOLVED]

2006-04-20 Thread Michael Sullivan
On Fri, 2006-04-21 at 00:24 +0200, Dave Jones wrote:
 Michael Sullivan wrote on 04/20/06 23:31:
  I rebooted my server box this morning.  On a few of the output lines
  during bootup (noteably sshd and mysqld) it said Could not connect to
  LDAP server (or something like that).  To my knowledge, I don't have an
  ldap server installed on my server box.  Ssh from client machines is
  extremely slow to connect.  I checked eix -SS ldap and the only ldap
  package I have installed on the server box is openldap.  I
  checked /etc/make.conf to ensure that ldap was not listed as a USE flag,
  and then typed emerge -pv openssh  Here's the output:  
 
  bullet etc # emerge -av openssh
 
  These are the packages that I would merge, in order:
 
  Calculating dependencies ...done!
  [ebuild   R   ] net-misc/openssh-4.3_p2-r1  -X509 -chroot -hpn -ipv6
  +kerberos +ldap -libedit +pam (-selinux) -sftplogging -skey -smartcard
  -static +tcpd 0 kB
 
  Is there any danger in me adding net-misc/openssh -ldap
  to /etc/portage/package.use?  Will it speed up the connection process?
  It was never a problem until today...
 
 You've got the ldap USE flag because you have openldap installed.
 
 No need to recompile sshd, just comment out the LDAP related lines in
 your /etc/ssh/sshd_config and restart sshd.
 
 Cheers, Dave

Thanks!  That did the trick!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upgrade/Downgrade loop for gst-plugins

2006-04-20 Thread John J. Foster
On Wed, Apr 19, 2006 at 01:30:52PM -0400, John J. Foster wrote:
 Good afternoon,
 
 For about the past 10 days I've been having problems with gst-plugins. 
 I'm in a constant upgrade/downgrade loop, and am not really sure what 
 brought me to this state. The only _major_ changes have been adding ~x86 
 for kde and amarok.
 
Downgrading amarok to stable seems to have cured this up/down cycle for
gst-plugins.

festus


pgptX4F3prFYn.pgp
Description: PGP signature


[gentoo-user] Filetimestamp needed by emerge ?

2006-04-20 Thread Meino Christian Cramer
Hi,

 I want to cp -a /usr/portage to another partition to make room on /

 When I will do this, all files of the portage directory will get
 a new and nearly identical timestamp.

 Will this hurt the packaging/compiling or anything related to
 administer gentoo-thingy ?

 Thank you very much in advance for any helpful reply ! :)

 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Filetimestamp needed by emerge ?

2006-04-20 Thread Martins Steinbergs
On Friday 21 April 2006 06:35, Meino Christian Cramer wrote:
 Hi,

  I want to cp -a /usr/portage to another partition to make room on /

  When I will do this, all files of the portage directory will get
  a new and nearly identical timestamp.

  Will this hurt the packaging/compiling or anything related to
  administer gentoo-thingy ?

  Thank you very much in advance for any helpful reply ! :)

  Keep hacking!
  mcc

I have experience only with distfiles on vfat partition. generally it can be 
that way but without lockfile and cvs and svn. and probably resume on 
unfinished downloads corrupts files but I'm not sure about it.
To avoid very complex setup i steal space from vfat in favor of ext3 to put 
distfiles on.

-- 
Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+
 07:28:29 up  5:04,  5 users,  load average: 1.25, 1.13, 1.10
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] KControl: Password User Account settings

2006-04-20 Thread Abhay Kedia
Hello All, 
 
I just saw this image showing settings related to user account in KControl 
http://www.kbfx.org/staticpages/images/screenshots/7.png 
 
When I check for the same under kcontrol on my system (KDE 3.5.2), I am unable 
to find it. Can some please help me in finding the package needed, in order 
to get that settings tab?
TIA 

-- 
Regards,
Abhay


pgpC5VKhy50Mc.pgp
Description: PGP signature


Re: [gentoo-user] KControl: Password User Account settings

2006-04-20 Thread Martins Steinbergs
On Friday 21 April 2006 07:40, Abhay Kedia wrote:
 Hello All,

 I just saw this image showing settings related to user account in KControl
 http://www.kbfx.org/staticpages/images/screenshots/7.png

 When I check for the same under kcontrol on my system (KDE 3.5.2), I am
 unable to find it. Can some please help me in finding the package needed,
 in order to get that settings tab?
 TIA

i would say you should emerge kdm

mar martins # slocate default3.png
/usr/kde/3.5/share/apps/kdm/pics/users/default3.png
mar martins # equery belongs default3.png
[ Searching for file(s) default3.png in *... ]
kde-base/kdm-3.5.2 (/usr/kde/3.5/share/apps/kdm/pics/users/default3.png)


-- 
Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+
 08:03:13 up  5:38,  5 users,  load average: 1.50, 1.35, 1.22
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.

2006-04-20 Thread Walter Dnes
  Sorry for the delay responding to this thread.  Whilst linux users'
computers are immune to viruses, our bodies are not.  I spent Tuesday
evening through late Wednesday afternoon in bed with the flu, and I'm
still not 100%.

On Tue, Apr 18, 2006 at 10:51:44AM +0800, Fr?d?ric Grosshans wrote
 Le lundi 17 avril 2006 ? 18:51 +0100, Konstantin V. Gavrilenko a ?crit :
  
  So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is
  magically available for mounting.
 
 I had this problem before, but it's not the case today :-( 
 fdisk has no access to the /dev/sda device.

  Frederic and Konstantin...

  I have *EXACTLY* the same situation, and I figured out what was
causing it, and I came up with with a workaround; I wouldn't call it a
perfect solution.

  - My old, emergency backup machine is a 1999 Dell PIII, 450 mhz, with
128 megs of RAM, and USB 1.1 hardware.  According to dmesg, the
ehci_hcd code aborts at bootup, and only the ohci_hcd code runs.
All my USB1 and USB2 devices run OK.  Mind you, at USB 1.1 speeds,
maybe I should say they *CRAWL* OK.  The auto option for filesystem
type works OK in both the mount command and in /etc/fstab.  I
could get away with an fstab entry like...
/dev/sdb1  /mnt/external  auto  noauto,user,noatime,notail  0 0
and simply mount /mnt/external, regardless of what I hooked up to
the USB port.

  - My relatively new AMD64 (in 32-bit mode) has USB2 hardware.  I built
both ohci_ocd ehci_ocd into the kernel.  I experienced the following
symptoms...

- USB1 devices were totally flakey, sometimes they would show up as
  /dev/sdb1, and sometimes they wouldn't.  When it didin't show up...
  So you have to do fdisk /dev/sdb, then quit, then the /dev/sdb1 is
  magically available for mounting.
  would usually work, but not always.

- USB2 devices would show up OK, and run at USB2 speeds, but auto
  would *NOT* work as a filesystem type with either /etc/fstab or the
  mount command

  After a lot of screwing around I came up with the following workaround.
  - build ohci_hcd into the kernel
  - build ehci_hcd as a module.  Do *NOT* auto-load the ehci_hcd module.
  - write local udev rules to generate symlinks for my USB devices.
/etc/fstab has entries that mount the symlinks, and those entries
specify the filesystem type.  I use msdos for my camera's memory
cards, vfat for my mp3 player, and reiserfs for my backup drives.

  Run in USB1.1 mode most of the time.  When I'm backing up my hard
drive to a USB2 drive, and I want the extra speed, I run the commands
modprobe ehci_ocd
udevstart

...before I plug in the backup drive.  When I'm finished, and have removed
the backup drive, I run the commands
rmmod ehci_ocd
udevstart

...and I'm back to where I was before.  It's not perfect, but it works.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list