Re: [gentoo-user] Logging out and back in kills DRI?

2006-02-03 Thread Michael Kjorling
On 2006-02-03 22:13 +0100, [EMAIL PROTECTED] wrote:
> Seeing that here too sometimes.  It seems that the app that used 
> the DRI doesn't fully release it, so that when X restarts it sees 
> the DRI as being occupied, and is unable to use it.  It looks like 
> a bug -- either in the app, X, or the radeon driver.

I don't think it's an application bug. I just made an experiment:
rebooted, logged in, ran ONLY glxinfo through grep (plus a few
applications that get launched through my X initialization file, none
of which make any use of OpenGL at all that I am aware of), logged
off, back on, and the same glxinfo again. Still, the second time
around I only get software rendering.

So if it is a bug, it's most likely not in any application that
utilizes OpenGL at least.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpiE5YIIQ52D.pgp
Description: PGP signature


Re: [gentoo-user] changing from X to shell

2006-02-03 Thread Michael Kjorling
On 2006-02-03 11:04 -0200, [EMAIL PROTECTED] wrote:
> after some updates, changing from KDE to shell seems to be disabled. I
> do this by pressing Ctrl+Alt+Fn, where n<7.
> 
> how do I re-enable it again?

Check to see if you have DontVTSwitch set in your xorg.conf.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpHrz70YW2DZ.pgp
Description: PGP signature


[gentoo-user] Logging out and back in kills DRI?

2006-02-03 Thread Michael Kjorling
I am having some trouble with X11 DRI on my AMD64 system. It works
fine the first time after a reboot (I have xdm in the default runlevel
so get a graphical login) but after logging off and back on, all I get
is software rendering. I use x11-base/x11-drm-20051223 (compiled
against my current kernel, obviously, and the radeon module getting
loaded at boot time), and gentoo-sources-2.6.15-r1. I'm running a
framebuffer console and use the "radeon" Xorg driver. After logging
off and back on, /dev/dri/card0 is still 0:0 666, and my xorg.conf
says DRI is mode 0666, but all I get from within an xterm is this:

[EMAIL PROTECTED] ~ $ glxinfo | grep -i direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
[EMAIL PROTECTED] ~ $ 

...with OpenGL performance that can be expected from software
rendering. I don't see anything in /var/log/Xorg.0.log that would
indicate an error condition, and it seems to say that direct rendering
gets initialized just fine. So why doesn't it get used?

Any suggestions on where to look would be appreciated.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpwDbWmvO3L1.pgp
Description: PGP signature


SOLVED: [gentoo-user] Redefining a single key in Xorg 6.8?

2006-02-02 Thread Michael Kjorling
On 2006-02-02 19:51 +0100, [EMAIL PROTECTED] wrote:
> See 'man xmodmap', the examples near the end, things like:
> 
>   xmodmap -e "keycode 240 = a A space Return"

Great, thanks! I thought xmodmap was what I was looking for but missed
the part on the -e switch.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgp2dgJZm0IHm.pgp
Description: PGP signature


[gentoo-user] Redefining a single key in Xorg 6.8?

2006-02-02 Thread Michael Kjorling
I run x11-base/xorg-x11-6.8.2-r6 and would like to redefine a single
key on the keyboard. I found a number of tutorials on how to create a
completely custom keyboard layout, but this seems like overkill.

How do I change this one key without creating a whole new layout,
preferably only for my own account?

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpUBj7MivKuO.pgp
Description: PGP signature


Re: [gentoo-user] OT - Mozilla: Bug or problem with MY system

2006-01-20 Thread Michael Kjorling
On 2006-01-20 09:03 -0600, [EMAIL PROTECTED] wrote:
> /usr/lib/mozilla/mozilla-bin: symbol lookup
> error: /usr/lib/mozilla/components/libgfx_gtk.so: undefined symbol:
> pango_x_font_map_for_display
> mozilla-bin exited with non-zero status (127)
> [EMAIL PROTECTED] ~ $

Have you tried a revdep-rebuild (comes in gentoolkit)?

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpDBeuyl6Kip.pgp
Description: PGP signature


Re: [gentoo-user] Improving SpamAssassin's accuracy...

2006-01-16 Thread Michael Kjorling
On 2006-01-16 03:00 +, [EMAIL PROTECTED] wrote:
> Can anyone help explain the "status=bounced (mail for 
> mail.validdomain.co.uk loops back to myself" error message, please?

It actually is pretty self explanationary. It means that a mail was
received (from a host that is allowed to relay, in this case
localhost), destined for a domain for which the mail server is the
primary MX, but Postfix is not set to deliver the mail locally so
would otherwise try to relay it back to itself. This is detected to
prevent relaying loops.

Check your $mydestination setting.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpMUyYaqc06J.pgp
Description: PGP signature


Re: [gentoo-user] I can't send email anymore. O_O

2006-01-12 Thread Michael Kjorling
On 2006-01-12 15:54 -0600, [EMAIL PROTECTED] wrote:
> " An error occurred while sending mail. The mail server responded:
> 5.7.1  Relaying
> denied. Please verify that your email address is correct in your
> Mail preferences and try again."

This generally means that you are using the wrong mail server and has
*nothing* to do with which mail client you are using.

Contact your ISP's support department and verify that you are using
the correct SMTP server.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpsm73jAOqYP.pgp
Description: PGP signature


Re: [gentoo-user] No xterms after kernel upgrade.

2006-01-08 Thread Michael Kjorling
On 2006-01-08 13:03 -0800, [EMAIL PROTECTED] wrote:
> I recently upgraded the kernel on my laptop to 2.6.14-r5, as well as
> Xorg, and many other packages. Since this change I cannot run an
> xterm anymore. I seem to recall this happening to me years ago, but
> I do not remember the cause.

Did you make any changes related to pty support?
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpq8bMUnMRlg.pgp
Description: PGP signature


Re: SOLVED: [gentoo-user] System shutdown from within Xfce

2006-01-04 Thread Michael Kjorling
On 2006-01-04 11:09 -0600, [EMAIL PROTECTED] wrote:
>> I can now shut down and reboot from within the GUI, and it doesn't
>> seem to have opened any obvious other security holes.
> 
> well, except ANY user in your wheel group can shut down your
> box.not saying that's a bad thing, but you need to know who all
> is in it...

Yes, I am perfectly aware of that and it is also what I want. Of
course my account is the only one besides root that is in the wheel
group, but that's my own headache. :)
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgp43RWBEZyvc.pgp
Description: PGP signature


[gentoo-user] System shutdown from within Xfce

2006-01-04 Thread Michael Kjorling
I run Xfce 4.2.3.2 and want to be able to shut down my system from
within X. At the moment I have to log in as root and then issue a
shutdown command, but Xfce is supposed to support doing this through
the GUI.

Looking around turned up the Xfce documentation and specifically
,
which says I need sudo and the right to execute xfsm-shutdown-helper
as root. OK, so I emerged app-admin/sudo and added the following line
at the end of /etc/sudoers using visudo:

%wheel  vuk=/usr/libexec/xfsm-shutdown-helper   NOPASSWD

(Those are tabs.) My system is named vuk, I am a member of the wheel
group, and /etc/hosts says:

vuk ~ # grep vuk /etc/hosts
127.0.0.1   vuk.kjorling.com vuk localhost
::1 ip6-localhost vuk ip6-loopback
vuk ~ # 

Still, trying "sudo /usr/libexec/xfsm-shutdown-helper" from the
command line gives me:

[EMAIL PROTECTED] ~ $ sudo /usr/libexec/xfsm-shutdown-helper
Password: (trying the root password)
Sorry, try again.
Password: (^C)
sudo: 1 incorrect password attempt
[EMAIL PROTECTED] ~ $ sudo /usr/libexec/xfsm-shutdown-helper
Password: (trying my own password)
Sorry, user michael is not allowed to execute 
'/usr/libexec/xfsm-shutdown-helper' as root on vuk.
[EMAIL PROTECTED] ~ $ 

...and the options to shut down or reboot are still grayed out in the
Xfce quit dialog box.

I checked /etc/group and did not find any obvious group I should add
myself to (say, `sudoers' or something like that). I use PAM and
/etc/pam.d/sudo (autogenerated) uses system-auth for auth, account,
password and session.

Am I missing something here?

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpjIsoxBCjfw.pgp
Description: PGP signature


Re: [gentoo-user] What wants to pull in busybox?

2005-12-29 Thread Michael Kjorling
On 2005-12-29 21:05 +0200, [EMAIL PROTECTED] wrote:
> $ grep busybox /usr/portage/profiles/default-linux/packages
> *sys-apps/busybox

Since I don't need this (if my system breaks, I have several live-CDs
available that are much more likely to be bootable to begin with), and
had so much trouble with busybox the last time, is there any way to
override this without editing the profile directly? I looked at the
man page for emerge but didn't see anything.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpkI6uSUz8JX.pgp
Description: PGP signature


[gentoo-user] What wants to pull in busybox?

2005-12-29 Thread Michael Kjorling
Earlier today, I did an emerge --sync and proceeded to update world,
including portage (now 2.0.53). I have an amd64 system running mostly
stable, with a bunch of ~amd64 packages listed in my package.keywords
and a small portage tree overlay that is not of relevance here.

Now. For some reason, even after updating everything else, "emerge
-auDv world" still wants to pull in sys-apps/busybox-1.00-r4. I have
had sys-apps/busybox in my package.mask file ever since it getting
pulled in as a dependency to something severely crippled my system,
and I do not want to have to go through that again.

Running "emerge -auDvet world" indicates that nothing depends on
busybox, nor does it depend on anything else. It is not in my
/var/lib/portage/world. So why does portage want to install it, and
how do I get portage to *not* install it without that giving me the
"all ebuilds that could satisfy 'sys-apps/busybox' have been masked"
whenever I want to do *any* update?

If it helps, along with the above error message I also get:

!!! Problem resolving dependencies for sys-apps/busybox
!!! Depgraph creation failed.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpv59yydxjt3.pgp
Description: PGP signature


Re: [gentoo-user] SIOCADDRT: No such device

2005-12-21 Thread Michael Kjorling
On 2005-12-21 21:50 +0200, [EMAIL PROTECTED] wrote:
> - ziig conf.d # route add 192.168.4.1
> - SIOCADDRT: No such device

Do you mean to do "route add -net default gw 192.168.4.1"?
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgp97atP7Vehb.pgp
Description: PGP signature


Re: [gentoo-user] USE flags, command line and packages.use

2005-12-21 Thread Michael Kjorling
On 2005-12-21 16:35 -0200, [EMAIL PROTECTED] wrote:
> modifying the default USE for them, but I did that at command line
> (yeah, yeah, I know, don't tell me), now, is there some easy way to
> put the CURRENT USE flags that the packages in world are using at
> packages.use? I am afraid that an "emerge -u world" would download A

I would have a look at the shell command history.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpcpuWi73Na3.pgp
Description: PGP signature


Re: [gentoo-user] data base program

2005-12-19 Thread Michael Kjorling
On 2005-12-20 00:24 +0100, [EMAIL PROTECTED] wrote:
> Is there any program for makeing data bases as fast as ms access
> (works fast, small) and free as openbase?

I am not familiar with OpenBase, but Kexi and OpenOffice.org Base come
to mind as general-purpose alternatives to Microsoft Access.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpz4jskvDmAB.pgp
Description: PGP signature


Re: [gentoo-user] OT - Need help correcting my DNS configuration

2005-12-19 Thread Michael Kjorling
On 2005-12-16 10:31 -0600, [EMAIL PROTECTED] wrote:
> it frequently does) my applications which require knowing what host
> they're running on.  They don't seem to be smart enough to look
> at /etc/hosts.  Some people on one of my Linux lists suggested that

Did you check to make sure /etc/nsswitch.conf is correctly set up for
files-based name resolution, and that you have *all* of the necessary
entries in /etc/hosts?
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpdepH45x88r.pgp
Description: PGP signature


Re: [gentoo-user] readcd -clone and iso9660 ?

2005-12-14 Thread Michael Kjorling
On 2005-12-14 17:45 +0100, [EMAIL PROTECTED] wrote:
> Yes, it works, cp /dev/cdrom image.iso too. But some CDs have errors
> (scratches) that cp/cat can't handle.

Tried dd with `conv=noerror'?

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpqxN8vbCVNS.pgp
Description: PGP signature


Re: [gentoo-user] [OT] moving mountpoint to folder

2005-12-13 Thread Michael Kjorling
On 2005-12-13 12:33 -0800, [EMAIL PROTECTED] wrote:
> So, my question is, does anyone know what will happen if I try to
> umount -l, remove the /usr/lib mountpoint, and rename /usr/lib2 to
> /usr/lib? It would seem that there'd be no problem as long as I
> don't need to log into a new shell? Going the other way wasn't a
> problem, as I just renamed the old folder and mounted the partition
> on a new one.

If it was me, I'd probably simply reboot from a live CD (the Gentoo
installation CD comes to mind), make the changes that cannot be done
while the system is running normally, and reboot.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpitTZr8q8vJ.pgp
Description: PGP signature


Re: [gentoo-user] setting the xfce4-mixer levels

2005-12-11 Thread Michael Kjorling
On 2005-12-11 16:58 -0800, [EMAIL PROTECTED] wrote:
> xfce4-mixer works great but the levels always reset after a reboot.  I
> need a way to set them permanently.

# rc-update add alsasound boot

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpEE9Htlcn7D.pgp
Description: PGP signature


Re: [gentoo-user] setting the xfce4-mixer levels

2005-12-11 Thread Michael Kjorling
On 2005-12-11 13:50 -0800, [EMAIL PROTECTED] wrote:
> Does anyone know where to set the volume levels that appear for
> xfce4-mixer?

What's wrong with using xfce4-mixer for that? I do that myself and it
works absolutely flawlessly.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgpJwi6zxc6hg.pgp
Description: PGP signature


Re: [gentoo-user] GCC only for priviliged users?

2005-12-10 Thread Michael Kjorling
On 2005-12-10 12:06 +0100, [EMAIL PROTECTED] wrote:
> I meant something like:
> for (;;) malloc(1000);

If this is what you are worried about, it sounds like you would be a
lot better off setting up some sort of resource limits than simply
limiting access to the compiler. I know for a fact that PAM has
resource limiting (see for example [1], [2]) and it may be possible to
do without PAM as well.

[1] http://www.google.com/search?q=linux+pam+memory+limiting
[2] http://www.rfxnetworks.com/lprl.php (old but should be usable)

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgp5IMzXkBZyt.pgp
Description: PGP signature


Re: [gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-11-17 17:04 -0700, [EMAIL PROTECTED] wrote:
> Current x.org versions should be able to auto-detect the VertRefresh
> and HorizSync settings, as well as appropriate modelines.  So I would
> comment out all such stuff from your xorg.conf file, and see if the
> autodetection will work.

It did. Thanks a lot!

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDfSVtdY+HSb3praYRAh5EAJ9IDKuMdvh98TUieSYWXbsZ2K40kwCgnfh2
RYCSld0pVgmiil9HgsYl+TE=
=rn5V
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Radeon 9200/Xorg refresh rate

2005-11-17 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a ATI Radeon 9200 graphics card (lspci says ATI Technologies,
device 5940, rev 01) which currently drives my monitor at 48.5 kHz 60
Hz 1024x768 using x11-base/xorg-x11-6.8.2-r4 and the "radeon" driver.
I would like to raise the refresh rate to 75 Hz. How do I do that?

Various Google searches have turned me up empty, except that possibly
the answer lies in the ModeLine used. Is that correct and if so, what
values would I need to tune to adjust the refresh rate?

/etc/X11/xorg.conf says that the vertical refresh rate is "50-90" Hz.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDfRe6dY+HSb3praYRAuczAJ9n1w0/A5Iw8k3hu34eWUogqnQ5pwCffXv5
ECG/+H7cS9WIO/vpl8tYWYE=
=P/O5
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] root password gremlin

2005-11-17 Thread Michael Kjorling
On 2005-11-17 20:17 +0100, [EMAIL PROTECTED] wrote:
> I KNOW my password. And I also tried the 2 techniques
> for changing it (the init="/bin/sh" in the bootloader
> and chrooting from the live-cd). I change them
> succesfully but it still doesn't work!

Check to make sure the console is listed in /etc/securetty, otherwise
you won't be able to log in as root directly. (However, you can log in
as a normal user and then use `su'.)

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *


pgprsvc6rvAeQ.pgp
Description: PGP signature


Re: [gentoo-user] DNS trouble

2005-11-14 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-11-14 12:46 -0300, [EMAIL PROTECTED] wrote:
> does someone have a clue about what is going on ?

Yes, `nslookup' is fundamentally broken. Try `host' or `dig' (with its
`-x' option) instead.

And don't expect RFC 1918 address space to be resolvable via a public
name server...

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDeLeHdY+HSb3praYRAiahAJ4qLwX2kPTKMvIyuWwDTaPcrgYM3QCfTQhW
nxFNE0o+QiYj1nsnU06LvGQ=
=F5Xs
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel Version

2005-10-31 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-31 22:41 +, [EMAIL PROTECTED] wrote:
> make && make modules_install
> 
> then change /etc/lilo.conf to the new(and only) kernel

You need to copy the new bzImage (arch/*/boot/bzImage) into place, and
re-run lilo for the changes to take effect.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDZqBvdY+HSb3praYRAsnrAKCbhRTGYY+muDpZHZX/rqUTqN3AZACgpLdt
Zu5crDlJIUnc/aUu1iZt/OY=
=vUHn
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to install a cable modem connection

2005-10-29 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-29 20:26 +, [EMAIL PROTECTED] wrote:
> Here's where I get a little stuck.  My internet programs are not
> recognising this eth1 connection.  What step do I need to perform in
> order to get the internet connection working?

A good starting point may be taking a look at the kernel IP routing
table -- that's what "route" is for. You probably want to use its "-n"
switch to disable host name lookups.

You want a route with destination 0.0.0.0, genmask 0.0.0.0 (means CIDR
network 0/0, or "default" upstream) and gateway somewhere in the range
24.88.247.x (24.88.247/24), going through (iface) eth1. Without it,
your system will not be able to talk to anything outside of your
little corner of Road Runner's network.

If you have such a route, then running traceroute (also with "-n")
towards a known valid IP address should give you some clue as to where
the problem is. You may also want to look at any iptables rule sets
you may have; that's "iptables -L -n" (list, numerical).

If you can connect to an IP address but not using a DNS name, that
leaves just name resolution (/etc/resolv.conf and /etc/nsswitch.conf
under "hosts:", as I recall).

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDY8f3dY+HSb3praYRAq3TAJ9TjvcQGSMpEFt+1+asqgE3SvlXeQCeNy77
J0r+Y/uyplQw2gfTNhSofDo=
=1nZX
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SOLVED: Xfce 4.2.2 taskbar button caption oddity

2005-10-29 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-26 12:14 +, [EMAIL PROTECTED] wrote:
> Recently, I made some changes to my xfce-4.2.2 configuration.
> Everything seemed fine until a few days later (this morning) when I
> rebooted. Now the taskbar button captions overflow onto the next

Turns out it almost certainly was a library problem. I got gtk+-2.8.6
as a dependency when installing Inkscape (the ebuild must have been
changed since, now it says >=gtk+-2.4.1), and then noticed that
"emerge -Dpu world" kept wanting to pull back gtk+-2.6.10. When I did,
this problem seems to have disappeared as well.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDY3MWdY+HSb3praYRAnVUAJ9QkLiMDB56wqBTLCTkd6jx8AOsVgCgtAmI
C1HglDE03J5jMUZlT8plBEo=
=I4Or
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] list of all installed packages?

2005-10-29 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-29 13:17 +0200, [EMAIL PROTECTED] wrote:
> Sorry, for asking such a trivial question, but how can I find which
> packages have been emerged on my system? As time goes, I lost track

You could look at /var/lib/portage/world, but that will only give you
a partial list.

"emerge --deep --pretend --emptytree world" will list everything that
would be rebuilt if you were to rebuild your system from scratch.
Beware, it tends to be a rather long list...

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDY1+8dY+HSb3praYRAnkMAJ9gnfRtlglOc6++8EVUY62kSpizmgCfZ8Wn
DH7ZlY3Z/6UvH2TzPNFFZtc=
=Nutt
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Generate data dvd iso image with growisofs or other

2005-10-26 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-26 09:34 -0500, [EMAIL PROTECTED] wrote:
> I'm having trouble digging out of google and growisofs --help how to
> create a dvd data image.  growisofs --help give very little to work
> with but the reference to mkisofs lead me to man mkisofs where I find
> out how to make a video dvd but still not clear what cmdline is
> required for data dvd.

There is nothing special about a DVD ISO. Just make an ISO
9660-compatible image with whatever data you want (in fact, neither a
DVD nor CD needs to contain a ISO 9660 file system at all). I usually
do something very similar to:

mkisofs -o dvdimage.iso -J -r datadir/

Then you can burn this "pre-mastered" image using (see growisofs man
page):

growisofs -dvd-compat -Z /dev/dvd=dvdimage.iso

This should be roughly equivalent to:

growisofs -dvd-compat -Z /dev/dvd -J -r datadir/

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDX5r0dY+HSb3praYRAtPbAJ4xaRTs/b76skHdmX9+uSVBE25ohQCeMRzu
pxvKikNC77DKK4Zr0AW5KxA=
=quU+
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xfce 4.2.2 taskbar button caption oddity

2005-10-26 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Recently, I made some changes to my xfce-4.2.2 configuration.
Everything seemed fine until a few days later (this morning) when I
rebooted. Now the taskbar button captions overflow onto the next
button (or even farther) if they don't fit, instead of being cut off
at the button edge, which I am used to (and would prefer). This makes
the text on the following taskbar button(s) almost impossible to read,
so I need to rely on the icon and tooltip just to figure out what
application that happens to be.

I can't remember what settings exactly I changed, but in my attempts
to resolve the situation, I fiddled some with the UI, window manager
and taskbar settings -- with no luck.

Has anyone else experienced this, or can perhaps suggest settings that
would be worth trying fiddling with? It is *very* annoying.

Thanks in advance.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDX3MMdY+HSb3praYRAkqRAKCGimHszquHLV7dDkJ1RcDGrbm6uwCfWizM
Kw+VwkzH3PmDKFc+fr6cqgs=
=YvmV
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to obtain a GPG Key

2005-10-20 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-20 07:00 +0600, [EMAIL PROTECTED] wrote:
>  how to obtain a GPG Key like ( GPG Key: 0x864C9B9E )?

# emerge app-crypt/gnupg
$ gpg --gen-key

When done, if --gen-key doesn't, "gpg --list-secret-keys" will tell
you the key ID of your key. For example, my output is (snipped, as I
have several secret keys on my key ring):

[EMAIL PROTECTED] ~ $ gpg --list-secret-keys
/home/michael/.gnupg/secring.gpg

sec   1024D/BDE9ADA6 2003-04-22
uid      Michael Kjorling <[EMAIL PROTECTED]>
ssb   4096g/BF91CDAB 2003-04-22
[EMAIL PROTECTED] ~ $

In this case, my key ID is 0xBDE9ADA6.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDV1xndY+HSb3praYRAj8oAJ49lqfsCInsuA8gSh2BFf4cVdpGlQCfXq0u
JTQHOIO5jbNsmGTPomTBdpU=
=6zrC
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] syslog-ng can't be removed by rc-update

2005-10-19 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-19 09:26 -0700, [EMAIL PROTECTED] wrote:
> I recently decided to use sysklogd instead of syslog-ng.  But the
> command "rc-update del syslog-ng default" will not remove the file from
> /etc/init.d.

It should be deleted when you unmerge syslog-ng.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVnfidY+HSb3praYRAv47AJ9VBp8vilp+aPQ9JFP+hE+CDwWh/ACfUC8K
ecS1ESLXkeScNJlwtXE6AUw=
=0TfV
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash Pattern Matching Syntax

2005-10-15 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-15 15:25 -0700, [EMAIL PROTECTED] wrote:
> I want to list the files in a directory that end in ".jpg" irregardless of 
> case.  Thus after reading the bash man page, it seems I should be able to 
> issue a command something along the lines of "ls [*.[JjPpGg]]"  or "ls 
> *.[JjPpGg]" but neither of these work and return a "No such file or 
> directory" message.  What is the correct syntax for what I'm trying to do?

ls *.[jJ][pP][gG]

Each [] group matches a single character, so "ls *.[JjPpGg]" is "list
all files that end in a period followed by one of J, j, P, p, G or g".
Character ordering is irrelevant.

Alternatively, you could do:

ls | grep -i '.jpg$'

Or:

find . -maxdepth 1 -iname '*.jpg'

The find or ls-pipe-grep versions get a LOT cleaner when you have many
known characters with unknown case in the file name, but don't work if
you need to discriminate based on case for some characters and not by
others.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDUYTjdY+HSb3praYRAulaAJ9P1LDLFnmu33HTTHFeXZwAGrAwRACfTmGF
8rnOP4hrj6gFZaoaArSqwjo=
=LuDd
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: CPU Temperature

2005-10-15 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-16 07:27 +1300, [EMAIL PROTECTED] wrote:
> AMD Athlon 64 3200+ (Socket 939)
> 
> Motherboard sensors indicate that the CPU core is running at a constant 65
> degrees Celcius and this figure does not change more than a degree  no
> matter what is being done, it only increased to 66 degrees C while doing a
> compile of xorg, kde and gnome which took a few hours.

That seems quite high to me. With an uptime of a shade under 17 days,
during normal use and with [EMAIL PROTECTED] running since 11.5 CPU-days (says
top), /proc/acpi reports 49 degrees Celsius at the CPU. My system,
built around an Athlon 64 3000+, has a critical trip (shutdown)
temperature of 70 C and I have never hit that level. I have not
checked the CPU temperature during lengthy compilations however, but
considering that CPU utilization stays close to 100% due to [EMAIL PROTECTED],
it is probably about the same.

I would consider anything above 60 C as certainly out of the ordinary
and worth investigating.

Does the motherboard BIOS setup show the same temperature as Linux?

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDUWzCdY+HSb3praYRArjRAJ4tyPN8FU7VGhqIb8TQH8UNMjmF8QCfd4jM
IrwpbOpHRXlXO6BZw3C3kSo=
=kjAN
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fumblefingers corrupts an ebuild, plea for help

2005-10-15 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-15 10:07 -0700, [EMAIL PROTECTED] wrote:
> Is there a way to force a fresh copy?

`emerge --sync' (which has already been suggested), or, since in this
case only a single ebuild is broken, www.gentoo-portage.com offers
ebuild downloads.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDUTr8dY+HSb3praYRAoE7AKCvYLylel7VuUMMgWzXZeVNJ6eEGQCgmT3Z
yQv5zdMsiFZT5tOYUrKOGHA=
=e194
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie: Install process @ chroot

2005-10-07 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-10-07 04:19 -0700, [EMAIL PROTECTED] wrote:
> livecd / # chroot /mnt/gentoo /bin/bash
> chroot: cannot run command `/bin/bash': No such file or directory
> 
> livecd / # ls -l /bin/bash
> -rwxr-xr-x  1 root root 680316 Jul 22 18:23 /bin/bash

This sounds to me like you did not unpack the stage tarball, or it was
only partially unpacked.

The `chroot' command will change the root directory to `/mnt/gentoo',
then try to execute /bin/bash from within that new environment. So the
file you need to make sure is in place from outside the chroot is
/mnt/gentoo/bin/bash. Try unpacking the stage tarball again (step 5 b
in the handbook) and see if it helps.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDRmAYdY+HSb3praYRAujFAJwKcwku2+GEgs/iIUeld1qBOHIiTwCfZLMB
gF/zjrCA2tvF8cRVakR3e3k=
=yUYp
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a network

2005-09-29 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-09-29 15:19 -0400, [EMAIL PROTECTED] wrote:
> I thought I could just allow Linux to forward the packets, but I couldn't 
> figure out the routing since I'm not dealing with a whole subnet, only a few 
> allocated IPs.

If a network delegation does not lend itself to being expressed in
CIDR (network/masklen) notation easily, and especially if it is just a
few addresses, your best bet may be to simply treat it as several host
routes. Then set up routing as usual.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDPEFTdY+HSb3praYRAu6DAJ9gfpe6OL0dhxD2urHucxJCPQJk1gCgmvvW
fw/LtTDwCQK0LxQ5HlRwCyc=
=84wA
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Size of portage tree

2005-09-28 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-09-28 07:30 -0500, [EMAIL PROTECTED] wrote:
> I've noticed /usr/portage is standing at a little over 2 gigs in
> size.  Is this about normal?

Don't forget that portage keeps all downloaded source code in
/usr/portage/distfiles. The actual portage tree totals something like
100 MB plus losses due to inode/block size.

My workstation's "portage" directory is about 2.4 GB.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOpF0dY+HSb3praYRAtdSAJ9BttgwBNN37AAcQlaYnsIP7RJxIQCdEzVb
llqzj1EiuuIAMc949zh+dAw=
=Gn2k
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 Universal CD install

2005-09-28 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-09-28 06:52 -0500, [EMAIL PROTECTED] wrote:
> A stage 3 will not install X, unless you do emerge something after install 
> that requires Xlike when I did an emerge kde-meta...that got X 
> installed, then kde and xdm, etc.

That's right. Since this was on a laptop, I emerged the PCMCIA tools,
which has X tools. So X got emerged as a dependency because I did not
explicitly disable it (and I wanted X, anyway).

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOobZdY+HSb3praYRAjuTAJ43ReCDwBSNTsPyz5b+pW22+xskvwCfbrsC
fWmrsjddYCsFsJvUQnKuOxA=
=fJv5
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 Universal CD install

2005-09-28 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-09-28 14:46 +0530, [EMAIL PROTECTED] wrote:
> Is X already installed? (the system boots to a text login)

Most likely. I did a stage 3 installation of 2005.1 a few days ago and
ended up getting both X and a whole bunch of other stuff installed.
Chances are you have it, too.

"etcat -s x11" will tell you for sure. If not, doing "emerge xorg-x11"
as root will install it.

> how do i start X?

Log in, then issue the command "startx" (no, really!).

If you want the system to boot to a graphical login, log in as root
and issue the command "rc-update add xdm default" to add the X display
manager (xdm) to the default runlevel.

> How do I install new software ? (gnome and so on)

Use "emerge", preferably with the "-a" (--ask) option so that you have
a chance to bail out before it installs everything and the kitchen
sink if you don't want it to.

"emerge -s" (--search) will search for a package with a name
containing the given string. See "man emerge" for more possibilities.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDOmxqdY+HSb3praYRApKEAKCb9mX2u10JMuWNhRQ4m+TvGsJezwCfSYXz
umlOeFm0E7Rxqllw+AjpJBM=
=BlzV
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



FIXED: [gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-25 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-09-25 02:19 -0400, [EMAIL PROTECTED] wrote:
> Do you have any IP tables modules too? ("grep IP_NF_
> /usr/src/linx/.config" should tell you).

That's it. Buried among those dozens of lines I found the clue I was
looking for: CONFIG_IP_NF_FILTER not being set.

$ zgrep IP_NF_ /proc/config.gz 
...
# CONFIG_IP_NF_FILTER is not set
...
$

I just recompiled my kernel with it set and iptables now seems to
work. Now to see if I can get a decent rule-set set up, but at least
that is a different problem.

Thanks!

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNoZ9dY+HSb3praYRAkpHAJ94iG8bR94jxlWj/qQQ5KyzdrNhVgCfVOMH
1ITej41mT2ZEU9fPTd1B1aY=
=kWaR
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-24 Thread Michael Kjorling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My system is AMD64, Linux 2.6.12-gentoo-r10 (from gentoo-sources),
iptables 1.3.2 and generally up-to-date. I can't seem to get iptables
to work. Netfilter support is compiled into the kernel (compiling it
as a module and loading that gave the same result), as evidenced by:

$ zgrep -i iptables /proc/config.gz
CONFIG_IP_NF_IPTABLES=y
$ 

but iptables refuses to run:

# iptables -L -n
FATAL: Module ip_tables not found.
iptables v1.3.2: can't initialize iptables table `filter': Table does not exist 
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
# 

`iptables -X filter' gives me the same error message.

Any suggestions as for how to get packet filtering working (including
kernel configuration options to try) would be greatly appreciated.

- -- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDNcQzdY+HSb3praYRAmkVAJ4+l7uFwHsfQc5McejmrljuSLoWlwCgnjQP
eXGRvHKghiIcqXZephmOvn0=
=4Iep
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/shadow syntax

2005-06-06 Thread Michael Kjorling
On 2005-06-06 15:51 +0200, [EMAIL PROTECTED] wrote:
> I can't seem to find any official documentation on /etc/shadow syntax.
> Searching google I find loads of conflicting explantions of the meaning of
> x,!,!!,* in the password field.

The given password is encrypted, and then compared to whatever is in
the password field in /etc/shadow (or /etc/passwd). If they match, the
password is valid. So entering anything that cannot be valid into the
password field means that no password will be valid.

Whether you choose to use x, !, !!, * or some other variant is up to
you. Yes, "x" works in this case too since it is too short to be a
salt followed by an encrypted password.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
*** Software patents hinder progress - see http://swpat.ffii.org/ ***


pgpLo0ttg5RjT.pgp
Description: PGP signature


Re: [gentoo-user] X11, always have to press space-bar when want some special chars (' " ...)

2005-06-05 Thread Michael Kjorling
On 2005-06-05 16:15 +0200, [EMAIL PROTECTED] wrote:
> had to prace the space-bar each time I press some special buttons to get the 
> ' displayed e.g. (or the ").
> 
> Why is this?

Could it be the "deadkeys" setting?

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* . No bird soars too high if he soars with his own wings . *
*** Software patents hinder progress - see http://swpat.ffii.org/ ***


pgpcOQ1KiXrIQ.pgp
Description: PGP signature


Re: [gentoo-user] AMI - Primary Master Hard Disk Error??

2005-06-04 Thread Michael Kjorling
On 2005-06-04 11:11 -0700, [EMAIL PROTECTED] wrote:
> Pri Master: IBM-DPTA-371360 P74IA30A
> Ultra-DMA Mode 4, S.M.A.R.T capable and status OK
> Pri.Slave: TOSHIBA CDW/DVD SD-R1612 TB02
> Ultra-DMA Mode 2
> Auto-Detecting USB Mass Storage Devices
> 00 USB mass storage devices found and configured
> 
> Primary Master Hard Disk Error
> Press F1 to resume

Since using nodma was what allowed you to boot the installation CD, I
would start off with disabling DMA in the BIOS (and possibly on the
kernel command line, if you are not already doing that) and see if
that makes any difference.

You may also want to double-check to make sure you are not
accidentially using Cable Select on either drive. That made the BIOS
on my system very unhappy at reboot (power cycling was fine, however).
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* No bird soars too high if he soars with his own wings. -*- SM0YBY *
*** Software patents hinder progress - see http://swpat.ffii.org/ ***


pgpDZx3aZnrHC.pgp
Description: PGP signature


SOLVED: [gentoo-user] DVD drive not found on new AMD64 system

2005-06-03 Thread Michael Kjorling
On 2005-06-03 14:52 -0400, [EMAIL PROTECTED] wrote:
>   Do *NOT* use "cable select".  Yes, "it works with Windoze", but then
> so do "Winmodems".  Set master/slave properly.  You are not the first
> person to have run into problems with cable select.

First off: thanks, Walter! Yes, setting master/slave manually did make
the smaller disk show up to both the BIOS and Linux. I also tried
re-jumpering hdc and hdd, putting the hard disk as master and the DVD
drive as slave instead of the other way around.

And would you believe it? It solved all the problems at once! The
drives seem to show up properly, and now the system will also reboot
properly. (It failed - hanged - before the BIOS came to "Detecting IDE
drives" when I used Cable Select.)

Win"modems" always makes me wonder what other crap might pass for
hardware, but that's another tale for another day and one I am sure is
told even here frequently enough anyway.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* No bird soars too high if he soars with his own wings. -*- SM0YBY *
*** Software patents hinder progress - see http://swpat.ffii.org/ ***


pgpBq9a9VOjIh.pgp
Description: PGP signature


[gentoo-user] DVD drive not found on new AMD64 system

2005-06-03 Thread Michael Kjorling
If this is better asked on gentoo-amd64, please let me know.

I am new to Gentoo, but have used GNU/Linux as the only operating
system whenever I have a choice (on workstations and servers) since
early 2001. Even then, this has me really stumped. Maybe someone can
offer some insight...

Setup: AMD64 system built around a Canyon Tech CN-8N2ALSR4 motherboard
(Nvidia NF3 chipset). Two PATA IDE channels on board and in use: on
ide0, the system hard disk and a smaller one [which fails to be
detected, but that is not a big issue], both using Cable Select; on
ide1, a DVD+-R/RW drive as master (hdc) and a hard disk as slave
(hdd), the latter used for data storage. System installed as stage3
followed by lots of emerges, including `emerge --update system' about
12 hours ago.

The two disks that really matter show up just fine, and the one that
doesn't (an old 20 GB one) doesn't show up in the BIOS either. The DVD
drive, however, shows up during the POST but Linux won't recognize
that it's there. `dmesg' says, in part:

loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with 
idebus=xx
NFORCE3-250: IDE controller at PCI slot :00:08.0
NFORCE3-250: chipset revision 162
NFORCE3-250: not 100% native mode: will probe irqs later
NFORCE3-250: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-250: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE3-250: :00:08.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: HDS722525VLAT80, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide1: Wait for ready failed before probe !
hdd: ST3200822A, ATA DISK drive
Losing some ticks... checking if CPU frequency changed.
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
hda: max request size: 1024KiB
hda: 488397168 sectors (250059 MB) w/7938KiB Cache, CHS=30401/255/63, 
UDMA(100)
hda: cache flushes supported
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 >
hdd: max request size: 1024KiB
hdd: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, 
UDMA(100)
hdd: cache flushes supported
 /dev/ide/host0/bus1/target1/lun0: p1
md: linear personality registered as nr 1

ide2 and ide3 would presumably be the two S-ATA connectors on the
motherboard (that's what they show up as in the BIOS) but those are
not relevant right now. I think the "wait for ready failed before
probe" on ide1 has something to do with this, but tried popping in a
CD which changed nothing. My uname -a output is:

Linux vuk 2.6.11-gentoo-r7 #1 Wed Jun 1 23:28:22 UTC 2005 x86_64 AMD
Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

and

$ zcat /proc/config.gz | grep IDECD
CONFIG_BLK_DEV_IDECD=y
$

but still

$ ls -ld /dev/cd*
ls: /dev/cd*: No such file or directory
$ ls -ld /dev/hd*
lr-xr-xr-x  1 root root 32 Jun  3 09:37 /dev/hda -> 
ide/host0/bus0/target0/lun0/disc
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda1 -> 
ide/host0/bus0/target0/lun0/part1
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda2 -> 
ide/host0/bus0/target0/lun0/part2
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda3 -> 
ide/host0/bus0/target0/lun0/part3
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda5 -> 
ide/host0/bus0/target0/lun0/part5
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda6 -> 
ide/host0/bus0/target0/lun0/part6
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hda7 -> 
ide/host0/bus0/target0/lun0/part7
lr-xr-xr-x  1 root root 32 Jun  3 09:37 /dev/hdd -> 
ide/host0/bus1/target1/lun0/disc
lr-xr-xr-x  1 root root 33 Jun  3 09:37 /dev/hdd1 -> 
ide/host0/bus1/target1/lun0/part1
$ 

The kernel command line is (and yes I know that my partitioning is
somewhat unusual: /boot is on hda5 and / on hda6):

# grep ^kernel /boot/grub/menu.lst 
kernel /kernel-2.6.11-gentoo-r7 root=/dev/ram0 real_root=/dev/hda6 
init=/linuxrc vga=0x318 video=vesafb:mtrr
# dmesg | grep command
Kernel command line: root=/dev/ram0 real_root=/dev/hda6 init=/linuxrc 
vga=0x318 video=vesafb:mtrr pci=routeirq console=tty0
#

There are other oddities in the dmesg output too, like ALSA claiming
to not having found any sound card but sound working perfectly once I
turn up the volume a bit. I will deal with that later, however.
(Besides, it's more cosmetic than a real problem