Re: [gentoo-user] problems updating system

2009-02-18 Thread Arnau Bria
On Mon, 16 Feb 2009 10:46:11 +0100
Arnau Bria wrote:

Hi, 

   * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
 emerge --oneshot  dev-libs/apr-util:0
 dev-perl/DBD-mysql:0
 net-libs/gnutls:0
 sys-devel/gettext:0
 ..
 Calculating dependencies |
 emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
 
 Seems that my system has some other problems...
 
 going to sync again

I finally solved my problem by doing next:

emerge -C dev-perl/DBD-mysql net-libs/gnutls sys-devel/gettext dev-libs/apr-util
emerge --nodeps sys-devel/gettext sys-apps/attr
revdep-rebuild
emerge -u portage 

and now I'm doing the emergee -uD world

Not recommended at all :-)


cheers,


-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] NIC not detected after Kernel upgrade

2009-02-18 Thread daid kahl
  Also, you should avoid using oldconfig except for really minor kernel
  upgrades.  I know this is mentioned in documentation elsewhere, but
  just a useful reminder.
 
  ~daid

 This has been discussed on this list before.  Running make oldconfig
 works fine.  I, and a lot of others, have said this many times.  I
 configed one kernel about 5 years ago and have used oldconfig ever
 since.  It is faster and less prone to problems than starting from scratch.

 If you are going from 2.4 to 2.6, then you should start fresh.  I
 recently went from 2.6.23 to a 2.6.28 with no problem, other than trying
 to figure out that new group stuff.

 Dale


Huh.  I was going from 2.6.23 to 2.6.26 about 2 weeks ago and using
oldconfig was giving me some major trouble as I recall.  Not sure
specifically now, but I know CONFIG_HPET_TIMER had to be turned off later
during manual configuration, or my machine was hanging after some ACPI
scripts.  This behavior is replicated elsewhere for similar hardware, though
the author claimed it was fixed after 2.6.25 which I found to clearly not be
the case.  I had also not manually configured my own kernel either, so I
thought it's worth the experience.

I could save my current configuration for 2.6.26 and try oldconfig again
from 2.6.23.9 to make another 2.6.26 kernel and see what the problem was.

~daid


Re: [gentoo-user] NIC not detected after Kernel upgrade

2009-02-18 Thread daid kahl

 I'm inclined to sumbit to the expertise of others when choosing kernel
 compilation options, and so I generally boot a recent liveCD and take a copy
 of the kernel .config from there (`zcat /proc/config.gz`)

 System Rescue CD uses a kernel of about the same vintage as the one you're
 trying to upgrade to. I suggest you boot with it  see if your NIC works. If
 so, copy the kernel config  `make oldconfig`.
 http://www.sysresccd.org/Main_Page

 Stroller.


I'm pretty sure the kernels used for LiveCDs are absolutely huge because
they just assume you have basically every piece of hardware available, and
thus take much longer to boot (comparing a LiveCD on my machine to my
kernel, maybe 4 to 5 times longer).  So, sure this will make your computer
work, but it doesn't really seem like a good way to go about things, at
least not other than for the first boot and a backup kernel.

Come to think of it, this sounds like an amazing way to make a backup kernel
for when something goes wrong so I don't have to throw in the Live CD
(assuming grub is still booting at that point).  But not for your primary
kernel for daily use.

~daid


Re: [gentoo-user] NIC not detected after Kernel upgrade

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 19:59:38 +0900, daid kahl wrote:

 I'm pretty sure the kernels used for LiveCDs are absolutely huge because
 they just assume you have basically every piece of hardware available,
 and thus take much longer to boot (comparing a LiveCD on my machine to
 my kernel, maybe 4 to 5 times longer).

The kernel itself isn't that large, all the drivers are compiled as
modules and anyneeded for booting are stuffed into an initrd.

The slow boot times are due to the whole filesystem being stored as a
compressed image on a slow medium.


-- 
Neil Bothwick

Obscenity is the crutch of inarticulate motherfuckers.


signature.asc
Description: PGP signature


Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Matt Harrison

Shawn Haggett wrote:

On Wednesday 18 February 2009 16:24:45 Paul Hartman wrote:
  
On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com 


wrote:
  

G'day,

I was wondering if anyone might have any idea's as to what is causing my
new Toshiba A300 Satelite to idle at a load of 1.00 when not in use.
Right after boot up it settles at 1.00 when I do nothing. I'm not seeing
anything out of ordinary in dmesg ( asside from an non issue with legacy
usb and sd and sr drivers in the kernel ).

I had Ubuntu on this thing for a week or so as I needed something quick
fast when my workstation chipfan died on me and this wasn't an issue when
I had that installed so I think I can rule out hardware. Also, its not an
issue when I boot up via live cd ( sysrescuecd ).

I've tried different cpufreq governors ( default is ondemand ) and that
doesn't appear to be an issue.

Any help or suggestions would be appreciated.

Thanks.
  

I've never known what those numbers represent (I know it is load
average, but what it means, and what is the range, I have no idea)...
Anyway, it seems mine are always around 1+. It's not perfectly idle
but not running seti or anything intensive either.



I remember trying to google the meaning of those numbers once. It was VERY 
hard to find out what they were. It's something like, average number of 
processes in the running or ready to run states for the last 1, 5  15 
minutes.


Shawn

  
googling load average brings me to 
http://en.wikipedia.org/wiki/Load_(computing) which explains it somewhat.


HTH

Matt



Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Alejandro
2009/2/18 Matt Harrison iwasinnamuk...@genestate.com

 Shawn Haggett wrote:

 On Wednesday 18 February 2009 16:24:45 Paul Hartman wrote:


 On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com


 wrote:


 G'day,

 I was wondering if anyone might have any idea's as to what is causing my
 new Toshiba A300 Satelite to idle at a load of 1.00 when not in use.
 Right after boot up it settles at 1.00 when I do nothing. I'm not seeing
 anything out of ordinary in dmesg ( asside from an non issue with legacy
 usb and sd and sr drivers in the kernel ).

 I had Ubuntu on this thing for a week or so as I needed something quick
 fast when my workstation chipfan died on me and this wasn't an issue
 when
 I had that installed so I think I can rule out hardware. Also, its not
 an
 issue when I boot up via live cd ( sysrescuecd ).

 I've tried different cpufreq governors ( default is ondemand ) and that
 doesn't appear to be an issue.

 Any help or suggestions would be appreciated.

 Thanks.


 I've never known what those numbers represent (I know it is load
 average, but what it means, and what is the range, I have no idea)...
 Anyway, it seems mine are always around 1+. It's not perfectly idle
 but not running seti or anything intensive either.



 I remember trying to google the meaning of those numbers once. It was VERY
 hard to find out what they were. It's something like, average number of
 processes in the running or ready to run states for the last 1, 5  15
 minutes.

 Shawn



 googling load average brings me to
 http://en.wikipedia.org/wiki/Load_(computing)http://en.wikipedia.org/wiki/Load_%28computing%29which
  explains it somewhat.

 HTH

 Matt

 install htop, order process by CPU % and check which one is eating your
CPU.


Re: [gentoo-user] wicd start failed

2009-02-18 Thread Chuanwen Wu
Hi, thanks for your tips!
 Do you have pygobject installed?

I have updated pygobject to 2.14.2, then updated dbus-python to
0.82.4, now the problem is fixed :)


-- 
wcw



Re: [gentoo-user] NIC not detected after Kernel upgrade

2009-02-18 Thread Evgeniy Bushkov

daid kahl пишет:


 Also, you should avoid using oldconfig except for really minor
kernel
 upgrades. I know this is mentioned in documentation elsewhere, but
 just a useful reminder.

 ~daid

This has been discussed on this list before. Running make oldconfig
works fine. I, and a lot of others, have said this many times. I
configed one kernel about 5 years ago and have used oldconfig ever
since. It is faster and less prone to problems than starting from
scratch.

If you are going from 2.4 to 2.6, then you should start fresh. I
recently went from 2.6.23 to a 2.6.28 with no problem, other than
trying
to figure out that new group stuff.

Dale


Huh. I was going from 2.6.23 to 2.6.26 about 2 weeks ago and using 
oldconfig was giving me some major trouble as I recall. Not sure 
specifically now, but I know CONFIG_HPET_TIMER had to be turned off 
later during manual configuration, or my machine was hanging after 
some ACPI scripts. This behavior is replicated elsewhere for similar 
hardware, though the author claimed it was fixed after 2.6.25 which I 
found to clearly not be the case. I had also not manually configured 
my own kernel either, so I thought it's worth the experience.


I could save my current configuration for 2.6.26 and try oldconfig 
again from 2.6.23.9 to make another 2.6.26 kernel and see what the 
problem was.


~daid
Hm, may be it's off-topic but I've seen such behavior on one of my 
servers - some ACPI events were hanging server with last kernels. The 
only thing I had to be done is to turn off ACPI in BIOS. Now service 
local isn't working and CPU frequency is not scaling also. Is this 
normal or can this parameter (CONFIG_HPET_TIMER) help me?


Best regards,
Evgeniy B.



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread James
 podge at podgeweb.com writes:


  I was wondering if anyone might have any idea's as to what is causing my
  new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right
  after boot up it settles at 1.00 when I do nothing. I'm not seeing anything
  out of ordinary in dmesg ( asside from an non issue with legacy usb and sd
  and sr drivers in the kernel ).

Ah,

I have had a similar problem a few months ago on one system (AMD 64 X2).
I never figured it out, but I suspect that rebuilding X, KDE and many
other utilities over time, fixed it. X seems to use more resources than 
it should. But, in reality, after a while, it just went away. None of the
other AMD 64 X2 systems I manage, had the problem. The load was always 1.0
or higher.


I think I even posted to this list and we discussed the meaning of load
too.

Here's some good reading on load average

http://www.teamquest.com/resources/gunther/display/5/




Re: [gentoo-user] wicd start failed

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 22:24:15 +0800, Chuanwen Wu wrote:

  Do you have pygobject installed?  
 
 I have updated pygobject to 2.14.2, then updated dbus-python to
 0.82.4, now the problem is fixed :)

It looks like the dependencies are wrong,have you filed a bug?


-- 
Neil Bothwick

Yes, I am an agent of Satan, but my duties are largely ceremonial.


signature.asc
Description: PGP signature


Re: [gentoo-user] wicd start failed

2009-02-18 Thread Alejandro
2009/2/18 Neil Bothwick n...@digimed.co.uk

 On Wed, 18 Feb 2009 22:24:15 +0800, Chuanwen Wu wrote:

   Do you have pygobject installed?
 
  I have updated pygobject to 2.14.2, then updated dbus-python to
  0.82.4, now the problem is fixed :)

 It looks like the dependencies are wrong,have you filed a bug?


 --
 Neil Bothwick

 Yes, I am an agent of Satan, but my duties are largely ceremonial.


Are you installing wicd from portage?


Re: [gentoo-user] wicd start failed

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 13:46:30 -0200, Alejandro wrote:

 Are you installing wicd from portage?

Yes, and it works fine. But that could be because that unspecified
dependencies were pulled in by something else.


-- 
Neil Bothwick

I laugh in the face of danger, then I hide until it goes away


signature.asc
Description: PGP signature


[gentoo-user] nfsd: random nfsd crashes

2009-02-18 Thread Florian Klink
hi,

i'm having here a gentoo ~x86 server running on 2.6.29-rc4. It has a nfs
server for booting diskless clients.
In dmesg I see random crashes of nfsd, which cause the clients to hang
until i reboot the server. Restarting /etc/init.d/nfs hangs at Starting
NFS daemon

using nfs-utils-1.1.4-r1

kernel config:
---snip-
cat linux/.config|grep -i nfs
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
---snap-

dmesg output:
---snip-
[   23.818334] Installing knfsd (copyright (C) 1996 o...@monad.swb.de).
[   23.893486] rpc.nfsd used greatest stack depth: 5604 bytes left
[78016.584819] BUG: unable to handle kernel NULL pointer dereference at
0004
[78016.584827] IP: [c116235b] inode_has_perm+0x21/0x67
[78016.584839] *pde =  
[78016.584846] Oops:  [#1] SMP 
[78016.584904] last sysfs file: /sys/kernel/uevent_seqnum
[78016.584956] Modules linked in: nfsd exportfs tun snd_intel8x0
snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc
[78016.585080] 
[78016.585128] Pid: 2151, comm: nfsd Not tainted (2.6.29-rc4 #2)
OptiPlex GX270   
[78016.585225] EIP: 0060:[c116235b] EFLAGS: 00010246 CPU: 0
[78016.585278] EIP is at inode_has_perm+0x21/0x67
[78016.585329] EAX:  EBX:  ECX: 0002 EDX: d9835290
[78016.585386] ESI: d55e4880 EDI: f12bbf00 EBP: f107fe30 ESP: f107fddc
[78016.585439]  DS: 007b ES: 007b FS: 00d8 GS:  SS: 0068
[78016.585492] Process nfsd (pid: 2151, ti=f107e000 task=f6c76880
task.ti=f107e000)
[78016.585586] Stack:
[78016.585632]  0004 f6774d80 0002 c115f766 f107fdfc c10889b3
0044 d9835290
[78016.585700]  f107fe10 f7f3b0d9 f6774d80 f105a200  f107fe90
f7f3a88d f107fe20
[78016.585715]  c101da2e f107fe28 0002 d55e4880 d9835290 f107fe4c
c1163543 
[78016.585715] Call Trace:
[78016.585715]  [c115f766] ? security_inode_permission+0x1a/0x20
[78016.585715]  [c10889b3] ? inode_permission+0x78/0x83
[78016.585715]  [f7f3b0d9] ? nfsd_permission+0x8e/0xda [nfsd]
[78016.585715]  [f7f3a88d] ? fh_verify+0x45f/0x525 [nfsd]
[78016.585715]  [c101da2e] ? need_resched+0x14/0x1e
[78016.585715]  [c1163543] ? selinux_dentry_open+0xb0/0xb8
[78016.585715]  [c115eeec] ? security_dentry_open+0xf/0x11
[78016.585715]  [c1080f36] ? __dentry_open+0xef/0x1e8
[78016.585715]  [c1081ed0] ? dentry_open+0x5c/0x67
[78016.585715]  [f7f3bb59] ? nfsd_open+0x101/0x125 [nfsd]
[78016.585715]  [f7f3be98] ? nfsd_read+0x5f/0x99 [nfsd]
[78016.585715]  [f7f39edc] ? nfsd_proc_read+0xec/0x120 [nfsd]
[78016.585715]  [c13dc33d] ? cache_check+0x55/0x376
[78016.585715]  [c106df6b] ? page_address+0x15/0x7c
[78016.585715]  [f7f401f9] ? nfssvc_decode_readargs+0xa8/0xaf [nfsd]
[78016.585715]  [f7f381eb] ? nfsd_dispatch+0xcf/0x19e [nfsd]
[78016.585715]  [c13d7118] ? svc_process+0x34a/0x558
[78016.585715]  [f7f38778] ? nfsd+0x117/0x167 [nfsd]
[78016.585715]  [f7f38661] ? nfsd+0x0/0x167 [nfsd]
[78016.585715]  [c1035f11] ? kthread+0x3b/0x62
[78016.585715]  [c1035ed6] ? kthread+0x0/0x62
[78016.585715]  [c100374b] ? kernel_thread_helper+0x7/0x10
[78016.585715] Code: 04 89 46 68 5b 89 d0 5e 5d c3 55 89 e5 57 89 c7 56
31 c0 53 83 ec 48 89 4d b4 8b 5d 08 f6 82 45 01 00 00 02 75 43 8b 47 58
85 db 8b 70 04 8b 82 4c 01 00 00 89 45 b0 75 19 8d 7d bc b9 0e 00 00 
[78016.585715] EIP: [c116235b] inode_has_perm+0x21/0x67 SS:ESP
0068:f107fddc
[78016.587989] ---[ end trace 9bc36c246382c5e4 ]---
[78016.588095] nfsd used greatest stack depth: 5276 bytes left
[78016.590769] BUG: unable to handle kernel NULL pointer dereference at
0004
[78016.590926] IP: [c116235b] inode_has_perm+0x21/0x67
[78016.591061] *pde =  
[78016.591175] Oops:  [#2] SMP 
[78016.591320] last sysfs file: /sys/kernel/uevent_seqnum
[78016.591404] Modules linked in: nfsd exportfs tun snd_intel8x0
snd_ac97_codec ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc
[78016.591933] 
[78016.592012] Pid: 2155, comm: nfsd Tainted: G  D(2.6.29-rc4
#2) OptiPlex GX270   
[78016.592056] EIP: 0060:[c116235b] EFLAGS: 00010246 CPU: 0
[78016.592056] EIP is at inode_has_perm+0x21/0x67
[78016.592056] EAX:  EBX:  ECX: 0002 EDX: d9835290
[78016.592056] ESI: d55e4780 EDI: f12bb100 EBP: f1103e30 ESP: f1103ddc
[78016.592056]  DS: 007b ES: 007b FS: 00d8 GS:  SS: 0068
[78016.592056] Process nfsd (pid: 2155, ti=f1102000 task=f6c73900
task.ti=f1102000)
[78016.592056] Stack:
[78016.592056]  0004 f6774d80 0002 c115f766 f1103dfc c10889b3
0044 d9835290
[78016.592056]  f1103e10 f7f3b0d9 f6774d80 f105ba00  f1103e90
f7f3a88d f1103e20
[78016.592056]  c101da2e f1103e28 0002 d55e4780 d9835290 f1103e4c
c1163543 
[78016.592056] Call Trace:
[78016.592056]  [c115f766] ? security_inode_permission+0x1a/0x20

[gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Michael Sullivan
I've had a lot of problems with X today.  I finally got X back up, but
when I went to check MythTV, it didn't work.  I started tracking down
the problem.  I went into mythtv-setup and it said that it couldn't find
any video inputs, so I examined /dev/v4l/video0.  What I found was
really confusing:

camille ~ # ls -l /dev/v4l
total 0
crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
crw-rw 1 root video 81,   0 Feb 18 09:20 video0
crw-rw 1 root video 81,  24 Feb 18 09:20 video24
crw-rw 1 root video 81,  32 Feb 18 09:20 video32
camille ~ # cat /dev/v4l/video0 
cat: /dev/v4l/video0: No such device or address


Is it there, or isn't it?  I don't know if it matters, but when I was
trying to fix the X problem, I built and booted with a new kernel:

camille ~ # uname -a
Linux camille 2.6.27-gentoo-r8 #1 SMP Wed Feb 18 14:20:01 CST 2009 i686
GNU/Linux


Please help!




Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Albert Hopkins
On Wed, 2009-02-18 at 15:30 -0600, Michael Sullivan wrote:
 I've had a lot of problems with X today.  I finally got X back up, but
 when I went to check MythTV, it didn't work.  I started tracking down
 the problem.  I went into mythtv-setup and it said that it couldn't find
 any video inputs, so I examined /dev/v4l/video0.  What I found was
 really confusing:
 
 camille ~ # ls -l /dev/v4l
 total 0
 crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
 crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
 crw-rw 1 root video 81,   0 Feb 18 09:20 video0
 crw-rw 1 root video 81,  24 Feb 18 09:20 video24
 crw-rw 1 root video 81,  32 Feb 18 09:20 video32
 camille ~ # cat /dev/v4l/video0 
 cat: /dev/v4l/video0: No such device or address
 
 
 Is it there, or isn't it?  I don't know if it matters, but when I was
 trying to fix the X problem, I built and booted with a new kernel:

This is most likely completely unrelated to your issues with X.  This is
a problem with your tuner card or its drivers.

If you compiled a new kernel did you remember to re-compile any
out-of-tree kernel modules?  Are you sure the tuner drivers have the
correct (versions of) firmware to load?  Did you check dmesg?

-a





Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Michael Sullivan
On Wed, 2009-02-18 at 16:34 -0500, Albert Hopkins wrote:
 On Wed, 2009-02-18 at 15:30 -0600, Michael Sullivan wrote:
  I've had a lot of problems with X today.  I finally got X back up, but
  when I went to check MythTV, it didn't work.  I started tracking down
  the problem.  I went into mythtv-setup and it said that it couldn't find
  any video inputs, so I examined /dev/v4l/video0.  What I found was
  really confusing:
  
  camille ~ # ls -l /dev/v4l
  total 0
  crw-rw 1 root video 81,  64 Feb 18 09:20 radio0
  crw-rw 1 root video 81, 224 Feb 18 09:20 vbi0
  crw-rw 1 root video 81,   0 Feb 18 09:20 video0
  crw-rw 1 root video 81,  24 Feb 18 09:20 video24
  crw-rw 1 root video 81,  32 Feb 18 09:20 video32
  camille ~ # cat /dev/v4l/video0 
  cat: /dev/v4l/video0: No such device or address
  
  
  Is it there, or isn't it?  I don't know if it matters, but when I was
  trying to fix the X problem, I built and booted with a new kernel:
 
 This is most likely completely unrelated to your issues with X.  This is
 a problem with your tuner card or its drivers.
 
 If you compiled a new kernel did you remember to re-compile any
 out-of-tree kernel modules?  Are you sure the tuner drivers have the
 correct (versions of) firmware to load?  Did you check dmesg?
 
 -a
 

camille ~ # dmesg
00 TTL=54 ID=8094 PROTO=UDP SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.236.79.150
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=121 ID=27235 PROTO=UDP
SPT=38540 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8097 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8100 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8596 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8620 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=24.148.134.52
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=115 ID=8649 PROTO=UDP
SPT=9072 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.236.79.150
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=121 ID=27307 PROTO=UDP
SPT=38540 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8112 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8115 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8123 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8128 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8133 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8136 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8140 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8144 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8148 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8149 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=70.83.193.85
DST=192.168.1.3 LEN=51 TOS=0x00 PREC=0x00 TTL=54 ID=8152 PROTO=UDP
SPT=18585 DPT=38185 LEN=31 
IPKF INPUT Catch-all: IN=eth0 OUT=
MAC=00:13:20:2b:98:18:00:0f:66:32:d4:49:08:00 SRC=98.166.149.75
DST=192.168.1.3 LEN=636 TOS=0x00 

[gentoo-user] atheros wifi for gentoo..

2009-02-18 Thread maxim wexler

Hi group,.too is considerably tougher. Xandros must die! But it has support for 
the wifi, so the linux drivers must be out there. I don't want to start 
dragging around more unnecessary stuff to   get on line at my favo(u)rite cafe.

I would love to hear from someone who managed a gentoo install on a 4G SSHD 
with the onboard Atheros wifi chipset;also the ethernet would be nice, it uses 
the L1e Gigabit chip, another Atheros product.


  



Re: [gentoo-user] Are the video files there, or aren't they?

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:

 Is it there, or isn't it?  I don't know if it matters, but when I was
 trying to fix the X problem, I built and booted with a new kernel:

Did you try going back to the old kernel?


-- 
Neil Bothwick

Top Oxymorons Number 36: Alone together


signature.asc
Description: PGP signature


Re: [gentoo-user] atheros wifi for gentoo..

2009-02-18 Thread Neil Bothwick
On Wed, 18 Feb 2009 14:06:13 -0800 (PST), maxim wexler wrote:

 I would love to hear from someone who managed a gentoo install on a 4G
 SSHD with the onboard Atheros wifi chipset;also the ethernet would be
 nice, it uses the L1e Gigabit chip, another Atheros product.

Use a 2.6.28 kernel and enable ATH5K for wireless and ATL2 for wired.


-- 
Neil Bothwick

Parking is such street sorrow.


signature.asc
Description: PGP signature


MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?]

2009-02-18 Thread Michael Sullivan
On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:
 On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:
 
  Is it there, or isn't it?  I don't know if it matters, but when I was
  trying to fix the X problem, I built and booted with a new kernel:
 
 Did you try going back to the old kernel?
 

I went back to the old kernel 

camille ~ # uname -a
Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008 i686
GNU/Linux


and the video worked, at least from /dev/v4l/video0.  This is a
temporary solution, but now I can't get mythtv to work.  LiveTV won't
work, and it won't show my upcoming programs.  I've verified that mysql
is running:

camille ~ # ps ax | grep mysql
16099 ?Ssl0:52 /usr/sbin/mysqld
--defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid
--socket=/var/run/mysqld/mysqld.sock


and when I run mythbackend and frontend in a terminal, I get this:

camille ~ # mythbackend
2009-02-18 16:39:56.181 Using runtime prefix = /usr
2009-02-18 16:39:56.183 Empty LocalHostName.
2009-02-18 16:39:56.183 Using localhost value of camille
2009-02-18 16:39:56.204 New DB connection, total: 1
2009-02-18 16:39:56.210 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.211 Closing DB connection named 'DBManager0'
2009-02-18 16:39:56.212 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.215 New DB connection, total: 2
2009-02-18 16:39:56.223 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:56.228 Current Schema Version: 1214
Starting up as the master server.
2009-02-18 16:39:56.242 mythbackend: MythBackend started as master
server
2009-02-18 16:39:56.253 TVRec(2) Error: Problem finding starting
channel, setting to default of '3'.
2009-02-18 16:39:56.260 ChannelBase(2) Error: InitializeInputs(): 
Could not get inputs for the capturecard.
Perhaps you have forgotten to bind video
sources to your card's inputs?
2009-02-18 16:39:56.262 mythbackend: Problem with capture cards: Card
2failed init
ERROR: no valid capture cards are defined in the database.
Perhaps you should read the installation instructions?
2009-02-18 16:39:56.265 mythbackend: No capture cards are defined:
Please run the setup program.
2009-02-18 16:39:56.270 New DB connection, total: 3
2009-02-18 16:39:56.273 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:39:57.570 Main::Registering HttpStatus Extension
2009-02-18 16:39:57.570 mythbackend version: 0.21.20080304-1
www.mythtv.org
2009-02-18 16:39:57.570 Enabled verbose msgs:  important general
2009-02-18 16:39:57.574 AutoExpire: CalcParams(): Max required Free
Space: 0.0 GB w/freq: 15 min
2009-02-18 16:40:06.254 mythbackend: Running housekeeping thread
2009-02-18 16:40:06.333 UPnpMedia: BuildMediaMap VIDEO scan starting
in :/share/Movies/dvd:
2009-02-18 16:40:06.333 UPnpMedia: BuildMediaMap Done. Found 0 objects
2009-02-18 16:40:14.551 MainServer::HandleAnnounce Monitor
2009-02-18 16:40:14.551 adding: camille as a client (events: 0)
2009-02-18 16:40:14.553 MainServer::HandleAnnounce Monitor
2009-02-18 16:40:14.553 adding: camille as a client (events: 1)

mich...@camille ~ $ mythfrontend
2009-02-18 16:40:05.310 Using runtime prefix = /usr
2009-02-18 16:40:06.037 XScreenSaver support enabled
2009-02-18 16:40:06.038 DPMS is active.
2009-02-18 16:40:06.053 Empty LocalHostName.
2009-02-18 16:40:06.053 Using localhost value of camille
2009-02-18 16:40:06.105 New DB connection, total: 1
2009-02-18 16:40:06.110 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.112 Closing DB connection named 'DBManager0'
2009-02-18 16:40:06.117 Primary screen 0.
2009-02-18 16:40:06.117 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.119 Using screen 0, 1024x768 at 0,0
2009-02-18 16:40:06.136 New DB connection, total: 2
2009-02-18 16:40:06.136 Connected to database 'mythconverg' at host:
localhost
2009-02-18 16:40:06.141 mythfrontend version: 0.21.20080304-1
www.mythtv.org
2009-02-18 16:40:06.141 Enabled verbose msgs:  important general
2009-02-18 16:40:07.355 No theme
dir: /home/michael/.mythtv/themes/G.A.N.T
2009-02-18 16:40:07.358 Primary screen 0.
2009-02-18 16:40:07.360 Using screen 0, 1024x768 at 0,0
2009-02-18 16:40:07.361 No theme
dir: /home/michael/.mythtv/themes/G.A.N.T
2009-02-18 16:40:07.363 Switching to square mode (G.A.N.T)
2009-02-18 16:40:07.409 Using the Qt painter
mythtv: could not connect to socket
mythtv: No such file or directory
2009-02-18 16:40:07.415 lirc_init failed for mythtv, see preceding
messages
2009-02-18 16:40:07.416 JoystickMenuClient Error: Joystick disabled -
Failed to read /home/michael/.mythtv/joystickmenurc
2009-02-18 16:40:08.835 Loading
from: /usr/share/mythtv/themes/G.A.N.T/base.xml
2009-02-18 16:40:08.977 Loading
from: /usr/share/mythtv/themes/default/base.xml
2009-02-18 16:40:09.155 

Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Beau Henderson
On Thu, Feb 19, 2009 at 1:18 AM, James wirel...@tampabay.rr.com wrote:

  podge at podgeweb.com writes:


   I was wondering if anyone might have any idea's as to what is causing
 my
   new Toshiba A300 Satelite to idle at a load of 1.00 when not in use.
 Right
   after boot up it settles at 1.00 when I do nothing. I'm not seeing
 anything
   out of ordinary in dmesg ( asside from an non issue with legacy usb and
 sd
   and sr drivers in the kernel ).

 Ah,

 I have had a similar problem a few months ago on one system (AMD 64 X2).
 I never figured it out, but I suspect that rebuilding X, KDE and many
 other utilities over time, fixed it. X seems to use more resources than
 it should. But, in reality, after a while, it just went away. None of the
 other AMD 64 X2 systems I manage, had the problem. The load was always 1.0
 or higher.


 I think I even posted to this list and we discussed the meaning of load
 too.

 Here's some good reading on load average

 http://www.teamquest.com/resources/gunther/display/5/



Hey,

I'm fairly comfortable with the definition of load average, that's not
something I need clarification on, but thanks to all whom have offered.

I'll fire up htop today and see if its able to identify anything that top or
ps hasn't as yet.

I'm relatively certain the issue isn't related to X or gnome as the load
shoots up immediately after boot up and the load issue happens even without
firing up startx.


-- 
Beau Dylan Henderson

No human being should be denied the fundamental right to educate themselves
or indulge their curiosities. To deny any person the right to do so, for
whatever reason, is nothing more than the safeguarding of ignorance to
ensure that enlightenment does not become a threat. For nothing in this
world is more dangerous than an open mind. -- Matthew Good


Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Paul Hartman
On Wed, Feb 18, 2009 at 4:57 PM, Beau Henderson b...@thehenderson.com wrote:


 On Thu, Feb 19, 2009 at 1:18 AM, James wirel...@tampabay.rr.com wrote:

  podge at podgeweb.com writes:


   I was wondering if anyone might have any idea's as to what is causing
   my
   new Toshiba A300 Satelite to idle at a load of 1.00 when not in use.
   Right
   after boot up it settles at 1.00 when I do nothing. I'm not seeing
   anything
   out of ordinary in dmesg ( asside from an non issue with legacy usb
   and sd
   and sr drivers in the kernel ).

 Ah,

 I have had a similar problem a few months ago on one system (AMD 64 X2).
 I never figured it out, but I suspect that rebuilding X, KDE and many
 other utilities over time, fixed it. X seems to use more resources than
 it should. But, in reality, after a while, it just went away. None of the
 other AMD 64 X2 systems I manage, had the problem. The load was always 1.0
 or higher.


 I think I even posted to this list and we discussed the meaning of load
 too.

 Here's some good reading on load average

 http://www.teamquest.com/resources/gunther/display/5/



 Hey,

 I'm fairly comfortable with the definition of load average, that's not
 something I need clarification on, but thanks to all whom have offered.

 I'll fire up htop today and see if its able to identify anything that top or
 ps hasn't as yet.

 I'm relatively certain the issue isn't related to X or gnome as the load
 shoots up immediately after boot up and the load issue happens even without
 firing up startx.

I wonder if the laptop could be going into some low-speed, low-power
mode, causing it to seem slow and thus making the load seem
artificially high? (assuming you're using CPU frequency scaling at
all)



Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Paul Hartman
On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com wrote:
 G'day,

 I was wondering if anyone might have any idea's as to what is causing my new
 Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after
 boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of
 ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr
 drivers in the kernel ).

Here's a thread that may or may not be related:

http://kerneltrap.org/Linux/High_Idle_Load_Average



Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Beau Henderson
On Thu, Feb 19, 2009 at 9:20 AM, Paul Hartman
paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com
 wrote:

 On Wed, Feb 18, 2009 at 4:57 PM, Beau Henderson b...@thehenderson.com
 wrote:
 
 
  On Thu, Feb 19, 2009 at 1:18 AM, James wirel...@tampabay.rr.com wrote:
 
   podge at podgeweb.com writes:
 
 
I was wondering if anyone might have any idea's as to what is
 causing
my
new Toshiba A300 Satelite to idle at a load of 1.00 when not in use.
Right
after boot up it settles at 1.00 when I do nothing. I'm not seeing
anything
out of ordinary in dmesg ( asside from an non issue with legacy usb
and sd
and sr drivers in the kernel ).
 
  Ah,
 
  I have had a similar problem a few months ago on one system (AMD 64 X2).
  I never figured it out, but I suspect that rebuilding X, KDE and many
  other utilities over time, fixed it. X seems to use more resources than
  it should. But, in reality, after a while, it just went away. None of
 the
  other AMD 64 X2 systems I manage, had the problem. The load was always
 1.0
  or higher.
 
 
  I think I even posted to this list and we discussed the meaning of
 load
  too.
 
  Here's some good reading on load average
 
  http://www.teamquest.com/resources/gunther/display/5/
 
 
 
  Hey,
 
  I'm fairly comfortable with the definition of load average, that's not
  something I need clarification on, but thanks to all whom have offered.
 
  I'll fire up htop today and see if its able to identify anything that top
 or
  ps hasn't as yet.
 
  I'm relatively certain the issue isn't related to X or gnome as the load
  shoots up immediately after boot up and the load issue happens even
 without
  firing up startx.

 I wonder if the laptop could be going into some low-speed, low-power
 mode, causing it to seem slow and thus making the load seem
 artificially high? (assuming you're using CPU frequency scaling at
 all)


I've tried manually altering the governor to performance but its the same
story.

The system doesn't appear sluggish, I'm really more concerned that something
is causing the load and this might lead to shorter battery life and and more
heat.

htop doesn't seem to show anything either.

Just for shits n giggles I fired up powertop and implemented its
suggestions. No luck with that either unfortunately. This has me completely
baffled.


-- 
Beau Dylan Henderson

No human being should be denied the fundamental right to educate themselves
or indulge their curiosities. To deny any person the right to do so, for
whatever reason, is nothing more than the safeguarding of ignorance to
ensure that enlightenment does not become a threat. For nothing in this
world is more dangerous than an open mind. -- Matthew Good


Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Alan McKinnon
On Thursday 19 February 2009 01:38:39 Beau Henderson wrote:
 I've tried manually altering the governor to performance but its the same
 story.

 The system doesn't appear sluggish, I'm really more concerned that
 something is causing the load and this might lead to shorter battery life
 and and more heat.

Right in the beginning you said the load was *exactly* 1.00. Now, load is 
defined as 

the _number_ of processes on average waiting for the cpu in the last 1, 5, 15 
minutes

So it does not mean that the cpu is necessarily working hard (but usually 
does) if the load is high. Yours is _exactly_ 1.00 (very suspicious)

This is almost certainly one of two things:

1. A stupid kernel config that you should not have done :-)
2. Some app is blocking hard on IO

I guess #2 - something waits for IO, it is not available, so immediately goes 
back to sleep waiting for it's next time slice. This happens many times a 
second and averaged over a minute looks like the cpu is constantly busy. Thus, 
no real extra cpu load is happening, the machine does not appear at all 
sluggish and the only harm is that it is annoying as hell.

-- 
alan dot mckinnon at gmail dot com




Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Beau Henderson
On Thu, Feb 19, 2009 at 9:53 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Thursday 19 February 2009 01:38:39 Beau Henderson wrote:
  I've tried manually altering the governor to performance but its the same
  story.
 
  The system doesn't appear sluggish, I'm really more concerned that
  something is causing the load and this might lead to shorter battery life
  and and more heat.

 Right in the beginning you said the load was *exactly* 1.00. Now, load is
 defined as

 the _number_ of processes on average waiting for the cpu in the last 1, 5,
 15
 minutes

 So it does not mean that the cpu is necessarily working hard (but usually
 does) if the load is high. Yours is _exactly_ 1.00 (very suspicious)

 This is almost certainly one of two things:

 1. A stupid kernel config that you should not have done :-)
 2. Some app is blocking hard on IO

 I guess #2 - something waits for IO, it is not available, so immediately
 goes
 back to sleep waiting for it's next time slice. This happens many times a
 second and averaged over a minute looks like the cpu is constantly busy.
 Thus,
 no real extra cpu load is happening, the machine does not appear at all
 sluggish and the only harm is that it is annoying as hell.

 --
 alan dot mckinnon at gmail dot com



Woah, now were getting somewhere.

After reading that, I had another look at the top output and noticed that a
single hald process was in D state. /etc/init.d/hald stop and the load is
lowering as I type. I'm going to have to dig into this deeper as time
permits.

Thanks everyone :)

-- 
Beau Dylan Henderson

No human being should be denied the fundamental right to educate themselves
or indulge their curiosities. To deny any person the right to do so, for
whatever reason, is nothing more than the safeguarding of ignorance to
ensure that enlightenment does not become a threat. For nothing in this
world is more dangerous than an open mind. -- Matthew Good


Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Beau Henderson
On Thu, Feb 19, 2009 at 10:04 AM, Beau Henderson b...@thehenderson.comwrote:



 On Thu, Feb 19, 2009 at 9:53 AM, Alan McKinnon alan.mckin...@gmail.comwrote:

 On Thursday 19 February 2009 01:38:39 Beau Henderson wrote:
  I've tried manually altering the governor to performance but its the
 same
  story.
 
  The system doesn't appear sluggish, I'm really more concerned that
  something is causing the load and this might lead to shorter battery
 life
  and and more heat.

 Right in the beginning you said the load was *exactly* 1.00. Now, load is
 defined as

 the _number_ of processes on average waiting for the cpu in the last 1,
 5, 15
 minutes

 So it does not mean that the cpu is necessarily working hard (but usually
 does) if the load is high. Yours is _exactly_ 1.00 (very suspicious)

 This is almost certainly one of two things:

 1. A stupid kernel config that you should not have done :-)
 2. Some app is blocking hard on IO

 I guess #2 - something waits for IO, it is not available, so immediately
 goes
 back to sleep waiting for it's next time slice. This happens many times a
 second and averaged over a minute looks like the cpu is constantly busy.
 Thus,
 no real extra cpu load is happening, the machine does not appear at all
 sluggish and the only harm is that it is annoying as hell.

 --
 alan dot mckinnon at gmail dot com



 Woah, now were getting somewhere.

 After reading that, I had another look at the top output and noticed that a
 single hald process was in D state. /etc/init.d/hald stop and the load is
 lowering as I type. I'm going to have to dig into this deeper as time
 permits.

 Thanks everyone :)


 --
 Beau Dylan Henderson

 No human being should be denied the fundamental right to educate
 themselves or indulge their curiosities. To deny any person the right to do
 so, for whatever reason, is nothing more than the safeguarding of ignorance
 to ensure that enlightenment does not become a threat. For nothing in this
 world is more dangerous than an open mind. -- Matthew Good



The culprit: Hals cdrom polling. Interestingly, the load shot down as soon
as I stuck a disk.

The fix: hal-disable-polling --device /dev/scd0 'hal'
-- 
Beau Dylan Henderson

No human being should be denied the fundamental right to educate themselves
or indulge their curiosities. To deny any person the right to do so, for
whatever reason, is nothing more than the safeguarding of ignorance to
ensure that enlightenment does not become a threat. For nothing in this
world is more dangerous than an open mind. -- Matthew Good


Re: [gentoo-user] atheros wifi for gentoo..

2009-02-18 Thread daid kahl
2009/2/19 Neil Bothwick n...@digimed.co.uk

 On Wed, 18 Feb 2009 14:06:13 -0800 (PST), maxim wexler wrote:

  I would love to hear from someone who managed a gentoo install on a 4G
  SSHD with the onboard Atheros wifi chipset;also the ethernet would be
  nice, it uses the L1e Gigabit chip, another Atheros product.

 Use a 2.6.28 kernel and enable ATH5K for wireless and ATL2 for wired.


 I'm using a 2.6.26 kernel without ATH5K enabled for an Atheros wireless LAN
card.

I'm using madwifi drivers straight from the madwifi project, and you can see
my simple instructions for installation at
http://forum.sabayonlinux.org/viewtopic.php?f=52t=14920

This may not be as good a suggestion as the former, so I don't post it in
contradiction, but just as extra information.  My method works with kernels
at least as old at 2.6.20

~daid


Re: [gentoo-user] atheros wifi for gentoo..

2009-02-18 Thread Neil Bothwick
On Thu, 19 Feb 2009 09:55:29 +0900, daid kahl wrote:

  Use a 2.6.28 kernel and enable ATH5K for wireless and ATL2 for wired.

 This may not be as good a suggestion as the former, so I don't post it
 in contradiction, but just as extra information.  My method works with
 kernels at least as old at 2.6.20

ATH5K has been in the kernel for a little while,the reason for using
2.6.28 is that it also supports the wired NIC. With the addition of the
eee ACPI modules, I can now run with no third party modules on my Eee.


-- 
Neil Bothwick

Bus: (n.) a connector you plug money into, something like a slot machine.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Constant Load 1.00+ on new Toshiba laptop

2009-02-18 Thread Dale
Beau Henderson wrote:


 On Thu, Feb 19, 2009 at 10:04 AM, Beau Henderson
 b...@thehenderson.com mailto:b...@thehenderson.com wrote:



 On Thu, Feb 19, 2009 at 9:53 AM, Alan McKinnon
 alan.mckin...@gmail.com mailto:alan.mckin...@gmail.com wrote:

 On Thursday 19 February 2009 01:38:39 Beau Henderson wrote:
  I've tried manually altering the governor to performance but
 its the same
  story.
 
  The system doesn't appear sluggish, I'm really more
 concerned that
  something is causing the load and this might lead to shorter
 battery life
  and and more heat.

 Right in the beginning you said the load was *exactly* 1.00.
 Now, load is
 defined as

 the _number_ of processes on average waiting for the cpu in
 the last 1, 5, 15
 minutes

 So it does not mean that the cpu is necessarily working hard
 (but usually
 does) if the load is high. Yours is _exactly_ 1.00 (very
 suspicious)

 This is almost certainly one of two things:

 1. A stupid kernel config that you should not have done :-)
 2. Some app is blocking hard on IO

 I guess #2 - something waits for IO, it is not available, so
 immediately goes
 back to sleep waiting for it's next time slice. This happens
 many times a
 second and averaged over a minute looks like the cpu is
 constantly busy. Thus,
 no real extra cpu load is happening, the machine does not
 appear at all
 sluggish and the only harm is that it is annoying as hell.

 --
 alan dot mckinnon at gmail dot com



 Woah, now were getting somewhere.

 After reading that, I had another look at the top output and
 noticed that a single hald process was in D state.
 /etc/init.d/hald stop and the load is lowering as I type. I'm
 going to have to dig into this deeper as time permits.

 Thanks everyone :)


 -- 
 Beau Dylan Henderson

 No human being should be denied the fundamental right to educate
 themselves or indulge their curiosities. To deny any person the
 right to do so, for whatever reason, is nothing more than the
 safeguarding of ignorance to ensure that enlightenment does not
 become a threat. For nothing in this world is more dangerous than
 an open mind. -- Matthew Good



 The culprit: Hals cdrom polling. Interestingly, the load shot down as
 soon as I stuck a disk.

 The fix: hal-disable-polling --device /dev/scd0 'hal'
 -- 
 Beau Dylan Henderson

 No human being should be denied the fundamental right to educate
 themselves or indulge their curiosities. To deny any person the right
 to do so, for whatever reason, is nothing more than the safeguarding
 of ignorance to ensure that enlightenment does not become a threat.
 For nothing in this world is more dangerous than an open mind. --
 Matthew Good


I would never have guessed this was your problem but I had the same
thing happen on my DESKTOP puter a while back.  I hit the eject button,
closed the tray again, restarted hald and it went back to normal.  I
also had a TON of errors in messages too.  I have cron set up to rotate
messages so I may not have those now.

This may be a different cause but does make one wonder.  Also, it hasn't
done it since. 

Dale

:-)  :-)



Re: [gentoo-user] wicd start failed

2009-02-18 Thread Chuanwen Wu

 It looks like the dependencies are wrong,have you filed a bug?
Not yet, do you mean in bugzilla?

-- 
wcw



[gentoo-user] Re: Scanner sharing with HPLIP?

2009-02-18 Thread Grant
 Here is a method for sharing a scanner over a network with
 sane-backends and inetd:

 http://www.linux.com/articles/57798

 My prospective printer/scanner (HP c4599) is not listed in the SANE
 compatible devices:

 http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD

 It is listed in HPLIP, but the network feature is apparently not
 working (Network I/O):

 http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c4500_series.html

 Can I share the scanner over the network without SANE support since it
 has HPLIP support?

 - Grant

 I'm going to get the Epson Artisan 700 instead of the HP so I'm
 wondering about using media-gfx/iscan instead of HPLIP and how that
 will work for network sharing of the scanner.

 - Grant

Epson Artisan 700 printing and scanning with
net-print/gutenprint-5.2.3 from the alexxy overlay and media-gfx/iscan
from portage renamed to 2.16.1.

- Grant



Re: MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?]

2009-02-18 Thread Stroller


On 18 Feb 2009, at 22:41, Michael Sullivan wrote:


On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:

On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:

Is it there, or isn't it?  I don't know if it matters, but when I  
was

trying to fix the X problem, I built and booted with a new kernel:


Did you try going back to the old kernel?


I went back to the old kernel

camille ~ # uname -a
Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008  
i686

GNU/Linux


and the video worked, at least from /dev/v4l/video0.  This is a
temporary solution, but now I can't get mythtv to work.  LiveTV won't
work, and it won't show my upcoming programs.  I've verified that  
mysql

is running:

...
and when I run mythbackend and frontend in a terminal, I get this:
...
ERROR: no valid capture cards are defined in the database.


Is it possible that, when you booted with the new kernel  no cards  
were found they were removed from MythTV's database?


I have never used MythTV, but maybe - under the old kernel - you can  
add them back in using MythTV's setup and they'll work again?


This doesn't help why the cards are not shown under the new kernel,  
but if you are easily able to add them in then it would demonstrate  
that your hardware is OK  perhaps inspire confidence.


Stroller.




Re: MythTV WAS: [Re: [gentoo-user] Are the video files there, or aren't they?] [SOLVED sort of]

2009-02-18 Thread Michael Sullivan
On Thu, 2009-02-19 at 04:42 +, Stroller wrote:
 On 18 Feb 2009, at 22:41, Michael Sullivan wrote:
 
  On Wed, 2009-02-18 at 22:15 +, Neil Bothwick wrote:
  On Wed, 18 Feb 2009 15:30:31 -0600, Michael Sullivan wrote:
 
  Is it there, or isn't it?  I don't know if it matters, but when I  
  was
  trying to fix the X problem, I built and booted with a new kernel:
 
  Did you try going back to the old kernel?
 
  I went back to the old kernel
 
  camille ~ # uname -a
  Linux camille 2.6.26-gentoo-r4 #1 SMP Sat Dec 13 17:31:25 CST 2008  
  i686
  GNU/Linux
 
 
  and the video worked, at least from /dev/v4l/video0.  This is a
  temporary solution, but now I can't get mythtv to work.  LiveTV won't
  work, and it won't show my upcoming programs.  I've verified that  
  mysql
  is running:
 
  ...
  and when I run mythbackend and frontend in a terminal, I get this:
  ...
  ERROR: no valid capture cards are defined in the database.
 
 Is it possible that, when you booted with the new kernel  no cards  
 were found they were removed from MythTV's database?
 
 I have never used MythTV, but maybe - under the old kernel - you can  
 add them back in using MythTV's setup and they'll work again?
 
 This doesn't help why the cards are not shown under the new kernel,  
 but if you are easily able to add them in then it would demonstrate  
 that your hardware is OK  perhaps inspire confidence.
 
 Stroller.

I got Myth to work with the 2.6.26-r4 kernel, but I don't plan on using this 
kernel forever.  Is there any way I can find out what modules are being loaded 
with this kernel that aren't being loaded with the new one?