Re: [gentoo-user] Accessing mailserver with ssh

2006-06-19 Thread Alexander Skwar

Mick wrote:


However, is this something to do with my firewall, or my sysctl setup?


Neither.



$ nc -l 192.168.0.1 -p 80
Can't grab 0.0.0.0:80 with bind : Permission denied


You're not root and thus a process of yours cannot open ports <=1024.

Alexander Skwar
--
It's NO USE ... I've gone to "CLUB MED"!!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Trenton Adams

Yeah, that's what I used to revert to the old openldap.  Perhaps that
is enough.  Hmmm.

On 6/19/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

On Monday 19 June 2006 22:15, Trenton Adams wrote:
> For example, with openldap, you're supposed to slapcat before
> upgrading, and slapadd after upgrading, or you could have database
> problems. I did not know this. So when I went from 2.2-2.3, I had
> problems. But, I didn't have time to get it working, as I needed it
> up and running NOW. So, I reverted to the old package by masking the
> new one, and then went to find out why it occurred after the fact.
> This is one simple example of potential problems. But something on a
> wider scale could occur.

Did you have a look at FEATURES=buildpkg? Look at man 5 make.conf. While it
takes up a couple of GB it allows you to downgrade to a previously installed
version without needing to compile it again.

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't get xorg tdfx driver to work any more

2006-06-19 Thread Robert Persson
FYI, I have a workaround. Set the primary video device to PCI in the bios. I 
don't know why this works, but it's enough to get by with at least.

Robert

On Monday 19 June 2006 20:37 Robert Persson was like:
> On Monday 19 June 2006 13:25 Robert Persson was like:
> > A while ago I had a working 2-head setup which I stopped using because I
> > needed to use the proprietary ati driver. Now I need to revert to using
> > the twin-head setup, but I can't get it to work any more.
> >
> > I have the same xorg.conf as before. What has changed is that I have
> > upgraded to xorg-7. It is also likely that I did something to my kernel
> > config to get the fglrx driver to work properly, but I can't remember
> > what exactly. I get confused about this because the various
> > display-related kernel options are scattered all over the place.
> >
> > The setup basically consists of an agp radeon 9200SE (using the radeon
> > driver) and a pci voodoo banshee (using the tdfx driver).
> >
> > The precise manifestation of the problem changed with the recent bump
> > from xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5.
> >
> > Before the bump I got a screen that was the right overall colour, but
> > with ugly incomplete horizontal lines across it. Windows were
> > recognisably windows, but still heavily garbled. Within half an hour or
> > so I would have complete system lock-up.
> >
> > After the bump I now get a screen composed of horizontal red and black
> > lines, with the occasional flicker  on the left hand side when something
> > happens on the desktop. The only thing that is barely recognisable is the
> > mouse pointer, which looks like a white bar-code. After a period of use
> > (perhaps 20 minutes) the display locks up irrecoverably, but I am able to
> > restart gracefully from a remote terminal session.

-- 
Robert Persson
That's MISTER Scum to you.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't get xorg tdfx driver to work any more

2006-06-19 Thread Robert Persson
I should have made it clear that the problems I am having are with the voodoo 
card and not with the radeon.

Also I should add that I have booted into windows and verified that the 
hardware works correctly. This is the output of startx:

xauth:  creating new authority file /home/robert/.serverauth.11075


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-gentoo-r1-reiser4-suspend2 i686
Current Operating System: Linux zebedee 2.6.15-gentoo-r1-reiser4-suspend2 #23 
SMP PREEMPT Mon Jun 19 18:16:48 PDT 2006 i686
Build Date: 16 June 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 19 19:51:57 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "v4l" (module does not exist, 0)
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(EE) TDFX(1): Cannot read V_BIOS
(EE) TDFX(1): Cannot read V_BIOS
Could not init font path element /usr/share/fonts/default, removing from list!

waiting for X server to shut down FreeFontPath: 
FPE "/usr/share/fonts/misc:unscaled" refcount is 2, should be 1; fixing.


Robert

On Monday 19 June 2006 13:25 Robert Persson was like:
> A while ago I had a working 2-head setup which I stopped using because I
> needed to use the proprietary ati driver. Now I need to revert to using the
> twin-head setup, but I can't get it to work any more.
>
> I have the same xorg.conf as before. What has changed is that I have
> upgraded to xorg-7. It is also likely that I did something to my kernel
> config to get the fglrx driver to work properly, but I can't remember what
> exactly. I get confused about this because the various display-related
> kernel options are scattered all over the place.
>
> The setup basically consists of an agp radeon 9200SE (using the radeon
> driver) and a pci voodoo banshee (using the tdfx driver).
>
> The precise manifestation of the problem changed with the recent bump from
> xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5.
>
> Before the bump I got a screen that was the right overall colour, but with
> ugly incomplete horizontal lines across it. Windows were recognisably
> windows, but still heavily garbled. Within half an hour or so I would have
> complete system lock-up.
>
> After the bump I now get a screen composed of horizontal red and black
> lines, with the occasional flicker  on the left hand side when something
> happens on the desktop. The only thing that is barely recognisable is the
> mouse pointer, which looks like a white bar-code. After a period of use
> (perhaps 20 minutes) the display locks up irrecoverably, but I am able to
> restart gracefully from a remote terminal session.
>
> I tried the noaccel option, but that made no useful difference (I merely
> got a few warning messages).
>
> I have tried using alternative drivers, but I can't get any to work for me.
> I had thought that vesa was a generic driver that should work on pretty
> well anything, but it doesn't work here. The log says "chipset vesa not
> found". fbdev doesn't work either. I tried vga, but that caused an instant
> system lock-up.
>
> What should I do to get a working 2-head setup?
>
> And when I have got it working, would there be any advantage in emerging
> xorg-drm, in terms of making up for the performance shortfall between the
> radeon driver and fglrx?

-- 
Robert Persson
That's MISTER Scum to you.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread fei huang
On 6/19/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:
fei huang wrote:>>> On 6/19/06, *Alexander Skwar* <[EMAIL PROTECTED]> [EMAIL PROTECTED]
>> wrote:>> Alexander Kirillov wrote:>>  > I've lost most of them locales after upgrade to glibc-2.3.6-r4.>> You'll need to create a /etc/locale.gen file. After that, read
>> man 5 locale.gen> man 8 locale-gen>> and run /usr/sbin/locale-gen>>  > I don't have userlocales flag set either.>> As there *is* no such flag, there's really no need to set it.
>>> there IS a userlocales flag available for the previous version,So, there IS no such flag available for the current version, ie.the version, the OP is about.
thank you!  actually I  was just wondering about the missing flag with the new version before reading this post. 
> seems> not working though,Worked very well, when there used to be such a flag. At least onmy systems it worked very well. > I set the USE flag, but locale -a still list nearly
> everything.Did you create a /etc/locales.build file?
yep, I have solved that problem, cause my locales.build is there though, syntax is not correct. I have replaced it with the locale.gen. now it works!
> the latest r4 version ignore this flag somehow.Yes, as I said: There IS no such flag as "userlocales". But you're right,this flag is ignored - just like other non-existant flags.Anyway, the solution is to create a /etc/locale.gen file and run locale-gen.
Alexander Skwar--Would it help if I got out and pushed?-- Princess Leia Organa--gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deleted /boot

2006-06-19 Thread fei huang
On 6/20/06, Mike Markowski <[EMAIL PROTECTED]> wrote:
Well, when I do it, I do it right.  Through a bad combination of typosand missing an  I deleted everything in /boot.  :-(This is what I did to (try to) recover:  # cd /boot  # mklost+found
  # emerge grub  [...edited grub.conf...]  [...recompiled kernel & modules and installed...]yep,  but  one thing you might had been missed is to setup grub, I've found it's much clear to do it  manually, you may refer to the gentoo manual as well. although everything is there, you have to run setup to make grub installed in MBR or the first sector of your boot partition. 
I *thought* that's all I'd need, but upon boot up:  Warning:unable to open an initial console
  Kernel panic- not syncing: no init found. Try passing init= option to kernelI compiled the kernel myself, not with genkernel.  I'm stumped at themoment & would be glad to try any ideas anyone might have.
I'm not sure of this problem, since lots of stuff may cause this complain message.make sure the kernel and root partition are correct in your grub.conf. try it.
Many thanks!Mike--gentoo-user@gentoo.org mailing listgood luck.daniel 


Re: [gentoo-user] Adaptec 29160 Setup

2006-06-19 Thread Bob Sanders
On Mon, 19 Jun 2006 16:07:42 -0400
sean <[EMAIL PROTECTED]> wrote:

>
> I am able to see the scsi cdrw and the jaz drive.
> Tried mounting the jaz drive but as expected it failed, the format of
> the unit cartridge is UFS. But it at least saw it, assigned it, and
> tried to mount when I manually tried.
> 

Under - File Systems --> Miscellaneous filesystems --> enable UFS

> However the scsi cdrw is still not working.
> Again, as you can see it dmesg shows the device. However it is not
> assigning it a dev.

Could be a udev issue?

But, just for grins, under Device Drivers --> Block devices, enable Packet
writing on CD/DVD media.  The defaults should be ok for that selection.

Also, I note I neglected to have you select Device Drivers --> SCSI device -->
SCSI generic support, but it seems to be in the kernel.

And under File Systems --> CD-ROM/DVD filesystems --> ISO 9660 CDROM system
support is selected?  Probably have to be if sr0: works, of course add UDF
file system if it's no selected.

By chance have you done an etc-update/dispatch-conf since the last udev
update that occured this week?

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



Re: [gentoo-user] Deleted /boot

2006-06-19 Thread Teresa and Dale
Mike Markowski wrote:

>Well, when I do it, I do it right.  Through a bad combination of typos
>and missing an  I deleted everything in /boot.  :-(
>
>This is what I did to (try to) recover:
>
>  # cd /boot
>  # mklost+found
>  # emerge grub
>  [...edited grub.conf...]
>  [...recompiled kernel & modules and installed...]
>
>I *thought* that's all I'd need, but upon boot up:
>
>  Warning:unable to open an initial console
>  Kernel panic- not syncing: no init found. Try passing init= option to kernel
>
>I compiled the kernel myself, not with genkernel.  I'm stumped at the
>moment & would be glad to try any ideas anyone might have.
>
>Many thanks!
>Mike
>  
>


This !may! help:

> [EMAIL PROTECTED] / # ls -al /boot/
> total 4349
> drwxr-xr-x  5 root root 272 Jun 19 20:23 .
> drwxr-xr-x 21 root root 520 Jun 13 00:06 ..
> -rw-r--r--  1 root root   0 Dec  9  2005 .keep
> lrwxrwxrwx  1 root root   1 Dec  8  2005 boot -> .
> -rw-r--r--  1 root root 2225130 Dec 27 04:50 bzImage-gen-2.6.14-5
> -rw-r--r--  1 root root 2177580 May 16 08:08 bzImage-gen-2.6.16-2
> -rw-r--r--  1 root root   37565 May 16 08:13 config-gen-2.6.16-2
> drwxr-xr-x  2 root root 672 May 16 08:12 grub
> [EMAIL PROTECTED] / #



> [EMAIL PROTECTED] / # ls -al /boot/grub/
> total 461
> drwxr-xr-x 2 root root672 May 16 08:12 .
> drwxr-xr-x 5 root root272 Jun 19 20:23 ..
> -rw-r--r-- 1 root root 45 Dec 10  2005 device.map
> -rw-r--r-- 1 root root   8052 Jan 18 00:59 e2fs_stage1_5
> -rw-r--r-- 1 root root   7812 Jan 18 00:59 fat_stage1_5
> -rw-r--r-- 1 root root   7060 Jan 18 00:59 ffs_stage1_5
> -rw-r--r-- 1 root root393 May 16 08:12 grub.conf
> -rw-r--r-- 1 root root   1624 Jan 18 00:59 grub.conf.sample
> -rw-r--r-- 1 root root393 May 16 07:09 grub.conf~
> -rw-r--r-- 1 root root   7124 Jan 18 00:59 iso9660_stage1_5
> -rw-r--r-- 1 root root   8576 Jan 18 00:59 jfs_stage1_5
> lrwxrwxrwx 1 root root  9 Nov 18  2005 menu.lst -> grub.conf
> -rw-r--r-- 1 root root   7284 Jan 18 00:59 minix_stage1_5
> -rw-r--r-- 1 root root   9556 Jan 18 00:59 reiserfs_stage1_5
> -rw-r--r-- 1 root root  33856 Jan 18 00:59 splash.xpm.gz
> -rw-r--r-- 1 root root512 Jan 18 00:59 stage1
> -rw-r--r-- 1 root root 105544 Jan 18 00:59 stage2
> -rw-r--r-- 1 root root 105544 Jan 15 10:52 stage2.old
> -rw-r--r-- 1 root root 105544 Jan 18 00:59 stage2_eltorito
> -rw-r--r-- 1 root root   7368 Jan 18 00:59 ufs2_stage1_5
> -rw-r--r-- 1 root root   6708 Jan 18 00:59 vstafs_stage1_5
> -rw-r--r-- 1 root root   9404 Jan 18 00:59 xfs_stage1_5
> [EMAIL PROTECTED] / #  


May want to check and see if something is missing there.  Here is my
grub.conf just in case.  I'm using gentoo-sources-2.6.16-r9.

> timeout 10
>
> default 0
> Splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
> title Gentoo
> kernel (hd0,0)/bzImage-gen-2.6.16-2 root=/dev/hda6 ide0=ata66
> ide1=ata66 vga=788


See anything out of place or missing?

Hope that helps.

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Deleted /boot

2006-06-19 Thread Mike Markowski
Well, when I do it, I do it right.  Through a bad combination of typos
and missing an  I deleted everything in /boot.  :-(

This is what I did to (try to) recover:

  # cd /boot
  # mklost+found
  # emerge grub
  [...edited grub.conf...]
  [...recompiled kernel & modules and installed...]

I *thought* that's all I'd need, but upon boot up:

  Warning:unable to open an initial console
  Kernel panic- not syncing: no init found. Try passing init= option to kernel

I compiled the kernel myself, not with genkernel.  I'm stumped at the
moment & would be glad to try any ideas anyone might have.

Many thanks!
Mike
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Adaptec 29160 Setup

2006-06-19 Thread sean
Bob Sanders wrote:
> On Sun, 18 Jun 2006 14:13:44 -0400
> sean <[EMAIL PROTECTED]> wrote:
> 
>>  I am trying to get my recently built system to recognize my Adaptec
>> 29160 configured on the system.
>> I have SCSI built into the kernel, here is the dmesg statement,
>> SCSI subsystem initialized,
> 
> Do you have SCSI Transport Attributes ---> Parallel SCSI (SPI) Transport 
> Attributes
> turned on as either a module or loaded?
> 
>> I can see my sata drive, which from what I read, scsi needs to be
>> working for sata access,
> 
> SATA doesn't need specific attributes unless it's really a SAS interface.
> 
> 
>> but there is nothing in dmesg about my scsi
>> card coming to life, and so I cannot see my cd burner and iomega jaz
>> drive that hang off it.
>>
> 
> Should only need, under SCSI devices support --> SCSI disk, SCSI CDROM,
> the previously mentioned parallel Transport, under low-level drivers -->
> Adaptec AIC7xxx (aka New driver), SATA support, and the SATA chipset driver.
> The rest is pretty much wasted space.
> 
> Bob
> -  

Thanks Bob,

Things are improving, but still not over the top yet.
As you can see below the dmesg shows things starting to light up...
I am able to see the scsi cdrw and the jaz drive.
Tried mounting the jaz drive but as expected it failed, the format of
the unit cartridge is UFS. But it at least saw it, assigned it, and
tried to mount when I manually tried.

However the scsi cdrw is still not working.
Again, as you can see it dmesg shows the device. However it is not
assigning it a dev.
The sr0 assignment you see listed is for my sata dvd unit, which is able
to mount when I tested it.
Are you, or anyone, able to offer any other suggestions?

Thanks
Sean

---
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0

aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

  Vendor: PLEXTOR   Model: CD-R   PX-W4012S  Rev: 1.01
  Type:   CD-ROM ANSI SCSI revision: 02
 target0:0:1: Beginning Domain Validation
 target0:0:1: FAST-20 SCSI 20.0 MB/s ST (50 ns, offset 15)
 target0:0:1: Domain Validation skipping write tests
 target0:0:1: Ending Domain Validation
  Vendor: iomegaModel: jaz 1GB   Rev: J.83
  Type:   Direct-Access  ANSI SCSI revision: 02
 target0:0:4: Beginning Domain Validation
 target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
 target0:0:4: Domain Validation skipping write tests
 target0:0:4: Ending Domain Validation
libata version 1.20 loaded.
SCSI device sda: 2091050 512-byte hdwr sectors (1071 MB)
sda: Write Protect is off
sda: Mode Sense: 39 00 10 08
SCSI device sda: drive cache: write back w/ FUA
SCSI device sda: 2091050 512-byte hdwr sectors (1071 MB)
sda: Write Protect is off
sda: Mode Sense: 39 00 10 08
SCSI device sda: drive cache: write back w/ FUA
 sda: sda1
sd 0:0:4:0: Attached scsi removable disk sda
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
sr 0:0:1:0: Attached scsi CD-ROM sr0
sr 0:0:1:0: Attached scsi generic sg0 type 5
sd 0:0:4:0: Attached scsi generic sg1 type 0
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Accessing mailserver with ssh

2006-06-19 Thread Nick Rout

On Sat, 17 Jun 2006 23:45:43 +0200
Alexander Skwar wrote:

> Mick wrote:
> > On 17/06/06, Raymond Lewis Rebbeck <[EMAIL PROTECTED]> wrote:
> > 
> >> You cannot use an ssh client in this manner.
> >>
> >> If you want a telnet client, emerge either netkit-telnetd or telnet-bsd.
> > 
> > Thanks for all the replies.  I had not emerged telnet so far because
> > of potential security reasons.  Is netcat better in that respect?
> 
> I actually know of no security problems with telnet. To which
> are you referring (note: telnet, not telnetd)?
> 
> Alexander Skwar

I think this thread needs clarification (not specifically you
Aleaxander)

The problem with the telnet is mainly plain text passwords - your login
to a telnet server is plain text and easily snooped. 

But using telnet to connect to a smtp server or web server for testing
purposes poses no threats. If you have to pass plain text credentials
via telnet (eg to log in to a pop or imap server) then the risk is
exactly the same as when your email client passes a plain text password
to the imap or pop server. In both cases it can be snooped. 

If the service you want to log into is protected with an ssl wrapper
then tuse the openssl program to log in. For example to connect to my
imap server (from the same machine)

openssl s_client -host localhost -port 993

openssl responds with a whole lot of info about the certificate and so
on then you can type away just like a telnet session (but encrypted)

eg:

[EMAIL PROTECTED] ~ $ openssl s_client -host localhost -port 993

(openssl spews out a whole lot of stuff about the certificate)

Then the imap server's opening greeting:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP 
ready. Copyright 1998-2005 Double Precision, Inc.  See COPYING for distribution 
information.

Then I type (responses are marked >> for clarity:

1 login nick 
>>1 OK LOGIN Ok.
2 logout
>>* BYE Courier-IMAP server shutting down
>>2 OK LOGOUT completed


This is exactly the exchange I get if I telnet to the non ssl port 143,
except telnet to port 143:

1. doesn't do a key exchange etc

2. is plain text and snoopable.


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

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Accessing mailserver with ssh

2006-06-19 Thread Ryan Tandy

Mick wrote:

I don't know how I have managed
without  netcat all this time  . . .  it can do almost everything but
take the dog out for a walk! :-))


Didn't you read the man page?

> -W[dksa]
> --walk=(dog,kid,spouse,away)

$ sudo nc -Wd

:P
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Accessing mailserver with ssh

2006-06-19 Thread David Klempner
* Mick <[EMAIL PROTECTED]> [2006-06-19 17:47]:
>
> However, is this something to do with my firewall, or my sysctl setup?
> 
> $ nc -l 192.168.0.1 -p 80
> Can't grab 0.0.0.0:80 with bind : Permission denied
> 

That would be because you need root to bind to a port below 1000.


pgp7ydvDGYGDC.pgp
Description: PGP signature


Re: [gentoo-user] Accessing mailserver with ssh

2006-06-19 Thread Mick

On 19/06/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:


Now you might want to encrypt the content. And that's where
cryptcat might be handy.


Thank you very much Alexander!  I don't know how I have managed
without  netcat all this time  . . .  it can do almost everything but
take the dog out for a walk! :-))

However, is this something to do with my firewall, or my sysctl setup?

$ nc -l 192.168.0.1 -p 80
Can't grab 0.0.0.0:80 with bind : Permission denied

I was trying to listen to my router while I connected to it using a browser gui.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Teresa and Dale
Bo Ørsted Andresen wrote:

>On Monday 19 June 2006 22:15, Trenton Adams wrote:
>  
>
>>For example, with openldap, you're supposed to slapcat before
>>upgrading, and slapadd after upgrading, or you could have database
>>problems.  I did not know this.  So when I went from 2.2-2.3, I had
>>problems.  But, I didn't have time to get it working, as I needed it
>>up and running NOW.  So, I reverted to the old package by masking the
>>new one, and then went to find out why it occurred after the fact.
>>This is one simple example of potential problems.  But something on a
>>wider scale could occur.
>>
>>
>
>Did you have a look at FEATURES=buildpkg? Look at man 5 make.conf. While it 
>takes up a couple of GB it allows you to downgrade to a previously installed 
>version without needing to compile it again.
>
>  
>

Or rescue yourself if you delete something and portage, gcc or something
critical doesn't work anymore.  I have been there, twice, and it is a
life saver for sure.  I did NOT get my shirt though.  :-(

Dale
:-) :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Bo Ørsted Andresen
On Monday 19 June 2006 22:15, Trenton Adams wrote:
> For example, with openldap, you're supposed to slapcat before
> upgrading, and slapadd after upgrading, or you could have database
> problems.  I did not know this.  So when I went from 2.2-2.3, I had
> problems.  But, I didn't have time to get it working, as I needed it
> up and running NOW.  So, I reverted to the old package by masking the
> new one, and then went to find out why it occurred after the fact.
> This is one simple example of potential problems.  But something on a
> wider scale could occur.

Did you have a look at FEATURES=buildpkg? Look at man 5 make.conf. While it 
takes up a couple of GB it allows you to downgrade to a previously installed 
version without needing to compile it again.

-- 
Bo Andresen


pgpbtJLXlTIea.pgp
Description: PGP signature


Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Hemmann, Volker Armin
On Monday 19 June 2006 20:26, kashani wrote:
> Hemmann, Volker Armin wrote:
> > you don't need a chroot.
> >
> > Just emerge firefox-bin for flash
> > and
> > mplayer-bin for wmv files.
> >
> > Everything else does not make problems.
>
> Depending on the video files you'd like to decode 32bit can make a
> difference. Many of the stranger codecs are supported through the win32
> codecs which are not 64bit safe or at least that's what I've read. I'd
> assume that qt, mp4, and wmv would generally be okay.

and this 'strange' codecs are covered by mplayer-bin too.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - More Mythtv problems

2006-06-19 Thread Nick Rout

On Sun, 18 Jun 2006 18:09:59 -0500
Michael Sullivan wrote:

> Thirdly, what happened to the buffering aspect when watching LiveTV?  I
> don't want LiveTV I watch to stick around forever taking up space, and I
> don't want to have to delete the programs I watch in LiveTV manually
> inside the interface, or outside in the shell.  Is there a way I can get
> the old behaviour back?

0.19 completely changed live tv handling. I suggest you look at the
mythtv-users mailing list archives, or join that list. The archives are
here: http://www.gossamer-threads.com/lists/mythtv/users/ (Warning, it
IS a higher volume list than even gentoo-user)

The live tv recordings are set to be deleted fairly soon after the
event, their deletion priority is pretty high. I cannot remember the
details now.


-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] can't get xorg tdfx driver to work any more

2006-06-19 Thread Robert Persson
A while ago I had a working 2-head setup which I stopped using because I 
needed to use the proprietary ati driver. Now I need to revert to using the 
twin-head setup, but I can't get it to work any more.

I have the same xorg.conf as before. What has changed is that I have upgraded 
to xorg-7. It is also likely that I did something to my kernel config to get 
the fglrx driver to work properly, but I can't remember what exactly. I get 
confused about this because the various display-related kernel options are 
scattered all over the place.

The setup basically consists of an agp radeon 9200SE (using the radeon driver) 
and a pci voodoo banshee (using the tdfx driver).

The precise manifestation of the problem changed with the recent bump from 
xorg-server-1.0.2-r4 to xorg-server-1.0.2-r5.

Before the bump I got a screen that was the right overall colour, but with 
ugly incomplete horizontal lines across it. Windows were recognisably 
windows, but still heavily garbled. Within half an hour or so I would have 
complete system lock-up.

After the bump I now get a screen composed of horizontal red and black lines, 
with the occasional flicker  on the left hand side when something happens on 
the desktop. The only thing that is barely recognisable is the mouse pointer, 
which looks like a white bar-code. After a period of use (perhaps 20 minutes) 
the display locks up irrecoverably, but I am able to restart gracefully from 
a remote terminal session.

I tried the noaccel option, but that made no useful difference (I merely got a 
few warning messages).

I have tried using alternative drivers, but I can't get any to work for me. I 
had thought that vesa was a generic driver that should work on pretty well 
anything, but it doesn't work here. The log says "chipset vesa not found". 
fbdev doesn't work either. I tried vga, but that caused an instant system 
lock-up.

What should I do to get a working 2-head setup?

And when I have got it working, would there be any advantage in emerging 
xorg-drm, in terms of making up for the performance shortfall between the 
radeon driver and fglrx?

Many thanks
Robert
-- 
Robert Persson
That's MISTER Scum to you.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Trenton Adams

On 6/19/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

On Monday 19 June 2006 10:58, Trenton Adams wrote:
> > > One other benefit of this mechanism, that I can think of, would be
> > > that I could easily roll back to my last sync date or release, if some
> > > of the updated ebuilds caused me problems.
> >
> > That really should not be necessary. What you should of course do is file
> > a bug so the problems can be fixed for everyone.
>
> Well, one problem I had was not actually *really* bug.  It was a
> requirement that I did not fulfill, but was unable to figure it out
> instantly.  So, rolling back would have been very useful at that time.
>  It would just add another level of safety.

If an ebuild is removed from the tree while you still need it then chances are
that others need it too. Then it is indeed a bug. If you need an ebuild that
has been removed from the tree it is available from the cvs [1]. As mentioned
in my previous mail cvs is going to be replaced by a superior VCS hopefully
within this year.


Sorry, you misunderstood what I was saying because I wasn't clear
enough.  I meant if I missed a required step, not missed a dependency.

For example, with openldap, you're supposed to slapcat before
upgrading, and slapadd after upgrading, or you could have database
problems.  I did not know this.  So when I went from 2.2-2.3, I had
problems.  But, I didn't have time to get it working, as I needed it
up and running NOW.  So, I reverted to the old package by masking the
new one, and then went to find out why it occurred after the fact.
This is one simple example of potential problems.  But something on a
wider scale could occur.



[1] http://www.gentoo.org/cgi-bin/viewcvs.cgi

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



[gentoo-user] lost tv...

2006-06-19 Thread Luigi Pinna
Hello!
Until 2 weeks ago I used without problem my tv card (Pinnacle 
MediaCenter i300) with philips chipset (module saa7134).
Since this time I cannot watch more than digital tv (dvb-t).
I can set the tuner, change channel, I heard the audio but I have no 
video.
If I try to use the analog input, I have video...
That happens as root too!
I tried to udev-090 now without changing; the kernel is 
2.6.16-gentoo-r9.
I use usually kaffeine to watch digital tv.
I have no more idea: dmesg says only:
saa7134[0]: pinnacle 300i dvb setup
DVB: registering new adapter (saa7134[0]).
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
saa7134[0]: mt352_pinnacle_init called
saa7134[0]: mt352_pinnacle_init called
without errors!
In the past, I had problem to auto-loading of saa7134_dvb module. I add 
it in /etc/modules.autoload.d/kernel-2.6 and it loaded at boot time, now 
it is yet there but it doesn't load. I must load it manually with 
modprobe saa7134_dvb
What can I do? I need the digital input (I bought the card only for that 
reason...)
Thanks a lot, 
Luigi

-- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread kashani

Hemmann, Volker Armin wrote:


you don't need a chroot.

Just emerge firefox-bin for flash
and
mplayer-bin for wmv files.

Everything else does not make problems. 


Depending on the video files you'd like to decode 32bit can make a 
difference. Many of the stranger codecs are supported through the win32 
codecs which are not 64bit safe or at least that's what I've read. I'd 
assume that qt, mp4, and wmv would generally be okay.


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



Re: [gentoo-user] svc: bad direction 268435456 [SOLVED]

2006-06-19 Thread Matthias Langer
On Mon, 2006-06-19 at 14:53 +0200, Ralph Slooten wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Matthias Langer wrote:
> > i'm not sure which of these lines acually fixed my problem as i've just
> > looked at the output of rpcinfo and grabbed all nfs relevant ports from
> > there.
> 
> This will probably fix your problems *until* you restart nfs.
> 
> # lsof -n -P|egrep "UDP|LISTEN"|grep "rpc\."
> rpc.statd 19260   nobody4u IPv4  178640062  UDP *:47496
> rpc.statd 19260   nobody5u IPv4  178640054  UDP *:780
> rpc.statd 19260   nobody6u IPv4  178640065  TCP *:42346 (LISTEN)
> rpc.mount 19277 root6u IPv4  178640109  UDP *:797
> rpc.mount 19277 root7u IPv4  178640112  TCP *:800 (LISTEN)
> 
> Restart NSF 
> 
> rpc.statd 19433   nobody4u IPv4  178641101  UDP *:47498
> rpc.statd 19433   nobody5u IPv4  178641093  UDP *:953
> rpc.statd 19433   nobody6u IPv4  178641104  TCP *:42347 (LISTEN)
> rpc.mount 19450 root6u IPv4  178641148  UDP *:970
> rpc.mount 19450 root7u IPv4  178641151  TCP *:973 (LISTEN)
> 
> Restart again 
> 
> rpc.statd 19534   nobody4u IPv4  178641453  UDP *:47499
> rpc.statd 19534   nobody5u IPv4  178641445  UDP *:630
> rpc.statd 19534   nobody6u IPv4  178641456  TCP *:42348 (LISTEN)
> rpc.mount 19551 root6u IPv4  178641500  UDP *:647
> rpc.mount 19551 root7u IPv4  178641503  TCP *:650 (LISTEN)
> 
> 
> 
> I never worked out how to get NSF to only listen on a single interface.
> 
> Glad you at least now know what was causing the logs.
> 
> Greetings,
> Ralph
> 
Well, i guess this can be done by modifiying the steps described in the
follwoing howto:
http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS#Setting_Up_Firewall_.28Server_Side.29
I've not tried that yet, as i don't plan to restart my server in the
next few days, but will sooner or later take this into account ...

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Neil Bothwick
On Mon, 19 Jun 2006 16:24:56 +0200, Gian Domeni Calgeer wrote:

> For instance Abuse_SDL or slune is not available, and there are lots
> which are keyworded on AMD64 but not on x86. 

Neither of these ebuilds have an amd64 keyword. This does not mean they
don't run on amd64, only that they haven't been tested. If the packaged
had been tested on amd64 and failed, it would have a -amd64 keyword.


-- 
Neil Bothwick

Micro-: (prefix) anything both very small and very expensive.


signature.asc
Description: PGP signature


Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Skwar

fei huang wrote:



On 6/19/06, *Alexander Skwar* <[EMAIL PROTECTED] 
> wrote:


Alexander Kirillov wrote:

 > I've lost most of them locales after upgrade to glibc-2.3.6-r4.

You'll need to create a /etc/locale.gen file. After that, read

man 5 locale.gen
man 8 locale-gen

and run /usr/sbin/locale-gen

 > I don't have userlocales flag set either.

As there *is* no such flag, there's really no need to set it.


there IS a userlocales flag available for the previous version,


So, there IS no such flag available for the current version, ie.
the version, the OP is about.

seems 
not working though,


Worked very well, when there used to be such a flag. At least on
my systems it worked very well.

I set the USE flag, but locale -a still list nearly 
everything.


Did you create a /etc/locales.build file?


the latest r4 version ignore this flag somehow.


Yes, as I said: There IS no such flag as "userlocales". But you're right,
this flag is ignored - just like other non-existant flags.

Anyway, the solution is to create a /etc/locale.gen file and run locale-gen.

Alexander Skwar
--
Would it help if I got out and pushed?
-- Princess Leia Organa
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Gian Domeni Calgeer
Am Montag, 19. Juni 2006 15:54 schrieb Hemmann, Volker Armin:
> On Monday 19 June 2006 14:35, Gian Domeni Calgeer wrote:
> > Am Montag, 19. Juni 2006 14:23 schrieb Hemmann, Volker Armin:
> > > On Monday 19 June 2006 14:02, Pete Pardoe wrote:
> > > > on a 64 bit system through the use of 32 bit bins but there are still
> > > > a lot of the more exotic apps that are not available in the 64 bit
> > > > world.
> > >
> > > which one?
> >
> > Well... There are still some games, for instance, even open source ones.
>
> and which ones?

For instance Abuse_SDL or slune is not available, and there are lots which are 
keyworded on AMD64 but not on x86. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread fei huang
On 6/19/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:
Alexander Kirillov wrote:> I've lost most of them locales after upgrade to glibc-2.3.6-r4.You'll need to create a /etc/locale.gen file. After that, readman 5 locale.genman 8 locale-gen
and run /usr/sbin/locale-gen> I don't have userlocales flag set either.As there *is* no such flag, there's really no need to set it.there IS a userlocales flag available for the previous version, seems not working though, I set the USE flag, but locale -a still list nearly everything. the latest r4 version ignore this flag somehow.
> And probably should consider selling sweatshirts to oil-exporting> countries instead of software engineering as I don't seem to be capable
> of running STABLE system anymore.Yep.Alexander Skwar--Dreams are free, but there's a small charge for alterations.--gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Hemmann, Volker Armin
On Monday 19 June 2006 14:35, Gian Domeni Calgeer wrote:
> Am Montag, 19. Juni 2006 14:23 schrieb Hemmann, Volker Armin:
> > On Monday 19 June 2006 14:02, Pete Pardoe wrote:
> > > on a 64 bit system through the use of 32 bit bins but there are still a
> > > lot of the more exotic apps that are not available in the 64 bit world.
> >
> > which one?
>
> Well... There are still some games, for instance, even open source ones.

and which ones?

I have ut2004, vegastrike, wesnoth, triplea, byfoot and several others 
installed.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

I've lost most of them locales after upgrade to glibc-2.3.6-r4.


You'll need to create a /etc/locale.gen file. After that, read

man 5 locale.gen
man 8 locale-gen

and run /usr/sbin/locale-gen


Yep. Thanks. Easy enough.
I've seen something of the sort in glibc-2.3.6-r4.log
The devs should probably mention in the notes
it doesn't take rebuilding the whole glibc
to fix the problem.


I don't have userlocales flag set either.


As there *is* no such flag, there's really no need to set it.


The flag is still there in the handbook.
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE
[EMAIL PROTECTED]
en_HK
en_PH
en_US
en_US.utf8
es_MX
fa_IR
fr_FR
[EMAIL PROTECTED]
it_IT
ja_JP
ja_JP.eucjp
ja_JP.utf8

You've probably been lucky enough to be either en, de or fr?:)


I did upgrade the glibc today. How did you recognize the missing locale?

I've lost most of them locales after upgrade to glibc-2.3.6-r4.
I don't have userlocales flag set either.



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] svc: bad direction 268435456 [SOLVED]

2006-06-19 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthias Langer wrote:
> i'm not sure which of these lines acually fixed my problem as i've just
> looked at the output of rpcinfo and grabbed all nfs relevant ports from
> there.

This will probably fix your problems *until* you restart nfs.

# lsof -n -P|egrep "UDP|LISTEN"|grep "rpc\."
rpc.statd 19260   nobody4u IPv4  178640062  UDP *:47496
rpc.statd 19260   nobody5u IPv4  178640054  UDP *:780
rpc.statd 19260   nobody6u IPv4  178640065  TCP *:42346 (LISTEN)
rpc.mount 19277 root6u IPv4  178640109  UDP *:797
rpc.mount 19277 root7u IPv4  178640112  TCP *:800 (LISTEN)

Restart NSF 

rpc.statd 19433   nobody4u IPv4  178641101  UDP *:47498
rpc.statd 19433   nobody5u IPv4  178641093  UDP *:953
rpc.statd 19433   nobody6u IPv4  178641104  TCP *:42347 (LISTEN)
rpc.mount 19450 root6u IPv4  178641148  UDP *:970
rpc.mount 19450 root7u IPv4  178641151  TCP *:973 (LISTEN)

Restart again 

rpc.statd 19534   nobody4u IPv4  178641453  UDP *:47499
rpc.statd 19534   nobody5u IPv4  178641445  UDP *:630
rpc.statd 19534   nobody6u IPv4  178641456  TCP *:42348 (LISTEN)
rpc.mount 19551 root6u IPv4  178641500  UDP *:647
rpc.mount 19551 root7u IPv4  178641503  TCP *:650 (LISTEN)



I never worked out how to get NSF to only listen on a single interface.

Glad you at least now know what was causing the logs.

Greetings,
Ralph

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFElp5TCt0ZF9kLPvYRAuLxAJ4/UYqhRdRObf5ZEM7bX5qNZd/ukACfd+rG
rEykTTIi6aWPzHRPiG7IjMs=
=BKB9
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Gian Domeni Calgeer
Am Montag, 19. Juni 2006 14:23 schrieb Hemmann, Volker Armin:
> On Monday 19 June 2006 14:02, Pete Pardoe wrote:
> > on a 64 bit system through the use of 32 bit bins but there are still a
> > lot of the more exotic apps that are not available in the 64 bit world.
>
> which one?

Well... There are still some games, for instance, even open source ones. 
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread JC Denton
I did upgrade the glibc today. How did you recognize the missing locale?Alexander Kirillov <[EMAIL PROTECTED]> schrieb: I've lost most of them locales after upgrade to glibc-2.3.6-r4.I don't have userlocales flag set either.And probably should consider selling sweatshirts to oil-exporting countries instead of software engineering as I don't seem to be capable of running STABLE system anymore.-- gentoo-user@gentoo.org mailing list 
		Yahoo! Mail - Sie denken an Ihre Sicherheit?  Das tun wir auch
. 


Re: [gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Skwar
Alexander Kirillov wrote:

> I've lost most of them locales after upgrade to glibc-2.3.6-r4.

You'll need to create a /etc/locale.gen file. After that, read

man 5 locale.gen
man 8 locale-gen

and run /usr/sbin/locale-gen

> I don't have userlocales flag set either.

As there *is* no such flag, there's really no need to set it.

> And probably should consider selling sweatshirts to oil-exporting 
> countries instead of software engineering as I don't seem to be capable 
> of running STABLE system anymore.

Yep.

Alexander Skwar
-- 
Dreams are free, but there's a small charge for alterations.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Hemmann, Volker Armin
On Monday 19 June 2006 14:02, Pete Pardoe wrote:

> on a 64 bit system through the use of 32 bit bins but there are still a lot
> of the more exotic apps that are not available in the 64 bit world. 

which one?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrom is not available any more

2006-06-19 Thread Boris Fersing

2006/6/19, JC Denton <[EMAIL PROTECTED]>:

That is all:
- for floppy:
# grep -i floppy .config
CONFIG_BLK_DEV_IDEFLOPPY=y
# Ftape, the floppy tape device driver


Try to disable this IDEFLOPPY driver (kernel recompilation is needed)

regards,

Boris.


#grep -i disk .config
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDMA_ONLYDISK is not set
# SCSI support type (disk, tape, CD-ROM)
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be
needed; see USB_STORAGE Help for more information

Something is defently wrong.



Boris Fersing <[EMAIL PROTECTED]> schrieb:

 2006/6/19, JC Denton :
> No information as far as I can see ...
>

Mhh, what tells a "zgrep -i floppy /proc/config.gz" or "grep -i floppy
/usr/src/linux/.config" ?
>
> # cat /proc/sys/dev/cdrom/info
> CD-ROM information, Id: cdrom.c 3.20 2003/12/17
>
> drive name:
> drive speed:
> drive # of slots:
> Can close tray:
> Can open tray:
> Can lock tray:
> Can change speed:
> Can select disk:
> Can read multisession:
> Can read MCN:
> Reports media changed:
> Can play audio:
> Can write CD-R:
> Can write CD-RW:
> Can read DVD:
> Can write DVD-R:
> Can write DVD-RAM:
> Can read MRW:
> Can write MRW:
> Can write RAM:
>
> regards
>
> JC
> Boris Fersing schrieb:

> 2006/6/19, JC Denton :
>
> > Hi group!
> Hi,
>
> >
> > I had some problems with my cdrom before and tried to chage that ;)
> > I rebuild the kernel in order to have appropriate scsi and atapi
settings
> > for usb and cdrom support. But I messed something up. The original
problem
> > is gone but now I have no cdrom support at all. Here is what I get from
> > dmesg:
> > # dmesg | grep hd
> > ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
> > ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
> > hda: IC25N060ATMR04-0, ATA DISK drive
> > hdc: , ATAPI cdrom or floppy?, assuming FLOPPY drive
> > hda: max request size: 1024KiB
> > hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63,
> > UDMA(100)
> > hda: cache flushes supported
> > hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
> > ide-floppy: hdc: not supported by this version of ide-floppy
>
> What is the output of : "cat /proc/sys/dev/cdrom/info" ?
> >
>
> regards,
>
> Boris.
> > # sudo mount -t iso9660 /dev/hdc /mnt/cdrom/
> > mount: /dev/hdc is not a valid block device
> >
> > Where I can I tell the system that it is a cdrom? (no floppy drive at
all)
> > Do I have to set a kernel flag in the grub.conf?
> >
> > Please help! Thanks!
> >
> >
> >
> > 
> > Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.
> >
> >
>
>
> --
> Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.
>
> --
> gentoo-user@gentoo.org mailing list
>
>
>
>
> 
> Sie denken an Ihre Sicherheit? Das tun wir auch .
>
>


--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--

gentoo-user@gentoo.org mailing list





 
Sie denken an Ihre Sicherheit? Das tun wir auch .





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] svc: bad direction 268435456 [SOLVED]

2006-06-19 Thread Matthias Langer
On Mon, 2006-06-19 at 07:24 +0200, Ralph Slooten wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Matthias Langer wrote:
> > i've recently set up a local nfs server for my disfiles; to keep the WAN
> > out i have:
> > 
> > iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport nfs -j DROP
> > iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport nfs -j DROP
> > 
> > everthing is working fine so far; however, my logs are full with these
> > messages:
> > 
> > svc: bad direction 268435456, dropping request
> > 
> > any comments ?
> 
> I have had this too from quite a while back
> (http://blog.axljab.homelinux.org/post/6/). I turned on logging in my
> firewall to find out that nfs listens on random ports for UDP
> connections. The problem is that the random ports change ;-) In my
> firewall *most* of > 1024 is open so there isn't much I can do about it.
> 
> - From what I noticed it's nobody trying to hack you but rather just
> internet "static" which by coincidence tries a port that your NFS is
> listening on. I stopped worrying about it after a while. The option for
> NFS to listen only on one interface wasn't then (iirc) an option ..  not
> sure about now though.
> 
> Greetings,
> Ralph

Thank you very much .. After adding the following lines to my firewall,
these annyoing messages seem to be gone (at least they did not appear
for one hour now):

iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 1026 -j DROP
iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport 1026 -j DROP
iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 2442 -j DROP
iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 2292 -j DROP

i'm not sure which of these lines acually fixed my problem as i've just
looked at the output of rpcinfo and grabbed all nfs relevant ports from
there.

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 64bit vs 32bit

2006-06-19 Thread Pete Pardoe
Depends on what you want it for.  I personally have two AMD 64 systems - one at work and one at home and have one running 64 bit (work) and one 32 bit (home).  My experience is that yes you can get most major apps running on a 64 bit system through the use of 32 bit bins but there are still a lot of the more exotic apps that are not available in the 64 bit world.  For the hardly noticable increase in speed from the  64 bit apps and the aggravation in getting things to work - I would go  for 32 bit  - everything is available and just works.  I found that it was just too much hassle trying to get everything working  in 64  bits so converted my home system from 64 to 32 and if I had the time would do the same at work.
PeteOn 6/16/06, Hemmann, Volker Armin <[EMAIL PROTECTED]> wrote:
On Friday 16 June 2006 21:15, Catalin Trifu wrote:>   Hi,>>
> I am planning to buy a new machine and lately I was thinking about> a AMD64 X2 4800+ 2GB RAM.> Is it worth to install 64bit linux or should I go for 32. As I have> read there are issues with video stuff, flash player.
> This machine is for work and entertainment. I don't like the idea of a> 32bit chroot if it's too much of a hassle to set it up.>you don't need a chroot.Just emerge firefox-bin for flash
andmplayer-bin for wmv files.Everything else does not make problems.--gentoo-user@gentoo.org mailing list
-- Pete Pardoe


Re: [gentoo-user] does anyone here speak japanese? please help in translaton

2006-06-19 Thread Devon Miller
Sounds like spam...Courtesy of babelfish.altavista.com: 
From: Shenzhen commodity group limited companyDate: Jun 18, 2,006
12:48 AM Subject: Shenzhen commodity group limited company 
To:
[EMAIL PROTECTED]   Sends your firm finance manager to receive:
 
 This company is the Guangdong Province Shenzhen commodity group
limited company  In line with for the bilateral company benefit
starting point, may write (increment duty receipt) to the outside
generation (ordinary commodity sale receipt) (service receipt)
(transportation special-purpose receipt), the generation opens the
handling charge please to come the electricity to speak in detail with
the our company people in charge.
 
 Your firm in enters the outlay or makes the question which in the
account is connected to be possible to come the electricity to consult
the news. Welcome the sincerity the cooperation. If this mail creates
the disturbance to your firm to express deeply the apology, and please
delete. Along wishes business to be auspicious!
 
 Explained: (This company software establishment fixed time transmits
this mail) Contact person: Miss Lu handset: 013.631559992 billion


Re: [gentoo-user] cdrom is not available any more

2006-06-19 Thread JC Denton
That is all:- for floppy:# grep -i floppy .configCONFIG_BLK_DEV_IDEFLOPPY=y# Ftape, the floppy tape device driver#grep -i disk .configCONFIG_BLK_DEV_IDEDISK=yCONFIG_IDEDISK_MULTI_MODE=y# CONFIG_IDEDMA_ONLYDISK is not set# SCSI support type (disk, tape, CD-ROM)# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more informationSomething is defently wrong.Boris Fersing <[EMAIL PROTECTED]> schrieb: 2006/6/19, JC Denton <[EMAIL PROTECTED]>:> No information as far as I can see ...>Mhh, what tells a "zgrep -i floppy /proc/config.gz" or "grep -i floppy/usr/src/linux/.config" ?>> # cat /proc/sys/dev/cdrom/info> CD-ROM information, Id: cdrom.c 3.20 2003/12/17>> drive
 name:> drive speed:> drive # of slots:> Can close tray:> Can open tray:> Can lock tray:> Can change speed:> Can select disk:> Can read multisession:> Can read MCN:> Reports media changed:> Can play audio:> Can write CD-R:> Can write CD-RW:> Can read DVD:> Can write DVD-R:> Can write DVD-RAM:> Can read MRW:> Can write MRW:> Can write RAM:>> regards>> JC> Boris Fersing <[EMAIL PROTECTED]> schrieb:>  2006/6/19, JC Denton :>> > Hi group!> Hi,>> >> > I had some problems with my cdrom before and tried to chage that ;)> > I rebuild the kernel in order to have appropriate scsi and atapi settings> > for usb and cdrom support. But I messed something up. The original problem> > is gone but now I have no cdrom support at all.
 Here is what I get from> > dmesg:> > # dmesg | grep hd> > ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio> > ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio> > hda: IC25N060ATMR04-0, ATA DISK drive> > hdc: , ATAPI cdrom or floppy?, assuming FLOPPY drive> > hda: max request size: 1024KiB> > hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63,> > UDMA(100)> > hda: cache flushes supported> > hda: hda1 hda2 hda3 < hda5 hda6 hda7 >> > ide-floppy: hdc: not supported by this version of ide-floppy>> What is the output of : "cat /proc/sys/dev/cdrom/info" ?> >>> regards,>> Boris.> > # sudo mount -t iso9660 /dev/hdc /mnt/cdrom/> > mount: /dev/hdc is not a valid block device> >> > Where I can I tell the system that it is a
 cdrom? (no floppy drive at all)> > Do I have to set a kernel flag in the grub.conf?> >> > Please help! Thanks!> >> >> >> > > > Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.> >>  --> Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.>> --> gentoo-user@gentoo.org mailing list>  > Sie denken an Ihre Sicherheit? Das tun wir auch .>>-- Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.-- gentoo-user@gentoo.org mailing list 
		Sie denken an Ihre Sicherheit? 

 Das tun wir auch
. 


[gentoo-user] Lost most locales after glibc upgrade

2006-06-19 Thread Alexander Kirillov

I've lost most of them locales after upgrade to glibc-2.3.6-r4.
I don't have userlocales flag set either.
And probably should consider selling sweatshirts to oil-exporting 
countries instead of software engineering as I don't seem to be capable 
of running STABLE system anymore.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Google Earth: Masked?

2006-06-19 Thread Bo Ørsted Andresen
On Saturday 17 June 2006 02:53, Mick wrote:
> Yep, it works a treat (other than setting up email - it opens FF).  It is
> masked because it is a new ebuild.  If no bugs are reported it'll become
> stable within a month.
>
> Any idea how to set it up to open Kmail?

It uses the BROWSER environment variable if it exists to pick a browser to 
which it sends a mailto: link containing all the info to compose a mail in 
the composer that the browser uses to handle mailto. Hope that makes 
sense. :)

Konqueror will use kmail by default. 

$ BROWSER=konqueror googleearth

You may also edit the googleearth script and add BROWSER=whatever at the top 
or you may put it into your global environment like this:

# echo BROWSER=whatever >> /etc/env.d/90browser && env-update && \
source /etc/profile

-- 
Bo Andresen


pgp1kYX8HsEZ7.pgp
Description: PGP signature


Re: [gentoo-user] does anyone here speak japanese? please help in translaton

2006-06-19 Thread CapSel

On 6/19/06, fei huang <[EMAIL PROTECTED]> wrote:

This mail is written in Chinese, yes, I'm sure, for I am a Chinese..
besides, please click the report spam button to get rid of it.

regards
daniel


On 6/18/06, CapSel <[EMAIL PROTECTED]> wrote:
>
I don't speak japanese at all :)

-- Forwarded message --
From: 深圳物资集团有限公司 <[EMAIL PROTECTED]>
Date: Jun 18, 2006 12:48 AM
Subject: 深圳物资集团有限公司
To: [EMAIL PROTECTED]


致贵公司财务经理收:
>
> 本公司为广东省深圳物资集团有限公司.本着为双方公司利益的出发点,可向外代开(增值税发票)
(普通商品销售发票)(服务发票)(运输专用发票),代开手续费请来电与我公司负责人详谈。
>
> 贵公司在进出项或做帐上相关的问题可来电咨讯。欢迎诚意的合作。
> 如这封邮件对贵公司造成打扰深表歉意,并请删除。 顺祝商祺 !
>
> 说明:
> (本公司软件设置定时发送本邮件)
>
> 联 系 人:陆小姐
> 手 机:013631559992

--

gentoo-user@gentoo.org mailing list




Thank you very much.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrom is not available any more

2006-06-19 Thread Boris Fersing

2006/6/19, JC Denton <[EMAIL PROTECTED]>:

No information as far as I can see ...



Mhh, what tells a "zgrep -i floppy /proc/config.gz" or "grep -i floppy
/usr/src/linux/.config" ?


# cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:
drive speed:
drive # of slots:
Can close tray:
Can open tray:
Can lock tray:
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:
Reports media changed:
Can play audio:
Can write CD-R:
Can write CD-RW:
Can read DVD:
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:
Can write MRW:
Can write RAM:

regards

JC
Boris Fersing <[EMAIL PROTECTED]> schrieb:
 2006/6/19, JC Denton :

> Hi group!
Hi,

>
> I had some problems with my cdrom before and tried to chage that ;)
> I rebuild the kernel in order to have appropriate scsi and atapi settings
> for usb and cdrom support. But I messed something up. The original problem
> is gone but now I have no cdrom support at all. Here is what I get from
> dmesg:
> # dmesg | grep hd
> ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
> hda: IC25N060ATMR04-0, ATA DISK drive
> hdc: , ATAPI cdrom or floppy?, assuming FLOPPY drive
> hda: max request size: 1024KiB
> hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63,
> UDMA(100)
> hda: cache flushes supported
> hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
> ide-floppy: hdc: not supported by this version of ide-floppy

What is the output of : "cat /proc/sys/dev/cdrom/info" ?
>

regards,

Boris.
> # sudo mount -t iso9660 /dev/hdc /mnt/cdrom/
> mount: /dev/hdc is not a valid block device
>
> Where I can I tell the system that it is a cdrom? (no floppy drive at all)
> Do I have to set a kernel flag in the grub.conf?
>
> Please help! Thanks!
>
>
>
> 
> Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.
>
>


--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list




 
Sie denken an Ihre Sicherheit? Das tun wir auch .





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdrom is not available any more

2006-06-19 Thread JC Denton
No information as far as I can see ...# cat /proc/sys/dev/cdrom/infoCD-ROM information, Id: cdrom.c 3.20 2003/12/17drive name:drive speed:drive # of slots:Can close tray:Can open tray:Can lock tray:Can change speed:Can select disk:Can read multisession:Can read MCN:Reports media changed:Can play audio:Can write CD-R:Can write CD-RW:Can read DVD:Can write DVD-R:Can write DVD-RAM:Can read MRW:Can write MRW:Can write RAM:regardsJCBoris Fersing <[EMAIL PROTECTED]> schrieb: 2006/6/19, JC Denton <[EMAIL PROTECTED]>:> Hi group!Hi,>> I had some problems with my cdrom before and tried to chage that ;)> I rebuild the kernel in order to have appropriate scsi and atapi settings> for usb
 and cdrom support. But I messed something up. The original problem> is gone but now I have no cdrom support at all. Here is what I get from> dmesg:>  # dmesg | grep hd> ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio> ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio> hda: IC25N060ATMR04-0, ATA DISK drive> hdc: , ATAPI cdrom or floppy?, assuming FLOPPY drive> hda: max request size: 1024KiB> hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63,> UDMA(100)> hda: cache flushes supported>  hda: hda1 hda2 hda3 < hda5 hda6 hda7 >> ide-floppy: hdc: not supported by this version of ide-floppyWhat is the output of :  "cat /proc/sys/dev/cdrom/info"  ?>regards,Boris.> # sudo mount -t iso9660 /dev/hdc /mnt/cdrom/> mount: /dev/hdc is not a valid block device>> Where I can I tell the
 system that it is a cdrom? (no floppy drive at all)> Do I have to set a kernel flag in the grub.conf?>> Please help! Thanks!  > Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.>>-- Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.-- gentoo-user@gentoo.org mailing list 
		Sie denken an Ihre Sicherheit? 

 Das tun wir auch
. 


Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Bo Ørsted Andresen
On Monday 19 June 2006 10:58, Trenton Adams wrote:
> > > One other benefit of this mechanism, that I can think of, would be
> > > that I could easily roll back to my last sync date or release, if some
> > > of the updated ebuilds caused me problems.
> >
> > That really should not be necessary. What you should of course do is file
> > a bug so the problems can be fixed for everyone.
>
> Well, one problem I had was not actually *really* bug.  It was a
> requirement that I did not fulfill, but was unable to figure it out
> instantly.  So, rolling back would have been very useful at that time.
>  It would just add another level of safety.

If an ebuild is removed from the tree while you still need it then chances are 
that others need it too. Then it is indeed a bug. If you need an ebuild that 
has been removed from the tree it is available from the cvs [1]. As mentioned 
in my previous mail cvs is going to be replaced by a superior VCS hopefully 
within this year.

[1] http://www.gentoo.org/cgi-bin/viewcvs.cgi

-- 
Bo Andresen


pgpwKQYTrhL6F.pgp
Description: PGP signature


Re: [gentoo-user] cdrom is not available any more

2006-06-19 Thread Boris Fersing

2006/6/19, JC Denton <[EMAIL PROTECTED]>:

Hi group!

Hi,



I had some problems with my cdrom before and tried to chage that ;)
I rebuild the kernel in order to have appropriate scsi and atapi settings
for usb and cdrom support. But I messed something up. The original problem
is gone but now I have no cdrom support at all. Here is what I get from
dmesg:
 # dmesg | grep hd
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
hda: IC25N060ATMR04-0, ATA DISK drive
hdc: , ATAPI cdrom or floppy?, assuming FLOPPY drive
hda: max request size: 1024KiB
hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63,
UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
ide-floppy: hdc: not supported by this version of ide-floppy


What is the output of :  "cat /proc/sys/dev/cdrom/info"  ?




regards,

Boris.

# sudo mount -t iso9660 /dev/hdc /mnt/cdrom/
mount: /dev/hdc is not a valid block device

Where I can I tell the system that it is a cdrom? (no floppy drive at all)
Do I have to set a kernel flag in the grub.conf?

Please help! Thanks!



 
Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] cdrom is not available any more

2006-06-19 Thread JC Denton
Hi group!I had some problems with my cdrom before and tried to chage that ;) I rebuild the kernel in order to have appropriate scsi and atapi settings for usb and cdrom support. But I messed something up. The original problem is gone but now I have no cdrom support at all. Here is what I get from dmesg: # dmesg | grep hd    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:piohda: IC25N060ATMR04-0, ATA DISK drivehdc: , ATAPI cdrom or floppy?, assuming FLOPPY drivehda: max request size: 1024KiBhda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63, UDMA(100)hda: cache flushes supported hda: hda1 hda2 hda3 < hda5 hda6 hda7 >ide-floppy: hdc: not supported by this version of ide-floppy# sudo mount -t iso9660 /dev/hdc /mnt/cdrom/mount: /dev/hdc is not a valid block
 deviceWhere I can I tell the system that it is a cdrom? (no floppy drive at all)Do I have to set a kernel flag in the grub.conf?Please help! Thanks! 
		Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.

Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Trenton Adams

Thanks for the reply. Interspersed comments below...

On 6/19/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

On Monday 19 June 2006 09:58, Trenton Adams wrote:
> Hi guys,
>
> I'm just curious about something.  I've noticed many people report
> problems with their repository syncing simply because someone was in
> the middle of committing to the repository.  Couldn't this be resolved
> by replacing the syncing mechanism with *svn* as opposed to rsync?
> After all, it does have atomic transactions, and you cannot get a
> partially updated repository when you use it.

Perhaps it could. But I don't think that problem is important enough to make
Portage usage depend on Subversion.


Well, it wouldn't have to *depend* on subversion.  The rsync could
still be used.  All that would need to happen is that the location
that people would be able to rsync with could be checked out
regularly.  Then the rsync could have an exclude for the ".svn"
directories, or whatever administrative directories there would be,
depending on the VCS you use.



[...]

> One other benefit of this mechanism, that I can think of, would be
> that I could easily roll back to my last sync date or release, if some
> of the updated ebuilds caused me problems.

That really should not be necessary. What you should of course do is file a
bug so the problems can be fixed for everyone.


Well, one problem I had was not actually *really* bug.  It was a
requirement that I did not fulfill, but was unable to figure it out
instantly.  So, rolling back would have been very useful at that time.
It would just add another level of safety.



> Any thoughts?

Currently the developers are still using CVS for the tree. Migrating to
another VCS does have a high priority but they have not even chosen which VCS
to migrate to. There is a Google Summer of Code project which is supposed to
test the different options to give a good basis for making a decision. This,
however, affects the Gentoo developers only.

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and rsync vs svn

2006-06-19 Thread Bo Ørsted Andresen
On Monday 19 June 2006 09:58, Trenton Adams wrote:
> Hi guys,
>
> I'm just curious about something.  I've noticed many people report
> problems with their repository syncing simply because someone was in
> the middle of committing to the repository.  Couldn't this be resolved
> by replacing the syncing mechanism with *svn* as opposed to rsync?
> After all, it does have atomic transactions, and you cannot get a
> partially updated repository when you use it.

Perhaps it could. But I don't think that problem is important enough to make 
Portage usage depend on Subversion. 

[...]

> One other benefit of this mechanism, that I can think of, would be
> that I could easily roll back to my last sync date or release, if some
> of the updated ebuilds caused me problems.

That really should not be necessary. What you should of course do is file a 
bug so the problems can be fixed for everyone.

> Any thoughts?

Currently the developers are still using CVS for the tree. Migrating to 
another VCS does have a high priority but they have not even chosen which VCS 
to migrate to. There is a Google Summer of Code project which is supposed to 
test the different options to give a good basis for making a decision. This, 
however, affects the Gentoo developers only.

-- 
Bo Andresen


pgpQeoybDhjiR.pgp
Description: PGP signature


[gentoo-user] portage and rsync vs svn

2006-06-19 Thread Trenton Adams

Hi guys,

I'm just curious about something.  I've noticed many people report
problems with their repository syncing simply because someone was in
the middle of committing to the repository.  Couldn't this be resolved
by replacing the syncing mechanism with *svn* as opposed to rsync?
After all, it does have atomic transactions, and you cannot get a
partially updated repository when you use it.

If this was to be done, I would suggest making tags every day, such as
-MM-DD.  Then any other tags could also be made on milestones such
as 2006.0 for that release.

One other benefit of this mechanism, that I can think of, would be
that I could easily roll back to my last sync date or release, if some
of the updated ebuilds caused me problems.

Any thoughts?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2GB of RAM

2006-06-19 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks David for the clear answers I'll investigate further. As for
the rest of the PC running great with extra RAM ~ it's just UT2004 I
have discovered to have an issue here.

The 2/2 is what I'm running with at the moment ... seems to be fine.

Thanks again,
Ralph

David Klempner wrote:
> * Ralph Slooten <[EMAIL PROTECTED]> [2006-06-19 00:25]:
>> David Klempner wrote:
>>  > Note that without doing *anything*, with a normal 3G/1G split, you'll
>>> actually get 896M. Recent kernels added in a config option to have a
>>> 2.75G/1.25G split, which solves this problem; it makes sense to use that
>>> if you have 1G of RAM.
>> This option must be really new because I don't have it. I have two 3/1
>> options, a 2/2 option and a 1/3 option. Either way, I'm now using 2GB.
> 
> It's one of the two "3/1" options; one of them is a PAGE_OFFSET of
> 0xC000 (3G) and the other is 0xB000 (2.75G); the latter is
> suggested for someone using 1GB. (I was making that change myself by
> hand until they added that option.)
> 
> In fact, the 2G option is slightly lower than 2G, which is why it works
> with 2G of RAM.
> 
>> Maybe this is the case, I'm not sure. For testing some other software I
>> upgraded to 2.16.6.16 2 weeks ago (when I still had 1GB) which resulted
>> in the same problem. I then went back to the previous-compiled 2.6.16.5
>> version which worked flawlessly. It is only now that I have actually
>> rebuilt the 2.6.16.5 kernel (due to RAM upgrade) and am having the same
>> problem. The NVidial kernel and glx (to be sure) were also rebuilt.
>>
>> I did a bit of testing last night before I went to bed and it seems that
>> no matter what options I use in the kernel I'm getting bad performance
>> now from the graphics card. It still gets > 4000 fps with glxgears
>> though, so I'm not 100% sure it is the graphics card.
>>
>> The question I was meaning to ask is what the ideal kernel settings
>> should be for 2GB of RAM... from there I'll look for other explanations
>> why the 3d isn't performing well.
> 
> Do you have performance problems with any other applications? It
> wouldn't surprise me too much if it's some random library issue that
> specifically affects that game.
> 
>> Should I use 2/2 *and* highmem, or just 2/2 ? You suggest the highmem
>> does very little, but it's there for a valid reason I take it.
> 
> If you're doing 2/2, then don't bother with highmem. Without highmem,
> the kernel maps all of physical memory into its address space; this is
> naive and fast, but it means that normal processes don't get use of that
> space. This isn't a problem for most applications, but there are a few
> that expect the extra address space to be available. A direct result of
> the 2/2 split is that no single process can, even in theory, (directly)
> use more than 2G of RAM, because it can't even *address* more than 2G.
> 
> This would be a more noticeable issue if you had 3G of RAM and did the
> 1/3 split; at that point, no process could use more than 1G. I've seen
> long running processes (for example, firefox after a month with several
> dozen open tabs) use more than that.
> 
> Highmem adds an extra layer of indirection to solve this problem; it's
> slightly slower (but, I understand, the cost is minimal) but lets you
> have your address space back while still being able to use all of your
> RAM.
> 
> My suggestion is to use 3/1 with highmem. If you want, you could also
> use 2/2 without highmem; it would probably be just slightly faster, but
> could break stuff. Using 2/2 with highmem is (I think) pointless.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFEllAACt0ZF9kLPvYRAja0AJ4gKhWbGw9uQAWVnsqj/ii9xvPm3wCfZVYE
N18blB/cTNxITFmcNMEC+Jw=
=VBJE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list