Re: [gentoo-user] Very bad system response

2007-02-08 Thread Michael Schreckenbauer
Hi,

Am Mittwoch, 7. Februar 2007 21:19 schrieb Hemmann, Volker Armin:
 On Mittwoch, 7. Februar 2007, Michael Schreckenbauer wrote:
  Hi,
 
  Am Mittwoch, 7. Februar 2007 12:35 schrieb Benno Schulenberg:
   Hemmann, Volker Armin wrote:
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
  
   Maybe set readahead to a smaller value?  Something like 8 or 16?
  
   At least that's what http://linuxgazette.net/issue79/punk.html
   advises.  If you have specific reasons for the higher value, then
   please elaborate.

 it is a default setting I never touched?
 Aside from 'IO_support' everything is default.

same here.

 Oh, and I tried different io-scheds without any success.

anticipatory and deadline work better for me, but far from perfect. cfq is 
unusable.

  I believe there is a misunderstanding here. I am the one with the problem
  not Volker :)
 we have both similar problems ;)

Ah! Nice to hear I am not alone! *g*
googling around, I found some people having a similar problem too, all of them 
are using xfs as I do (eg http://www.thisishull.net/showthread.php?t=219580). 
What's your fs? Mounting with nobarrier didn't work for me :(

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



Re: [gentoo-user] _syscallX isn't in linux-headers-2.6.20 ??

2007-02-08 Thread Boyd Stephen Smith Jr.
On Wednesday 07 February 2007 18:53, Iain Buchanan wrote:
 Hi all,

 I'm trying to use:

 _syscall3(int, ioprio_set, int, which, int, who, int, ioprio);
 _syscall2(int, ioprio_get, int, which, int, who);

 and supposedly I just

 #include linux/unistd.h

 but I'm getting these error from gcc:

 error: syntax error before ioprio_set
 warning: data definition has no type or storage class
 error: syntax error before ioprio_get
 warning: data definition has no type or storage class

 so I had a look in /usr/include/linux/unistd.h and it doesn't even have
 _syscall in there!! It's in /usr/src/linux though...

That means that the kernel devs have decided that API is not userland safe.  
In recent kernels, there's a specific 'headers' (or somesuch) make target, 
that generates .h files that are appropriate to use in userland.

If you need access to APIs that aren't in those headers, you should be 
writing 
a kernel module, or convincing the kernel developers to expose these APIs 
to 
userland.  Your kernel module may need be only a tiny stub, just something 
to 
go between your userland and the non-userland-safe APIs.

 Am I doing something wrong?

It's possible you just need another header.  It also possible that there's 
a 
different entry point now. I seem to remember the location of the syscall 
table is recently changed to something like randomized per-process at some 
point in the 2.6.1x line.  That may have changed how you need to be calling 
things.

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


pgp9ea0BL7sPE.pgp
Description: PGP signature


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

2007-02-08 Thread Frédéric Grosshans
Le mardi 06 février 2007 à 22:28 +0100, Daniel Pielmeier a écrit :
  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.
Did you try to play with ionice to assign priority. It has helped me a
lot with io-intensive background taskes.

Fred

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mysql error

2007-02-08 Thread Arnau Bria
Hi,

After a power cut my server did not start again. I had to boot with a
livecd, do a fsck in my / partion (which removed some orphan inodes)
and reinstall grub in my MBR.

After all, I'm able to boot, and all my services are running
again, all except mysql.

This is what I see in my mysqld.err log:

070208 11:26:17 [Warning] No argument was provided to --log-bin, and 
--log-bin-index was not used; so replication may break when this MySQL server 
acts as a master and has his hostname changed!! Please use 
'--log-bin=afrodita-bin' to avoid this problem.
mysqld got signal 4;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

I think I can ignore this

key_buffer_size=0
read_buffer_size=258048
max_used_connections=0
max_connections=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 76399 
K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=(nil)
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xb690808d, backtrace may not be correct.
Bogus stack limit or frame pointer, fp=0xb690808d, stack_bottom=0xbfcb, 
thread_stack=196608, aborting backtrace.
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

*WTH**

I have done this:

myisamchk --silent --force */*.MYI
from http://dev.mysql.com/doc/refman/5.0/en/crashing.html and I think
tables are fine (I have copied them into a new mysql and I can browse
content) 

I have recompiled mysql, but I think this is not enough...

What else may I do to recover y mysql? Do I have to recompile all its
dependencies? How? Maybe a emerge --emptytree world/system?

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



Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?

2007-02-08 Thread Benno Schulenberg
Daniel Iliev wrote:
 As already mentioned in this thread the workaround is to
 un-keyword a concrete version, not the whole package.

This is not a workaround, it's a _better way of achieving the goal.  
When portage just flags packages gone stable, you have to watch the 
pretend output yourself for these flags.  When using = or ~ you can 
just forget about the package, portage will automatically handle an 
upgrade to the next stable version.

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



Re: [gentoo-user] Network start delay?

2007-02-08 Thread Peter Lewis
On Wednesday 07 February 2007 23:12, Iain Buchanan wrote:
 On Wed, 2007-02-07 at 10:37 +, Peter Lewis wrote:
  I start my wireless network with the script
 
  /etc/init.d/net.eth2
 
  which is started by init in the default runlevel.
 
  I also have
 
  /etc/init.d/netmount
 
  to mount some samba shares, and which is also started my init in the
  default runlevel, but depends on net from the line:
 
  local myneed=net
 
  So, as I understand it, this makes sure that init starts net.eth* before
  starting netmount. That's good. However, eth2 is on a DHCP-enabled
  connection and takes a few seconds to come up after starting the script.
  By the time netmount is started, net.eth2 has not finished coming up, so
  netmount fails and the samba shares are never mounted automatically.
 
  Is there a way to make the netmount script wait for a route to exist
  before attempting to connect?

 net.eth2 shouldn't return (by default) until it has a dhcp address,
 which means all other scripts starting after it will wait until you have
 an address.

 Things you might have done to change the default behaviour include
 RC_PARALLEL_STARTUP, and RC_NET_STRICT_CHECKING in /etc/conf.d/rc.

 You can set them to no, and yes respectively and see if the
 following scripts wait...

Thanks for this. I just checked and I have those variables set up correctly.

Yes, upon closer inspection, the problem is slightly weirder.

I'm using an Intel ipw3945 wireless device, which requires a daemon to run 
to regulate it or something. So, I also have /etc/init.d/ipw3945d start at 
boot. This must start before I can access eth2. However, I've actually just 
noticed that I don't explicitly start net.eth2 in any runlevel. It seems that 
this is kicked into action by ipw3945d somewhere (though I can't see where). 
The /etc/init.d/net.eth2 process just seems to fork off to the background, 
meaning that init carries on booting, and hence fails on netmount.

Anyone any experience with this?

Cheers,

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



Re: [gentoo-user] Completely lost regarding wifi

2007-02-08 Thread YoYo Siska
Henk Boom wrote:
 On 06/02/07, Henk Boom [EMAIL PROTECTED] wrote:
 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 ..

 
 Wow, I hibernated the laptop (after iwconfig told me I was
 unnasosiated), carried it out of the computer lab and onto another
 floor, then woke it up. I ran /etc/init.d/net.eth1 one more time for
 good measure (it complained that it had already been started). Then I
 tried to ping google, and it worked!
 
 The only explanation I can think of for this is that the computer labs
 where I made my last post had bad reception.
 
 Now I'm curious though, do I need to explicitly run a dhcp client, or
 does wpa_supplicant handle all that for me?

if you run wpa_supplicant _through_ gentoo initscripts, they should run
dhcp when wpa_supplicant associates with the AP
(unless you define something else in config_=(...) )

yoyo


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Changing the font size in X

2007-02-08 Thread Vlad Dogaru

Hello,

I find that fonts are too small for my 15 monitor, causing eye strain
and misunderstandings. How can I change font size globally? I
apologise if this question is too basic, but Google strangely did not
provide this time.

Thanks,
Vlad

--
How's my English? How about my Netiquette?
Do mail me if something is wrong with my behaviour. Thank you.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql error

2007-02-08 Thread Arnau Bria
On Thu, 8 Feb 2007 11:46:39 +0100
Arnau Bria wrote:

 Hi,
[...]
 This is what I see in my mysqld.err log:
 
 070208 11:26:17 [Warning] No argument was provided to --log-bin, and
 --log-bin-index was not used; so replication may break when this
 MySQL server acts as a master and has his hostname changed!! Please
 use '--log-bin=afrodita-bin' to avoid this problem. mysqld got signal
 4; This could be because you hit a bug. It is also possible that this
 binary or one of the libraries it was linked against is corrupt,
 improperly built, or misconfigured. This error can also be caused by
 malfunctioning hardware. We will try our best to scrape up some info
 that will hopefully help diagnose the problem, but since we have
 already crashed, something is definitely wrong and this may fail.
 
 I think I can ignore this
 
 key_buffer_size=0
 read_buffer_size=258048
 max_used_connections=0
 max_connections=100
 threads_connected=0
 It is possible that mysqld could use up to
 key_buffer_size + (read_buffer_size +
 sort_buffer_size)*max_connections = 76399 K bytes of memory
 Hope that's ok; if not, decrease some variables in the equation.
 
 thd=(nil)
 Attempting backtrace. You can use the following information to find
 out where mysqld died. If you see no messages after this, something
 went terribly wrong...
 Cannot determine thread, fp=0xb690808d, backtrace may not be correct.
 Bogus stack limit or frame pointer, fp=0xb690808d,
 stack_bottom=0xbfcb, thread_stack=196608, aborting backtrace. The
 manual page at http://www.mysql.com/doc/en/Crashing.html contains
 information that should help you find out what is causing the crash.
 
 *WTH**
I had to remove all bin files from /var/lib/mysql
After that, all works fine!

cheers!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Changing the font size in X

2007-02-08 Thread Jürgen Geuter
On Thu, 2007-02-08 at 16:08 +0200, Vlad Dogaru wrote:

 I find that fonts are too small for my 15 monitor, causing eye strain
 and misunderstandings. How can I change font size globally? I
 apologise if this question is too basic, but Google strangely did not
 provide this time.

You might want to check/change your DPI settings (compare
http://scanline.ca/dpi/).

Jürgen
-- 
ICQ #81510866  -  http://the-gay-bar.com  -  MSN [EMAIL PROTECTED]
   Occam's Razor: 
   -Entia non sunt multiplicanda praeter necessitatem.-


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


Re: [gentoo-user] vlc win32codecs on amd64

2007-02-08 Thread Jürgen Geuter
On Fri, 2007-02-02 at 19:33 +, James wrote:

 I cannot seem to get VLC to compile in win32codecs on an amd64...
 Yes I realize that 'win32' and amd64 are different arches, but,
 surely there is a solution for this? Maybe not just with
 vlc but every app that can work with win32codes on amd64?

I think using mplayer-bin for x86 in compatibility mode should work with
win32codecs.

Jürgen
-- 
ICQ #81510866  -  http://the-gay-bar.com  -  MSN [EMAIL PROTECTED]
   Occam's Razor: 
   -Entia non sunt multiplicanda praeter necessitatem.-


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


Re: [gentoo-user] Changing the font size in X

2007-02-08 Thread gregory . sacre
Vlad Dogaru ([EMAIL PROTECTED]) wrote:
 Hello,
 
 I find that fonts are too small for my 15 monitor, causing eye strain
 and misunderstandings. How can I change font size globally? I
 apologise if this question is too basic, but Google strangely did not
 provide this time.
 
 Thanks,
 Vlad
 
 -- 
 How's my English? How about my Netiquette?
 Do mail me if something is wrong with my behaviour. Thank you.
 -- 
 gentoo-user@gentoo.org mailing list
 

Well, that depends on what kind of desktop/session manager you're using (Gnome, 
KDE, Fvwm, ...).
If it's Gnome or KDE (or I think XFCE), there should be a font manager 
somewhere in the preferences.
If you're using something like Fvwm, you can change the GTK fonts and that will 
affect all the GTK applications (such as Firefox, Gaim, ...) (for the QT 
applications, I have to admit I don't know how they pick a default font if 
you're not under KDE).
To change the GTK font, put this as an example in your ~/.gtkrc (or 
~/.gtkrc-2.0 depending on the GTK version you're using):

style default
{
  fontset = 
-*-helvetica-medium-r-normal--14-*,-*-fixed-medium-r-normal--14-*
}

Where you can of course change the font to suit your needs.


HTH,

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



Re: [gentoo-user] dhcpd and routes

2007-02-08 Thread Dan Farrell
On Tue, 06 Feb 2007 23:20:28 +1100
Dave Oxley [EMAIL PROTECTED] wrote:

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

You will need a subnet declaration as such for each subnet on the
network.  For example, something like

subnet 10.4.0.0 netmask 255.255.255.0 {
option routers 192.168.1.200;
}

might be appropriate.  Without the range statement, you won't actually
offer DHCP addresses on the network, but the routing information should
be forwarded to the DHCP clients you are servicing on 192.168.1/24.  

Good luck.  DHCPd is neat ; )
-- 
gentoo-user@gentoo.org mailing list



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

2007-02-08 Thread Daniel Pielmeier
 Did you try to play with ionice to assign priority. It has helped me a
 lot with io-intensive background taskes.

Where can i get it. It seems to be included in util-linux but i have
util-linux installed and ionice is missing!
-- 
gentoo-user@gentoo.org mailing list



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

2007-02-08 Thread Etaoin Shrdlu
On Thursday 8 February 2007 19:34, Daniel Pielmeier wrote:

 Where can i get it. It seems to be included in util-linux but i have
 util-linux installed and ionice is missing!

It's explained here:

http://forums.gentoo.org/viewtopic-t-462230.html

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev usb printer permissions

2007-02-08 Thread Alexander Puchmayr
Hi there!

Can anyone please tell me why /dev/usb/lp0 has the following onwer/group and 
permissions?

zeus ~ # ls -l /dev/usb/
total 0
crw-rw 1 root plugdev 180, 0 Feb  8  2007 lp0


/etc/udev/rules.d/50-udev.rules says:

[...]
# usb devices
KERNEL==hiddev*,  NAME=usb/%k
KERNEL==auer*,NAME=usb/%k
KERNEL==legousbtower*,NAME=usb/%k, GROUP=usb
KERNEL==dabusb*,  NAME=usb/%k
BUS==usb, KERNEL==lp[0-9]*, NAME=usb/%k, GROUP=lp
[...]

I would expect /dev/usb/lp0 to belong to group lp, so which other config 
file tells udev to put it under these onwer/group and permissions?

Thanks in advance

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



[gentoo-user] Corrupted Cache w/ portage

2007-02-08 Thread Mike Edenfield
For the past several weeks I have been having a recurring problem with 
portage's metadata cache after a sync.  The problem is reproduceable 
100% of the time now, so either I have something configured wrong or 
there's actually a problem with the portage mirrors:


The problem is easily fixed by removing the cache and forcing emerge to 
rebuild it, but the next time I sync the corruption returns:


---
gentoo portage # emerge --sync

[...]

 Updating Portage cache:  Traceback (most recent call last):
  File /usr/bin/emerge, line 4049, in ?
emerge_main()
  File /usr/bin/emerge, line 4006, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
  File /usr/bin/emerge, line 2924, in action_sync
action_metadata(settings, portdb, myopts)
  File /usr/bin/emerge, line 3019, in action_metadata
eclass_cache=ec, verbose_instance=noise_maker)
  File /usr/lib/portage/pym/cache/util.py, line 47, in mirror_cache
if trg and not write_it:
  File /usr/lib/python2.4/UserDict.py, line 170, in __len__
return len(self.keys())
  File /usr/lib/portage/pym/cache/mappings.py, line 54, in keys
return list(self.__iter__())
  File /usr/lib/portage/pym/cache/mappings.py, line 48, in __iter__
for k in self.orig.iterkeys():
  File /usr/lib/python2.4/UserDict.py, line 103, in iterkeys
return self.__iter__()
  File /usr/lib/portage/pym/cache/mappings.py, line 83, in __iter__
return iter(self.keys())
  File /usr/lib/portage/pym/cache/mappings.py, line 87, in keys
self.d.update(self.pull())
  File /usr/lib/portage/pym/cache/flat_hash.py, line 29, in callit
return args[0](*args[1:]+args2)
  File /usr/lib/portage/pym/cache/flat_hash.py, line 47, in _pull
raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: 
app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update 
sequence element #0 has length 1; 2 is required


gentoo portage # rm -rf /usr/portage/metadata/cache/
gentoo portage # emerge --metadata


Performing Global Updates: /usr/portage/profiles/updates/1Q-2007
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update 
/etc/portage/package.*'





 Updating Portage cache:  100%

--
gentoo-user@gentoo.org mailing list



[gentoo-user] X application instability

2007-02-08 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Salutations --

I have some instability in my desktop system which I've not been able to 
banish.


What I've experienced is that some X applications, in varying degrees of 
frequency, crash with this sort of error:


The program 'gmfsk' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 9575469 error_code 1 request_code 0 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() 
function.)


The applications which I've seen affected include firefox 
(infrequently), ardour (with some regularity), and gmfsk (very 
frequently).  In the worst case, gmfsk, the application will only run 
for about 45 minutes between dumps.


What I've done:

- - I have tested gmfsk on a Red Hat EL4 virtual machine, and the crash
  does not occur.  Note that this uses xorg v6.

- - On the Gentoo machine, I have set -O (down from -O2) in make.conf, and
  have rebuilt my entire Gentoo environment using 'emerge -e world', and
  have resolved broken dependencies with revdep-rebuild; and

- - I have removed the proprietary Matrox binary hal library, required to
  make dual-head work on my G400, and reverted to the xorg driver.

Nothing has helped so far.

This is a current (2006.1) system.  I have attached the contents of 
make.conf and xorg.conf, and have posted below the output of lsmod and 
uname -a.  Let me know what other information might be useful to help 
narrow down the possibilities, or (even better) what others might have 
done to quell similar gremlins!


Cheers -d

$ uname -a
Linux sybil 2.6.18-gentoo-r6 #3 PREEMPT Sat Feb 3 21:46:35 PST 2007 i686 
AMD Sempron(tm) 2600+ AuthenticAMD GNU/Linux


$ lsmod
Module  Size  Used by
usbhid 28868  0
vmnet  33708  13
vmmon 103180  0
nfs   202248  3
lockd  55240  2 nfs
nfs_acl 3456  1 nfs
sunrpc140028  4 nfs,lockd,nfs_acl
ipt_LOG 5760  1
xt_limit2560  3
xt_state2112  2
ip_conntrack   47092  1 xt_state
iptable_filter  2944  1
snd_seq_midi8160  0
snd_emu10k1_synth   6720  0
snd_emux_synth 31552  1 snd_emu10k1_synth
snd_seq_virmidi 6784  1 snd_emux_synth
snd_seq_midi_emul   5888  1 snd_emux_synth
snd_pcm_oss39072  0
snd_seq_oss28928  0
snd_seq_midi_event  7040  3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq45392  8 
snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event

realtime9864  0
rtc12340  0
sg 28380  0
scsi_mod   88072  1 sg
snd_mixer_oss  15424  1 snd_pcm_oss
ide_cd 36256  0
matroxfb_base  26720  0
matroxfb_DAC10649152  1 matroxfb_base
matroxfb_accel  4288  1 matroxfb_base
matroxfb_g450   6592  1 matroxfb_base
cdrom  32608  1 ide_cd
g450_pll5760  2 matroxfb_DAC1064,matroxfb_g450
matroxfb_misc  11428  5 
matroxfb_base,matroxfb_DAC1064,matroxfb_accel,matroxfb_g450,g450_pll

via_agp 9536  1
ehci_hcd   26248  0
uhci_hcd   21064  0
usbcore   113092  4 usbhid,ehci_hcd,uhci_hcd
snd_emu10k1   103232  2 snd_emu10k1_synth
snd_rawmidi23136  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 82848  1 snd_emu10k1
via_rhine  22024  0
snd_ac97_bus2240  1 snd_ac97_codec
snd_pcm69768  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device  7692  7 
snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi

snd_timer  21188  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc  9608  2 snd_emu10k1,snd_pcm
snd_util_mem4544  2 snd_emux_synth,snd_emu10k1
snd_hwdep   8900  2 snd_emux_synth,snd_emu10k1
snd47460  15 
snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_seq_oss,snd_seq,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep

e1000 107200  0
soundcore   9312  1 snd


- --
David Talkington

PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFy3Tu5FKhdwBLj4sRAoBQAJoCxRkGET1yl9P7NdlLxPwBUal2JgCgjSQb
SF+PQF6MkFtGmy79mAbI9nw=
=t3z1
-END PGP SIGNATURE-# These settings were set by the catalyst build script that 

Re: [gentoo-user] Corrupted Cache w/ portage

2007-02-08 Thread Bo Ørsted Andresen
On Thursday 08 February 2007 20:08:58 Mike Edenfield wrote:
 For the past several weeks I have been having a recurring problem with
 portage's metadata cache after a sync.  The problem is reproduceable
 100% of the time now, so either I have something configured wrong or
 there's actually a problem with the portage mirrors:

 The problem is easily fixed by removing the cache and forcing emerge to
 rebuild it, but the next time I sync the corruption returns:

 gentoo portage # emerge --sync
[SNIP]
File /usr/lib/portage/pym/cache/flat_hash.py, line 47, in _pull
  raise cache_errors.CacheCorruption(cpv, e)
 cache.cache_errors.CacheCorruption:
 app-accessibility/SphinxTrain-0.9.1-r1 is corrupt: dictionary update
 sequence element #0 has length 1; 2 is required

 gentoo portage # rm -rf /usr/portage/metadata/cache/
 gentoo portage # emerge --metadata

# rm -rf /var/cache/edb/dep  emerge --metadata

http://bugs.gentoo.org/show_bug.cgi?id=156374

-- 
Bo Andresen


pgpncPOhfRJ3d.pgp
Description: PGP signature


[gentoo-user] Re: X application instability

2007-02-08 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Looks like my xorg.conf didn't get attached (or was stripped); inlining 
below.  Cheers -d



Section ServerLayout
Identifier dualhead
Screen screen1 0 0
Screen screen0 0 0
InputDeviceMouse1 CorePointer
InputDeviceKeyboard1 CoreKeyboard
EndSection
Section ServerFlags
Option  Xineramaon
EndSection


Section Files

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 
#FontPath   /usr/share/fonts/CID/

#FontPath   /usr/share/fonts/Speedo/
#FontPath   /usr/share/fonts/TrueType/
#FontPath   /usr/share/fonts/freefont/
# The module search path.  The default path is shown here.
FontPath/usr/share/fonts/misc/
FontPath/usr/share/fonts/TTF/
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/75dpi/
FontPath/usr/share/fonts/100dpi/
FontPath/usr/share/fonts/local/
EndSection

Section Module

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
#SubSection  extmod
#  Optionomit xfree86-dga   # don't initialise the DGA extension
#EndSubSection
# This loads the font modules
# This loads the GLX module
#Load   glx
# This loads the DRI module
#Load   dri
Load   dbe  # Double buffer extension
Load   type1
#Loadspeedo
Load   freetype
#Loadxtt
Load   glx
EndSection

Section ServerFlags
Option Rotate
# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may

# provide a better stack trace in the core dump to aid in debugging
#Option NoTrapSignals
# Uncomment this to disable the CrtlAltFn VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
#Option DontVTSwitch
# Uncomment this to disable the CrtlAltBS server abort sequence
# This allows clients to receive this key event.
#Option DontZap
# Uncomment this to disable the CrtlAltKP_+/KP_- mode switching
# sequences.  This allows clients to receive these key events.
#Option Dont Zoom
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
#Option DisableVidModeExtension
# Uncomment this to enable the use of a non-local xvidtune client. 
#Option AllowNonLocalXvidtune

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 
#Option DisableModInDev

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
#Option AllowNonLocalModInDev
EndSection

Section InputDevice
Identifier Keyboard1
Driver kbd
Option AutoRepeat 500 30
Option XkbRules xorg
Option XkbModel pc101
Option XkbLayout us
EndSection

Section InputDevice
Identifier Mouse1
Driver mouse
Option Protocol PS/2
Option Device /dev/psaux
EndSection

Section Monitor
Identifier 1905fp
HorizSync   30.0 - 81.0
VertRefresh 56.0 - 76.0
Option dpms
EndSection

Section Monitor
Identifier 1800fp
HorizSync   30.0 - 81.0
VertRefresh 56.0 - 76.0
Option dpms
EndSection

Section Device

 Identifier matrox0
Driver  mga # xorg Matrox driver
#Driver  fglrx  # binary ati driver from gentoo 'ati-drivers'
#Driver	ati		# xorg ati driver 
#Driver nvidia	# binary nvidia driver from nvidia

#Driver nv  # xorg nvidia driver
EndSection

Section Device
Identifier matrox1
Driver  mga
EndSection

Section Screen
Identifier screen0
Device matrox0
Monitor1905fp
DefaultDepth24
Option dpms
#VideoRam65536
# Insert Clocks lines here if appropriate
SubSection Display
Viewport0 0
Depth   24
Modes  1280x1024 1024x768 800x600 640x480
EndSubSection
EndSection

Section Screen
Identifier screen1
Device matrox1
Monitor1800fp
DefaultDepth24
Option dpms
#VideoRam65536
# Insert Clocks lines here if appropriate
SubSection Display
Viewport0 0
Depth 

[gentoo-user] disk capacity mismatch

2007-02-08 Thread Michael Higgins
Hello, list --


# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda3  20G   12G  7.5G  61% /
udev  236M  2.7M  233M   2% /dev
shm   236M 0  236M   0% /dev/shm
/dev/hda5  14G   13G  1.3G  91% /home/col/dump
/dev/hda6  14G   12G  2.0G  86% /home/col/music

lbg2 col # fdisk /dev/hda

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

What did I do wrong? It looks like my 80 GB drive is more like 50 GB. How
did I 'lose' the capacity?

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   *   1 497  250456+  83  Linux
/dev/hda2 4982482 1000440   82  Linux swap / Solaris
/dev/hda32483   4410320976984   83  Linux
/dev/hda4   44104   99582279614165  Extended
/dev/hda5   44104   7184313980928+  83  Linux
/dev/hda6   71844   9958213980424+  83  Linux

What major clue do I lack? :(

-- 
Michael Higgins


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] disk capacity mismatch

2007-02-08 Thread Dan Farrell
On Thu, 8 Feb 2007 13:34:21 -0800
Michael Higgins [EMAIL PROTECTED] wrote:

 Hello, list --
 
 
 # df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/hda3  20G   12G  7.5G  61% /
 udev  236M  2.7M  233M   2% /dev
 shm   236M 0  236M   0% /dev/shm
 /dev/hda5  14G   13G  1.3G  91% /home/col/dump
 /dev/hda6  14G   12G  2.0G  86% /home/col/music

so here the sizes added up are ~48.5 gigs, right?  and here...

 Disk /dev/hda: 80.0 GB, 80026361856 bytes
we can see the 80 gig drive recognized as such.
 16 heads, 63 sectors/track, 155061 cylinders
and you have 155,061 cylinders on the disk, but

Device Boot  Start End  Blocks   Id  System
 /dev/hda1   *   1 497  250456+  83  Linux
 /dev/hda2 4982482 1000440   82  Linux swap /
 Solaris /dev/hda32483   4410320976984   83  Linux
 /dev/hda4   44104   99582279614165  Extended
 /dev/hda5   44104   7184313980928+  83  Linux
 /dev/hda6   71844   9958213980424+  83  Linux

you only fill to cylinder 99,582.  So 99,582 of 155,061 leaves us
only about 64% of the drive used, and your 30 'missing' gigs simply not
partitioned off.  Unfortunately, since you haven't any more primary
partitions, you have space after /dev/hda4 and no way to use it.
Hopefully you know something about nondestructive partition resizing.

good luck!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network start delay?

2007-02-08 Thread Iain Buchanan
On Thu, 2007-02-08 at 13:23 +, Peter Lewis wrote:
 On Wednesday 07 February 2007 23:12, Iain Buchanan wrote:
  On Wed, 2007-02-07 at 10:37 +, Peter Lewis wrote:
[snip]
   Is there a way to make the netmount script wait for a route to exist
   before attempting to connect?
 
  net.eth2 shouldn't return (by default) until it has a dhcp address,
  which means all other scripts starting after it will wait until you have
  an address.
 
  Things you might have done to change the default behaviour include
  RC_PARALLEL_STARTUP, and RC_NET_STRICT_CHECKING in /etc/conf.d/rc.
 
  You can set them to no, and yes respectively and see if the
  following scripts wait...
 
 Thanks for this. I just checked and I have those variables set up correctly.
 
 Yes, upon closer inspection, the problem is slightly weirder.
 
 I'm using an Intel ipw3945 wireless device, which requires a daemon to run 
 to regulate it or something. So, I also have /etc/init.d/ipw3945d start at 
 boot. This must start before I can access eth2. However, I've actually just 
 noticed that I don't explicitly start net.eth2 in any runlevel. It seems that 
 this is kicked into action by ipw3945d somewhere (though I can't see where). 
 The /etc/init.d/net.eth2 process just seems to fork off to the background, 
 meaning that init carries on booting, and hence fails on netmount.
 
 Anyone any experience with this?

yeah, I have services starting without me asking for them too :) It
seems to happen when the module is loaded.  Supposedly, you control this
behaviour with 
RC_PLUG_SERVICES=...  Have a read in /etc/conf.d/rc again for more info
on this.  It doesn't work for me however, I have it set to !bluetooth,
and yet /etc/init.d/bluetooth is _always_ started.

What happens if you set RC_PLUG_SERVICES=!net.eth2, and then
explicitly add net.eth2 to your runlevel? maybe you need to put a dep in
it so it starts after ipw3945d?

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

And then there was the lawyer that stepped in cow manure and thought
he was melting...

-- 
gentoo-user@gentoo.org mailing list



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

2007-02-08 Thread Iain Buchanan
On Thu, 2007-02-08 at 11:42 +0100, Frédéric Grosshans wrote:

 Did you try to play with ionice to assign priority. It has helped me a
 lot with io-intensive background taskes.

I am trying to compile it to overcome some heavy-disk access performance
issues (ext3), but I can't!  Not compatible with recent headers or
something :(

See my thread on _syscallX isn't in linux-headers-2.6.20 if you can
help!!

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

Style may not be the answer, but at least it's a workable alternative.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What's with the timezone data...

2007-02-08 Thread Daevid Vincent
* sys-libs/timezone-data 
 Available versions:  2006g 2006p ~2007a
 Homepage:ftp://elsie.nci.nih.gov/pub/
 Description: Timezone data (/usr/share/zoneinfo) and utilities
(tzselect/zic/zdump)

How come the 2007 is still masked. The new DST for the USA and Australia is
creeping up in a few weeks. March 11th.

The changelog is fairly useless from a 'users' perspective. I have no idea
which one has the required USA DST changes in it...

http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-libs/timezone
-data/ChangeLog

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What's with the timezone data...

2007-02-08 Thread »Q«
In news:[EMAIL PROTECTED],
Daevid Vincent [EMAIL PROTECTED] wrote:

 * sys-libs/timezone-data 
  Available versions:  2006g 2006p ~2007a
  Homepage:ftp://elsie.nci.nih.gov/pub/
  Description: Timezone data (/usr/share/zoneinfo) and
 utilities (tzselect/zic/zdump)
 
 How come the 2007 is still masked. 

I don't know.

 The new DST for the USA and Australia is creeping up in a few
 weeks. March 11th.
 
 The changelog is fairly useless from a 'users' perspective. I have no
 idea which one has the required USA DST changes in it...

Looking inside tzdata2006p.tar.gz at the file for North America, the
comments indicate that the new U.S rules were added to the data in
2005, so there shouldn't be any problem.  After untarring, 

$ grep US.*2007 northamerica
RuleUS  2007max -   Mar Sun=8  2:001:00D
RuleUS  2007max -   Nov Sun=1  2:000   S

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] djbdns, ssh, and host based authentication

2007-02-08 Thread John Blinka

Hi, all,

I've installed djbdns on my home network and I have stretched
my competence past the breaking point in doing so.

I have gotten it to supply ip addresses for all of my local machines
using my own local nis domain name.

But, in doing so, I've managed to screw up host based authentication
for ssh, and I'd like to undo the damage.  Before djbdns, I could
ssh into any of my local machines w/o suppling a password.
After djbdns, I get this response to an ssh:

[EMAIL PROTECTED]:~-- ssh tobey
get_socket_address: getnameinfo 8 failed: Name or service not known
userauth_hostbased: cannot get local ipaddr/name
Password:

man getnameinfo suggests that getnameinfo does ip address to name
translation.  And, sure enough, If I try an nslookup on a local ip address,
djbdns can't supply me with the machine name.  For example,

[EMAIL PROTECTED]:~-- nslookup 192.168.1.104
Server: 192.168.1.254
Address:192.168.1.254#53

** server can't find 104.1.168.192.in-addr.arpa: NXDOMAIN

I have a feeling that I should add some sort of record into the
local database to make the ip to name translation possible,
but I don't know enough about nameserving, ssh, or authentication
to figure out what to do next.

Any ideas?

Thanks,

John Blinka
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: djbdns, ssh, and host based authentication

2007-02-08 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Blinka wrote:


** server can't find 104.1.168.192.in-addr.arpa: NXDOMAIN


That seems pretty clear ... :)

As you probably know from reading the djb docs, the jobs of recursive 
resolving and authoritative nameserving are separate.  You appear to be 
using 192.168.1.254 as a recursive resolver, so I presume that's the IP 
address where you're running dnscache.  It's telling you that it doesn't 
know who is authoritative for 192.168.1.104.


You must tell it who to ask by adding a file 
/etc/dnscache/root/servers/104.1.168.192.in-addr.arpa (or an appropriate 
subnet thereof, such as 1.168.192.in-addr.arpa).  The content of that 
file should be the IP address of tinydns (which cannot be the same IP 
address as dnscache), which will then know how to find your hosts by IP 
address.


Similarly, there needs to be a file 
/etc/dnscache/root/servers/yourdomain.blah, with the same contents, for 
forward lookups.


I cheat and run tinydns on 127.0.0.1, and dnscache on the public IP 
address, which is incorrect because only my dnscache can reach it. 
Nevertheless, it works well for me internally, since my internal hosts 
all use the same (my) dns resolver.  Ergo, I have a file 
/etc/dnscache/root/servers/1.168.192.in-addr.arpa which contains the 
line 127.0.0.1.


Cheers -d

- -- 
David Talkington


PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFy+vw5FKhdwBLj4sRAsatAJ9qAVB17AQlp19xlIH2rSgcw1kbqQCbBnuU
22L+UtZPXoWYEgczQ3suP60=
=OEFU
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Changing the font size in X

2007-02-08 Thread Vlad Dogaru

On 2/8/07, Jürgen Geuter [EMAIL PROTECTED] wrote:

On Thu, 2007-02-08 at 16:08 +0200, Vlad Dogaru wrote:

 I find that fonts are too small for my 15 monitor, causing eye strain
 and misunderstandings. How can I change font size globally? I
 apologise if this question is too basic, but Google strangely did not
 provide this time.

You might want to check/change your DPI settings (compare
http://scanline.ca/dpi/).


Hi Jürgen,

I switched from 75 to 96 DPI and everything is much more comfortable
on the eyes now.

Thanks for the tip,
Vlad
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What's with the timezone data...

2007-02-08 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daevid Vincent wrote:


The changelog is fairly useless from a 'users' perspective. I have no idea
which one has the required USA DST changes in it...


Dunno, but it's correct on my system for US/Pacific, which was synced a 
week or so ago:


[EMAIL PROTECTED] ~ $ zdump -v /etc/localtime |grep 2007
/etc/localtime  Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST 
isdst=0
/etc/localtime  Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT 
isdst=1
/etc/localtime  Sun Nov  4 08:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 PDT 
isdst=1
/etc/localtime  Sun Nov  4 09:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 PST 
isdst=0

Cheers -d

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFy/3M5FKhdwBLj4sRAoFDAJ9Uuup1nznCTcYyUbZ0lV5Ra5jH2gCgnA4J
/aDAUEqNo9ZCiWxqBkGKcS0=
=sKG5
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev usb printer permissions

2007-02-08 Thread Dale
Alexander Puchmayr wrote:
 Hi there!

 Can anyone please tell me why /dev/usb/lp0 has the following onwer/group and 
 permissions?

 zeus ~ # ls -l /dev/usb/
 total 0
 crw-rw 1 root plugdev 180, 0 Feb  8  2007 lp0


 /etc/udev/rules.d/50-udev.rules says:

 [...]
 # usb devices
 KERNEL==hiddev*,  NAME=usb/%k
 KERNEL==auer*,NAME=usb/%k
 KERNEL==legousbtower*,NAME=usb/%k, GROUP=usb
 KERNEL==dabusb*,  NAME=usb/%k
 BUS==usb, KERNEL==lp[0-9]*, NAME=usb/%k, GROUP=lp
 [...]

 I would expect /dev/usb/lp0 to belong to group lp, so which other config 
 file tells udev to put it under these onwer/group and permissions?

 Thanks in advance

   Alex
   

Something fishy somewhere.  Here is mine:

 [EMAIL PROTECTED] / # ls -l /dev/usb/
 total 0
 crw-rw 1 root lp 180, 0 Jan  9 03:59 lp0
 [EMAIL PROTECTED] / #  

Not sure why but I don't think I have changed anything.  Maybe one of
your rules was changed or not updated somehow.

Dale

:-)  :-)  :-)


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list



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

2007-02-08 Thread Dale
Boyd Stephen Smith Jr. wrote:


 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.

   

Well, I am doing this the hard way right now.  I just check for updates
and update everything but kdelibs and kate manually.  So far, so good. 
Maybe it will get sorted soon.

Thanks

Dale

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

-- 
www.myspace.com/dalek1967