Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-06 Thread Dale
Alan McKinnon wrote:
 On Tuesday 06 February 2007, Dale wrote:
   
 Dale wrote:
 

 First off, I get the same behaviour this end. kwrite borks out on 
 emerge.log which is about 8M. On a machine with 2G ram this should not 
 happen. It does the same thing as a kpart in konqueror

   
 Well, I'm trying to mask this so it will not upgrade when I do
 updates. I must be missing something here.  When I did the pretend
 downgrade it pulled kdelibs down one version too.  So I want to make
 it so that kdelibs and kate will stay at 3.5.5 versions.  This is
 what I added to

 package.mask:
 
 =kde-base/kate
 -3.5.6 
 =kde-base/kdelibs-3.5.6-r2
   

 That will mask those versions, and only those versions. The next upgrade 
 of either will be emerged. Is this what you want?
   

I think so.  I just want kate to stay at that version because it is
borked.  Since kdelibs is a dependancy, I assumed I needed to mask it too. 
   
 That way if there is a new release it will upgrade and hopefully it
 will

 be fixed.  However, this is what happens when I check for updates:
 
 [EMAIL PROTECTED] / # emerge -uvDp world

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

 Calculating world dependencies \
 !!! All ebuilds that could satisfy ~kde-base/kate-3.5.6 have been
 masked.
 !!! One of the following masked packages is required to complete
 your request:
 - kde-base/kate-3.5.6 (masked by: package.mask)

 For more information, see MASKED PACKAGES section in the emerge man
 page or
 refer to the Gentoo Handbook.
 (dependency required by kde-base/kdebase-meta-3.5.6 [ebuild])
   

 See this line above? It says that kdebase-meta-3.5.6 requires kate-3.5.6 
 but that can't be fulfilled because you masked it.

 I see two viable options:

 1. Put up with it and use vi instead (this is the recommended one...)
 2. Make your own local copy of kdebase-meta-3.5.6.ebuild and put it in 
 your overlay. Modify the ebuild the use any kdelibs and kate  3.5.5, 
 this should satisfy the dependedcies.

 The other option is to downgrade all of kde to 3.5.5 but that's just 
 overkill :-)


 alan

   

Well, I like nano better but not if I can use something GUI.  ;-)  That
option is not exactly what I am hoping to use. 

I don't understand portage and ebuilds well enough to do that.  How
about this.  Is there a way to just tell emerge to emerge each separate
package and get rid of kde-meta?  I don't know, equery list kde then
poke them in one by one.  Would that let it leave kate and kdelibs where
it is without masking all of kde?

Thanks for the reply though.  At least I can open the file and read it
and it is not just me having this problem.

Dale

:-)  :-)  :-)  :-)

-- 
www.myspace.com/dalek1967



Re: [gentoo-user] Gentoo VMWare image works on Intel but not AMD. Are they not interchangeable?

2007-02-06 Thread Andrey Gerasimenko
On Tue, 06 Feb 2007 10:27:01 +0300, Alan McKinnon  
[EMAIL PROTECTED] wrote:



Does the host CPU make a difference? I thought it was all emulated? I
tried to recompile the kernel with the generic '386 CPU settings and
removed all power mgmt etc, and the same issue happens.


The host CPU shouldn't make a difference as a VMWare .vmx is supposed to
work the same on all hosts. However, the VMWare version in use on your
friend's machine might be broken on AMD, or he has done something dumb.



No, it does make difference. The guest OS uses the same CPU as the host,  
with the exception of the number of available cores. If there are 2 or  
more cores on the host, including virtual ones through multithreading, the  
guest may use 1 or 2 cores. If the host has only one core, the guest must  
be configured to use only one.


--
Andrei Gerasimenko
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Dale wrote:
 I don't understand portage and ebuilds well enough to do that.  How
 about this.  Is there a way to just tell emerge to emerge each
 separate package and get rid of kde-meta?  

kde-meta is, well, as meta package. All it does is tell portage to 
emerge all the dependencies, and that turns out to be all 300 
individual kde ebuilds. kdebase-meta is the same thing on a smaller 
scale and only for the basic stuff.

You could 'emerge -avC kde-meta' and all that would happen is the -meta 
package gets removed, leaving the deps in place. However, they aren't 
in world so your next 'emerge --depclean' will want to remove them.

Few people actually use all of KDE, so a good compromise is to figure 
out what you actually do use and emerge just those ebuilds

Have you read the kde split-ebuilds HOWTO at gentoo.org/doc lately? It's 
all in there, but it's a lot of info so it's useful to refresh the old 
memory every now and again

 I don't know, equery list 
 kde then poke them in one by one.  Would that let it leave kate and
 kdelibs where it is without masking all of kde?

I just tried this test:

masked kate-3.5.6
unmerged kdebase-meta
emerge -pD world

and it went crazy with blockers. Portage wanted to emerge kdebase-3.5.5 
(not the -meta) one and that was bloked by all the kdebase packages at 
version 3.5.6. So it would seem there are some hard coded blocks in 
place, which is sensible as mixing KDE app and lib versions willy-nilly 
is probably not a good idea...

 Thanks for the reply though.  At least I can open the file and read
 it and it is not just me having this problem.

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encrypt USB flash drive

2007-02-06 Thread Mrugesh Karnik
On Tuesday 06 Feb 2007 05:06:29 Thomas Lingefelt wrote:
  I've been using truecrypt between Windows and Linux for just this purpose
  and it works great.  Not so sure about MacOS though.
 
  emerge app-crypt/truecrypt
 
  http://www.truecrypt.org/

 Seems to be exactly what I'm looking for.  I'll start implementing
 tomorrow morning.  Maybe by the time I get a Mac it will have been
 ported. Thanks!

It would be nice if you could post a HOWTO to the wiki, if it doesn't exist 
already. I haven't checked yet..

-- 

Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net



pgphK9abt0mtt.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo VMWare image works on Intel but not AMD. Are they not interchangeable?

2007-02-06 Thread Neil Bothwick
On Mon, 5 Feb 2007 16:03:16 -0800, Daevid Vincent wrote:

 Does the host CPU make a difference? I thought it was all emulated? I
 tried to recompile the kernel with the generic '386 CPU settings and
 removed all power mgmt etc, and the same issue happens. 

The CPU is not emulated, so if your CFLAGS are specific to P4, you may
have some programs break on an AMD processor. What is the output of
emerge --info in the guest OS?


-- 
Neil Bothwick

Vital papers will demonstrate their vitality by moving to where you
can't find them.


signature.asc
Description: PGP signature


[gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Gabriel Rossetti

Hello,

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the 
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules, 
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot 
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried 
gentoo-sources-2.6.20, still the same thing.


Does anyone have any ideas?

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



[gentoo-user] dhcpd and routes

2007-02-06 Thread Dave Oxley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a Gentoo server that is running Cisco VPN software to connect to
my companies VPN. I have setup the server as a NAT for the specific
subnet required for the VPN and the rest of my traffic goes through my
router (192.168.1.1). I currently have to manually run the following
command to setup the route:
route add -net 10.4.0.0 netmask 255.255.255.0 gw 192.168.1.200

On my Gentoo server I run dhcpd to allocate IP addresses for machines on
my LAN. The current configuration is:
subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100 192.168.1.199;
  option routers 192.168.1.1;
}

So the question is how can I setup dhcpd to automatically setup the
route command for all clients using the dhcpd?

Cheers,
Dave.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyHKMx43ifHzpDVURAhdrAJ4qDCmtotrW0I3B1JPF7+fVNeQlBwCfZr13
9ZcoJHn+fX8e8tqiWPok05w=
=kJ0P
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Ric de France

Hi Gabriel,

On 07/02/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules,
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.


It sounds like you're doing the right thing. Could you do a:

$ ls -al /boot
$ cat /boot/grub/grub.conf
$ ls -al /usr/src

and then post the outputs to this 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@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Gabriel Rossetti


Gabriel Rossetti wrote:

Hello,

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the 
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from 
modules, I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot 
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried 
gentoo-sources-2.6.20, still the same thing.


Does anyone have any ideas?

Gabriel



There is some more info, if I do :

grep -r 2.6.19-gentoo-r4 linux

I get :

linux/include/linux/autoconf.h:#define CONFIG_UNAME_RELEASE 
2.6.19-gentoo-r4

linux/include/config/auto.conf:CONFIG_UNAME_RELEASE=2.6.19-gentoo-r4

but my linux symlink is from the 2.6.20 kernel, not 2.6.19-r4 :

ls -la
total 3
drwxr-xr-x  4 root root  176 Feb  6 11:29 .
drwxr-xr-x 18 root root  496 Jan 31 20:42 ..
-rw-r--r--  1 root root0 Aug  3  2006 .keep
lrwxrwxrwx  1 root root   19 Feb  6 11:29 linux - linux-2.6.20-gentoo
drwxr-xr-x 20 root root 1296 Feb  6 09:44 linux-2.6.19-gentoo-r4
drwxr-xr-x 20 root root 1328 Feb  6 11:45 linux-2.6.20-gentoo


Thanks,
Gabriel
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem with udev

2007-02-06 Thread jcd
Hi. 
I read lot of articles about writing udev rules. But I don't know why my
local rules don't work :(.
I have Thomson LYRA mp3 palyer. Currently I have it like /dev/sdc (I
don't know why, but there isn't any sdc(n) indicating partition. When I
mount /dev/sdc to some mount point it works (vfat)). Here is udevinfo:


$udevinfo -a -p /sys/block/sdc

Udevinfo starts with...

  looking at device '/block/sdc':
KERNEL==sdc
SUBSYSTEM==block
DRIVER==
ATTR{stat}==  13   13  208 229000
000 2280 2290
ATTR{size}==9717520
ATTR{removable}==1
ATTR{range}==16
ATTR{dev}==8:32

  looking at parent device
'/devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0/host8/target8:0:0/8:0:0:0':
KERNELS==8:0:0:0
SUBSYSTEMS==scsi
DRIVERS==sd
ATTRS{ioerr_cnt}==0x0
ATTRS{iodone_cnt}==0x25b
ATTRS{iorequest_cnt}==0x25b
ATTRS{iocounterbits}==32
ATTRS{timeout}==30
ATTRS{state}==running
ATTRS{rev}==0.01
ATTRS{model}==LYRA_MPHR2301_EU
ATTRS{vendor}==Thomson 
ATTRS{scsi_level}==3
ATTRS{type}==0
ATTRS{queue_type}==none
ATTRS{queue_depth}==1
ATTRS{device_blocked}==0
ATTRS{max_sectors}==240

  looking at parent device
'/devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0/host8/target8:0:0':
KERNELS==target8:0:0
SUBSYSTEMS==
DRIVERS==

  looking at parent device
'/devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0/host8':
KERNELS==host8
SUBSYSTEMS==
DRIVERS==

  looking at parent device
'/devices/pci:00/:00:1d.7/usb1/1-6/1-6:1.0':
KERNELS==1-6:1.0
SUBSYSTEMS==usb
DRIVERS==usb-storage
ATTRS{modalias}==usb:v069Bp0738ddc00dsc00dp00ic08isc06ip50
ATTRS{bInterfaceProtocol}==50
ATTRS{bInterfaceSubClass}==06
ATTRS{bInterfaceClass}==08
ATTRS{bNumEndpoints}==03
ATTRS{bAlternateSetting}== 0
ATTRS{bInterfaceNumber}==00

  looking at parent device '/devices/pci:00/:00:1d.7/usb1/1-6':
KERNELS==1-6
SUBSYSTEMS==usb
DRIVERS==usb
ATTRS{configuration}==
ATTRS{serial}==22214F0E7422
ATTRS{product}==THOMSON PDP2814
ATTRS{manufacturer}==THOMSON
ATTRS{maxchild}==0
ATTRS{version}== 2.00
ATTRS{devnum}==9
ATTRS{speed}==480
ATTRS{bMaxPacketSize0}==64
ATTRS{bNumConfigurations}==1
ATTRS{bDeviceProtocol}==00
ATTRS{bDeviceSubClass}==00
ATTRS{bDeviceClass}==00
ATTRS{bcdDevice}==
ATTRS{idProduct}==0738
ATTRS{idVendor}==069b
ATTRS{bMaxPower}==100mA
ATTRS{bmAttributes}==c0
ATTRS{bConfigurationValue}==1
ATTRS{bNumInterfaces}== 1

  looking at parent device '/devices/pci:00/:00:1d.7/usb1':
KERNELS==usb1
SUBSYSTEMS==usb
DRIVERS==usb
ATTRS{configuration}==
ATTRS{serial}==:00:1d.7
ATTRS{product}==EHCI Host Controller
ATTRS{manufacturer}==Linux 2.6.18-gentoo-r2 ehci_hcd
ATTRS{maxchild}==8
ATTRS{version}== 2.00
ATTRS{devnum}==1
ATTRS{speed}==480
ATTRS{bMaxPacketSize0}==64
ATTRS{bNumConfigurations}==1
ATTRS{bDeviceProtocol}==01
ATTRS{bDeviceSubClass}==00
ATTRS{bDeviceClass}==09
ATTRS{bcdDevice}==0206
ATTRS{idProduct}==
ATTRS{idVendor}==
ATTRS{bMaxPower}==  0mA
ATTRS{bmAttributes}==e0
ATTRS{bConfigurationValue}==1
ATTRS{bNumInterfaces}== 1

  looking at parent device '/devices/pci:00/:00:1d.7':
KERNELS==:00:1d.7
SUBSYSTEMS==pci
DRIVERS==ehci_hcd
ATTRS{broken_parity_status}==0

ATTRS{modalias}==pci:v8086d265Csv103Csd2A0Abc0Csc03i20
ATTRS{local_cpus}==ff
ATTRS{irq}==18
ATTRS{class}==0x0c0320
ATTRS{subsystem_device}==0x2a0a
ATTRS{subsystem_vendor}==0x103c
ATTRS{device}==0x265c
ATTRS{vendor}==0x8086

  looking at parent device '/devices/pci:00':
KERNELS==pci:00
SUBSYSTEMS==
DRIVERS==


And this is my rule stored in /etc/udev/rules.d/10-local.rules


#Thomson LYRA
SUBSYSTEM==scsi, SYSFS{model}==LYRA_MPHR2301_EU, SYMLINK+=lyra


It must be ok, I think, but when I plug in my mp3 player it don't work.
I tried lot of things but it is till bad.
Finally i decide to ask for help. Thx

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Gabriel Rossetti



Ric de France wrote:

Hi Gabriel,

On 07/02/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules,
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.


It sounds like you're doing the right thing. Could you do a:

$ ls -al /boot
$ cat /boot/grub/grub.conf
$ ls -al /usr/src

and then post the outputs to this list?

...Ric


Hi Ric,

yes, here is what you asked for :

ls -al /boot
total 12526
drwxr-xr-x  3 root root 792 Feb  6 11:45 .
drwxr-xr-x 21 root root 576 Jan 20 16:37 ..
lrwxrwxrwx  1 root root  24 Feb  6 11:45 System.map - 
System.map-2.6.20-gentoo

-rw-r--r--  1 root root  999613 Feb  6 09:44 System.map-2.6.19-gentoo-r4
-rw-r--r--  1 root root  999613 Feb  6 09:09 System.map-2.6.19-gentoo-r5
-rw-r--r--  1 root root  999613 Feb  6 09:00 System.map-2.6.19-gentoo-r5.old
-rw-r--r--  1 root root 1016626 Feb  6 11:45 System.map-2.6.20-gentoo
lrwxrwxrwx  1 root root  27 Feb  6 09:44 System.map.old - 
System.map-2.6.19-gentoo-r4

lrwxrwxrwx  1 root root   1 Jan 19 13:42 boot - .
lrwxrwxrwx  1 root root  20 Feb  6 11:45 config - config-2.6.20-gentoo
-rw-r--r--  1 root root   43780 Feb  6 09:44 config-2.6.19-gentoo-r4
-rw-r--r--  1 root root   43780 Feb  6 09:09 config-2.6.19-gentoo-r5
-rw-r--r--  1 root root   43780 Feb  6 09:00 config-2.6.19-gentoo-r5.old
-rw-r--r--  1 root root   44623 Feb  6 11:45 config-2.6.20-gentoo
lrwxrwxrwx  1 root root  23 Feb  6 09:44 config.old - 
config-2.6.19-gentoo-r4

drwxr-xr-x  2 root root 672 Feb  6 12:58 grub
lrwxrwxrwx  1 root root  21 Feb  6 11:45 vmlinuz - 
vmlinuz-2.6.20-gentoo

-rw-r--r--  1 root root 2145374 Feb  6 09:44 vmlinuz-2.6.19-gentoo-r4
-rw-r--r--  1 root root 2145431 Feb  6 09:09 vmlinuz-2.6.19-gentoo-r5
-rw-r--r--  1 root root 2145430 Feb  6 09:00 vmlinuz-2.6.19-gentoo-r5.old
-rw-r--r--  1 root root 2159920 Feb  6 11:45 vmlinuz-2.6.20-gentoo
lrwxrwxrwx  1 root root  24 Feb  6 09:44 vmlinuz.old - 
vmlinuz-2.6.19-gentoo-r4


-

cat /boot/grub/grub.conf
#
# Grub Configuration file
#

# Load the splash image
splashimage=(hd0,0)/grub/splash.xpm.gz

# Boot automatically after 30 secs.
timeout 10

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting the main version
title  Gentoo - default runlevel
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318 
video=vesafb:ywrap,mtrr:3,[EMAIL PROTECTED] splash=verbose 
libata.atapi_enabled=1

#initrd /boot/fbsplash

# For booting the main version, wireless runlevel
title  Gentoo - wireless runlevel
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318 
video=vesafb:ywrap,mtrr:3,[EMAIL PROTECTED] splash=verbose 
libata.atapi_enabled=1 softlevel=wireless
#kernel /boot/vmlinuz root=/dev/sda5 
video=vesafb:ywrap,mtrr:2,[EMAIL PROTECTED] 
splash=silent,fadein,theme:livecd-2005.1 gentoo=nodevfs apm=off acpi=on 
CONSOLE=/dev/tty1 quiet softlevel=wireless

#initrd /boot/fbsplash

# For booting a fall back version
title Fall Back
root (hd0,0)
kernel /boot/vmlinuz.old root=/dev/sda5 splash=verbose gentoo=nodevfs 
apm=off acpi=off



-

ls -al /usr/src
total 3
drwxr-xr-x  4 root root  176 Feb  6 11:29 .
drwxr-xr-x 18 root root  496 Jan 31 20:42 ..
-rw-r--r--  1 root root0 Aug  3  2006 .keep
lrwxrwxrwx  1 root root   19 Feb  6 11:29 linux - linux-2.6.20-gentoo
drwxr-xr-x 20 root root 1296 Feb  6 09:44 linux-2.6.19-gentoo-r4
drwxr-xr-x 20 root root 1328 Feb  6 11:45 linux-2.6.20-gentoo

-

Thanks Ric!

PS
I have not changed my way of compiling / installing the kernel for at 
least 4 years (since switching to 2.6 kernel series)



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Gabriel Rossetti wrote:
 Gabriel Rossetti wrote:
  Hello,
 
  I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
  linux link, then cd inside
  and compile/install it. I reboot and I get lots of errors from
  modules, I do a uname -a
  and notice that it still says 2.6.19-r4, i then check in the /boot
  directory, and the links are correct,
  then I check my grub.conf and it's correct, I then tried
  gentoo-sources-2.6.20, still the same thing.
 
  Does anyone have any ideas?
 
  Gabriel

 There is some more info, if I do :

 grep -r 2.6.19-gentoo-r4 linux

 I get :

 linux/include/linux/autoconf.h:#define CONFIG_UNAME_RELEASE
 2.6.19-gentoo-r4
 linux/include/config/auto.conf:CONFIG_UNAME_RELEASE=2.6.19-gentoo-r4


 but my linux symlink is from the 2.6.20 kernel, not 2.6.19-r4 :

 ls -la
 total 3
 drwxr-xr-x  4 root root  176 Feb  6 11:29 .
 drwxr-xr-x 18 root root  496 Jan 31 20:42 ..
 -rw-r--r--  1 root root0 Aug  3  2006 .keep
 lrwxrwxrwx  1 root root   19 Feb  6 11:29 linux -
 linux-2.6.20-gentoo drwxr-xr-x 20 root root 1296 Feb  6 09:44
 linux-2.6.19-gentoo-r4 drwxr-xr-x 20 root root 1328 Feb  6 11:45
 linux-2.6.20-gentoo


 Thanks,
 Gabriel

did you do a make menuconfig from scratch, or did you copy an 
old .config over from a prior release?

It looks like the latter may have happened and your .config does not 
agree with what is actually in the source tree.

Either that or you have a 2.6.19-r4 source tree thaqt is named 2.6.20

alan



-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo VMWare image works on Intel but not AMD. Are they not interchangeable?

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Andrey Gerasimenko wrote:
 On Tue, 06 Feb 2007 10:27:01 +0300, Alan McKinnon

 [EMAIL PROTECTED] wrote:
  
 
  Does the host CPU make a difference? I thought it was all
  emulated? I tried to recompile the kernel with the generic '386
  CPU settings and removed all power mgmt etc, and the same issue
  happens.
 
  The host CPU shouldn't make a difference as a VMWare .vmx is
  supposed to work the same on all hosts. However, the VMWare version
  in use on your friend's machine might be broken on AMD, or he has
  done something dumb.

 No, it does make difference. The guest OS uses the same CPU as the
 host, with the exception of the number of available cores. If there
 are 2 or more cores on the host, including virtual ones through
 multithreading, the guest may use 1 or 2 cores. If the host has only
 one core, the guest must be configured to use only one.


Ah, this does make sense.

Daevid, you say you use a P4,a nd your friend is AMD. Does he perhaps 
have an AMD64 or AMD dual core machine?

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udev

2007-02-06 Thread jcd
 The first item should be SUBSYSTEMS, not SUBSYSTEM. The second should be
 ATTRS{model}; as in 
 
 SUBSYSTEMS==scsi, ATTRS{model}==LYRA_MPHR2301_EU, SYMLINK+=lyra
 
 If you cut and paste from the udevinfo output to your rules file, you
 avoid such errors.

Thank you very much. It is OK now. However, I followed this
documentation and there is described my approach (bad approach)
http://www.reactivated.net/writing_udev_rules.html .

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Gabriel Rossetti wrote:
 Ric de France wrote:
  Hi Gabriel,
 
  On 07/02/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:
  I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create
  the linux link, then cd inside
  and compile/install it. I reboot and I get lots of errors from
  modules, I do a uname -a
  and notice that it still says 2.6.19-r4, i then check in the /boot
  directory, and the links are correct,
  then I check my grub.conf and it's correct, I then tried
  gentoo-sources-2.6.20, still the same thing.
 
  It sounds like you're doing the right thing. Could you do a:
 
  $ ls -al /boot
  $ cat /boot/grub/grub.conf
  $ ls -al /usr/src
 
  and then post the outputs to this list?
 
  ...Ric

 Hi Ric,

 yes, here is what you asked for :

[snip listings]

 PS
 I have not changed my way of compiling / installing the kernel for at
 least 4 years (since switching to 2.6 kernel series)

Well, everything there looks just fine and how it should be, and you do 
appear to know exactly how to compile kernels.

It looks to me like you slipped up just this once and have a PEBKAC or a 
made a little typo - it happens :-)

If you run 'strings' on /boot/vmlinuz, is that really a 2.6.20 image? 
Did you verify that /usr/src/linux-2.6.20 really does contain a 2.6.20 
tree by examining the actual files?

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Gabriel Rossetti



Alan McKinnon wrote:

On Tuesday 06 February 2007, Gabriel Rossetti wrote:
  

Gabriel Rossetti wrote:


Hello,

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from
modules, I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.

Does anyone have any ideas?

Gabriel
  

There is some more info, if I do :

grep -r 2.6.19-gentoo-r4 linux

I get :

linux/include/linux/autoconf.h:#define CONFIG_UNAME_RELEASE
2.6.19-gentoo-r4
linux/include/config/auto.conf:CONFIG_UNAME_RELEASE=2.6.19-gentoo-r4


but my linux symlink is from the 2.6.20 kernel, not 2.6.19-r4 :

ls -la
total 3
drwxr-xr-x  4 root root  176 Feb  6 11:29 .
drwxr-xr-x 18 root root  496 Jan 31 20:42 ..
-rw-r--r--  1 root root0 Aug  3  2006 .keep
lrwxrwxrwx  1 root root   19 Feb  6 11:29 linux -
linux-2.6.20-gentoo drwxr-xr-x 20 root root 1296 Feb  6 09:44
linux-2.6.19-gentoo-r4 drwxr-xr-x 20 root root 1328 Feb  6 11:45
linux-2.6.20-gentoo


Thanks,
Gabriel



did you do a make menuconfig from scratch, or did you copy an 
old .config over from a prior release?


It looks like the latter may have happened and your .config does not 
agree with what is actually in the source tree.


Either that or you have a 2.6.19-r4 source tree thaqt is named 2.6.20

alan


  

Thanks for your reply Alan,

I copied over my .config and did a make oldconfig
then I had to choose the new options.

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



Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon wrote:
 If you run 'strings' on /boot/vmlinuz, is that really a 2.6.20 image? 
 Did you verify that /usr/src/linux-2.6.20 really does contain a 2.6.20 
 tree by examining the actual files?

Maybe you are not putting the kernel on the real /boot and your grub and kernel 
images are all...
stored somewhere else, like the real /boot?

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Mail Hosting Seguro y Consultoria - http://www.buanzo.com.ar/pro/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyISBAlpOsGhXcE0RAv6FAJ9xj4lgQRfg/V7Meuq9G7fkjpcVJQCfTY+S
uZdIcHPUdxqJkHNjh62GDv0=
=JX/A
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Harm Geerts
On Tuesday 06 February 2007, Gabriel Rossetti wrote:
 Hello,

 I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
 linux link, then cd inside
 and compile/install it. I reboot and I get lots of errors from modules,
 I do a uname -a
 and notice that it still says 2.6.19-r4, i then check in the /boot
 directory, and the links are correct,
 then I check my grub.conf and it's correct, I then tried
 gentoo-sources-2.6.20, still the same thing.

 Does anyone have any ideas?

Do you have a seperate /boot partition and forgot to mount it before 
installing the kernel?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Completely lost regarding wifi

2007-02-06 Thread YoYo Siska
On Mon, Feb 05, 2007 at 09:51:09PM -0500, Henk Boom wrote:
 (I had some trouble posting this message the first time, so I
 apologize if it appears twice)
 
 Hi, last fall I spent some of my summer earnings on a ThinkPad X41
 tablet, and have been loving it ever since I installed Gentoo on it.
 There is one thing I have not yet been able to make work, though, and
 that is wifi. This is probably due to a combination of my own lack of
 wifi-related experience and the fact that my school (the only
 practical place I have to use wifi) seems to use a horrendously
 complicated setup .. I have heard that others with this laptop have
 managed to make wifi work.
 
 I have been trying different things on and off for a few month now,
 but the fact is that I have very little idea of how to configure wifi,
 and there seems to be little documentation that I can find which is
 relevant to this situation. I've decided that there's little left to
 do except bug all of you with my problem =(.
 
 My school has some Windows/Mac setup instructions here (scroll down a bit):
 http://rorschach.concordia.ca/neg/remote_access/wireless/
 They mention Xsupplicant in relation to Linux, but once again I find
 myself way out of my depth. . .
 
 lspci lists my wifi card as:
 04:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG
 Network Connection (rev 05)
 
 I am using the ipw2200 module, and the wifi card shows up under
 iwconfig as eth1.
 


Hi I have X41Tablet too, although with the 2915ABG wifi chipset (because
of the built-in bluetooth ;-) but it uses the same driver and should
work in the same way (I used to have R51 with 2200).

As for the wifi, there are basically 3 different modes, unencrypted, WEP,
and WPA (there are many kinds of WPA, but that doesn't really matter in
the way of configuring it under gentoo w ipw2200).

For the unencrypted and WEP cases, all you need are wireless-tools and
gentoo initscripts, good examples are in /etc/conf.d/wireless.  You
configure few things for the whole interface (such as preferred_aps) and
others per access point (essid) such as encryption key and actual tcp/ip
configuration.  Gentoo initscripts than choose an access point in range
and connect to it.

Just put these into any of the relevant config files ( wireless, net,
net.eth0 or net.eth1 depending on which is your wifi, all in
/etc/conf.d):


# this should be default and thus not needed
modules_eth0=( iwconfig )

config_ESSID1=( dhcp ) # not needed too
key_ESSID1=abcdefabcd

config_ESSID2=( 10.0.0.13 netmask 255.255.255.0 )
routes_ESSID2=( defualt via 10.0.0.1  )

...

Then just start the interface...

As for WPA you need additional software to do the encryption (well, to
the key exchange and such stuff...). The best choice now is
wpa_supplicant. In the /etc/conf.d/net.eth0 just put
modules_eth0=( wpa_supplicant )
and relevant config_ESSID and probably routes_ESSID (for dhcp you can
just leave it). To set up the WPA options you have to edit
/etc/wpa_supplicant/wpa_supplicant.conf.

There are many ways to do authentication/key exchange in WPA, from the
windows configuration on the page you mentioned it seems that you need
LEAP authentication (used by cisco) or PEAP + MSCHAPv2. The relevant part of the
wpa_supplicant should look like this:

network={
ssid=REftRW2d
key_mgmt=IEEE8021X
eap=LEAP
identity=user
password=pass
}

or for PEAP+MSCHAPv2:
network={
ssid=REftRW2d
key_mgmt=WPA-EAP
eap=PEAP
identity=user
password=pass
# this shiould not be needed
phase2=auth=MSCHAPV2
}

I haven't actually used LEAP myself, so this is only a guess, feel free
to google for LEAP wpa_supplicant, or try asking people that managed to
get it running on your school. 

As for the essids (ssids), under root, just run
iwlist eth0 scan
to see the list of wireless networks in range (or use some graphical
utility). wpa_supplicant uses to power down the wifi, so you may need to
do
iwconfig eth0 txpower on
to see some results.


If you need more help, feel free to mail me off list...

-- 
  _
  |
YoYo () Siska

http://www.ksp.sk/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Completely lost regarding wifi

2007-02-06 Thread YoYo Siska
YoYo Siska wrote:
 As for WPA you need additional software to do the encryption (well, to
 the key exchange and such stuff...). The best choice now is
 wpa_supplicant. In the /etc/conf.d/net.eth0 just put
 modules_eth0=( wpa_supplicant )
 and relevant config_ESSID and probably routes_ESSID (for dhcp you can
 just leave it). To set up the WPA options you have to edit
 /etc/wpa_supplicant/wpa_supplicant.conf.
 
Forgot just the second important thig for wpa_supplicant and ipw2200,
beside modules_eth0:
wpa_supplicant_eth0=-Dwext


yoyo
:w
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udev

2007-02-06 Thread Neil Bothwick
On Tue, 06 Feb 2007 14:13:04 +0100, jcd wrote:

 Thank you very much. It is OK now. However, I followed this
 documentation and there is described my approach (bad approach)
 http://www.reactivated.net/writing_udev_rules.html .

Some of the sysfs naming has changed since that page was last updated.


-- 
Neil Bothwick

Bother, said Pooh, as the EEC outlawed his favourite sized honey pot.


signature.asc
Description: PGP signature


Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Gabriel Rossetti



Alan McKinnon wrote:

On Tuesday 06 February 2007, Gabriel Rossetti wrote:
  

Ric de France wrote:


Hi Gabriel,

On 07/02/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:
  

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create
the linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from
modules, I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.


It sounds like you're doing the right thing. Could you do a:

$ ls -al /boot
$ cat /boot/grub/grub.conf
$ ls -al /usr/src

and then post the outputs to this list?

...Ric
  

Hi Ric,

yes, here is what you asked for :



[snip listings]

  

PS
I have not changed my way of compiling / installing the kernel for at
least 4 years (since switching to 2.6 kernel series)



Well, everything there looks just fine and how it should be, and you do 
appear to know exactly how to compile kernels.


It looks to me like you slipped up just this once and have a PEBKAC or a 
made a little typo - it happens :-)


If you run 'strings' on /boot/vmlinuz, is that really a 2.6.20 image? 
Did you verify that /usr/src/linux-2.6.20 really does contain a 2.6.20 
tree by examining the actual files?


alan

  

here's the output of strings

strings /boot/vmlinuz | grep 2.6
2.6.20-gentoo ([EMAIL PROTECTED]) #2 SMP PREEMPT Tue Feb 6 14:09:46 UTC 2007

I didn't check the kernel tree against my files because I'm not really 
sure how to do that :-)


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



Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Gabriel Rossetti



Harm Geerts wrote:

On Tuesday 06 February 2007, Gabriel Rossetti wrote:
  

Hello,

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules,
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.

Does anyone have any ideas?



Do you have a seperate /boot partition and forgot to mount it before 
installing the kernel?
  

Harm!

That's it, I never did that (not automaount /boot), but I decided to 
this time, so like you said, my /boot was not mounted
so everything was right, but at the same time it wasn'tThat was a 
stupid mistake on my part.


Thanks to all those that answered and sorry for bothering you all with 
this...


Gabriel


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with emerge package recompile

2007-02-06 Thread Neil Bothwick
On Fri, 2 Feb 2007 15:09:44 -0600, Dan Farrell wrote:

 Alternately, you could use an NFS share to make /usr/portage/distfiles
 shared with all the computers on your network.  If you have more than
 one gentoo box, that is ; )

You don;t need to be running Gentoo on the distfiles host. It doesn't
even have to be Linux, you could point $DISTDIR to a Samba mount on a
Windows box. This is useful if you have, say, a laptop with limited disk
space running Gentoo.


-- 
Neil Bothwick

If you think that you can truncate my sig to 75 chars, then you can just fu


signature.asc
Description: PGP signature


Re: [gentoo-user] no matter what kernel version I compile, It says it's 2.6.19-r4

2007-02-06 Thread Hans-Werner Hilse
Hi,

On Tue, 06 Feb 2007 10:37:05 -0300 Arturo 'Buanzo' Busleiman
[EMAIL PROTECTED] wrote:

 Maybe you are not putting the kernel on the real /boot and your grub
 and kernel images are all... stored somewhere else, like the
 real /boot?

Yes, /boot _is_ apparently on a single partition (see grub config).
Question is: Is that partition mounted (or better: was it when
installing the kernel)?

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



Re: [gentoo-user] Automounting drives, partitions udev, mtab fstab

2007-02-06 Thread Douglas Linford

There are some basic configuration options in the Removable Drives and
Media applet in Gnome, but not much else that I can see. But it is
obviously Gnome Volume Manager that is doing some of the work that results
in removable media drive icons that show up on my Desktop, as when I boot
into xfc4, my removable media doesn't even mount, at least automatically.

doug

On 2/5/07, Alan McKinnon [EMAIL PROTECTED] wrote:


On Monday 05 February 2007, Douglas Linford wrote:
 Alan,

 Thank you for the explanation...some of this helps, I already knew
 about the mount command. I have hal and dbus installed...what GUI
 tools for those apps were you refering to?

In KDE it's controlled by kcontrol - that enormous config app with 1000s
of selectable options. There's a selection near the top of the menu
which asks you which icons to display on the desktop. Options include a
large range of mounted and unmounted storage device types.

I can't help much with Gnome (I don't use it) but surely it will be part
of the vast array of configuration options available in the Preferences
menu. This is installed automatically with Gnome. In my limited
experience with Gnome I have always found that a device can be accessed
through the middle Other menu

alan


--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Gabriel Rossetti



Gabriel Rossetti wrote:



Harm Geerts wrote:

On Tuesday 06 February 2007, Gabriel Rossetti wrote:
 

Hello,

I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
linux link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules,
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.

Does anyone have any ideas?



Do you have a seperate /boot partition and forgot to mount it before 
installing the kernel?
  

Harm!

That's it, I never did that (not automaount /boot), but I decided to 
this time, so like you said, my /boot was not mounted
so everything was right, but at the same time it wasn'tThat was a 
stupid mistake on my part.


Thanks to all those that answered and sorry for bothering you all with 
this...


Gabriel


I feel like a newbie
--
gentoo-user@gentoo.org mailing list



[gentoo-user] System Crash

2007-02-06 Thread Shawn Singh

Hello list,

This morning I noticed that my machine was frozen (would not respond to
keyboard or mouse, so couldn't ctrl+alt+func_key to a terminal or anything,
I couldn't ping it either). I reset it and started chugging along... or so I
thought. This machine is my firewall. Everytime a client attempts to connect
to eth1, the machine crashes. Prior to the most recent crash I switched to a
console session so I could see messages coming to the screen and I saw
something to the tune of:

BUG: soft lockup detected on cpu#0!
...
dump trace 0x69/ox1af
show_trace_log lvl +0x18/0x2...
show_trace+0xf/0x11
dump_stack 0x15/ 0x12
softlockup_tick 0xad/0xc4
...
smp_apic_timer_interrupt 0x9f/0xbb
apic_timer_interrupt 0x2a/0x30
_do_softirq_0x68/0xeb
do_softirq ox4a/0xc3
===

I can induce the crash at will by:

1. booting the firewall
2. booting the client that is connected to eth1

or

(if the client is booted)
1. boot the firewall
2. disconnect the cable that is plugged into eth1 and plug it into eth2

(if the client is booted)
1. boot the firewall
2. change the ip parameters on the client and ping the firewall

I'm running 2.6.19-r1. I've been using that kernel for probably 1 month or
so. The most recent change I made to the machine was installing Shorewall
and recompiling the kernel to add the ip masq stuff. The machine ran all
weekend with no hitches. Last night my wife's laptop was connected to eth1
and she was surfing the net just fine, I disconnected her laptop and
connected my laptop and I surfed the net just fine. I woke up this morning
and noticed this trouble?

Have any of yous guys seen anything like this before?

Thanks,

Shawn

Doing linear scans over an associative array is like trying to club someone
to death with a loaded Uzi.
Larry Wall


[gentoo-user] Mails getting lost?

2007-02-06 Thread Boyd Stephen Smith Jr.
Are my mails to the list getting to anyone else?  I'm not seeing them 
myself, and I wanted to make sure they weren't disappearing into the 
ether.  I checked that I could email myself directly, so I don't think 
it's a problem on this side, but I sent a helpful reply about kde-meta and 
kate earlier today and I still haven't seen it yet.  Same with a comment I 
sent to gentoo-desktop around the same time.

Before anyone asks, no, I am not using gmail.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!


pgp7FBQhffdcD.pgp
Description: PGP signature


Re: [gentoo-user] Mails getting lost?

2007-02-06 Thread Michal 'vorner' Vaner
On Tue, Feb 06, 2007 at 12:39:56PM -0600, Michael Sullivan wrote:
 On Tue, 2007-02-06 at 12:26 -0600, Boyd Stephen Smith Jr. wrote:
  Are my mails to the list getting to anyone else?  I'm not seeing them 
  myself, and I wanted to make sure they weren't disappearing into the 
  ether.  I checked that I could email myself directly, so I don't think 
  it's a problem on this side, but I sent a helpful reply about kde-meta and 
  kate earlier today and I still haven't seen it yet.  Same with a comment I 
  sent to gentoo-desktop around the same time.
  
  Before anyone asks, no, I am not using gmail.
  
 
 I sent in a post yesterday afternoon.  My mail logs say it was sent, but
 I haven't seen it.  I'm not using gmail either.

I guess this list just does not send the message to its originator, I do
not see mine either.

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpwO9nYlHS4b.pgp
Description: PGP signature


Re: [gentoo-user] Mails getting lost?

2007-02-06 Thread John J. Foster
On Tue, Feb 06, 2007 at 12:26:46PM -0600, Boyd Stephen Smith Jr. wrote:
 Are my mails to the list getting to anyone else?  I'm not seeing them 
 myself, and I wanted to make sure they weren't disappearing into the 
 ether.  I checked that I could email myself directly, so I don't think 
 it's a problem on this side, but I sent a helpful reply about kde-meta and 
 kate earlier today and I still haven't seen it yet.  Same with a comment I 
 sent to gentoo-desktop around the same time.
 
Last list mail I have from you is dated 2-2.

festus
-- 
Disobedience, in the eyes of any one who has read history, is man's
original virtue. It is through disobedience that progress has been
made, through disobedience and through rebellion.
 -- Oscar Wilde


pgpXVcdVcsQRO.pgp
Description: PGP signature


Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-06 Thread Boyd Stephen Smith Jr.
On Monday 05 February 2007 22:41, Dale wrote:
 Dale wrote:
  Calculating dependencies... done!
  [ebuild U ] kde-base/kdelibs-3.5.6-r2 [3.5.5-r7] USE=acl alsa
  arts cups doc fam jpeg2k spell ssl tiff -avahi -debug -kdeenablefinal
  -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter
  -xinerama -zeroconf LINGUAS=-he 15,186 kB
  [ebuild U ] kde-base/kate-3.5.6 [3.5.5-r1] USE=arts -debug
  -kdeenablefinal -kdehiddenvisibility -xinerama 23,589 kB
 
  That version works fine.
 
 Well, I'm trying to mask this so it will not upgrade when I do updates.
 I must be missing something here.  When I did the pretend downgrade it
 pulled kdelibs down one version too.  So I want to make it so that
 kdelibs and kate will stay at 3.5.5 versions.  This is what I added to

 package.mask:
  =kde-base/kate-3.5.6
  =kde-base/kdelibs-3.5.6-r2

 That way if there is a new release it will upgrade and hopefully it will
 be fixed.  However, this is what happens when I check for updates:
  [EMAIL PROTECTED] / # emerge -uvDp world
 
  These are the packages that would be merged, in order:
 
  Calculating world dependencies \
  !!! All ebuilds that could satisfy ~kde-base/kate-3.5.6 have been
  masked.
  !!! One of the following masked packages is required to complete your
  request:
  - kde-base/kate-3.5.6 (masked by: package.mask)
 
  For more information, see MASKED PACKAGES section in the emerge man
  page or
  refer to the Gentoo Handbook.
  (dependency required by kde-base/kdebase-meta-3.5.6 [ebuild])
 

 Do I need to mask kde-meta too or is there some other way around this??
  scratches head 

Bringing kde-meta up to version 3.5.6 is going to want to upgrade ALL it's 
dependencies to 3.5.6 (which includes kate).

To maintain different versions of of the various KDE packages, you'll need 
to 
remove the kde-meta package.  To make sure 'emerge -u world' (or a 
variant), 
pulls in new version of other packages, you'll want to 'emerge -n' the 
various direct dependencies of kde-meta (kdenetwork-meta etc).

I doubt kate is a direct dependency of kde-meta (I could be wrong).  If it 
isn't, one (or more) of the other kde${stuff}-meta packages will also try 
to 
upgrade it.  Instead of 'emerge -n'-ing those packages, 'emerge -n' it's 
direct dependencies (one of which should be kate).

You may actually find some packages that you don't care about, feel free to 
not 'emerge -n' them.  They will then not be updated by an 'emerge -u 
world' 
and my be removed be 'emerge --depclean' (unless they are a dependency of 
some other package in world)

In fact, I recently removed all the kde${stuff}-meta packages from my 
system 
and only installed the KDE applications I wanted.  This might result in 
significant disk space savings, but YMMV.  I now have ~90 packages from the 
kde-base category instead of the ~350 pulled in by kde-meta.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!


pgpQeqL1O1U9j.pgp
Description: PGP signature


Re: [gentoo-user] Completely lost regarding wifi

2007-02-06 Thread Henk Boom

On 05/02/07, Sigfrido V. Ortiz C. [EMAIL PROTECTED] wrote:

Review next section, after your WiFi card be right installed:

nano -w /etc/conf.d/wireless.example

If you follow that instructions as well as the provided by your school,
It will be so easy to you.

About Gentoo Networking please look at here for x86 processor:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=3
and
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4

Sigfrido



I'm much closer than I have been before. Following the LEAP example, I
seem to manage to connect. iwconfig tells me I have an encryption key.
The only issue now seems to be that I can't get dhcp working. Nothing
relevant runs automatically, and when I run dhcpcd manually it times
out. Then, after I have run dhcpcd, or if I just wait a while, when I
do iwconfig it tells me that I an unassociated. . .

I feel close, but I'm not quite there yet ..

Thanks,
   Henk Boom
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Gabriel Rossetti wrote:

 That's it, I never did that (not automaount /boot), but I decided to
 this time, so like you said, my /boot was not mounted
 so everything was right, but at the same time it wasn'tThat was a
 stupid mistake on my part.

 Thanks to all those that answered and sorry for bothering you all
 with this...

 Gabriel

I think we've all made that mistake at some point!

No need to apologize, it's something to learn from. At least now when 
the next newbie makes the same mistake you are in a position to help 
them in return :-)

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mails getting lost?

2007-02-06 Thread Alan McKinnon
On Tuesday 06 February 2007, Boyd Stephen Smith Jr. wrote:
 Are my mails to the list getting to anyone else?  I'm not seeing them
 myself, and I wanted to make sure they weren't disappearing into the
 ether.  I checked that I could email myself directly, so I don't
 think it's a problem on this side, but I sent a helpful reply about
 kde-meta and kate earlier today and I still haven't seen it yet. 
 Same with a comment I sent to gentoo-desktop around the same time.

 Before anyone asks, no, I am not using gmail.

Your mails are not getting lost as I do receive copies. I got your 
repsonse to Dale's thread about kate/kwrite at 21:00 local time (GMT 
+2), with the following headers:

Return-Path: 
[EMAIL PROTECTED]
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-policyd-weight: using cached result; rate: -8.5
Received: from robin.gentoo.org (lists.gentoo.org [140.105.134.102])
by linuxholdings.co.za (Postfix) with ESMTP id 5C73C1AB4197
for [EMAIL PROTECTED]; Tue,  6 Feb 2007 13:28:45 -0600 (CST)
Received: from robin.gentoo.org (localhost [127.0.0.1])
by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l16JEf7l011539;
Tue, 6 Feb 2007 19:14:41 GMT
Delivered-To: gentoo-user@lists.gentoo.org
Received: from ender.volumehost.net 
(adsl-69-154-123-202.dsl.fyvlar.swbell.net [69.154.123.202])
by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l16J5J1F027818
for gentoo-user@lists.gentoo.org; Tue, 6 Feb 2007 19:05:19 GMT
Received: from localhost (localhost [127.0.0.1])
by ender.volumehost.net (Postfix) with ESMTP id 0B0DF18551
for gentoo-user@lists.gentoo.org; Tue,  6 Feb 2007 19:05:19 + 
(UTC)
X-Virus-Scanned: amavisd-new at volumehost.net
Received: from ender.volumehost.net ([127.0.0.1])
by localhost (ender.volumehost.net [127.0.0.1]) (amavisd-new, port 
10024)
with LMTP id qTC5VGiMM2tu for gentoo-user@lists.gentoo.org;
Tue,  6 Feb 2007 19:05:17 + (UTC)
Received: from adsl-69-154-123-205.dsl.fyvlar.swbell.net 
(adsl-69-154-123-205.dsl.fyvlar.swbell.net [69.154.123.205])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by ender.volumehost.net (Postfix) with ESMTP id 530A3184DD
for gentoo-user@lists.gentoo.org; Tue,  6 Feb 2007 19:05:17 + 
(UTC)
From: Boyd Stephen Smith Jr. [EMAIL PROTECTED]

There doesn't seem to be any significant delay there, beyond 5 minutes 
lag at one point - easily ascribed to a full mail queue or other 
routine causes. But the mail certianly isn't getting lost wholesale.

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Daniel Pielmeier

Hi all,

i have bought components to assemble a new PC by myself.
This are the main components.

Mainboard:  ConRoeXFire-eSATA2 (Intel(r) 945P)
CPU:Core 2 Duo E6600 (2400 MHz)
RAM:Transcend DIMM 2x1 GB DDR2-667 (1024 MB)
Harddisk:   Western Digital Caviar SE WD2000JD (200 GB) [Sata]
DVD:Samsung SH-S183A (18 / 8 / 8 fach) [Sata]
Graphics:   Giga-Byte GeForce 7300 LE 128MB GV-NX73L128D (128 MB)
Network:Gigabit (10/100/1000 MBit/s)

I have managed to get all the stuff i want to work with gentoo.

On one hand my new machine is very fast. Here is an example from genlop


genlop -i openoffice
 * app-office/openoffice


   Total builds: 1
   Global build time: 3 hours, 1 minute and 47 seconds.

   Info about currently installed ebuild:

   * app-office/openoffice-2.0.4
   Install date: Tue Jan 30 04:34:33 2007
   USE=branding cairo cups dbus firefox ldap sound pam -binfilter
   -eds -gnome -gstreamer -gtk -kde -odk -webdav -debug
   CFLAGS=-march=nocona -O2 -pipe -fomit-frame-pointer


On the other i recently recognized when i doing some video editing i.e.
demultiplex the movie with projectx which shows the speed of writing
video and audio to the disk. It writes about 200MB with about 25MB/s
then it halts for about 2-3 seconds and starts again writing data to the
disk, after another 200MB it halts again and starts over again and so
on. I also recognize the same behavior when i multiplex the video and
audio together with mplex. What could cause this problems

Also when some one of this tasks is running and i want to do some
multitasking, the system reacts very slow on executing other programs.
For example if i try to open just an editor by the start menu. The menu
seems to be frozen and did not react at once also it took very long for
the editor to load.

I thought of wrong settings in cflags, or a wrong kernel config maybe
the sata-controller or other things which may cause this problems.

Thanks in advance for your help

Daniel Pielmeier



Here are a few things which might give some information over my system:


kernel config


#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_PC=y
CONFIG_MPENTIUM4=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_NR_CPUS=8
CONFIG_SCHED_MC=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
CONFIG_VM86=y
CONFIG_X86_CPUID=y

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y


CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDESCSI=m

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_GENERIC=m
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y

#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=m
CONFIG_CHR_DEV_SG=m

#
# SCSI low-level drivers
#
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_INTEL_COMBINED=y
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
CONFIG_SCSI_IZIP_EPP16=y
CONFIG_SCSI_IZIP_SLOW_CTR=y



cat /proc/cpuinfo


processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 CPU  6600  @ 2.40GHz
stepping: 6
cpu MHz : 2393.448
cache size  : 4096 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
bogomips: 4790.29

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 CPU  6600  @ 2.40GHz
stepping: 6
cpu MHz : 2393.448
cache size  : 4096 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pni monitor ds_cpl vmx est tm2 cx16 

Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Etaoin Shrdlu
On Tuesday 6 February 2007 21:31, Daniel Pielmeier wrote:

 On the other i recently recognized when i doing some video editing
 i.e. demultiplex the movie with projectx which shows the speed of
 writing video and audio to the disk. It writes about 200MB with about
 25MB/s then it halts for about 2-3 seconds and starts again writing
 data to the disk, after another 200MB it halts again and starts over
 again and so on. I also recognize the same behavior when i multiplex
 the video and audio together with mplex. What could cause this
 problems

What I/O scheduler are you using? Did you try to experiment with the 
deadline or the cfq I/O schedulers?
If you have them enabled in your kernel config, read 
Documentation/block/switching-sched.txt and see if things get better 
after changing the I/O scheduler for your hard disk.
Of course, your problem might be caused by something else altogether.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Michael Schreckenbauer
Hi,

Am Dienstag, 6. Februar 2007 schrieb Daniel Pielmeier:
 Hi all,
 i have bought components to assemble a new PC by myself.
 This are the main components.

that's very interesting. You seem to have exactly the same problem I posted 
one minute before you :)
My machine is an amd64 3000, with via based board, gentoo compiled for ~x86.
Any chance you are using xfs?

Regards, 
Michael

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Open Office 2.0.4 and fonts

2007-02-06 Thread Adrian

Greetings;

I just upgraded Open Office from 2.0.3 to 2.0.4 (yes, I'm behind).

Now, I can't use any of the fonts other than the ones which come with
Open Office.  All my existing fonts which I added were being substituted
with other fonts.  I emptied the directory 

/usr/lib/openoffice/share/fonts/truetype

and tried to reinstall, as root and then as user (using spadmin).  Still
doesn't work.

I tried copying the fonts over manually.  Doesn't work.

I deleted ~/.ooo-2.0.  Doesn't work.

I tried running as root.  Doesn't work.

I tried all of this on my other computer, which I just upgraded as
well.  Doesn't work there either.

I tried searching the bug list and the gentoo forum.  Couldn't find
anything relevant . . . 

My USE flags (on this box at least) are:

 root $  emerge -pv openoffice

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

Calculating dependencies... done!
[ebuild   R   ] app-office/openoffice-2.0.4  USE=cairo cups dbus
firefox gnome gstreamer gtk java kde ldap pam -binfilter -branding
-debug -eds -odk -sound -webdav LINGUAS=en_GB en_US -af -ar -be_BY
-bg -bn -bs -ca -cs -cy -da -de -el -en -en_ZA -es -et -fa -fi -fr
-gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -lv -mk -nb -nl -nn -nr
-ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ
-th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu 0 kB 


Yea.  Any suggestions?  Thanks so very much.

Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Daniel Pielmeier
Michael Schreckenbauer schrieb:
 Hi,
 
 Am Dienstag, 6. Februar 2007 schrieb Daniel Pielmeier:
 Hi all,
 i have bought components to assemble a new PC by myself.
 This are the main components.
 
 that's very interesting. You seem to have exactly the same problem I posted 
 one minute before you :)
 My machine is an amd64 3000, with via based board, gentoo compiled for ~x86.
 Any chance you are using xfs?
 
 Regards, 
 Michael
 

No i use ext2 for boot and ext3 for all other filesystems

I don't know if it also happens when my system is in an idle state, i
have to investigate on this!

Regards Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Daniel Pielmeier
 What I/O scheduler are you using? Did you try to experiment with the 
 deadline or the cfq I/O schedulers?
 If you have them enabled in your kernel config, read 
 Documentation/block/switching-sched.txt and see if things get better 
 after changing the I/O scheduler for your hard disk.
 Of course, your problem might be caused by something else altogether.

At the moment i use the CFQ-scheduler others are not compiled in the
kernel, I will compile one and tell you if this gives any improvements.

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



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Pierre-Yves Rofes
On Tue, February 6, 2007 9:29 pm, Michael Schreckenbauer wrote:
 Hi List,
 I have a very strange thing here. I don't know when this started, but my
 feeling is, that it was around kernel 2.6.15 and it's getting worse with
 each
 version.
 From time to time my system comes to a complete halt, that means not a
 single
 application shows any response to mouse and/or keyactions, sshing into it
 takes forever. After a while (up to ~30s ) normal reaction is back again.
 Strange thing is, there is no activity at the times this happens. Reading
 email and browsing the web is all that is needed. CPU is at 3-5% according
 to
 top, mem has ~1GB free according to free.
 I can somehow force this behaviour by doing some harddisc io, eg untaring
 a
 kernel-tarball. But it does not happen everytime I do this.
 This is really, really annoying. I have no idea, if this is a kernel, a FS
 or
 any other issue. Any help with this is most welcome.
 Some additional info: fs is xfs, kernel is 2.6.19-gentoo-r4 and I'm a
 KDE-User, but this also happens with xfce4 ;)


Maybe a faulty hard drive with bad sectors that can't be read. Anything in
/var/log/messages or any other log file?

-- 
Pierre-Yves Rofes

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-06 Thread Daniel Pielmeier
 What I/O scheduler are you using? Did you try to experiment with the 
 deadline or the cfq I/O schedulers?
 If you have them enabled in your kernel config, read 
 Documentation/block/switching-sched.txt and see if things get better 
 after changing the I/O scheduler for your hard disk.
 Of course, your problem might be caused by something else altogether.

I have tried the three available schedulers but unfortunately this has
no effect.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Hemmann, Volker Armin
On Dienstag, 6. Februar 2007, Pierre-Yves Rofes wrote:
 On Tue, February 6, 2007 9:29 pm, Michael Schreckenbauer wrote:
  Hi List,
  I have a very strange thing here. I don't know when this started, but my
  feeling is, that it was around kernel 2.6.15 and it's getting worse with
  each
  version.
  From time to time my system comes to a complete halt, that means not a
  single
  application shows any response to mouse and/or keyactions, sshing into it
  takes forever. After a while (up to ~30s ) normal reaction is back again.
  Strange thing is, there is no activity at the times this happens. Reading
  email and browsing the web is all that is needed. CPU is at 3-5%
  according to
  top, mem has ~1GB free according to free.
  I can somehow force this behaviour by doing some harddisc io, eg untaring
  a
  kernel-tarball. But it does not happen everytime I do this.
  This is really, really annoying. I have no idea, if this is a kernel, a
  FS or
  any other issue. Any help with this is most welcome.
  Some additional info: fs is xfs, kernel is 2.6.19-gentoo-r4 and I'm a
  KDE-User, but this also happens with xfce4 ;)

 Maybe a faulty hard drive with bad sectors that can't be read. Anything in
 /var/log/messages or any other log file?

 --
 Pierre-Yves Rofes

I am not sure that something is 'broken'. His problem is like mine... heavy 
disk i/o kills performance. And if the box hits swap, everything sucks 
because for some reason, always the wrong stuff is swapped out ;)

Really, sometimes, it is like every single bit is fetched individually from 
the swap space...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Michael Schreckenbauer
Hi,

Am Dienstag, 6. Februar 2007 schrieb Pierre-Yves Rofes:
 On Tue, February 6, 2007 9:29 pm, Michael Schreckenbauer wrote:
  From time to time my system comes to a complete halt, that means not a
  single
  application shows any response to mouse and/or keyactions, sshing into it
  takes forever. After a while (up to ~30s ) normal reaction is back again.
  Strange thing is, there is no activity at the times this happens. Reading
  email and browsing the web is all that is needed. CPU is at 3-5%
  according to
  top, mem has ~1GB free according to free.

 Maybe a faulty hard drive with bad sectors that can't be read. Anything in
 /var/log/messages or any other log file?

no sorry, I should have mentioned that. Nothing in the logs.
I am currently trying out, what Etaoin Shrdlu suggested in the 
thread Performance problem at writing big files and Multitasking.
I switched from cfq to deadline scheduler. No hang since I did that. Maybe 
that did the trick? I'll let you know :)

 Pierre-Yves Rofes

Thanks,
Michael
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Michael Schreckenbauer
Hi,

Am Dienstag, 6. Februar 2007 schrieb Hemmann, Volker Armin:
 On Dienstag, 6. Februar 2007, Pierre-Yves Rofes wrote:
  On Tue, February 6, 2007 9:29 pm, Michael Schreckenbauer wrote:
   From time to time my system comes to a complete halt, that means not a
   single
   application shows any response to mouse and/or keyactions, sshing into
   it takes forever. After a while (up to ~30s ) normal reaction is back
   again. Strange thing is, there is no activity at the times this
   happens. Reading email and browsing the web is all that is needed. CPU
   is at 3-5% according to
   top, mem has ~1GB free according to free.
  Maybe a faulty hard drive with bad sectors that can't be read. Anything
  in /var/log/messages or any other log file?
 
  --
  Pierre-Yves Rofes

 I am not sure that something is 'broken'. His problem is like mine... heavy
 disk i/o kills performance. And if the box hits swap, everything sucks
 because for some reason, always the wrong stuff is swapped out ;)
 Really, sometimes, it is like every single bit is fetched individually from
 the swap space...

I don't think, swap is the cause of this. This system has 1,5GB Ram, swap is 
nearly never touched :)

Thanks,
Michael
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Ric de France

On 07/02/07, Alan McKinnon [EMAIL PROTECTED] wrote:

On Tuesday 06 February 2007, Gabriel Rossetti wrote:

 That's it, I never did that (not automaount /boot), but I decided to
 this time, so like you said, my /boot was not mounted
 so everything was right, but at the same time it wasn'tThat was a
 stupid mistake on my part.

 Thanks to all those that answered and sorry for bothering you all
 with this...

 Gabriel

I think we've all made that mistake at some point!

No need to apologize, it's something to learn from. At least now when
the next newbie makes the same mistake you are in a position to help
them in return :-)


Just curious... but does genkernel automatically mount /boot? I use
genkernel, and have never had any issues, but I'm pretty sure that
I've always mounted /boot before running the genkernel command.

Anyone know?

(Guess I could see for myself, but I'm not in front of my Linux box at
the moment)

...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@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Hemmann, Volker Armin
On Dienstag, 6. Februar 2007, Michael Schreckenbauer wrote:
 Hi,

 Am Dienstag, 6. Februar 2007 schrieb Hemmann, Volker Armin:
  On Dienstag, 6. Februar 2007, Pierre-Yves Rofes wrote:
   On Tue, February 6, 2007 9:29 pm, Michael Schreckenbauer wrote:
From time to time my system comes to a complete halt, that means not
a single
application shows any response to mouse and/or keyactions, sshing
into it takes forever. After a while (up to ~30s ) normal reaction is
back again. Strange thing is, there is no activity at the times this
happens. Reading email and browsing the web is all that is needed.
CPU is at 3-5% according to
top, mem has ~1GB free according to free.
  
   Maybe a faulty hard drive with bad sectors that can't be read. Anything
   in /var/log/messages or any other log file?
  
   --
   Pierre-Yves Rofes
 
  I am not sure that something is 'broken'. His problem is like mine...
  heavy disk i/o kills performance. And if the box hits swap, everything
  sucks because for some reason, always the wrong stuff is swapped out
  ;) Really, sometimes, it is like every single bit is fetched individually
  from the swap space...

 I don't think, swap is the cause of this. This system has 1,5GB Ram, swap
 is nearly never touched :)



swap was only an example. Things that kill performance: big tar, big copy 
around, and everything that touches a lot of files
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Daniel da Veiga

On 2/6/07, Ric de France [EMAIL PROTECTED] wrote:

On 07/02/07, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Tuesday 06 February 2007, Gabriel Rossetti wrote:

  That's it, I never did that (not automaount /boot), but I decided to
  this time, so like you said, my /boot was not mounted
  so everything was right, but at the same time it wasn'tThat was a
  stupid mistake on my part.
 
  Thanks to all those that answered and sorry for bothering you all
  with this...
 
  Gabriel

 I think we've all made that mistake at some point!

 No need to apologize, it's something to learn from. At least now when
 the next newbie makes the same mistake you are in a position to help
 them in return :-)

Just curious... but does genkernel automatically mount /boot? I use
genkernel, and have never had any issues, but I'm pretty sure that
I've always mounted /boot before running the genkernel command.



Yes, genkernel mounts /boot right after launched...

--
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



[gentoo-user] Re: xmcd problem?

2007-02-06 Thread Bayrouni
Listscribbler a écrit :
 I have xmcd_2.6-19_i386.deb installed on an etch laptop. I cannot figure 
 out how to use xmcd to rip ogg files off audio CDs.
 

Use cdparanoia to rip from CD audio to wav
and  oggenc  to encode from wav to  ogg.

Both cdparanoia and oggenc are easy to use after reading their man pages.

You can also create a script to do the work for you.

This is only for command line lovers .

Bayrouni

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: xmcd problem?

2007-02-06 Thread Bayrouni
Bayrouni a écrit :
Sorry, my post was destined to an other mailing list.

It time for me to go to bed.

Here it is 3:55

Good night.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Norberto Bensa
Hemmann, Volker Armin wrote:
 On Dienstag, 6. Februar 2007, Michael Schreckenbauer wrote:
  I don't think, swap is the cause of this. This system has 1,5GB Ram, swap
  is nearly never touched :)

 swap was only an example. Things that kill performance: big tar, big copy
 around, and everything that touches a lot of files

Check your DMA settings


Regards,
Norberto


pgpBQdwAA5Xwf.pgp
Description: PGP signature


Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread nick


 Gabriel Rossetti wrote:


 I feel like a newbie
 --

So do I, they are very tasty!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Very bad system response

2007-02-06 Thread Hemmann, Volker Armin
On Mittwoch, 7. Februar 2007, Norberto Bensa wrote:
 Hemmann, Volker Armin wrote:
  On Dienstag, 6. Februar 2007, Michael Schreckenbauer wrote:
   I don't think, swap is the cause of this. This system has 1,5GB Ram,
   swap is nearly never touched :)
 
  swap was only an example. Things that kill performance: big tar, big copy
  around, and everything that touches a lot of files

 Check your DMA settings


my DMA settings are ok. Really, really.
hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 16383/255/63, sectors = 234493056, start = 0

[   36.419597] hda: 234493056 sectors (120060 MB) w/8192KiB Cache, 
CHS=16383/255/63, UDMA(100)

and

[   37.500706] ahci :03:00.0: AHCI 0001. 32 slots 1 ports 3 Gbps 0x1 
impl SATA mode
[   37.501239] ahci :03:00.0: flags: 64bit ncq pm led clo pmp pio slum 
part
[   37.501632] ata1: SATA max UDMA/133 cmd 0xC2004100 ctl 0x0 bmdma 
0x0 irq 35
[   37.502167] scsi0 : ahci
[   37.987972] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   37.988743] ata1.00: ATA-7, max UDMA/133, 312581808 sectors: LBA48
[   37.989026] ata1.00: ata1: dev 0 multi count 16
[   37.989838] ata1.00: configured for UDMA/133
[   37.990176] scsi 0:0:0:0: Direct-Access ATA  WDC WD1600JS-00M 10.0 
PQ: 0 ANSI: 5
[   37.990773] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
[   37.991061] sda: Write Protect is off
[   37.991339] sda: Mode Sense: 00 3a 00 00
[   37.991349] SCSI device sda: drive cache: write back
[   37.991657] SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
[   37.991942] sda: Write Protect is off
[   37.992225] sda: Mode Sense: 00 3a 00 00
[   37.992235] SCSI device sda: drive cache: write back
[   37.992514]  sda: sda1 sda2 sda3 sda4  sda5 sda6 
[   38.033040] sd 0:0:0:0: Attached scsi disk sda

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] QLogic QLA2xxx driver kernel 2.6.18+

2007-02-06 Thread Ásgeir Halldórsson
Hi all,

   Has anyone found a solution to how to load the firmware dirvers on boot in 
2.6.18+ kernels.  I read something about you need to put the /lib/firmware 
files into initrd.  But I dont know how or where to put it in.  My setup is IBM 
Blade Ceneter with HS20 blades (Intel Xeon cpus) with Qlogic 2412 FC card.  I 
boot from the san so i need the firmware into the kernel.

ERROR:
QLogic Fibre Channel HBA Driver
GSI 19 sharing vector 0xC1 and IRQ 19
ACPI: PCI Interrupt :05:08.0[A] - GSI 32 (level, low) - IRQ 193
qla2xxx :05:08.0: Found an ISP2312, irq 193, iobase
0xc2006000
qla2xxx :05:08.0: Configuring PCI space...
qla2xxx :05:08.0: Configure NVRAM parameters...
qla2xxx :05:08.0: Verifying loaded RISC code...
qla2xxx :05:08.0: Firmware image unavailable.
qla2xxx :05:08.0: Firmware images can be retrieved from:
ftp://ftp.qlogic.com/outgoing/linux/firmware/.
qla2xxx :05:08.0: Failed to initialize adapter
GSI 20 sharing vector 0xC9 and IRQ 20
ACPI: PCI Interrupt :05:08.1[B] - GSI 33 (level, low) - IRQ 201
qla2xxx :05:08.1: Found an ISP2312, irq 201, iobase
0xc2006000
qla2xxx :05:08.1: Configuring PCI space...
qla2xxx :05:08.1: Configure NVRAM parameters...
qla2xxx :05:08.1: Verifying loaded RISC code...
qla2xxx :05:08.1: Firmware image unavailable.
qla2xxx :05:08.1: Firmware images can be retrieved from:
ftp://ftp.qlogic.com/outgoing/linux/firmware/.
qla2xxx :05:08.1: Failed to initialize adapter

Kveðja / Regards
Ásgeir Halldórsson
E.C. Software



Re: [gentoo-user] Gentoo VMWare image works on Intel but not AMD. Are they not interchangeable?

2007-02-06 Thread Jason Weisberger

Daevid,

If your Gentoo installation was compiled with march=p4 or the like, your
image will not work on an AMD machine.  The way to have them interchangeable
is to use march=i686 mtune=p4, that way there are no cpu-specific
instructions compiled into your binaries.  mtune will just adjust the
scheduling to fit the pipeline of your most used arch.  The one piece of
hardware that cannot be virtualized on an x86 machine is unfortunately the
cpu, unless of course you're running a new cpu with Intel Virtualization or
AMD's Pacifica.  Even then, it can't deal with incompatible binaries.
You'll not just have to recompile your kernel, but your entire system with
the new cflags for it to work interchangeably.

Jason Weisberger

On 2/5/07, Daevid Vincent [EMAIL PROTECTED] wrote:


I have a VMWare Workstation image of Gentoo Linux that I transfer between
my
desktop and my notebook (for LAMP/Ruby development) and it works fantastic
on both. Both are running WindowsXP as the host VMWare. Both are Pentium4.


Recently, I tried to share the image with a co-worker and it pukes out
about
the time it does some udev stuff at the top of starting up. The (rc.init?)
scripts start breaking and spewing lots of errors and ultimately doesn't
mount the filesystem properly. We are able to manually mount it later, but
then lost of other things are broken. VMware doesn't have any errors we
could find, not even in the logs. It seems to be an OS issue.

Does the host CPU make a difference? I thought it was all emulated? I
tried
to recompile the kernel with the generic '386 CPU settings and removed all
power mgmt etc, and the same issue happens.

Can I not transfer between Intel and AMD CPUs? Is there some magic thing
in
the kernel I need to set so it can work on both?

We attempted several times and tried using VMWare player and also VMWare
workstation.

It would really suck to have to have him re-compile everything just to get

the same dev environment setup as mine.

I also posted this on the VMWare forums in case anyone cares:
http://www.vmware.com/community/thread.jspa?threadID=71079

--
gentoo-user@gentoo.org mailing list





--
Jason Weisberger
[EMAIL PROTECTED]


Re: [gentoo-user] Re: no matter what kernel version I compile, It says it's 2.6.19-r4 - SOLVED

2007-02-06 Thread Alan McKinnon
On Wednesday 07 February 2007, Daniel da Veiga wrote:
 On 2/6/07, Ric de France [EMAIL PROTECTED] wrote:
  On 07/02/07, Alan McKinnon [EMAIL PROTECTED] wrote:
   On Tuesday 06 February 2007, Gabriel Rossetti wrote:
That's it, I never did that (not automaount /boot), but I
decided to this time, so like you said, my /boot was not
mounted
so everything was right, but at the same time it wasn'tThat
was a stupid mistake on my part.
   
Thanks to all those that answered and sorry for bothering you
all with this...
   
Gabriel
  
   I think we've all made that mistake at some point!
  
   No need to apologize, it's something to learn from. At least now
   when the next newbie makes the same mistake you are in a position
   to help them in return :-)
 
  Just curious... but does genkernel automatically mount /boot? I use
  genkernel, and have never had any issues, but I'm pretty sure that
  I've always mounted /boot before running the genkernel command.

 Yes, genkernel mounts /boot right after launched...

genkernel *conditionally* mounts /boot if /etc/genkernel.conf contains 
MOUNTBOOT=yes

It can be unset with the result that /boot will not be mounted 
automatically

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list