[gentoo-user] KDE crash on start

2005-07-26 Thread Ian K
Hi there,
I have KDE 3.4.1 here, and I am having issues with
KDE.
I recently tried that GLOcean window decoration. When
I first applied the decoration, KWin crashed. I
thought it was nothing, so I restarted KDE, (and X).
But now, KDE will load about 3 quarters, and then
hang. I switched to
another 'desktop', (CLI) and killed X. Im now in
Fluxbox.
I really want KDE back. Any ideas? Im thinking if
there
was a way to change the decoration in a config file or
something, I could switch it to something else to
prevent a crash. Your thoughts?
Ian

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



Re: [gentoo-user] KDE crash on start

2005-07-26 Thread David Helstroom
On Tue, 2005-07-26 at 02:06 -0400, Ian K wrote:
 I really want KDE back. Any ideas? Im thinking if
 there
 was a way to change the decoration in a config file or
 something, I could switch it to something else to
 prevent a crash. Your thoughts?
 Ian

Hi Ian,

If you log into Fluxbox (or any other window manager), open a terminal
(e.g. xterm), and then run kcontrol you'll find you can change the
window decoration back to something a little more stable.

Alternatively, you could delete ~/.kde/share/config/kwinrc

All the best,


Dave.


smime.p7s
Description: S/MIME cryptographic signature


Re: [gentoo-user] [solved] KDE crash on start

2005-07-26 Thread Ian K
David Helstroom wrote:

On Tue, 2005-07-26 at 02:06 -0400, Ian K wrote:
  

I really want KDE back. Any ideas? Im thinking if
there
was a way to change the decoration in a config file or
something, I could switch it to something else to
prevent a crash. Your thoughts?
Ian



Hi Ian,

If you log into Fluxbox (or any other window manager), open a terminal
(e.g. xterm), and then run kcontrol you'll find you can change the
window decoration back to something a little more stable.

Alternatively, you could delete ~/.kde/share/config/kwinrc

All the best,


   Dave.
  

Got it!
Thanks very much. :)
begin:vcard
fn:Ian K
n:K;Ian
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Pentium 3=0D=0A=
	500mHz=0D=0A=
	256MB RAM=0D=0A=
	80.0GB HDD=0D=0A=
	ATI Radeon 7000 Evil Wizard 64MB=0D=0A=
	Computer name: PentaQuad=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard



[gentoo-user] how to deploy a video lab?

2005-07-26 Thread simply change
AybOwan! (=welcome)



dear lu_zero,


im a Sinhalease from Sri lanka. i have a small company here in lanka
(video filming company ex:- wedding, parties filming). my editing tools
are Adobe Premeir,after effect, etc like propriatary software.so now i
want to fully migrate to Gentoo Linux. today i just
try to emerge Cinelerra to my Gentoo box but it has been Masked. so
friends please be kind enought to advice me to setting up a full
professional video lab using Gentoo Linux. -- ...The future lies ahead. ___ Have you mooed today?  ---\^__^
 \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


Re: [gentoo-user] Messages on boot

2005-07-26 Thread Neil Bothwick
On Mon, 25 Jul 2005 20:16:10 -0400, C.Beamer wrote:

 The message means for you to set the hostname in /etc/conf.d/hostname
 (or /etc/hostname if you are using a rather old baselayout). 

 I don't have a /etc/hostname file, I just have a hosts file.  Did I do
 something wrong?  My computer is a stand alone, but I connect to the
 internet via cable modem.

That's why you are getting the message. You must have skipped the part in
the handbook where you set /etc/conf.d/hostname (I think all baselayouts
now use this instead of the old /etc/hostname). Put your computers name
in /etc/conf.d/hostname and the message will disappear.


-- 
Neil Bothwick

Facts are stubborn little bastards, be careful with them.


pgpJr4dPpLUJK.pgp
Description: PGP signature


Re: [gentoo-user] 6x13 font for gnome-terminal

2005-07-26 Thread Oscar Carlsson
I think gnome-terminal only can handle xft-fonts (and that's probably a 
feature)...
Have you considered trying some older (and not so user friendly) terminal?
rxvt, xterm, urxvt and aterm are all pretty nice, memory efficent and fast, 
and you can do everything in them that you could in gnome-terminal (well, 
almost) :-)

Oscar

Saturday 23 July 2005 00.24 skrev Allan Gottlieb:
 All my screens are 1600x1200 pixels.

 Several are reasonably large (~20 inch) lcds and I use what emacs
 calls a 6x13 font.  Its real name is
 -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

 This permits 3 side by side windows (frames in emacs) of 81 columns.

 I have tried every fixed-width frame I found in the list given for
 gnome-terminal and cannot find one this size.

 Is there some way I can tell gnome-terminal to use
 -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
 or, even better, tell gnome to make this font available on the menus?

 thanks,
 allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] automatic restart of crushed processes...

2005-07-26 Thread Jarry

Greetings to all Gentoo-users!

Is it somehow possible to check, whether a certain process is running,
and if not, then start it? I would like to use it for some processes
that crush sometimes (like teamspeak and some game-servers), and to
mointor sshd, because it is critical for me (my server will be 300km
away from me).

I thought about writing some small shell-script, which would be run
by cron at regular intervals, check if a process is running (something
like ps -e | grep $PROCNAME, or maybe with pidof -s $PROCNAME)
and if not, than it would start that process with its script in
/etc/init.d.

But if there is already something which would do the same, I don't
want to work on inventing the wheel again. Moreover, my shell scripts
are rather quick'n'dirty, so maybe I should start with reading
Advanced Bash-Scripting Guide...

Jarry

--
gentoo-user@gentoo.org mailing list



[gentoo-user] cinelerra-cvs mpeg files can't import

2005-07-26 Thread simply change
AybOwan!

friends,

i emerged cinelerra-cvs  its working but i can't import mpeg
clips.the movie2-mpeg appz has been masked(i unmasked it  try to
emerge but i emerge failed). please help me to solve this problem.
-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^ \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


[gentoo-user] whats de best open source video editor?

2005-07-26 Thread simply change
AybOwan!

friends,

please give me a tip to emerge a video editor appz.-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^
 \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-26 Thread Mariusz Pękala
On 2005-07-25 17:50:37 +0800 (Mon, Jul), Zhang Weiwu wrote:
 My RE must be wrong but I can hardly successfully match a whole line
 like the below example:
 
 This works:
 [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php
 /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36
 dawnlinux Exp $ */
 /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27
 ralfbecker Exp $ */
 
 This doesn't work:
 [EMAIL PROTECTED]:/tmp$ egrep ^\b*\/[*].*[*]\/\b*$ Calendar.php
 
 any hint?

man grep:
The symbol \b matches the empty string at the edge of a word

It seems that '/' is not considered to be a part of a word.

I suppose you may use ^[[:space:]]*/[*].*[*]/[[:space:]]*$ Calendar.php


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpfnqmjJw5aa.pgp
Description: PGP signature


[gentoo-user] Web based ssh-client?

2005-07-26 Thread Oscar Carlsson
Hello everyone :)

I'm currently at work (in a drug store, or whatever it's called in english (: ), using a public computer, and I don't think I dare to download and run putty on this machine...
So I'm out looking for a web based ssh client, like a package I can put on a webserver, and run whenever necessary.
I'm not even sure this machine has java installed, so something based on like php / perl (or whatever packages you might find on a webserver), and hopefully something secure would be nice...

Is there any such thing out there?

Oscar


Re: [gentoo-user] Web based ssh-client?

2005-07-26 Thread Rafer
On Tuesday 26 July 2005 15:13, Oscar Carlsson wrote:
 Hello everyone :)
  I'm currently at work (in a drug store, or whatever it's called in english
 (: ), using a public computer, and I don't think I dare to download and
 run putty on this machine...
 So I'm out looking for a web based ssh client, like a package I can put on
 a webserver, and run whenever necessary.
 I'm not even sure this machine has java installed, so something based on
 like php / perl (or whatever packages you might find on a webserver), and
 hopefully something secure would be nice...
  Is there any such thing out there?
  Oscar

http://www.netspace.org/ssh/

http://www.kybs.de/service/webssh/

http://www.oit.duke.edu/sa/security/ssh.html

I Hope this will help you
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Web based ssh-client?

2005-07-26 Thread Matthew Cline
On 7/26/05, Oscar Carlsson [EMAIL PROTECTED] wrote:
 Hello everyone :) 
   
 I'm currently at work (in a drug store, or whatever it's called in english
 (: ), using a public computer, and I don't think I dare to download and
 run putty on this machine... 
 So I'm out looking for a web based ssh client, like a package I can put on a
 webserver, and run whenever necessary. 
 I'm not even sure this machine has java installed, so something based on
 like php / perl (or whatever packages you might find on a webserver), and
 hopefully something secure would be nice... 


One option is anyterm, seems to work pretty well:

http://anyterm.org/

HTH,

Matt

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pam error, cant su -

2005-07-26 Thread Jorge Boscan
pam does not compile 

*** Building pam-unix module of the framework...

mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
install -m 755 pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security
for x in pam_unix_auth pam_unix_acct pam_unix_passwd pam_unix_session;\
do ln -sf pam_unix.so
/var/tmp/portage/pam-0.78-r2/image//lib/security/$x.so ; done
mkdir -p /var/tmp/portage/pam-0.78-r2/image//usr/sbin
install -m 4555 unix_chkpwd /var/tmp/portage/pam-0.78-r2/image//usr/sbin
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_unix'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_userdb'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_userdb.so
/var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_userdb'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_warn.so
/var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_warn'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_wheel.so
/var/tmp/portage/pam-0.78-r2/image//lib/security
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_wheel'
make[2]: Entering directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
mkdir -p ./dynamic
mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
/bin/install -c -m 755 pam_xauth.so
/var/tmp/portage/pam-0.78-r2/image//lib/security
test -d /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8 ||
mkdir -p /var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8
/bin/install -c -m 644 pam_xauth.8
/var/tmp/portage/pam-0.78-r2/image//usr/share/man/man8/
make[2]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules/pam_xauth'
make[1]: Leaving directory
`/var/tmp/portage/pam-0.78-r2/work/Linux-PAM-0.78/modules'
 * Checking if all modules were built...

  * ERROR: pam_cracklib have dependencies in /usr.
-- 
[Jorge J. Boscán Etura]
quando omni flunkus moritati
Universidad Fermín Toro http://www.uft.edu.ve
Linux 2.6.11 i686 running fc2, lu #137000
cell:584185150239 tel:582517100171

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Where to find smbmount?

2005-07-26 Thread Jim Hatfield
A system I have which is a year or so old has a /usr/sbin/smbmount,
but if I use qpkg -f to find out which package owns it I get nothing.

A recently-installed system doesn't have this file and I can't
find any obvious package which would have it (except maybe Samba).

Do I need to install Samba to get smbmount? I would not have thought
so since it is referred to in the man page for mount.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] automatic restart of crushed processes...

2005-07-26 Thread Bastian Balthazar Bux
Jarry wrote:
 Greetings to all Gentoo-users!
 
 Is it somehow possible to check, whether a certain process is running,
 and if not, then start it? I would like to use it for some processes
 that crush sometimes (like teamspeak and some game-servers), and to
 mointor sshd, because it is critical for me (my server will be 300km
 away from me).
 
 I thought about writing some small shell-script, which would be run
 by cron at regular intervals, check if a process is running (something
 like ps -e | grep $PROCNAME, or maybe with pidof -s $PROCNAME)
 and if not, than it would start that process with its script in
 /etc/init.d.
 
 But if there is already something which would do the same, I don't
 want to work on inventing the wheel again. Moreover, my shell scripts
 are rather quick'n'dirty, so maybe I should start with reading
 Advanced Bash-Scripting Guide...
 
 Jarry
 

emerge -pv sys-process/daemontools

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

Calculating dependencies ...done!
[ebuild   R   ] sys-process/daemontools-0.76-r4  -doc (-selinux) -static
36 kB
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Console font gets double spaced when X starts

2005-07-26 Thread Domenick Petrella
Hello all,

I have my consolefont set to a 8x8 font size.  When I start the X server, the 
console font get double spaced, but it's more like there are two copies of each 
line, one overlapping the other.  If I go back to a 8x16 font, everything is 
fine.  I've tried setting the font size with both the CONSOLEFONT variable and 
kernel argument.  I have to reboot to get the console back to normal.

This isn't the first time I've seen this, but both times have been on laptops.  
I'm currently using Gentoo 2005.0 on a Dell Latitude D505, but it happened to 
me on Slackware 9 a while back on an older Dell laptop.

Thanks for any help!

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



Re: [gentoo-user] whats de best open source video editor?

2005-07-26 Thread Christoph Eckert

 Don't usually use such tools, but could try out avidemux,
 seems good ;) Or for a CL-tool mencoder and another one,
 now can't remember the name, must be part of some
 video-player package.

probably you mean transcode.

Furthermore there are Broadcats 2000, Cinelerra, Kino etc.


Best regards


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



RE: [gentoo-user] distcc and iptables

2005-07-26 Thread Dave Nebinger
 but distcc doesn't work ...

Ah, did you edit /etc/conf.d/distccd to add the --allow and --listen
options?  If you don't specifically enable them the remote system will not
be able to get to distcc on the box.

Locally I use a line as follows to enable the internal lan to hit distccd:

DISTCCD_OPTS=${DISTCCD_OPTS} --allow 192.168.0.0/24 --allow 127.0.0.1
--listen 192.168.0.1

This says allow the internal lan, allow localhost, and set up a listener on
the local ip address.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Willie Wong
I was away from my computer for one week, and so ran a massive update
on sunday night. After the update, on Monday morning, I woke up to
find my xsession ended with a message on the console that said
something to the effect that Enlightenment segfaulted, because some
supporting library tries to access memory that it shouldn't be
accessing. 

I dismissed it as enlightenment throwing a hissy fit. 

But the same thing happened again this morning. The problem is, I
don't quite know how to diagnose it. /var/log/Xorg.log only tells me
it caught sig 11 and will die. 

Honestly, I don't think running strace will be the best idea yet, I'd
like to save it as a last possibility, for the only reason that I
don't even know how to reproduce the crash. X was up and running
yesterday for over 14 hours, and enlightenment just crashed in the
middle of the night. 

So: what logs should I check and how should I find out what exactly
is causing the problem?

W
-- 
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd 
be sitting around in darkened rooms munching pills and listening to repetitive
music.
Sortir en Pantoufles: up 1 day, 16:24
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Dave Nebinger
 So: what logs should I check and how should I find out what exactly
 is causing the problem?

Did you try the revdep-rebuild -p to see if there are any broken
dependencies?  Did your files in /etc/conf.d get updated?  Is your session
stuff correct in /etc/rc.conf?  Any messages in the syslog or from dmesg?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pam error, cant su -

2005-07-26 Thread Richard Fish

Jorge Boscan wrote:

pam does not compile 


*** Building pam-unix module of the framework...

mkdir -p /var/tmp/portage/pam-0.78-r2/image//lib/security
install -m 755 pam_unix.so /var/tmp/portage/pam-0.78-r2/image//lib/security
 


[...]


 * Checking if all modules were built...

  * ERROR: pam_cracklib have dependencies in /usr.
 



Try running:

ldd /var/tmp/portage/pam-0.78-r2/image/lib/security/pam_cracklib*.so

That should turn up what library is linked in /usr instead of /lib.  My guess 
is probably libcrypt.so, but might be libpam as well...

-Richard


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dummy console

2005-07-26 Thread Richard Fish

Jorge Almeida wrote:


On Mon, 25 Jul 2005, Richard Fish wrote:




Jorge Almeida wrote:


I upgraded from kernel 2.6.11 (gentoo-sources r4) to 2.6.12 (r6), and
lost my framebuffer console. No console whatsoever, actually, but xdm
starts OK. Checking .config, I see
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m




Oh, and also, FRAMEBUFFER_CONSOLE should be =y


Will try that (only tomorrow night, I can't access my home box until
then).
Still, what about the dummy thing? The configurator doesn't give a
chance. Is it OK like this?



Seems ok (I have the same thing).  Looking at the Kconfig file in 
drivers/video/console, I find:



config VGA_CONSOLE
   bool VGA text console if EMBEDDED || !X86
   depends on !ARCH_ACORN  !ARCH_EBSA110  !4xx  !8xx  
!SPARC32  !SPARC64  !M68K  !PARISC

   default y
[...]

Which means that VGA_CONSOLE is only configurable if you are doing an 
EMBEDDED or non-x86 configuration.  For normal x86 builds, VGA_CONSOLE 
will always be available, since it defaults to 'y'


Later on, we find:

config DUMMY_CONSOLE
   bool
   depends on PROM_CONSOLE!=y || VGA_CONSOLE!=y || 
SGI_NEWPORT_CONSOLE!=y

   default y

There seems to be a bit of a hole in the logic here, becuase 
PROM_CONSOLE is only configurable if you are on SPARC, and 
SGI_NEWPORT_CONSOLE is only configurable if you are on an SGI.  So on 
x86, you are guaranteed both that VGA_CONSOLE will be =y, which means 
the middle conditional fails, but both of the other conditionals are 
true, so the whole statement is true.  So you will get DUMMY_CONSOLE, 
and you will not have a chance to configure it since there is no title 
after the bool.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] He's baaaaaack!--SOLVED

2005-07-26 Thread maxim wexler
 a fixboot from the recovery mode of the WinXP CD
 will be necessary.  
 This should not overwrite the MBR, only the boot
 loader that is at the 
 beginning of the windows partition.

The problem was two-fold:

1. WinXP boot sector was bad(my best guess).

2. Recovery Console suffered from obscure bug that
prevented the use of admin password -- even though the
correct password was used. To top it off, Macro$haft
expects its drones to _pay_ for the patch to fix
_their_own_ mistake!

I just re-installed XP-Pro, this time the one w/ the
integrated SP1 which fixes the bug.

Then I edited grub to map the drive up a notch and now
everything knocking on wood is cool!

-mw

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



Re: [gentoo-user] He's baaaaaack!

2005-07-26 Thread Richard Fish

Martins wrote:

it is possible with fdisk, i did it and it worked, and this is steps i 
followed, step 7 wasnt necesary for me:



More info about the bug can be found here:
https://bugzilla.redhat.com/bugzill...g.cgi?id=115980
https://bugzilla.redhat.com/bugzill...g.cgi?id=113201



Note that whatever web browser and method you are using to cut and paste 
URLs is producing broken links.  Fortunately, at least the bug ID was 
intact so I was able to lookup the bugs.


I don't see how either bug applies to Maxim, as he didn't get this after 
installing FC2, changing from kernel 2.4 to 2.6, or doing anything to 
his partiton table.  He just moved the disk from primary master to 
(primary slave?).  Also, AFAIK this has not been a problem for any 
Gentoo user using fdisk to partition his drives.



Device Boot Start End Blocks Id System
/dev/hda1 * 63 33732719 16866328+ 7 HPFS/NTFS
/dev/hda2 74692800 78140159 1723680 1c Hidden W95 FAT32
(LBA)
/dev/hda3 35834400 74692799 19429200 83 Linux
/dev/hda4 33732720 35834399 1050840 82 Linux swap


So I recreated this partition table on a spare 100Gb USB disk:


Command (m for help): p

Disk /dev/sda: 100.0 GB, 100030242816 bytes
16 heads, 63 sectors/track, 193821 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   3346516866328+  83  Linux
/dev/sda2   74101   77520 1723680   83  Linux
/dev/sda3   35551   7410019429200   83  Linux
/dev/sda4   33466   35550 1050840   83  Linux

Command (m for help): u
Changing display/entry units to sectors

Command (m for help): p

Disk /dev/sda: 100.0 GB, 100030242816 bytes
16 heads, 63 sectors/track, 193821 cylinders, total 195371568 sectors
Units = sectors of 1 * 512 = 512 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sda1  633373271916866328+  83  Linux
/dev/sda27469280078140159 1723680   83  Linux
/dev/sda3358344007469279919429200   83  Linux
/dev/sda43373272035834399 1050840   83  Linux




$ fdisk -H 255 /dev/hda # or 240 for some configurations
Command: o (create new partition table)

6. by now you have a newly generaed partition table, with the original
disk geometry. Recreate the partitions as they were before:

Command: n (new partition)
Primary partition (p)
Partition number: 1
First cylinder: 63 # beginning of first partition
Last cylinder or +size[...]: 33732719 # end of first partition



This doesn't work, because we are still working in cylinders:

Partition number (1-4): 1
First cylinder (1-12161, default 1): 63
Last cylinder or +size or +sizeM or +sizeK (63-12161, default 12161): 
33732719

Value out of range.

But I assume what you really meant is to switch to sectors.  After 
recreating all of the partitions in sector mode, I have:


Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders, total 195371568 sectors
Units = sectors of 1 * 512 = 512 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sda1  633373271916866328+  83  Linux
/dev/sda27469280078140159 1723680   83  Linux
/dev/sda3358344007469279919429200   83  Linux
/dev/sda43373272035834399 1050840   83  Linux

Ok, so this seems to work.  I didn't know about the 'u' command for 
fdisk, so thanks for that.


But I still have a problem with this from a sanity standpoint.  Note the 
output of sfdisk for the 16-heads vs 255-heads tables:


carcharias rjf # sfdisk -l /dev/sda

Disk /dev/sda: 193821 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1  0+  33464   33465-  16866328+  83  Linux
/dev/sda2  74100   7751934201723680   83  Linux
/dev/sda3  35550   74099   38550   19429200   83  Linux
/dev/sda4  33465   3554920851050840   83  Linux

Disk /dev/sda: 12161 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1  0+   2099-   2100-  16866328+  83  Linux
/dev/sda2   4649+   4863 215-   1723680   83  Linux
/dev/sda3   2230+   4649-   2419-  19429200   83  Linux
/dev/sda4   2099+   2230-131-   1050840   83  Linux

Notice all of the extra '+' and '-' signs...those mean that the 
partitions do not line up with cylinder boundaries, and we probably 
should have left the partition table at 16-heads.  Fdisk may (now) 
handle this ok, but it is not standard and less intelligent partition 
tools are likely to throw a fit.  Actually, this is what most of the bug 
reports regarding parted and disk druid are about...they couldn't handle 
the misalignment.


Anyway, my information about fdisk 

Re: [gentoo-user] He's baaaaaack!--SOLVED

2005-07-26 Thread Richard Fish

maxim wexler wrote:


everything knocking on wood is cool!

 



Very cool indeednow you can do what we all got computers for in the 
first place...to play solitaire. ;-)


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread michael

Hello,

I wonder if some wise person here can give me some suggestion on how to
solve this problem.

I have Gentoo (2005.0) installed on my master primary device, and I 
am trying to create a minimal Linux system on a new disk, my slave 
primary device.


So, I partition and make a 32M ext2 file system, make the appropriate
directories and devices, install busybox and other odds and ends. Then I
copy over the kernel from my Gentoo system (same hardware, so the same
kernel).

Finally I install grub on the slave primary device, and set up my
grub.conf like so:

 default 0
 timeout 10

 title=minimal linux on slave primary device
 root (hd1,0)
 kernel /boot/vmlinuz root=/dev/hdb1

root (hd1,0) should be the first partition on my slave primary device

/boot/vmlinuz is indeed my kernel (I didn't bother with a separate 
boot partition )


finally root=/dev/hdb1 tells grub that the root is on the first
partition of my slave primary device

I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
Error 15: File not found.

It doesn't tell me which file isn't found, but I've learned that this
usually means the kernel. So I double and triple check the spelling and
the location. It's right, unless I'm going blind.

As an experiment, I added these lines to grub.conf on hda, so that I
could use grub on hda but boot from my kernel and root on hdb:

 title=minimal linux on slave primary device
 root (hd1,0)
 kernel /boot/vmlinuz root=/dev/hdb1

this worked, which perhaps suggests that my grub setup on hdb is faulty.
So I reinstalled grub on hdb, but it still fails with the same error.

Lastly the grub install reported no errors.

Any suggestions?

Sincerely,
Michael Shiloh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to deploy a video lab?

2005-07-26 Thread David Miller
Last time I tried Cinelerra it was not what I would call production
ready and feature wise it can not replace Premier.  However if you
want to test it out see the following link for instructions on how to
use portage and correctly deal with masked packages. 
http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly

In short you can do the following and then emerge normally.

echo media-video/cinelerra ~x86  /etc/portage/package.keywords

--
David

On 7/26/05, simply change [EMAIL PROTECTED] wrote:
 AybOwan! (=welcome)
   
   dear lu_zero,
   
  im a Sinhalease from Sri lanka. i have a small company here in lanka (video 
 filming company ex:- wedding, parties filming). my editing tools are Adobe 
 Premeir,after effect, etc like propriatary software.so now i want to fully 
 migrate to Gentoo Linux. today i just try to emerge Cinelerra to my Gentoo 
 box but it has been Masked. so friends please be kind enought to advice me to 
 setting up a full professional video lab using Gentoo Linux. 
 
 -- 
 ...
 The future lies ahead.
  ___
  Have you mooed today? 
  ---
 \^__^ 
  \   (oo) \___
  (__) \ )\/\
 ||--w  |
 ||   ||
 
 Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pam error, cant su -

2005-07-26 Thread Jerry McBride
On Tuesday 26 July 2005 10:23 am, Jorge Boscan wrote:
 pam does not compile

 *** Building pam-unix module of the framework...


---snip---

* Checking if all modules were built...

 * ERROR: pam_cracklib have dependencies in /usr.

I just had this problem while upgrading an older desktop. What's happening 
is... you updated cracklib to version 2.80 which installed it's libraries 
under /usr/lib and the install scripts left an old 2.70 cracklib library 
under /usr. 

Look under /usr and then under /usr/lib. Checking  tobe certain that cracklib 
2.80 is indeed installed on  your computer. Then delete the old *crack* stuff 
from /usr.  Pam will now install correctly.

Cheers.

-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
  4:47pm  up 8 days, 16:46,  1 user,  load average: 0.01, 0.00, 0.00
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread Richard Fish

[EMAIL PROTECTED] wrote:


I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
Error 15: File not found.


For grub, the (hd0) and (hd1) devices are the ordered in the same order 
that the BIOS puts them in, so if you are going to switch them around in 
the BIOS, you should set the entries in the grub.conf to (hd0,0) instead 
of (hd1,0).  In otherwords, (hd0) is always the disk currently being 
booted from.


You can test this by editing the lines when grub comes up, and change 
kernel to be:


kernel (hd0,0)/boot/vmlinuz root=/dev/hdb1

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread Neil Bothwick
On Tue, 26 Jul 2005 13:12:40 -0700 (PDT), [EMAIL PROTECTED] wrote:

 I have Gentoo (2005.0) installed on my master primary device, and I 
 am trying to create a minimal Linux system on a new disk, my slave 
 primary device.
 
 So, I partition and make a 32M ext2 file system, make the appropriate
 directories and devices, install busybox and other odds and ends. Then I
 copy over the kernel from my Gentoo system (same hardware, so the same
 kernel).
 
 Finally I install grub on the slave primary device, and set up my
 grub.conf like so:
 
   default 0
   timeout 10
 
   title=minimal linux on slave primary device
   root (hd1,0)
   kernel /boot/vmlinuz root=/dev/hdb1
 
 root (hd1,0) should be the first partition on my slave primary device

You don't need to install GRUB on the slave drive, just add this to your
existing grub.conf. GRUB is able to boot from a different drive.

 I test by rebooting and entering my bios settings, and then i set the
 boot device to hd1 instead of hd0. Save and exit, and grub tells me
 Error 15: File not found.

That's because your slave drive is now hd0, the boot drive is
considered the first drive. Either fix your config or, and better IMO,
keep everything in one grub.conf on the master drive.


-- 
Neil Bothwick

Forget the Joneses...I can't keep up with The Simpsons.


pgpEKewQRGD5H.pgp
Description: PGP signature


Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread michael



On Tue, 26 Jul 2005, Richard Fish wrote:


[EMAIL PROTECTED] wrote:


I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
Error 15: File not found.


For grub, the (hd0) and (hd1) devices are the ordered in the same order that 
the BIOS puts them in, so if you are going to switch them around in the BIOS, 
you should set the entries in the grub.conf to (hd0,0) instead of (hd1,0). 
In otherwords, (hd0) is always the disk currently being booted from.


You can test this by editing the lines when grub comes up, and change kernel 
to be:


kernel (hd0,0)/boot/vmlinuz root=/dev/hdb1

-Richard


AHA! That sure sounds like my problem. I'll test this tonight.

So the mapping is NOT hard-coded:
hd0 = primary master
hd1 = primary slave
hd2 = secondary master
hd3 = secondary slave
but rather is the boot order I select?

Thank you so much for the rapid reply,
Michael
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Willie Wong
On Tue, Jul 26, 2005 at 01:17:16PM -0400, Dave Nebinger wrote:
  So: what logs should I check and how should I find out what exactly
  is causing the problem?
 
 Did you try the revdep-rebuild -p to see if there are any broken
 dependencies?  Did your files in /etc/conf.d get updated?  Is your session
 stuff correct in /etc/rc.conf?  Any messages in the syslog or from dmesg?

Since this was a gargantuan update on my part, I, of course, ran
revdep-rebuild immediately after the emerge --update --deep world

Then I ran etc-update and checked all the files. 

I boot into console so there's hardly anything at all there in
/etc/rc.conf

no log in /var/log/everything/, nor in dmesg. Whatever it was it has
to be userland. All I know so far is from /var/log/Xorg.0.log which
tells me that X died on SEGV, and a line in the console where I
started X from that reads something like Enlightenment caused a
seg fault. 

Right now I am running X with 
$ xinit  Xerror 21 
to see if I can capture the entire stderr that was printed (some
floated off screen so the only thing I saw was effectively that
enlightenment was bad). 

Question: During the update, there were 2 or 3 packages that I wasn't
able to update due to sandbox violations. I've been intending to
check into that later on this week. Those were dependencies of
mplayer and were not, as far as I know, dependencies of enlightenment
or X. I am hoping that those aren't the packages.

W
-- 
I cannot go to school today  
Said little Peggy Ann McKay.
I have the measles and the mumps,   
A gash, a rash and purple bumps.
My mouth is wet, my throat is dry.
I'm going blind in my right eye.  
My tonsils are as big as rocks,
I've counted sixteen chicken pox
And there's one more-that's seventeen,
And don't you think my face looks green?
My leg is cut, my eyes are blue 
It might be instamatic flu.
I cough and sneeze and gasp and choke,
I'm sure that my left leg is broke
My hip hurts when I move my chin,
My belly button's caving in,
My back is wrenched, my ankle's sprained,
My 'pendix pains each time it rains.
My toes is cold, my toes are numb,
I have a sliver in my thumb.
My neck is stiff, my voice is weak,
I hardly whisper when I speak.
My tongue is filling up my mouth,
I think my hair is falling out.  
My elbow's bent, my spine ain't straight,
My temperature is one-o-eight.
My brain is shrunk, I cannot hear,
There's a hole inside my ear.  
I have a hangnail, and my heart is - What?
What's that? What's that you say?
You say today is ...Saturday?
Goodbye, I'm going out to play!
Sortir en Pantoufles: up 1 day, 20:30
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread michael



On Tue, 26 Jul 2005, Neil Bothwick wrote:


On Tue, 26 Jul 2005 13:12:40 -0700 (PDT), [EMAIL PROTECTED] wrote:


I have Gentoo (2005.0) installed on my master primary device, and I
am trying to create a minimal Linux system on a new disk, my slave
primary device.

So, I partition and make a 32M ext2 file system, make the appropriate
directories and devices, install busybox and other odds and ends. Then I
copy over the kernel from my Gentoo system (same hardware, so the same
kernel).

Finally I install grub on the slave primary device, and set up my
grub.conf like so:

  default 0
  timeout 10

  title=minimal linux on slave primary device
  root (hd1,0)
  kernel /boot/vmlinuz root=/dev/hdb1

root (hd1,0) should be the first partition on my slave primary device


You don't need to install GRUB on the slave drive, just add this to your
existing grub.conf. GRUB is able to boot from a different drive.


Ah, but eventually the first disk will go away. It's just support while
I develop the minimal install. So I do need grub on it. But thanks for
responding anyway, I appreciate the help

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



Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread Richard Fish

[EMAIL PROTECTED] wrote:




On Tue, 26 Jul 2005, Richard Fish wrote:


[EMAIL PROTECTED] wrote:


I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
Error 15: File not found.



For grub, the (hd0) and (hd1) devices are the ordered in the same 
order that the BIOS puts them in, so if you are going to switch them 
around in the BIOS, you should set the entries in the grub.conf to 
(hd0,0) instead of (hd1,0). In otherwords, (hd0) is always the disk 
currently being booted from.


You can test this by editing the lines when grub comes up, and change 
kernel to be:


kernel (hd0,0)/boot/vmlinuz root=/dev/hdb1

-Richard



AHA! That sure sounds like my problem. I'll test this tonight.

So the mapping is NOT hard-coded:
hd0 = primary master
hd1 = primary slave
hd2 = secondary master
hd3 = secondary slave
but rather is the boot order I select?



That is true, well, sort of.  It is defined as BIOS order, which 
generally means that the disk being booted from is the first BIOS disk.  
The other disks could be in the same order that you specified for boot, 
or in the order they were detected.


In case you still have some trouble, one other command that might be 
useful from the grub prompt is:


find /boot/vmlinuz

That will cause grub to search all of the primary partitions on all of 
the disks for the specified file, and output where it is found.


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to deploy a video lab?

2005-07-26 Thread Nick Rout
better still install main actor. heres how I did it:

1. Go to http://mainconcept.com and download the SuSE rpm. The file I
downloaded is mainactor-5.5.7-suse_9.3.i686.rpm

2. emerge rpm if it is not already on your system

3. install mainactor:

rpm -Uvh --nodeps mainactor-5.5.7-suse_9.3.i686.rpm

4. run the binary:

mactor

5. There is a good manual for downloading in pdf format. It is worth
reading. There are also support forums.

This is a closed source package, but it is IMHO very good. It will
work as per a licensed copy except it renders a message on your video
when doing final rendering. You can therefore get a good idea of what it
does, without the normal shareware die after 30 days or render only
up to two minutes nonsense. The license is EUR177/USD199. Not super
cheap, but there is not a lot of choice of good video editing software
on linux.

kino is quite good, but limited in the file formats it will handle,
basically dv (ie as captured from a digital video camera). it will
render to other formats, but will only import a rather limited range.

cinelerra should be good but is almost document-less.

avidemux is a good front end for basic cutting of scenes and trancoding
to other formats, but doesn't have any ability to add effects or transitions,
so is not a real video editor of the sort you want. Its good for
bringing in a video track (eg recorded tv), cutting out the bits you
don't want (ads, start  finish overlap, sex etc) and then rendering to
something like xvid, although it will render to  DVD compatible mpeg2
too.

 You may want to present clients with well mastered dvd's once you have
edited the scenes and added transitions and a soundtrack. I know that
some winders products offer a suite which does everything from DV camera import
through to burning the DVD. The linux approach will require more mix and
match, especially putting together DVD menus and stuff which will
require a tool like dvdstyler.I have successfully used dvdstyler to make
dvd's of family movies, recorded TV etc complete with menus.

One thing to note too is that there is a bit of a trend for cameras to
take mpeg or avi files instead of the more tradition digital video cam
DV format, It would pay to make sure that you will be able to use your
raw material in whatever software you decide to use. There are all sorts
of possibilities for transcoding stuff to a usable format before you
edit it, but the more steps you put in the process the more quality you
can lose.


On Tue, 26 Jul 2005 16:44:46 -0400
David Miller wrote:

 Last time I tried Cinelerra it was not what I would call production
 ready and feature wise it can not replace Premier.  However if you
 want to test it out see the following link for instructions on how to
 use portage and correctly deal with masked packages. 
 http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly
 
 In short you can do the following and then emerge normally.
 
 echo media-video/cinelerra ~x86  /etc/portage/package.keywords
 
 --
 David
 
 On 7/26/05, simply change [EMAIL PROTECTED] wrote:
  AybOwan! (=welcome)

dear lu_zero,

   im a Sinhalease from Sri lanka. i have a small company here in lanka 
  (video filming company ex:- wedding, parties filming). my editing tools are 
  Adobe Premeir,after effect, etc like propriatary software.so now i want to 
  fully migrate to Gentoo Linux. today i just try to emerge Cinelerra to my 
  Gentoo box but it has been Masked. so friends please be kind enought to 
  advice me to setting up a full professional video lab using Gentoo Linux. 
  
  -- 
  ...
  The future lies ahead.
   ___
   Have you mooed today? 
   ---
  \^__^ 
   \   (oo) \___
   (__) \ )\/\
  ||--w  |
  ||   ||
  
  Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout
Barrister  Solicitor
Christchurch
Contact details at http://www.rout.co.nz 
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dummy console

2005-07-26 Thread Jorge Almeida

On Tue, 26 Jul 2005, Richard Fish wrote:


Oh, and also, FRAMEBUFFER_CONSOLE should be =y


Well, that made it! :)


Seems ok (I have the same thing).  Looking at the Kconfig file in 
drivers/video/console, I find:



config VGA_CONSOLE
  bool VGA text console if EMBEDDED || !X86
  depends on !ARCH_ACORN  !ARCH_EBSA110  !4xx  !8xx  !SPARC32  
!SPARC64  !M68K  !PARISC

  default y
[...]

Which means that VGA_CONSOLE is only configurable if you are doing an 
EMBEDDED or non-x86 configuration.  For normal x86 builds, VGA_CONSOLE will 
always be available, since it defaults to 'y'


Later on, we find:

config DUMMY_CONSOLE
  bool
  depends on PROM_CONSOLE!=y || VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y
  default y

There seems to be a bit of a hole in the logic here, becuase PROM_CONSOLE is 
only configurable if you are on SPARC, and SGI_NEWPORT_CONSOLE is only 
configurable if you are on an SGI.  So on x86, you are guaranteed both that 
VGA_CONSOLE will be =y, which means the middle conditional fails, but both of 
the other conditionals are true, so the whole statement is true.  So you will 
get DUMMY_CONSOLE, and you will not have a chance to configure it since there 
is no title after the bool.


-Richard

Thank you for the explanation. 



Cheers,

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



Re: [gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Urs Schuetz
On Tue, 26 Jul 2005, Willie Wong wrote:

 I was away from my computer for one week, and so ran a massive update
 on sunday night. After the update, on Monday morning, I woke up to
 find my xsession ended with a message on the console that said
 something to the effect that Enlightenment segfaulted, because some
 supporting library tries to access memory that it shouldn't be
 accessing. 
 
 I dismissed it as enlightenment throwing a hissy fit. 
 
 But the same thing happened again this morning. The problem is, I
 don't quite know how to diagnose it. /var/log/Xorg.log only tells me
 it caught sig 11 and will die. 
 
 Honestly, I don't think running strace will be the best idea yet, I'd
 like to save it as a last possibility, for the only reason that I
 don't even know how to reproduce the crash. X was up and running
 yesterday for over 14 hours, and enlightenment just crashed in the
 middle of the night. 
 
 So: what logs should I check and how should I find out what exactly
 is causing the problem?
 
 W

Disk full?
df -h

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Willie Wong
On Tue, Jul 26, 2005 at 08:22:04PM -0300, Urs Schuetz wrote:
 On Tue, 26 Jul 2005, Willie Wong wrote:
 
  I was away from my computer for one week, and so ran a massive update
  on sunday night. After the update, on Monday morning, I woke up to
  find my xsession ended with a message on the console that said
  something to the effect that Enlightenment segfaulted, because some
  supporting library tries to access memory that it shouldn't be
  accessing. 
  
  I dismissed it as enlightenment throwing a hissy fit. 
  
  But the same thing happened again this morning. The problem is, I
  don't quite know how to diagnose it. /var/log/Xorg.log only tells me
  it caught sig 11 and will die. 
  
  Honestly, I don't think running strace will be the best idea yet, I'd
  like to save it as a last possibility, for the only reason that I
  don't even know how to reproduce the crash. X was up and running
  yesterday for over 14 hours, and enlightenment just crashed in the
  middle of the night. 
  
  So: what logs should I check and how should I find out what exactly
  is causing the problem?

 Disk full?
 df -h
 

Uh.. no. 

But I am curious where you got that conclusion...

W
-- 
   Oops, I always forget the purpose of competition is to divide people into
winners and losers. -Hobbes being sarcastic
Sortir en Pantoufles: up 1 day, 23:19
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread George Roberts
I have noticed in the last couple days that rolling the wheel on my 
mouse is not scrolling through webpages or email.
I checked my /etc/X11/xorg.conf and it had not been changed.  Just to be 
sure it is not a broken mouse I booted into Mandrake and tested it 
there, mouse scrolled like a charm.  After I booted back to Gentoo, the 
mouse was still not working.  I decided to steal the setting from 
Mandrake's XF86Config, since it was working there.

I changed my /etc/X11/xorg.conf from:
   IdentifierMouse1
   Drivermouse
   Option ProtocolPS/2
   Option Device  /dev/input/mouse0
   OptionZAxisMapping 4 5
to:
   IdentifierMouse1
   Drivermouse
   Option ProtocolExplorerPS/2
   Option Device  /dev/input/mouse0
   OptionZAxisMapping 6 7
After I made that change I rebooted.  When I checked my 
/var/log/Xorg.0.log, it was still showing the original settings i.e. 
PS/2 not the ExplorerPS/2.  After some digging around noticed the line 
(==) Using config file: //xorg.conf.  Sure enough I had backed up my 
xorg.conf to the / folder a couple months ago and sure enought it was 
using that copy.  After I changed that file name, I rebooted and the 
correct information is now showing in /var/log/Xorg.0.log, (==) Using 
config file: /etc/X11/xorg.conf.


I was under the impression that the folder /etc/X11is the folder only 
scanned and used.  That is why I put the backup copy there.  My question 
is: is this behavior a know thing and I missed it, or can others be 
bitten by this also?


P.S. the mouse is still not scrolling.  Any help with this would be great.
Thanks

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread George Roberts

Brett I. Holcomb wrote:

Check man xorg.conf and it will give you the locations searched for 
xorg.conf.



On Tue, 26 Jul 2005, George Roberts wrote:

I have noticed in the last couple days that rolling the wheel on my 
mouse is



Snip

I was under the impression that the folder /etc/X11is the folder only 
scanned and used.  That is why I put the backup copy there.  My 
question is: is this behavior a know thing and I missed it, or can 
others be bitten by this also?


P.S. the mouse is still not scrolling.  Any help with this would be 
great.

Thanks




Thanks, it seems the system searchs farther than I understood.  Based on 
what I have read on gdm, the X server is started by a non-privliged 
user, to avoid possiblities of exploition of the system via the login 
area.  If this is in fact true then the search for the xorg.conf file 
would be limited to the /usr or /etc folders, not the / folder.
Does there need to be an update to the man file, or is this a 
undocumented feature?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Having trouble installing grub on second disk

2005-07-26 Thread michael



On Tue, 26 Jul 2005, Richard Fish wrote:


[EMAIL PROTECTED] wrote:


I test by rebooting and entering my bios settings, and then i set the
boot device to hd1 instead of hd0. Save and exit, and grub tells me
Error 15: File not found.


For grub, the (hd0) and (hd1) devices are the ordered in the same order that 
the BIOS puts them in, so if you are going to switch them around in the BIOS, 
you should set the entries in the grub.conf to (hd0,0) instead of (hd1,0). 
In otherwords, (hd0) is always the disk currently being booted from.


You can test this by editing the lines when grub comes up, and change kernel 
to be:


kernel (hd0,0)/boot/vmlinuz root=/dev/hdb1

-Richard


I'm glad to report that Richard's suggestion solved my problem. Thanks
very much!

After a bit of experimentation, this worked:

root (hd0,0)
kernel /boot/vmlinuz root=/dev/hdb1 init=/bin/sh

That's interesting, because the first line refers to the drive
(remember, it's my slave primary device, but in my BIOS I have it
selected for booting) as hd0, but the second line refers to it as hdb.
Yes, I tried hda, and it didn't work.

I did a bit of research after our initial email and it seems that grub
numbering starts with the BIOS boot device, and then goes up from there,
but I couldn't find any clear explanation of what happens with drives 
that preceeded the boot device. If you have 4 drives and you boot from 
the second, does grub go back and get the first at the end, or never? 
A topic for future research.


The information I found also suggests that this is somewhat BIOS
dependent, so future readers of this thread take note: this may not
apply to you. Trial and error may be the only foolproof solution.

Thanks again everyone,

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



Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread Volker Armin Hemmann
On Wednesday 27 July 2005 01:54, George Roberts wrote:
 I have noticed in the last couple days that rolling the wheel on my
 mouse is not scrolling through webpages or email.
 I checked my /etc/X11/xorg.conf and it had not been changed.  Just to be
 sure it is not a broken mouse I booted into Mandrake and tested it
 there, mouse scrolled like a charm.  After I booted back to Gentoo, the
 mouse was still not working.  I decided to steal the setting from
 Mandrake's XF86Config, since it was working there.
 I changed my /etc/X11/xorg.conf from:
 IdentifierMouse1
 Drivermouse
 Option ProtocolPS/2
 Option Device  /dev/input/mouse0
 OptionZAxisMapping 4 5


 Option ProtocolPS/2

should be 

 Option ProtocolImPS/2

and the wheel should start working
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread Brett I. Holcomb
My understanding is that X searches the path given in xorg.conf 
irregardless of who starts it but I may be wrong.  I use xdm, not gdm.


On Tue, 26 Jul 2005, George Roberts wrote:


Brett I. Holcomb wrote:

 Check man xorg.conf and it will give you the locations searched for 
 xorg.conf.



 On Tue, 26 Jul 2005, George Roberts wrote:

  I have noticed in the last couple days that rolling the wheel on my 
  mouse is



 Snip

  I was under the impression that the folder /etc/X11is the folder only 
  scanned and used.  That is why I put the backup copy there.  My question



  Thanks
 
 

Thanks, it seems the system searchs farther than I understood.  Based on what 
I have read on gdm, the X server is started by a non-privliged user, to avoid 
possiblities of exploition of the system via the login area.  If this is in 
fact true then the search for the xorg.conf file would be limited to the /usr 
or /etc folders, not the / folder.
Does there need to be an update to the man file, or is this a undocumented 
feature?




--

Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox won run

2005-07-26 Thread Nick Rout

On Tue, 26 Jul 2005 23:59:46 -0300
Allan Spagnol Comar wrote:

 Hi All, firefox do not want to run after update ... any clues ?

what are the error messages (go to an xterm and type it in, hit enter,
messages should appear



 
 -- 
 gentoo-user@gentoo.org mailing list

Nick Rout

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread George Roberts
According to the man xorg.conf the search paths are different depending 
who is starting X.  If X is started by a user the search paths are not 
as extensive as if X is started by root.  If root was the one to start X 
then it could be able to pick up the xorg.conf I had stashed in the / 
folder.
The sudden switch from my /etc/X11/xorg.conf to /xorg.conf is what 
triggered my confusion.



Brett I. Holcomb wrote:

My understanding is that X searches the path given in xorg.conf 
irregardless of who starts it but I may be wrong.  I use xdm, not gdm.


On Tue, 26 Jul 2005, George Roberts wrote:


Brett I. Holcomb wrote:

 Check man xorg.conf and it will give you the locations searched for 
 xorg.conf.



 On Tue, 26 Jul 2005, George Roberts wrote:

  I have noticed in the last couple days that rolling the wheel on 
my   mouse is



 Snip

  I was under the impression that the folder /etc/X11is the folder 
only   scanned and used.  That is why I put the backup copy there.  
My question





  Thanks
 


Thanks, it seems the system searchs farther than I understood.  Based 
on what I have read on gdm, the X server is started by a 
non-privliged user, to avoid possiblities of exploition of the system 
via the login area.  If this is in fact true then the search for the 
xorg.conf file would be limited to the /usr or /etc folders, not the 
/ folder.
Does there need to be an update to the man file, or is this a 
undocumented feature?






--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-26 Thread George Roberts

Volker Armin Hemmann wrote:


On Wednesday 27 July 2005 01:54, George Roberts wrote:
 


I have noticed in the last couple days that rolling the wheel on my
mouse is not scrolling through webpages or email.
I checked my /etc/X11/xorg.conf and it had not been changed.  Just to be
sure it is not a broken mouse I booted into Mandrake and tested it
there, mouse scrolled like a charm.  After I booted back to Gentoo, the
mouse was still not working.  I decided to steal the setting from
Mandrake's XF86Config, since it was working there.
I changed my /etc/X11/xorg.conf from:
   IdentifierMouse1
   Drivermouse
   Option ProtocolPS/2
   Option Device  /dev/input/mouse0
   OptionZAxisMapping 4 5
   




 


   Option ProtocolPS/2
   



should be 

 


   Option ProtocolImPS/2
   



and the wheel should start working
 

Thanks that did it.  Opps your right that was the original setting in 
the /etc/X11/xorg.conf.  After chasing my tail trying different 
settings, only to find that X had changed files, I had forgotten where I 
started.  Thanks again.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 6x13 font for gnome-terminal

2005-07-26 Thread Allan Gottlieb
At Tue, 26 Jul 2005 12:37:10 +0200 Holly Bostick [EMAIL PROTECTED] wrote:

 Oscar Carlsson schreef:
 Saturday 23 July 2005 00.24 skrev Allan Gottlieb:
 
All my screens are 1600x1200 pixels.

Several are reasonably large (~20 inch) lcds and I use what emacs
calls a 6x13 font.  Its real name is
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

This permits 3 side by side windows (frames in emacs) of 81 columns.

I have tried every fixed-width frame I found in the list given for
gnome-terminal and cannot find one this size.

Is there some way I can tell gnome-terminal to use
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
or, even better, tell gnome to make this font available on the menus?

 I think gnome-terminal only can handle xft-fonts (and that's probably a 
 feature)...
 Have you considered trying some older (and not so user friendly) terminal?
 rxvt, xterm, urxvt and aterm are all pretty nice, memory efficent and fast, 
 and you can do everything in them that you could in gnome-terminal (well, 
 almost) :-)

 I think Oscar is right (about gnome-terminal only supporting XFT fonts).

 For another suggestion for an alternate, you might consider

 multi-gnome-terminal (emerge multi-gnome-terminal)

 which is based on gnome-terminal, and has many more features (like
 session saving and history saving per terminal tab), despite being
 GTK-based rather than GTK2-based.

 I've just checked, and it does definitely accept font specifications in
 the form of -*-fixed-medium-r-normal--14-*-*-*-*-*-*-*,*-r-* , so it
 might be more like what you're looking for. It's not quite perfect, but
 it's pretty close.

Thank you all for these suggestions.
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] recompiling vim linked to libncursesw

2005-07-26 Thread Fernando Canizo
Hi all.

I'm having trouble with my encoding using mutt + vim + utf-8,
basically mi emails are sent with wrong encoding when *replying*. I've
tracked the problem, searched, readed FAQs and i found that maybe my
problem is this: that while mutt is linked to libncursesw (wide
library) vim is to libncurses (normal), this is the output of ldd:

$ ldd `which vim` | grep curses
libncurses.so.5 = /lib/libncurses.so.5 (0xb7f98000)
$ ldd `which mutt` | grep curses
libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7f8f000)

Except for this my utf-8 environment is running fine.

I tried re 'emerge vim' thinking that maybe it just get fixed since i
use unicode and utf8 in my USE, but that didn't do anything, vim is
still linked to the non wide curses library.

So the question is: how do i tell to emerge to forge a vim wich is
linked to libncursesw.so ?

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
snappy repartee:
What you'd say if you had another chance.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-26 Thread Richard Fish

Fernando Canizo wrote:


Hi all.

I'm having trouble with my encoding using mutt + vim + utf-8,
basically mi emails are sent with wrong encoding when *replying*. I've
tracked the problem, searched, readed FAQs and i found that maybe my
problem is this: that while mutt is linked to libncursesw (wide
library) vim is to libncurses (normal), this is the output of ldd:

$ ldd `which vim` | grep curses
libncurses.so.5 = /lib/libncurses.so.5 (0xb7f98000)
$ ldd `which mutt` | grep curses
libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7f8f000)

Except for this my utf-8 environment is running fine.

I tried re 'emerge vim' thinking that maybe it just get fixed since i
use unicode and utf8 in my USE, but that didn't do anything, vim is
still linked to the non wide curses library.

So the question is: how do i tell to emerge to forge a vim wich is
linked to libncursesw.so ?
 



Hmm, tough one.  I don't see any way to configure vim specifically for 
ncursesw.  Your best bet may be to try and fake out the dynamic linker 
and tell it to use libncursesw instead of libncurses for vim.


ln -s /lib/libncursesw.so.5 /etc/vim/libncurses.so.5
LD_LIBRARY_PATH=/etc/vim ldd /usr/bin/vim
LD_LIBRARY_PATH=/etc/vim vim

If vim seems sane, then exporting LD_LIBRARY_PATH before starting mutt 
should resolve the problem (assuming that the problem really is in the 
type of ncurses...)


-Richard



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using genkernel

2005-07-26 Thread Waldemar Tribus
Hello Zac Medico,

Once you wrote about Re: [gentoo-user] Problem using genkernel:

I've never thought to use the --bootloader=grub option because I've always 
want wanted to edit grub.conf myself.  

I think i will go this way too :)


Are there any clues in /var/log/genkernel.log?  

No just the same output i pasted before 
* Adding kernel to /boot/grub/grub.conf...
and no any error messages around.

What version of genkernel is it?

tribus log # genkernel --version
3.2.10

-- 
Best regards,
 Waldemar Tribus mailto:[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using genkernel

2005-07-26 Thread Waldemar Tribus
Hello Neil Bothwick,

Once you wrote about Re: [gentoo-user] Problem using genkernel:

Why? If you are comfortable with configuring your kernel by hand, why give
up control of the process to a tool that is known to cause problems for
many people?

Just wanted to follow gentoo 2.4 to 2.6 migration guide, 
to avoid stipud error which i could make if i would do 
it by myself :)

-- 
Best regards,
 Waldemar Tribus mailto:[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list




[gentoo-user] GDM restarts citing lderror: missing pam_console.so after running et

2005-07-26 Thread Chris Fairles

Ran a emerge -NDuva world, updated a bunch of gnome stuff.
gnome-base/gnome-2.10-r1 and deps and
gnome-base/gdm-2.6.0.9-r2

Launching et (enemey territory) gives (in /var/log/messages)
Jul 26 22:58:13 dsotm gdm[23200]: PAM unable to 
dlopen(/lib/security/pam_console.so)
Jul 26 22:58:13 dsotm gdm[23200]: PAM [dlerror: 
/lib/security/pam_console.so: cannot open shared object file: No such 
file or directory]
Jul 26 22:58:13 dsotm gdm[23200]: PAM adding faulty module: 
/lib/security/pam_console.so
Jul 26 22:58:15 dsotm gdm(pam_unix)[23200]: session opened for user 
chris by (uid=0)
Jul 26 22:58:23 dsotm su(pam_unix)[23301]: session opened for user root 
by (uid=1000)

Jul 26 23:00:35 dsotm su(pam_unix)[23301]: session closed for user root
Jul 26 23:00:39 dsotm gdm[23200]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0

Jul 26 23:00:39 dsotm gdm(pam_unix)[23200]: session closed for user chris

gdm restarts  no game

I've tried commenting out all of
dsotm ~ # grep console /etc/pam.d/*
/etc/pam.d/gdm:session optional /lib/security/pam_console.so
/etc/pam.d/gdm-autologin:session optional /lib/security/pam_console.so
/etc/pam.d/xdm:session optional pam_console.so
/etc/pam.d/xserver:# Next line you need console ownership to be able to 
start X

/etc/pam.d/xserver:#auth required pam_console.so

restarting gdm, even rebooting, same error as above.

tried setting USE=pam_console emerge -Nva pam ... adding the login 
pam_console, uncommenting all of the above lines, i just get the
Jul 26 22:41:05 dsotm gdm[8000]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0



i'm almost ready to USE=-pam emerge -e world ...

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